View Full Version : Customizing Ubuntu kernel
December 22nd, 2004, 09:52 AM
Hi, i'm trying to install kernel 2.6.9 to customize my new Ubuntu. I configure it with the same options that i configured my Debian Woody (without any problem), but when i restart my computer and it starts booting, it shows the message: "Booting the kernel" and it doesn't load anything else.
I've installed grub in the mbr and the options to load with this are:
title "Ubuntu kernel 2.6.9"
root (hd1,2) #Hard disk 2, partition 3
I don't know if with Ubuntu i have to do something special to load correctly a new kernel. When i load with ubuntu kernel, after it appears "Booting the kernel", it show: "Starting Ubuntu...", for this reason i think that i would have to do something else. Can someone tell me what do i have to do??
December 22nd, 2004, 10:45 AM
Have you tried putting in the equal sign? Im not sure if they are needed but to me it looks like you need them.
title= "Ubuntu kernel 2.6.9"
root= (hd1,2) #Hard disk 2, partition 3
If that doesn't work you might need an initrd image you can find out by typing this:
$>grep -sq initrd /etc/grub.conf && echo "Ram disk needed"
#make initrd image
$>sudo mkinitrd /boot/initrd-2.6.9
Im not sure if the command to make an initrd image is right if anyone know the right command please correct :D
December 22nd, 2004, 05:26 PM
I don't find /etc/grub.conf in my system so i've made initrd with this command:
(as root): mkinitrd -o /boot/initrd-2.6.9 2.6.9
Then, i put initrd in the menu.lst file. i restarted, but the same problem.
I suposse this isn't the problem.
Thansk for help.
December 23rd, 2004, 03:51 AM
Did you try putting in the equal signs?
December 23rd, 2004, 10:02 AM
No, because the other entry in menu.lst (this entry works) don't have equals sign but works. I don't think this is the problem.
January 4th, 2005, 12:45 AM
Have u found out what the problem was? .. cause im having the same problem :???:
January 10th, 2005, 02:37 PM
Just a wild guess: try adding "root=/dev/hdb3" (with hdb3 being your root partition) to "kernel" command line.
For instance, I've added this entry since my root partition is on first partition of first/primary channel hard drive on second IDE interface ;-)
title Ubuntu, kernel 2.6.7 proba
kernel /boot/proba-2.6.7 root=/dev/hdc1 ro quiet splash
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.