Problem with mount /

From: Rodolfo García (kix@hispalinux.es)
Date: Sun Apr 30 2000 - 23:47:33 EST


Hi!

I have this problem: I need change the root partition from /dev/hda3 to /dev/hdc1. I copy all directories, make /proc ... and change /etc/lilo.conf:

[kix@hell kix]$ cat /etc/lilo.conf
boot=/dev/hda1
...
image=/boot/vmlinuz
  label=actual
        read-only
        root=/dev/hdc1

run lilo ... and reboot, look this:

[root@hell /]# mount
/dev/hdc1 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda1 on /boot type ext2 (rw)
...
[root@hell /]#
[root@hell /]# mount /dev/hda3 /mnt/floppy/
mount: /dev/hda3 already mounted or /mnt/floppy/ busy
[root@hell /]#
[root@hell /]# mount /dev/hdc1 /mnt/floppy/
[root@hell /]#
[root@hell /]# rdev
/dev/hda3 /
[root@hell /]#

Ok! I forget run rdev, but, is normal this?? I have the same partition mounted twice?

[root@hell /]# df | sort
/dev/hda1 15522 3336 11385 23% /boot
/dev/hda4 1628644 1023628 522284 66% /usr
/dev/hdc1 1034244 155760 825944 16% /mnt/floppy
/dev/hdc1 1264952 155324 1045368 13% /

YES!!!! but is /dev/hdc1 and /dev/hda3.

Probably something is incorrect.

Bye.

PD: I am not in linux-kernel list, please reply me.

-- 
_______________________________________________________
____  ___   ___       ___
|  | /  /  /  / \    /  /
|  |/  /  /  /\  \  /  /
|  /  /  /  /  \  \/  /    Rodolfo García Peñas
|  \  \ /  /   /  /\  \    kix@hispalinux.es
|  |\  \  /   /  /  \  \   http://www.hispalinux.es/~kix
|  | \  \/   /  /    \  \
The Face of Your NightMare

Register Linux User 62951. Kernel 2.2.14 - The love is now in my blood - She changed me, now I am not a machine, I can feel

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



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:08 EST