Compiling new kernel 2.6.21.3
Ken Moffat
kmoffat
Sun May 27 10:49:00 PDT 2007
Man-wai Chang wrote:
>>>> Xubuntu booted with these errors:
>>>>
>>> Did you regenerate a new initrd.img-2.6.21.... file? (Total Guess!)
>>>
>> I'll bet that's it. If you use Ubuntu kernels, that's done for you
>> automagicly, but it you roll your own you have to roll your own initrd
>> also.
>>
>
> Yes, I did run mkinitrd.
>
> Anyway, I found out why. My 2.6.21.3 kernel didn't understand device UUID.
>
> # /dev/hda2
> UUID=8b25cd4a-b60e-4dd5-9671-350bbe7e619e / xfs defaults 0 2
>
> The update-grub script of Xubuntu uses UUID to generate /boot/grub/menu.lst.
>
> Which kernel option governs that?
>
>
Oops, I see you want the new kernel to recognize uuid's, not disable
uuid's, but
here's something else:
"You can stop the grub madness by going into
/boot/grub/menu.lst
Find the kopt line... (Leave the comment # in front of it.
And make a change somewhere along the lines I have below. Finally did
this after getting hit by this problem too many times.
The important bit being root=........
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/mapper/Ubuntu-root ro
After the last kernel update it actually booted without issue."
More information about the Linux-users
mailing list