[lug] problem compiling Ubuntu kernel
bgiles
bgiles at coyotesong.com
Sat Jan 23 10:46:45 MST 2010
bgiles wrote:
> David L. Anselmi wrote:
>> The same way you compile a kernel on it. Boot something else and
>> chroot into your drive.
>>
>> I don't know how close the running kernel has to be to the one you
>> want an initramfs for, they might have to be the same architecture.
>>
>> It's a pity the upgrade didn't leave your old kernel and initramfs
>> around.
>>
>> Dave
>>
> I've figured out the biggest problem - the grub loader is insisting
> that the root partition is /dev/hda3 (which it was under older
> kernels), but the new kernel insists it's /dev/sda3. Every update has
> been pointing the new kernel to the wrong place. It can't be pulling
> the information from /etc/fstab or the rescue disc since both say it's
> /dev/sda3.
>
> A related issue is the 'rescue' partition was the old swap location,
> /dev/hda2, instead of the new swap location, /dev/sda2.
>
> The third problem is that the startup process isn't finding the lvm
> device so I can manually tweak the menu.lst file to the system will
> reboot (until the next time I update the kernel) but something is
> still not quite right. I can mount the partitions manually once I go
> into maintenance mode so it's not a case of a missing kernel module.
>
> Bear
The problem with LVM is getting kinda weird. The 'device mapper' is
visible in /proc/misc and 'lvscan' sees the volumes, but there's no
/dev/vg00 directory. Running dmsetup mknodes didn't have an effect.
Bear
More information about the LUG
mailing list