text install: kernel selection failiure when sharring boot device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
live-installer (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I beleive I have found an issue between live-installer and base-installer packages.
specifically in files live-installer.
I am using the quantal server iso and attempting a preseeded text based install
I notice that when installing from a brand new disk (a VM in this case), the kernel gets installed properrly in the target but when installing on a system sharing /boot with another installation, /target/
From what I could understand, starting from version 36ubuntu5, the live-installer.
pick_kernel_
for kernel in /target/
if [ -e "$kernel" ]; then
info "Kernel already present ($kernel)"
return
fi
done
pick_kernel
}
From what I can tell, since /target/
pick_kernel never gets called thus the installer is never setting the KERNEL variable to some usefull value
also, these preseeded values neger get used:
base-installer/
base-installer/
base-installer/
Later when the procedure install_kernel is called, the KERNEL variable is empty and errors are loged
Mar 2 16:55:44 live-installer: update-initramfs: Generating /boot/initrd.
Mar 2 16:55:44 live-installer: grep: /boot/config-
Mar 2 16:55:44 live-installer: : No such file or directory
Mar 2 16:55:44 live-installer: WARNING: missing /lib/modules/
Mar 2 16:55:44 live-installer: Device driver support needs thus be built-in linux image!
Mar 2 16:55:44 live-installer: WARNING: Couldn't open directory /lib/modules/
Mar 2 16:55:44 live-installer: FATAL: Could not open /lib/modules/
Mar 2 16:55:44 live-installer: FATAL: Could not load /lib/modules/
Mar 2 16:55:44 live-installer: FATAL: Could not load /lib/modules/
Mar 2 16:55:44 live-installer: FATAL: Could not load /lib/modules/
Mar 2 16:55:44 live-installer: FATAL: Could not load /lib/modules/
Mar 2 16:55:47 base-installer: info: Kernel already present (/target/
Mar 2 16:55:47 base-installer: warning: Failed to get debconf answer 'base-installer
Mar 2 16:55:47 base-installer: info: Setting do_initrd='yes'.
Mar 2 16:55:47 base-installer: info: Setting link_in_boot='no'.