make-kpkg does not create an initrd image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kernel-package (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When using make-kpkg to build the Ubuntu-distributed kernel sources, no initrd.img is created which causes the computer to kernel panic on boot being unable to mount the root filesystem. Running mkinitramfs is not optimal as make-kpkg should do this, and if I manually create an initrd, any further update-grub action will cause my initrd line to disappear.
Here's the sequence of commands I have used:
sudo -i
cd /usr/src
tar xvjf linux-source-
cd linux-source-2.6.35
make menuconfig
< during this, the only thing I changed was the arch, from generic x86-64 to Core 2 >
make-kpkg --append-
dpkg -i ../*.deb
For creating the initrd image:
mkinitramfs -o /boot/grub/
Thank you for taking the time to report this bug and helping to make Ubuntu better. Judging from your description, I am going to assign this bug to the “kernel-package” package in hopes that it will have a faster response. If you believe that I have chosen the wrong package, please change your bug to the correct one. Good luck on getting it fixed!