It's possible to install to the device the installation files reside on.
Bug #276656 reported by
Evan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-base (Ubuntu) |
Fix Released
|
High
|
Colin Watson |
Bug Description
Binary package hint: partman-base
As it stands, if you create a USB disk with the desktop CD or alternate CD on it, partman will let you try to install to /dev/sda or whatever the USB disk may be. This ends poorly.
Attached is a patch that attempts to fix this by filtering out the device mounted on /cdrom or /hd-media, using code from grub-installer to determine the parent block device.
Colin, I would very much appreciate it if you reviewed this patch as while I've tried to consider every possibility, I imagine an extra set of eyes may find a flaw in this design.
To post a comment you must log in.
Also, is this worth sending upstream? It does not seem to be specific to Ubuntu in any way, save maybe searching for /cdrom.