Click to See Complete Forum and Search --> : unable to mount /dev/ROOT


skinner422
09-01-2003, 08:49 PM
i've tried to install gentoo and then mandrake. both installs failed to reboot becuase of phony claims of corruption or whatever on the partition. i'm nearly 100% sure that this is a problem with my harddrive because windows xp wouldn't install on it either. i have a harddrive that works fine but it is nearly full. is there a way to trick my system into thinking it's booting on my good harddrive but saving everything on my second harddrive?

o0zi
09-02-2003, 03:38 AM
Erm, how does your problem relate to the title of your post? In answer to your title:

When Gentoo is installed, it creates an /etc/fstab for you. Before you boot, you have to edit /etc/fstab and replace /dev/ROOT and /dev/BOOT with the appropriate partition names, such as /dev/hda1 and /dev/hda2.

In answer to your post:

Couldn't you just boot from your second hard drive? Just change /etc/lilo.conf to point to your second hard drive and run /sbin/lilo to update the bootloader.

skinner422
09-02-2003, 08:31 AM
yea i didn't explain the title much. that is the the error i get after i tried booting both gentoo(after i configured the fstab) and mandrake(configures everything for me). i have set up gentoo before and never had this problem. i'm pretty sure that this is a problem with my harddrive. and no i can't boot from my second harddrive, whenever i try to it just restarts to computer. i think i may just need to get another hard drive.

Hayl
09-02-2003, 08:55 AM
post your /etc/fstab from your gentoo install.

skinner422
09-02-2003, 02:38 PM
/dev/BOOT /boot ext3 noauto,noatime 1 1
/dev/ROOT / reiserfs noatime 0 0
/dev/hda1 /mnt/windows vfat noatime 0 0
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0

these are the uncommented lines from my fstab.

Modorf
09-02-2003, 03:06 PM
mmm, /dev/BOOT and /dev/ROOT -- wondering which device these represent, some new hardware which depences rootbeer and a kick in the butt with a big boot.

Sorry for the sarcasim, but couldn't resist. Your problem is that those file system paths DO NOT exist and represent NOTHING. please change /dev/BOOT to the correct hdxy that represents your /boot and the same for /dev/ROOT

Nathan.

o0zi
09-02-2003, 03:07 PM
/dev/BOOT/boot ext3 noauto,noatime1 1 /dev/ROOT/ reiserfs noatime 0 0

Change /dev/BOOT and /dev/ROOT to reflect where your boot and root partitions are - /dev/BOOT and /dev/ROOT are merely placeholders.

Hayl
09-02-2003, 03:13 PM
Originally posted by o0zi
Change /dev/BOOT and /dev/ROOT to reflect where your boot and root partitions are - /dev/BOOT and /dev/ROOT are merely placeholders.

i figured this was the error. thanks guys.

skinner422
09-02-2003, 05:13 PM
ok thanks for the replies, i'll try this out tomorrow because i got class later tonite. is there any reason why mandrake did not do this?

o0zi
09-03-2003, 02:50 AM
Mandrake automatically configures your /etc/fstab for you on installation. Most Gentoo users seem to prefer having as much control as possible over installation, so they let you edit your own /etc/fstab.