View previous topic :: View next topic |
Author |
Message |
dohko Tux's lil' helper
Joined: 24 Sep 2004 Posts: 112 Location: São Paulo - Brasil
|
Posted: Tue Jul 19, 2005 11:39 am Post subject: |
|
|
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 |
|
|
Exyle n00b
Joined: 15 Jul 2005 Posts: 23
|
Posted: Tue Jul 19, 2005 11:46 pm Post subject: |
|
|
Anyone know how to set up Lilo to boot correctly with this new system? |
|
Back to top |
|
|
StifflerStealth Retired Dev
Joined: 03 Jul 2002 Posts: 968
|
Posted: Wed Jul 20, 2005 12:46 am Post subject: |
|
|
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 |
|
|
Exyle n00b
Joined: 15 Jul 2005 Posts: 23
|
Posted: Wed Jul 20, 2005 7:23 pm Post subject: |
|
|
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 |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 377 Location: UK
|
Posted: Wed Jul 20, 2005 8:15 pm Post subject: |
|
|
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 |
|
|
lmcogs Guru
Joined: 03 Apr 2005 Posts: 340
|
Posted: Thu Jul 21, 2005 10:48 am Post subject: |
|
|
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 |
|
|
erikm l33t
Joined: 08 Feb 2005 Posts: 634
|
Posted: Fri Jul 22, 2005 9:32 am Post subject: |
|
|
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??? |
|
Back to top |
|
|
lmcogs Guru
Joined: 03 Apr 2005 Posts: 340
|
Posted: Mon Jul 25, 2005 5:57 pm Post subject: |
|
|
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 |
|
|
erikm l33t
Joined: 08 Feb 2005 Posts: 634
|
Posted: Mon Jul 25, 2005 7:37 pm Post subject: |
|
|
Ok, upgraded to genkernel 3.3, and now it seems to work... *grumble* |
|
Back to top |
|
|
dbasetrinity Apprentice
Joined: 25 Jun 2005 Posts: 167
|
Posted: Mon Jul 25, 2005 8:10 pm Post subject: |
|
|
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 |
|
|
ginzberg n00b
Joined: 26 Jul 2005 Posts: 1
|
Posted: Tue Jul 26, 2005 1:07 am Post subject: |
|
|
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 |
|
|
|