Re: Can't mount USB partition as root

From: Karel Kulhavý
Date: Tue Dec 30 2003 - 04:11:48 EST


On Mon, Dec 29, 2003 at 06:49:51PM +0100, Tomas Szepe wrote:
> On Dec-29 2003, Mon, 18:33 +0100
> Karel Kulhavý <clock@xxxxxxxxxxxxx> wrote:
>
> > > You'll need to load the usb modules using initrd ramdisk, then switch root
> > > to the usb device to continue booting the system.
> >
> > This is the problem #2. I am not able to remount /. "device or resource busy".
> > How do I remount the "/"?
>
> /sbin/mount -o remount,rw /

bash-2.05b# mount
/dev/hda4 on / type xfs (rw)
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw)
/dev/hda1 on /boot type ext2 (rw,noatime)
none on /dev/shm type tmpfs (rw)
bash-2.05b# mount -o remount,rw /dev/sda1 /
bash-2.05b# mount
/dev/hda4 on / type xfs (rw)
^^^^^^^^^
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw)
/dev/hda1 on /boot type ext2 (rw,noatime)
none on /dev/shm type tmpfs (rw)

bash-2.05b# mount --version
mount: mount-2.12
bash-2.05b# cat /proc/version
Linux version 2.6.0 (root@oberon) (gcc version 3.3.2 20031022 (Gentoo Linux
3.3.2-r3, propolice)) #4 Mon Dec 29 12:20:39 MET 2003

When doing find / after that, the IDE disk goes crazy, not the USB one.
So that mount doesn't lie and nothing is really remounted (and no
error message issued). Is this how things are supposed to work?

Cl<
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/