Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Genkernel initramfs / Root Block Device unspecified
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dohko
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2004
Posts: 112
Location: São Paulo - Brasil

PostPosted: Tue Jul 19, 2005 11:39 am    Post subject: Reply with quote

lyonsd,

Here is what I did to make it work

Code:
emerge -C genkernel
rm -Rf /usr/share/genkernel
rm-Rf /var/tmp/genkernel/*
emerge genkernel


Genkernel newest stable version is 3.2.7.

My grub entry is the following, without a break in the kernel line:

Code:

title=Gentoo Linux 2.6.12-r6
root (hd0,2)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda5 udev pmdisk=off
initrd /initramfs-genkernel-x86-2.6.12-gentoo-r6
Back to top
View user's profile Send private message
Exyle
n00b
n00b


Joined: 15 Jul 2005
Posts: 23

PostPosted: Tue Jul 19, 2005 11:46 pm    Post subject: Reply with quote

Anyone know how to set up Lilo to boot correctly with this new system?
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Wed Jul 20, 2005 12:46 am    Post subject: Reply with quote

Exyle wrote:
Anyone know how to set up Lilo to boot correctly with this new system?
The same exact way as the old, just use the new names. ;)
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
Exyle
n00b
n00b


Joined: 15 Jul 2005
Posts: 23

PostPosted: Wed Jul 20, 2005 7:23 pm    Post subject: Reply with quote

That's what I've been doing but it still won't work. Does the fact I have a SATA HDD instead of an ATA one make any difference?
Back to top
View user's profile Send private message
ipic
Guru
Guru


Joined: 29 Dec 2003
Posts: 377
Location: UK

PostPosted: Wed Jul 20, 2005 8:15 pm    Post subject: Reply with quote

I use SATA disks, and have managed to create a working kernel using genkernel, so I'm posting my grub.conf entry just in case it helps.

Versions I'm using: genkernel-3.2.9 and gentoo-sources kernel: 2.6.12-gentoo-r6
Code:
title=Gentoo Linux (2.6.12-gentoo-r6)
root (hd0,1)
kernel (hd0,1)/kernel-genkernel-x86-2.6.12-gentoo-r6 udev real_root=/dev/sda6 vga=0x317 splash=verbose gentoo=nodevfs elevator=cfq
initrd (hd0,1)/initramfs-genkernel-x86-2.6.12-gentoo-r6


I followed the genkernel fix instructions above (mainly deleting all cached images), and then followed the instructions printed at the end of the genkernel run exactly (so removed root= and others from the kernel line).

Note that I'm using the scsi sata drivers, hence the root path is /dev/sda6

Hopefully helpful.
Regards
Ian
Back to top
View user's profile Send private message
lmcogs
Guru
Guru


Joined: 03 Apr 2005
Posts: 340

PostPosted: Thu Jul 21, 2005 10:48 am    Post subject: Reply with quote

Hi

I am using a sata which I had to compile into the kernel the right drivers, sata sil under scsi. I did not have to apply the fix and so far all is ok. I find linux loading a bit faster now or is that my imagination. I have genkernel 3.2.9 which has been updated alot in the last few days.

Here is my grub file showing the difference

title=Gentoo-2.6.12-r6
root (hd1,0)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r6 root=/dev/sda3 udev vga=0x318 video=vesafb:mtrr,ywrap


title=Gentoo-r11
root (hd1,0)
kernel /kernel-2.6.11-gentoo-r11 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev vga=0x318 video=vesafb:mtrr,ywrap gentoo=nodevfs
initrd /initrd-2.6.11-gentoo-r11

lmcogs
Back to top
View user's profile Send private message
erikm
l33t
l33t


Joined: 08 Feb 2005
Posts: 634

PostPosted: Fri Jul 22, 2005 9:32 am    Post subject: Reply with quote

Hi all,

I decided I'd play a little with the ck sources, so I emerged the 2.6.11-ck-p10 sorce tree. Genkernel has always worked wonders for me before. I have followed all the tips in this thread, save for rebuilding busybox. I can boot the ck kernel without the initramfs, but initialization of my modem is slow as shit, and it can't find my touchpad module at all. I should add that everything is working excellently under the standard gentoo kernel (built with an older genkernel, btw).

So, my question is: Any successes with the ck sources? How many had to recompile busybox to get things working? Where can I find the devs who b0rked up genkernel and released it into the stable tree??? :evil:
Back to top
View user's profile Send private message
lmcogs
Guru
Guru


Joined: 03 Apr 2005
Posts: 340

PostPosted: Mon Jul 25, 2005 5:57 pm    Post subject: Reply with quote

Hi

Still working fine for me grub.conf as above.

But I would like to see official documentation about using genkernel and correct way to set up the grub.conf file. Can't find any. I also tried to set up gensplash without the initrd line but can't get it to work and I can't find info on how to do this using genkernel.

lmcogs
Back to top
View user's profile Send private message
erikm
l33t
l33t


Joined: 08 Feb 2005
Posts: 634

PostPosted: Mon Jul 25, 2005 7:37 pm    Post subject: Reply with quote

Ok, upgraded to genkernel 3.3, and now it seems to work... *grumble*
Back to top
View user's profile Send private message
dbasetrinity
Apprentice
Apprentice


Joined: 25 Jun 2005
Posts: 167

PostPosted: Mon Jul 25, 2005 8:10 pm    Post subject: Reply with quote

You'll only have an initrd if you used genkernel

If you manually configured and compiled your kernel you won't have one


edit: if you used genkernel, see this[url] https://forums.gentoo.org/viewtopic-t-362450.html[/url]


It looks exactly the same as it did with the old initrd, but you use the new names instead.

example:
Code:
title cko-sources-2.6.12-r3
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.12-cko3 quiet udev root=/dev/ram0 init=/linuxrc real_root=/dev/hda3 video=vesafb:ypan,1024x768-32@60
initrd /initramfs-genkernel-x86-2.6.12-cko3


No difference at all. Like I said, you treat the new initramfs exactly like you did the initrd. ;) The system knows the difference, but for all intense purposes, there is no need to worry about them. :)
Back to top
View user's profile Send private message
ginzberg
n00b
n00b


Joined: 26 Jul 2005
Posts: 1

PostPosted: Tue Jul 26, 2005 1:07 am    Post subject: Reply with quote

dohko wrote:
lyonsd,

Code:
emerge -C genkernel
rm -Rf /usr/share/genkernel
rm-Rf /var/tmp/genkernel/*
emerge genkernel



I did this, and now I get this error when I try and run the newly emerged genkernel:

Code:
~ $ genkernel
/usr/bin/genkernel: line 16: /gen_funcs.sh: No such file or directory
Could not read /gen_funcs.sh


Any ideas? The script in question seems to run manually.
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
Goto page Previous  1, 2, 3
Page 3 of 3

 
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