separate boot partition June 18, 2012 11:54AM |
Registered: 11 years ago Posts: 2 |
Re: separate boot partition June 18, 2012 12:51PM |
Registered: 12 years ago Posts: 501 |
Re: separate boot partition June 18, 2012 01:22PM |
Registered: 11 years ago Posts: 378 |
Quote
created a symlink ln -s . boot (so uBoot can find all the stuff in a boot directory on the first partition)
Re: separate boot partition June 18, 2012 01:33PM |
Registered: 11 years ago Posts: 378 |
Quote
I'm not 100% sure it will work like that w/ a standard kernel. My guess is probably not.
Re: separate boot partition June 18, 2012 02:10PM |
Registered: 12 years ago Posts: 501 |
>Quote
I'm not 100% sure it will work like that w/
> a standard kernel. My guess is probably not.
>
Re: separate boot partition June 18, 2012 02:48PM |
Admin Registered: 13 years ago Posts: 18,495 |
Re: separate boot partition June 18, 2012 04:41PM |
Registered: 11 years ago Posts: 378 |
Quote
Maybe it now does actually work? Maybe it has always worked, save for journaling?
# blkid /dev/sda7 TYPE="ext4" # mount -t ext2 /dev/sda7 /mnt/misc mount: wrong fs type, bad option, bad superblock on /dev/sda7, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
Re: separate boot partition June 18, 2012 04:48PM |
Registered: 13 years ago Posts: 78 |
Re: separate boot partition June 18, 2012 06:24PM |
Registered: 11 years ago Posts: 2 |
retabell
Re: separate boot partition June 19, 2012 03:02AM |
Quote
Maybe it now does actually work? Maybe it has always worked, save for journaling?
Quote
If an ext4 rootfs works, but Uboot needs ext2 or 3 to boot, that may be a really good reason to have a separate boot partition!
usb_rootfstype=ext4 usb_root=/dev/sda3 usb_custom_params=root=/dev/sda3
/dev/sda1 1 510 4096543+ 83 Linux /dev/sda2 511 575 522112+ 82 Linux swap / Solaris /dev/sda3 576 60801 483765345 83 Linux
Re: separate boot partition June 20, 2012 07:30AM |
Registered: 11 years ago Posts: 378 |
Quote
If I boot from NAND I cant use fw_printenv
# Configuration file for fw_(printenv/saveenv) utility. # Up to two entries are valid, in this case the redundant # environment sector is assumed present. # for Marvell Kirkwood # (get cpu info in /proc/cpuinfo): # Hardware : Marvell eSATA SheevaPlug Reference Board (temp arcNumber until GoFlex Net kernel) # MTD device name Device offset Env. size Flash sector size Number of sectors #/dev/mtd0 0x0000 0x20000 0x20000 # Dockstar offsets: /dev/mtd0 0xc0000 0x20000 0x20000