View previous topic :: View next topic |
Author |
Message |
bfontana n00b
Joined: 26 Mar 2004 Posts: 2 Location: Argentina
|
Posted: Fri Mar 26, 2004 5:43 pm Post subject: problem with dev/ROOT and /dev/BOOT at first boot |
|
|
I´ve recently installed Gentoo 2004.0. First I´d tried to use genkernel but when I putted emerge genkernel, it tried to connect ot internet. So I followed the instructions to compile a kernel on my own. I´ve compiled kernel 2.4.25 and it was ok but when I booted up my system kernel said that there is no devfs support. I again compiled the kernel with devfs support and automatic mount on startup but I get the following errors.
error mounting /dev/ROOT no such file or directory
.....
error mounting /dev/BOOT no such file or directory
and a warning concerning to superblock, but my ext2 partition is OK.
what can be happening, some help?
Thanks |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Fri Mar 26, 2004 5:48 pm Post subject: |
|
|
You forgot to edit /etc/fstab. /dev/ROOT has to be replaced by something like /dev/hda1 and so on.
There are hundreds of postings about exactly this problem, just search. |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Mar 26, 2004 5:48 pm Post subject: |
|
|
Erm.. you have to edit /etc/fstab and actually put the correct values in for your partition setup...
This is in the Handbook. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
bfontana n00b
Joined: 26 Mar 2004 Posts: 2 Location: Argentina
|
Posted: Fri Mar 26, 2004 5:54 pm Post subject: Hmmm |
|
|
Let me see if I understood....
I've edited my fstab
and replaced ROOT by hda3 (my ext2 partition)
I have no boot partition so there no /boot mount on my fstab |
|
Back to top |
|
|
iakko n00b
Joined: 25 Mar 2004 Posts: 10 Location: Siena - Italy
|
Posted: Fri Mar 26, 2004 5:58 pm Post subject: |
|
|
You did not edit the /etc/fstab file before reboot...
I guess you have to change the words BOOT and ROOT with the correct device of your machine.. for example, if you have your BOOT partition on /dev/hda1 and ROOT partition (the / partition) on /dev/hda3, go to /etc/fstab with your favourite editor and replace
Code: | /dev/BOOT /boot auto noauto,noatime 1 1
/dev/ROOT / auto noatime 0 0
|
with
Code: | /dev/hda1 /boot auto noauto,noatime 1 1
/dev/hda3 / auto noatime 0 0
|
_________________ -=<{ iakko }>=- |
|
Back to top |
|
|
|