View previous topic :: View next topic |
Author |
Message |
bshearer n00b
Joined: 13 Apr 2005 Posts: 12 Location: VA
|
Posted: Thu May 05, 2005 6:41 pm Post subject: help needed-boot failed after 1st install |
|
|
hello,
after downloading the cds yesterday and installing today (i followed the docs from the web site). mine failed to boot with:
Block device /dev/hda3 is not a valid root device
The root block device is unspecified or not detected
i rebooted with the CD but i am not quite sure what i need to do so that i can make changes. in fact, i noticed on some other postings that you like to see certain files. how would i do this from a system that does not have a floppy device. is it easier to setup ftp to get the files out or is there something simpler?
and which files do i need to get beside grub.conf and fstab configuations?
THANKS |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu May 05, 2005 6:53 pm Post subject: |
|
|
Did you use genkernel, i.e. genkernel --udev all? If so, try appending udev to the kernel line in grub.conf. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
bshearer n00b
Joined: 13 Apr 2005 Posts: 12 Location: VA
|
Posted: Thu May 05, 2005 7:10 pm Post subject: |
|
|
yes i did. i tried to follow the defaults as close as could
ok. sorry for the stupidity on this end but after i boot with the cd i can't seem to see the files that i configured before. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu May 05, 2005 7:15 pm Post subject: |
|
|
Ok, just boot the livecd and mount your root and boot partition as described in the handbook. You can then find grub.conf in /mnt/gentoo/boot/grub/ _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
bshearer n00b
Joined: 13 Apr 2005 Posts: 12 Location: VA
|
Posted: Thu May 05, 2005 7:32 pm Post subject: |
|
|
i issued:
mount /dev/hda3 /mnt/gentoo
and a warning appeared
EXT2-fs warning (device hda3): ext2_fill_super: mounting ext3 filesystem as ext2
and when i cd to /mnt/gentoo/boot there is nothing there |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu May 05, 2005 7:43 pm Post subject: |
|
|
bshearer wrote: | i issued:
mount /dev/hda3 /mnt/gentoo
and a warning appeared
EXT2-fs warning (device hda3): ext2_fill_super: mounting ext3 filesystem as ext2
and when i cd to /mnt/gentoo/boot there is nothing there |
The warning is not a problem. You still need to mount the boot partition: mount /mnt/hda1 /mnt/gentoo/boot _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
bshearer n00b
Joined: 13 Apr 2005 Posts: 12 Location: VA
|
Posted: Thu May 05, 2005 8:17 pm Post subject: |
|
|
it comes back and tells me that special device /mnt/hda1 does not exist |
|
Back to top |
|
|
pacde n00b
Joined: 03 May 2005 Posts: 60
|
Posted: Thu May 05, 2005 8:26 pm Post subject: |
|
|
now that you mounted /mnt/gentoo can you see your fstab file? I suspect your problem is somewhere in there |
|
Back to top |
|
|
bshearer n00b
Joined: 13 Apr 2005 Posts: 12 Location: VA
|
Posted: Thu May 05, 2005 8:30 pm Post subject: |
|
|
i issue a ls and nothing shows - at all. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu May 05, 2005 8:32 pm Post subject: |
|
|
bshearer wrote: | it comes back and tells me that special device /mnt/hda1 does not exist | my mistake, that should be /dev/hda1 _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
pacde n00b
Joined: 03 May 2005 Posts: 60
|
Posted: Thu May 05, 2005 8:34 pm Post subject: |
|
|
nixnut wrote: | bshearer wrote: | it comes back and tells me that special device /mnt/hda1 does not exist | my mistake, that should be /dev/hda1 |
I missed that too. When you do mount, post your fstab file. |
|
Back to top |
|
|
bshearer n00b
Joined: 13 Apr 2005 Posts: 12 Location: VA
|
Posted: Thu May 05, 2005 8:42 pm Post subject: |
|
|
it cannot find it. I'm rebooting to see if that does anything |
|
Back to top |
|
|
bshearer n00b
Joined: 13 Apr 2005 Posts: 12 Location: VA
|
Posted: Thu May 05, 2005 8:46 pm Post subject: |
|
|
ok - reboot done
mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu May 05, 2005 8:50 pm Post subject: |
|
|
Well, since you have seem to forgotten the hint about the installation handbook
1 boot the cd
2 mount /dev/hda3 /mnt/gentoo
3 mount /dev/hda1 /mnt/gentoo/boot
4 nano -w /mnt/gentoo/boot/grub/grub.conf _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
pacde n00b
Joined: 03 May 2005 Posts: 60
|
Posted: Thu May 05, 2005 8:50 pm Post subject: |
|
|
bshearer wrote: | ok - reboot done
mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab |
no, you should just do a
more /etc/fstab.
if /dev/hda1 isnt in there, you have a problem |
|
Back to top |
|
|
bshearer n00b
Joined: 13 Apr 2005 Posts: 12 Location: VA
|
Posted: Thu May 05, 2005 8:57 pm Post subject: |
|
|
i rebooted a third time and now i'm in
i then
nano -w /mnt/gentoo/boot/grub/grub.conf
so i can get to it now
i did
more /etc/fstab
and it gave me a warning that it was showing me the fstab from the livecd |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu May 05, 2005 9:05 pm Post subject: |
|
|
bshearer wrote: | i did
more /etc/fstab
and it gave me a warning that it was showing me the fstab from the livecd |
That's right. You want to take a look at the fstab in /mnt/gentoo/etc: cat /mnt/gentoo/etc/fstab | less _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
bshearer n00b
Joined: 13 Apr 2005 Posts: 12 Location: VA
|
Posted: Thu May 05, 2005 9:09 pm Post subject: |
|
|
okay. i see it now.
so how do i post a copy from there to here? work day over! I will pick back up at home
thanks for the help so far!!! |
|
Back to top |
|
|
bshearer n00b
Joined: 13 Apr 2005 Posts: 12 Location: VA
|
Posted: Fri May 06, 2005 1:40 am Post subject: |
|
|
Here is my grub.conf file:
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.11-r3
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /initrd-2.6.11-gentoo-r3
Would the ='s be causing the problem? I read in one response to remove them.
Thanks |
|
Back to top |
|
|
upalom00 Tux's lil' helper
Joined: 11 Jan 2004 Posts: 78 Location: Santa Clara
|
Posted: Fri May 06, 2005 4:32 am Post subject: |
|
|
Quote: |
Would the ='s be causing the problem? I read in one response to remove them. |
From the handbook...an example of a grub file for genkernel users:
Code: |
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.11-r3
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /initrd-2.6.11-gentoo-r3 |
Of course you would want to configure it appropiate for your system. For example, your kernel filename may or may not be the example name listed in this example. |
|
Back to top |
|
|
pacde n00b
Joined: 03 May 2005 Posts: 60
|
Posted: Fri May 06, 2005 3:06 pm Post subject: |
|
|
I dont think the grub.conf is the problem. Give us your fstat, come on, you can do it .. |
|
Back to top |
|
|
|