Compiling new kernel 2.6.21.3
Ken Moffat
kmoffat
Sun May 27 09:58:51 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?
>
>
I have read that using the old /dev/hda2 descriptor is the easy fix. Is
it possible you have duplicate uuids, due to copying a partition?
Here's something from a ubuntu forum:
"The problem is running "mkswap", this will generate a new UUID and thus
obsolete the information in both the /etc/fstab and
/etc/initramfs-tools/conf.d/resume files -- which is why you need to
edit those afterwards."
Not exactly your problem, but might lead somewhere. I had the mkswap
problem a while back, but can't remember my fix.
https://launchpad.net/ubuntu/+bug/66637
More information about the Linux-users
mailing list