anyone facing problems when trying to extroot using USB
here's whats going on, I've 64GB USB stick with the following partitions
6 Gb to be mounted as /overlay
1 Gb as swap
the remaining will be mounted to /mnt
I was reading the wiki all day, and did the pivot overlay steps, the problem is there is something preventing the USB to be mounted to these directories at boot, after the boot there will be nothing mounted, if I un-pluged the USB stick and plugged it back in, everything will work and I'll get the following output from df -h
root@Main:~# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 26.9M 1.0M 25.9M 4% /
/dev/root 3.3M 3.3M 0 100% /rom
tmpfs 30.3M 104.0K 30.2M 0% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock5 5.3G 209.4M 4.9G 4% /overlay
overlayfs:/overlay 26.9M 1.0M 25.9M 4% /
/dev/sdb1 53.2G 18.9G 31.6G 37% /mnt
/dev/sdb3 5.3G 209.4M 4.9G 4% /overlay
but after any reboot, these won't be mount and i've to unplug and plug the usb stick back in, and everything will get mounted again
in the wiki, the fstab troubleshooting section, there was similar problem, and the solution was to add 'sleep 15' to the start function in /etc/init.d/fstab, I tried that and didn't work.
here's my /etc/config/fstab
config mount
option target /overlay
option uuid 2fba6abe-c5de-4b47-a8e1-30e654a68e38
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
config mount
option target /mnt
option uuid 0faa8e57-d2d4-46b3-abb6-4ea56041c8df
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
config swap
option uuid 96d9fadd-3147-4c90-b995-2ebf8fb91899
option enabled 1
i'm on Attitude Adjustment
Edit: formatting my USB stick to ext2 solved my problem !
(Last edited by pyed on 11 Aug 2013, 03:10)