LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   Weird bootup error (https://www.linuxquestions.org/questions/gentoo-87/weird-bootup-error-792948/)

skalman93 03-03-2010 01:59 PM

Weird bootup error
 
Ok, here's the problem. When I boot my computer and it come to the "Mounting local filesystems" section it hangs for 5-10 sec and spit out an error that it can't mount /dev/hda because it can't find the device. I don't have a /dev/hda so that's no mystery. Where should I look for the line that tells it to try to mount /dev/hda. It's not in /etc/fstab.

troop 03-03-2010 02:06 PM

grep -lir "/dev/hda" /etc/*
grep -lir "/dev/hda" /boot/*

catkin 03-03-2010 10:50 PM

There might be more detailed error messages in some of the /var/log/* files.

There might be a clue in the exact text of the "can't mount /dev/hda because it can't find the device" message. What is it?

If the screen is scrolling too fast to see it, you may be able to stop scrolling using Ctrl+S (and restart it with Ctrl+Q). Another possibility is to photograph the screen.

imaginasys 03-23-2010 12:54 PM

Just boot with a CD bootable distro (knoppix, alixe, ...) and take a look in the /var/log/messages log to find out.
Did you compile your OS yourself ? and did you set an options that specifies /dev/hda (like the CONFIG_PM_STD_PARTITION).

You may try something like : # grep -r /dev/hda /etc | less

Regards,
BT :=)


All times are GMT -5. The time now is 01:43 PM.