Profile cover photo
Profile photo
Eric Reyes
59 followers -
asaaklliddooasdflpow023lkjg
asaaklliddooasdflpow023lkjg

59 followers
About
Eric's posts

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Some cool concept art for an Xbox game, paintings are always nice.
PhotoPhotoPhoto
2013-11-06
3 Photos - View album

Post has attachment
Comiccon.jpeg
Photo

Post has attachment
I think I found a problem with the script.  On my Samsung Series 5 550 laptop, if you run this script after updating to the latest ChromeOS release (anything with a kernel version 3.8.11), the script runs fine but Ubuntu won't boot.

The fix is pretty easy:

LIne 278 should say

278 vbutil_arch="x86_64"

Context is below:

277 echo "console=tty1 debug verbose root=${target_rootfs} rootwait rw lsm.module_locking=0" > kernel-config
    278 vbutil_arch="x86"
    279 if [ $ubuntu_arch = "armhf" ]
    280 then
    281   vbutil_arch="arm"
    282 fi
    283 
    284 current_rootfs="`rootdev -s`"
    285 current_kernfs_num=$((${current_rootfs: -1:1}-1))
    286 current_kernfs=${current_rootfs: 0:-1}$current_kernfs_num
    287 
    288 vbutil_kernel --repack ${target_kern} \
    289     --oldblob $current_kernfs \
    290     --keyblock /usr/share/vboot/devkeys/kernel.keyblock \
    291     --version 1 \
    292     --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk \
    293     --config kernel-config \
    294     --arch $vbutil_arch

What happens is that it runs the vbutil_kernel command to repack the new kernel, and the --arch option is wrong.  If you had an 32 bit intel setup, I guess it'd work, but with the 64bit on the 550, it fails.  When you run the script before updating ChromeOS, the kernel version is 3.4.0 and that doesn't fail for whatever reason, but after letting the ChromeOS update and pulling down kernel 3.8.11, it does.

You are much better off with a 3.8.11 kernel for your Ubuntu build, so if you run this script make sure you do it after letting ChromeOS update itself.  Recovery disks for the 550 give you ChromeOS version 28, which includes linux kernel 3.4.0, so  if you recover it via USB disk, you'll want to let it update first.  

Also, if they ever put out a new update for ChromeOS that updates the linux kernel, you'll need to update the kernel in Ubuntu separately.  What happens is that the Chromebook has six patitions:

1 Kernel A  (ChromeOS)
2 Root A (ChromeOS)
3 Kernel B (ChromeOS)
4 Root B (ChromeOS)
5 Kernel C (Ubuntu)
6 Root C (Ubuntu)

1-4 are the base ChromeOS partitions, it goes back and forth between them as it updates to make sure it always has a good kernel to boot from.  Scripts like this one, expand 5 and 6 (they start off taking up almost no HD space, like 1 sector or something), and copy the ChromeOS linux kernel from 1 or 3 to 6, modifying it for Ubuntu, and installing Ubuntu on 7.    

When ChromeOS updates itself, it will only update 1 and 3. 6 will be left on the old kernel, so you can manually update it inside Ubuntu, which seems to be unreliable because the Chromebook has some proprietary drivers, or you can remodify and copy the new ChromeOS kernel just like this script. You can pretty much take the end of the script and run it directly and just reinstall the kernel.

If anyone wants it I'll post an updated script that will just do that.

Hey I just sold my nexus 10. But the guy didn't want the black official book cover or the white poetic smart cover I have. Anyone want them? I'll blow them out cheap. 10 for the poetic or 20 for the official one, shipped in the US. Any takers?

Post has attachment
After I ran through the script, it gave me no errors, installed everything, but it won't boot into Ubuntu.  I ran the cgpt command but it still boots into ChromeOS.  I'm I missing something?

Post has attachment
Oh no!
Wait while more posts are being loaded