Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ambiguous genkernel kernel version specified
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
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Sun Mar 21, 2004 1:08 am    Post subject: Ambiguous genkernel kernel version specified Reply with quote

Ive done a stage2 install.. emerged system, emerged gnome and emerged genkernel.

I also emerged vanilla-sources and then ran "genkernel all"

It said that the kernel had compiled successfully which was comforting to see :)

However i got a strange output. In the past ive tried to install Gentoo (never fully successfully) and been given something like:

kernel /Linux-2.4.0-rc6 root=/dev/hda3 (or something like that cant exactly remember) and then one for initd as well

This time around i received this:

Quote:

Required Kernel Params:

root=/dev/ram0 init=linuxrc real_root=/dev/$ROOT

where root is devicenode for your root parition as you should have specified in /etc/fstab


Now.. if ive used genkernel just as i did last time.. is this the information that i have to enter into Grub?? I dont think so.. (sorry if im wrong.. but it just looks like some information was missing from genkernel)

Since this stuff is relevant to the genkernel can i also ask about this:

Quote:

Recommended kernel params:
vga=0x317 splash=verbose


Admittedly last time i did the genkernel i did it on another computer using GRP install and computer spec was different so im not sure if both of these new things that ive quoted are because its another computer and its a stage2 now GRP (though im not sure that has anything to do with or not) but i thought id ask.

Very very lastly.. Ive read a few posts here about doing the GRUB configuration however ive run into some problems when i tried to start mine (even though i wasnt 100% about what id have to specify in the conf)

If my devices are:
Quote:

WindowsXP /dev/hda1
LinuxBoot /dev/hda2
LinuxSwap /dev/hda3
LinuxRoot /dev/hda4

What would my bootloader conf look like? I have had a thought about this.. i tried:

Quote:
grub>root (hd0,1)
Filesystem type is ext2fs, parition type 0x83

then i tried..

Quote:
grub>setup (hd0)
checking if "/boot/grub/stage1" exists... no
checking if "/grub/stage1" exists... no

Error 15: File not found


Be great if i could have some help with these problems :o)

akiru
Back to top
View user's profile Send private message
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Sun Mar 21, 2004 1:26 am    Post subject: Looked over documentation again.. Reply with quote

Ive seen whats up with the /dev/ram0 bsuiness and real_root stuff but im still puzzled by the problems ive experienced at grub> when specifying root and setup

akiru
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Mar 21, 2004 1:59 am    Post subject: Re: Ambiguous genkernel kernel version specified Reply with quote

akiru wrote:
i tried:

Quote:
grub>root (hd0,1)
Filesystem type is ext2fs, parition type 0x83

then i tried..

Quote:
grub>setup (hd0)
checking if "/boot/grub/stage1" exists... no
checking if "/grub/stage1" exists... no

Error 15: File not found

If your /boot partition was not mounted properly when you emerged GRUB, then GRUB's stage files would have ended up in your / partition instead. Try this.
Code:
grub> root (hd0,3)
grub> setup (hd0)
grub> quit

If this works, then you also need to change every (hd0,1) in grub.conf to (hd0,3).
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