Control: retitle -1 Cannot find root device if booted without initramfs; MODULES=dep fails
On Sat, 2014-09-27 at 19:56 -0400, westlake wrote: > If someone tests it without any kernel modules paths (/lib/modules > empty), and with a kernel(not needing an initrd in /boot as well), > apt-get install kernel will fail You could have been that someone. > I can understand why nobody wants to verify anything here because it > takes time to compile a kernel without "initrd" nor any /lib/modules, > and then boot up with it to see if this error occurs. I doubt anyone > here is using this type of custom kernel with these conditions otherwise > they'd notice the same. [...] Well, I've now spent the time to do this, and I can confirm the problem. It looks like mkinitramfs fails because when a boot without initramfs the kernel will generate a mount entry with the device name '/dev/root' rather than the root device name on the kernel command line. I suppose we must work around that by reading the kernel command line. Ben. -- Ben Hutchings This sentence contradicts itself - no actually it doesn't.
signature.asc
Description: This is a digitally signed message part