Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help needed-boot failed after 1st install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
bshearer
n00b
n00b


Joined: 13 Apr 2005
Posts: 12
Location: VA

PostPosted: Thu May 05, 2005 6:41 pm    Post subject: help needed-boot failed after 1st install Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu May 05, 2005 6:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
bshearer
n00b
n00b


Joined: 13 Apr 2005
Posts: 12
Location: VA

PostPosted: Thu May 05, 2005 7:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu May 05, 2005 7:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
bshearer
n00b
n00b


Joined: 13 Apr 2005
Posts: 12
Location: VA

PostPosted: Thu May 05, 2005 7:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu May 05, 2005 7:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
bshearer
n00b
n00b


Joined: 13 Apr 2005
Posts: 12
Location: VA

PostPosted: Thu May 05, 2005 8:17 pm    Post subject: Reply with quote

it comes back and tells me that special device /mnt/hda1 does not exist
Back to top
View user's profile Send private message
pacde
n00b
n00b


Joined: 03 May 2005
Posts: 60

PostPosted: Thu May 05, 2005 8:26 pm    Post subject: Reply with quote

now that you mounted /mnt/gentoo can you see your fstab file? I suspect your problem is somewhere in there
Back to top
View user's profile Send private message
bshearer
n00b
n00b


Joined: 13 Apr 2005
Posts: 12
Location: VA

PostPosted: Thu May 05, 2005 8:30 pm    Post subject: Reply with quote

i issue a ls and nothing shows - at all.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu May 05, 2005 8:32 pm    Post subject: Reply with quote

bshearer wrote:
it comes back and tells me that special device /mnt/hda1 does not exist
:oops: 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
View user's profile Send private message
pacde
n00b
n00b


Joined: 03 May 2005
Posts: 60

PostPosted: Thu May 05, 2005 8:34 pm    Post subject: Reply with quote

nixnut wrote:
bshearer wrote:
it comes back and tells me that special device /mnt/hda1 does not exist
:oops: my mistake, that should be /dev/hda1


:lol: I missed that too. When you do mount, post your fstab file.
Back to top
View user's profile Send private message
bshearer
n00b
n00b


Joined: 13 Apr 2005
Posts: 12
Location: VA

PostPosted: Thu May 05, 2005 8:42 pm    Post subject: Reply with quote

it cannot find it. I'm rebooting to see if that does anything
Back to top
View user's profile Send private message
bshearer
n00b
n00b


Joined: 13 Apr 2005
Posts: 12
Location: VA

PostPosted: Thu May 05, 2005 8:46 pm    Post subject: Reply with quote

ok - reboot done

mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu May 05, 2005 8:50 pm    Post subject: Reply with quote

Well, since you have seem to forgotten the hint about the installation handbook :wink:
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
View user's profile Send private message
pacde
n00b
n00b


Joined: 03 May 2005
Posts: 60

PostPosted: Thu May 05, 2005 8:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
bshearer
n00b
n00b


Joined: 13 Apr 2005
Posts: 12
Location: VA

PostPosted: Thu May 05, 2005 8:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu May 05, 2005 9:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
bshearer
n00b
n00b


Joined: 13 Apr 2005
Posts: 12
Location: VA

PostPosted: Thu May 05, 2005 9:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
bshearer
n00b
n00b


Joined: 13 Apr 2005
Posts: 12
Location: VA

PostPosted: Fri May 06, 2005 1:40 am    Post subject: Reply with quote

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
View user's profile Send private message
upalom00
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2004
Posts: 78
Location: Santa Clara

PostPosted: Fri May 06, 2005 4:32 am    Post subject: Reply with quote

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
View user's profile Send private message
pacde
n00b
n00b


Joined: 03 May 2005
Posts: 60

PostPosted: Fri May 06, 2005 3:06 pm    Post subject: Reply with quote

I dont think the grub.conf is the problem. Give us your fstat, come on, you can do it .. :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum