site  contact  subhomenews

Mount recognition problem, full hd install

July 11, 2009 — BarryK
I am testing 416, with a full hard drive install. It installed ok, runs ok, except that the partition that the pup is installed to displays as unmounted.

Earlier HD installation
Yeah, I do recall a problem here from before. Running an earlier installation, Upup 476, the desktop partition icon displays as mounted, which is correct. Running 'df' and 'mount' in Upup:

# busybox df

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda3 9922400 5355984 4062380 57% /
shmfs 110436 0 110436 0% /dev/shm
# df-FULL
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 9922400 5355984 4062380 57% /
/dev/root 9922400 5355984 4062380 57% /
shmfs 110436 0 110436 0% /dev/shm
#
# busybox mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,errors=continue,data=ordered)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=2,mode=620)
none on /sys type sysfs (rw)
shmfs on /dev/shm type tmpfs (rw,size=110436k)
none on /proc/bus/usb type usbfs (rw)
# mount-FULL
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,errors=continue,data=ordered)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=2,mode=620)
none on /sys type sysfs (rw)
shmfs on /dev/shm type tmpfs (rw,size=110436k)
none on /proc/bus/usb type usbfs (rw)
#
# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,errors=continue,data=ordered 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,gid=2,mode=620 0 0
none /sys sysfs rw 0 0
shmfs /dev/shm tmpfs rw,size=110436k 0 0
none /proc/bus/usb usbfs rw 0 0
#
# cat /etc/fstab
/dev/sda3 / ext3 defaults 0 1
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
none /dev/pts devpts gid=2,mode=620 0 0
/dev/fd0 /mnt/floppy auto noauto,rw 0 0
#


Notice that only the Busybox df gives the "right answer", and that is what my scripts use.

416 full hd installation
Now running all the same tests:

# busybox df

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 3850320 382128 3272604 10% /
shmfs 106844 0 106844 0% /dev/shm
/dev/sda3 9922400 5355752 4062612 57% /mnt/sda3
#
# df-FULL
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 3850320 382128 3272604 11% /
/dev/root 3850320 382128 3272604 11% /
shmfs 106844 0 106844 0% /dev/shm
/dev/sda3 9922400 5355752 4062612 57% /mnt/sda3
#
# busybox mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,errors=continue,data=ordered)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=2,mode=620)
none on /sys type sysfs (rw)
shmfs on /dev/shm type tmpfs (rw,size=106844k)
none on /proc/bus/usb type usbfs (rw)
/dev/sda3 on /mnt/sda3 type ext3 (rw,errors=continue,data=ordered)
#
# mount-FULL
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,errors=continue,data=ordered)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=2,mode=620)
none on /sys type sysfs (rw)
shmfs on /dev/shm type tmpfs (rw,size=106844k)
none on /proc/bus/usb type usbfs (rw)
/dev/sda3 on /mnt/sda3 type ext3 (rw,errors=continue,data=ordered)
#
# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,errors=continue,data=ordered 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,gid=2,mode=620 0 0
none /sys sysfs rw 0 0
shmfs /dev/shm tmpfs rw,size=106844k 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/sda3 /mnt/sda3 ext3 rw,errors=continue,data=ordered 0 0
#
# cat /etc/fstab
/dev/sdb3 / ext3 defaults 0 1
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
none /dev/pts devpts gid=2,mode=620 0 0
/dev/fd0 /mnt/floppy auto noauto,rw 0 0
#


So, why does 'busybox df' now give the "wrong answer". I have upgraded Busybox, that's probably why!
The latest Busybox has become "more compatible", unfortunately. At least, that's my theory. So, to prove it, mounting the partition which has the older busybox, then try it:

# /mnt/sda3/bin/busybox df

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sdb3 3850320 382132 3272600 10% /
shmfs 106844 0 106844 0% /dev/shm
/dev/sda3 9922400 5355756 4062608 57% /mnt/sda3
#


Yep, that's it. Now what?... I don't know how to fix it.

Comments

boot



Tags: woof