Custom Ubuntu ISO do not work with usb-creator
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: debian-installer
Using the karmic alternate ISO for i386 to create a bootable USB key using usb-creator-gtk works just fine. We can use the resulting USB key, and install karmic just fine.
When we customize the ISO to add a package repository and make the resulting ISO a bootable USB key using usb-creator-gtk, the resulting USB will not be able to complete an installation. In the installer, we will get an error such as:
-------
[!] Install the base system
No installable kernel was found in the defined APT source.
...
Continue without installing a kernel?
-------
The same custom ISO, burnt to a DVD, would work just fine and complete without any problem.
The process to make the custom ISO is the following:
1. loopback-mount the standard alternate ISO somewhere, say /mnt.
mount -o loop ubuntu-
2. Copy the content of the ISO to a directory somewhere, say ~/custom-iso/
cp -a /mnt/* /mnt/.disk ~/custom-iso/
3. Create a directory in ~/custom-iso/ to hold additional packages, say ~/custom-
4. Copy .deb to that directory. In my test, i used the acroread package from the karmic partner repository.
5. Create a package index in the directory in question using dpkg-scanpackages
dpkg-
6. Master an ISO with mkisofs:
mkisofs -r -V "custom installer" --cache-inodes -J -l -b isolinux/
As I explained above, the resulting karmic-custom.iso would work just fine and install a system when burnt to a DVD, but will fail when made into a bootable USB key using usb-creator-gtk.
I am not sure if the bug lies with d-i or usb-creator-gtk, so I marked it as affecting d-i as this is where it fail.
I tested on two different machines, so I am reasonably certain it is not hardware-related.
To be absolutely, I created a bootable USB key using the plain unmodified karmic alternate ISO for i386, and it did install. The problem really lies with the custom packages directory, or possibly with the process I used to master the ISO.
Attached is /var/log/syslog from the USB installer right after it failed (when it displays the "No installable kernel was found..." error message).
Changed in debian-installer (Ubuntu): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in debian-installer (Ubuntu): | |
status: | New → Confirmed |
Changed in debian-installer (Ubuntu): | |
assignee: | Evan Dandrea (ev) → nobody |
I'm not sure if what you are trying to do is supported. However, I've assigned to Evan for his response/action.