iso image size is hardcoded

Bug #309693 reported by Buttay on 2008-12-19
Affects Status Importance Assigned to Milestone

Bug Description

I've generated a new iso from an intrepid CD, with a lot more packages (using the ubuntu customization kit). The new size of this iso file is 1GB.

When I attempt to install it on a usb stick, using system/administration/live usb install (from my PC, on which I'm running intrepid ibex), the program hangs after a few minutes, saying that /dev/sbd1 is busy (or something like that, I don't remember exactly). It is worth noting that I've chosen the "persistant home" option.

After a quick look on the source code, it appears that fdisk is called with a hardcoded, 800MB partition size, which is obviously too small for my iso image (1GB):

from /usr/share/python-support/liveusb/, line 140 and after:

   def makeTwoPartitionsForPersistence(self):
        """Creates one bootable partition on the device to be formatted with VFAT32."""
        result = self.runsfdisk(",800,06,*\n,,83,-\n")

replacing 800 by 1100 apparently solved my problem (usb install is not done yet!), but it is only a dirty workaround, only valid in my case!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers