Mike Williams wrote:
> Kinda, yes.
> Add /dev/sdXY entries, but under someother directory, /mnt/gentoo for example.
> i.e.
> 
> /dev/sda3 /mnt/gentoo auto noatime 0 1
> /dev/sda1 /mnt/gentoo/boot auto ro,noatime 0 0
> etc, etc
> 
> The mount -a, and see what happens.

Great suggestion.  Trying it I got a rather odd result:

# mount -av
mount: /dev/sda3 already mounted on /mnt/gentoo/
mount: none already mounted on /dev/shm
mount: mount point /mnt/gentoo/boot does not exist

My main curiosity is the first one.  If I check there is no /mnt/gentoo...

# ls -al /mnt/
total 4
drwxr-xr-x   7 root root 192 Oct 20 12:20 .
drwxr-xr-x  20 root root 480 Jan  5  2005 ..
drwxr-xr-x  13 root root 344 Nov  5  2002 .init.d
-rw-r--r--   1 root root   0 Oct 22  2004 .keep
drwx------   2 root root  72 Feb 26  2004 cdrom
drwx------   2 root root  72 Feb 26  2004 floppy
drwxr-xr-x   2 root root  48 Jan  8  2004 lfs

So how could /dev/sda3 already be mounted there?

I tried creating a new path, /mnt/boottest and /mnt/boottest/boot, and
I get the same thing:

mount -av
mount: /dev/sda1 already mounted on /mnt/boottest/boot
mount: /dev/sda3 already mounted on /mnt/boottest/

But again if I look under /mnt/boottest and /mnt/boottest/boot they're
both empty?  And attempts to umount fail:

# umount /mnt/boottest/boot
umount: /dev/sda1: not mounted
umount: /dev/sda1: not mounted

umount /mnt/boottest/
umount: /dev/sda3: not mounted
umount: /dev/sda3: not mounted

Also, with this method of test, can I test mounting swap from
/dev/sda2?  In my existing fstab sda2 is mounted to "none".  Does it
make sense to do the following?...

/dev/sda2    /mnt/gentoo/swap    swap    sw    0 0


Thanks,

Ian
-- 
gentoo-user@gentoo.org mailing list

Reply via email to