[jaunty] Usb-creator creates incorrect free, persistent space; to /cdrom not /

Bug #346700 reported by Sander Jonkers
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)
Fix Released
Undecided
usb-creator hackers

Bug Description

On: jaunty alpha 6+ daily dated 20/21 Mar 2009:

usb-creator creates incorrect free, persistent space; the space is assigned to /cdrom, not to /

Details: on a 8GB USB stick, at the start of installation/creation of the live USB stick, I've moved the free space slider completely to the right, assigning 7.2 GB to the persistent, free space. However, after booting from the newly created USB-stick, the result of "bf -BM" is this:
rootfs 497M 278M 220M 56% /
/dev/sdb1 7649M 702M 6948M 10% /cdrom

So, almost all free space is give to /cdrom, not to /

Using this method on Ubunt 8.10, everything goes OK.

Logging below:
1) "df -BM" afte booting off the USB-stick
2) the CLI output of the creation/installation.

ubuntu@ubuntu:~$ df -BM
Filesystem 1M-blocks Used Available Use% Mounted on
tmpfs 497M 2M 495M 1% /lib/modules/2.6.28-11-generic/volatile
tmpfs 497M 2M 495M 1% /lib/modules/2.6.28-11-generic/volatile
tmpfs 497M 0M 497M 0% /lib/init/rw
varrun 497M 1M 497M 1% /var/run
varlock 497M 0M 497M 0% /var/lock
udev 497M 1M 497M 1% /dev
tmpfs 497M 1M 497M 1% /dev/shm
rootfs 497M 278M 220M 56% /
/dev/sdb1 7649M 702M 6948M 10% /cdrom
/dev/loop0 678M 678M 0M 100% /rofs
tmpfs 497M 1M 497M 1% /tmp
/dev/mmcblk0p1 1876M 706M 1170M 38% /media/disk
/dev/sdc1 992M 39M 953M 4% /media/disk-1
ubuntu@ubuntu:~$

installation / creation
ubuntu@ubuntu:~$ usb-creator
/usr/share/themes/Human/gtk-2.0/gtkrc:82: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
/usr/share/themes/Human/gtk-2.0/gtkrc:83: Murrine configuration option "lightborder_ratio" will be deprecated in future releases. Please use "lightborder_shade" instead.
/usr/share/themes/Human/gtk-2.0/gtkrc:194: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
/usr/share/themes/Human/gtk-2.0/gtkrc:82: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
/usr/share/themes/Human/gtk-2.0/gtkrc:83: Murrine configuration option "lightborder_ratio" will be deprecated in future releases. Please use "lightborder_shade" instead.
/usr/share/themes/Human/gtk-2.0/gtkrc:194: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
/usr/share/themes/Human/gtk-2.0/gtkrc:82:
-- Starting up at 10:40:26 --
[10:40:26] /var/lib/python-support/python2.6/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[10:40:26] got a disc: Ubuntu 9.04 i386
[10:40:26] adding: /dev/sdb
[10:40:26] updating dest_status as part of update_row_state
Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
/usr/share/themes/Human/gtk-2.0/gtkrc:83: Murrine configuration option "lightborder_ratio" will be deprecated in future releases. Please use "lightborder_shade" instead.
/usr/share/themes/Human/gtk-2.0/gtkrc:194: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
[10:40:33] ['umount', '/dev/sdb']
[10:40:33] ['parted', '-s', '/dev/sdb', 'mklabel', 'msdos']
[10:40:34] ['parted', '-s', '/dev/sdb', 'mkpartfs', 'primary', 'fat32', '0', '--', '-0']
[10:40:36] deleting /dev/sdb from the ui
[10:40:36] device removed and none left. source = False
[10:40:36] possibly adding: /org/freedesktop/Hal/devices/volume_uuid_4B1B_8F11
[10:40:36] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_4B1B_8F11', 'capacity': dbus.UInt64(8036066304L), 'uuid': '4B1B-8F11', 'device': '/dev/sdb1', 'mountpoint': '', 'fstype': 'vfat', 'free': 0, 'label': ''}
[10:40:36] adding: /dev/sdb1
[10:40:36] updating dest_status as part of update_row_state
[10:40:37] updating dest_status as part of update_row_state
[10:40:37] prop modified
[10:40:37] device_udi: /org/freedesktop/Hal/devices/volume_uuid_4B1B_8F11
[10:40:37] num_changes: 2
[10:40:37] change: volume.mount_point
[10:40:37] change: volume.is_mounted
[10:40:49] Installing...
[10:40:49] Source CD: /org/freedesktop/Hal/devices/volume_label_Ubuntu_9_04_i386
[10:40:49] Destination disk: /dev/sdb1
[10:40:49] Persistence size: 7285084160 B
[10:40:51] Marking partition 1 as active.
[10:40:51] installing the bootloader to /dev/sdb.
[10:40:51] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446', 'count=1', 'conv=sync']
[10:40:51] installing the bootloader to /dev/sdb1.
[10:40:51] ['syslinux', '/dev/sdb1']
[10:40:52] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot', 'on']
[10:40:52] ['rm', '-rf', u'/media/disk/autorun.inf']
[10:40:52] ['rm', '-rf', u'/media/disk/casper']
[10:40:52] ['rm', '-rf', u'/media/disk/dists']
[10:40:52] ['rm', '-rf', u'/media/disk/install']
[10:40:52] ['rm', '-rf', u'/media/disk/isolinux']
[10:40:52] ['rm', '-rf', u'/media/disk/md5sum.txt']
[10:40:52] ['rm', '-rf', u'/media/disk/pics']
[10:40:52] ['rm', '-rf', u'/media/disk/pool']
[10:40:52] ['rm', '-rf', u'/media/disk/preseed']
[10:40:52] ['rm', '-rf', u'/media/disk/README.diskdefines']
[10:40:52] ['rm', '-rf', u'/media/disk/ubuntu']
[10:40:52] ['rm', '-rf', u'/media/disk/wubi.exe']
[10:40:52] ['rm', '-rf', u'/media/disk/.disk']
[10:40:52] ['rm', '/media/disk/casper-rw']
[10:40:52] ['/usr/share/usb-creator/install.py', '-s', u'/cdrom/.', '-t', '/media/disk', '-p', '7285084160']
[10:44:11] Install command exited with code: 0
ubuntu@ubuntu:~$

Tags: jaunty
Revision history for this message
Sander Jonkers (jonkers) wrote :

FYI: on good old 8.10, the same procedure (free space slider to the right) on a 4GB stick results in the correct space assignment: almost all to / , and only a litte space extra to /cdrom:

rootfs 3168M 155M 2853M 6% /
/dev/sdb1 3928M 3917M 11M 100% /cdrom

details:

ubuntu@ubuntu:~$ df -BM
Filesystem 1M-blocks Used Available Use% Mounted on
tmpfs 500M 2M 498M 1% /lib/modules/2.6.27-7-generic/volatile
tmpfs 500M 2M 498M 1% /lib/modules/2.6.27-7-generic/volatile
tmpfs 500M 0M 500M 0% /lib/init/rw
varrun 500M 1M 500M 1% /var/run
varlock 500M 0M 500M 0% /var/lock
udev 500M 3M 498M 1% /dev
tmpfs 500M 1M 500M 1% /dev/shm
rootfs 3168M 155M 2853M 6% /
/dev/sdb1 3928M 3917M 11M 100% /cdrom
/dev/loop0 676M 676M 0M 100% /rofs
tmpfs 500M 1M 500M 1% /tmp
/dev/mmcblk0p1 1876M 499M 1377M 27% /media/disk
ubuntu@ubuntu:~$

ubuntu@ubuntu:~$ usb-creator

-- Starting up at 11:14:22 --
[11:14:22] got a disc: Ubuntu 8.10 i386
[11:14:22] new device:
{'capacity': dbus.UInt64(4126146048L), 'uuid': 'E546-920F', 'label': '', 'free': 4118052864L, 'fstype': 'vfat', 'device': '/dev/sdb1', 'mountpoint': '/media/disk-1', 'udi': '/org/freedesktop/Hal/devices/volume_uuid_E546_920F'}
[11:14:22] adding: /dev/sdb1
[11:14:22] updating dest_status as part of update_row_state
[11:15:20] Installing...
[11:15:20] Source CD: /org/freedesktop/Hal/devices/volume_label_Ubuntu_8_10_i386
[11:15:20] Destination disk: /dev/sdb1
[11:15:20] Persistence size: 3218 MB
[11:15:20] Marking partition 1 as active.
[11:15:20] installing the bootloader to /dev/sdb1.
[11:15:24] ['/usr/share/usb-creator/install.py', '-s', u'/cdrom/.', '-t', '/media/disk-1', '-p', '3218']
[11:16:04] possibly adding: /org/freedesktop/Hal/devices/bluetooth_acl_1f00b00034
[10:34:20] Install command exited with code: 0
ubuntu@ubuntu:~$

Revision history for this message
jruss (jruss) wrote :

This may be because vfat has a file size limitation of 4 GB. That is why it worked on your smaller 4 GB flash drive but failed on your larger drive when you tried to make the 7 GB file. Check the casper folder on your usb drive and see if there is a casper-rw file. If not then that is your problem. It wasn't created by usb-creator. Create the persistent usb again. Then look at ~/.usb-creator.log. My logs show an invalid size error from dd, and thus the casper-rw file isn't created.

This is related to: https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/284085

Revision history for this message
Sander Jonkers (jonkers) wrote : Re: [Bug 346700] Re: [jaunty alpha 6+ daily] usb-creator creates incorrect free, persistent space; to /cdrom not /

jruss: thank you. Very good hypothesis. I will check it out.

Revision history for this message
jruss (jruss) wrote : Re: [jaunty alpha 6+ daily] usb-creator creates incorrect free, persistent space; to /cdrom not /

I have tracked down a more serious problem. The current version of usb-creator in jaunty beta tries to create the casper-rw file as one large block, when actually it should use a reasonable block size like 1k and then create right number of blocks. This is what is causing the "dd: invalid number" errors in ~/.usb-creator.log and causing the casper-rw file not to be created. If you surpass the 4 GB file size you will get a file too large error (or something like that). There are patches with this bug that should address both of these issues.

https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/321544

Craig Huffstetler (xq)
tags: added: jaunty usb-install
Revision history for this message
Craig Huffstetler (xq) wrote :

Possible duplicate bugs / related bugs: bug 349974, bug 349786, bug 349974

Revision history for this message
Chip Piller (piller) wrote :

I can confirm the problem with the jaunty live daily desktop cd (april 14, 2009) and persistence. I just used usb-creator to create bootable usb stick of latest jaunty and during boot it goes to busybox and initramfs. However, if I press F6 during boot and remove "persistent" from kernel boot command line then it will boot OK.

Craig Huffstetler (xq)
tags: removed: usb-install
Revision history for this message
Tokenekie (tokenekie) wrote :

I think this is a similar or possibly the same issue:

I have a 4 GB usb drive and when I move the persistence slider all the way to the left to allocate 3.1GB, usb-creator exits with a return code of 0 when it is only 17% complete...that is right after it has finished loading the Jaunty ISO onto the USB drive. It never loads the persistence at all.

However, If I set the slider so that the memory allocated is less than 1.2 GB, then it writes the persistence files completely. In this case the USB drive works perfectly. I think the limit is 1.2 because if you add the memory needed for the ISO you will make approximately 2GB (in other words, I think there is an incorrect limit of 2GB somewhere in the source).

I have tried and reproduced this problem loading the Jaunty daily-lives (Apr 18, 19, and 20 - 2009) running off both April 19 and 20 builds.

usb-creator version 0.1.16

-Tokenekie

Revision history for this message
Sander Jonkers (jonkers) wrote : Re: [Bug 346700] Re: [jaunty alpha 6+ daily] usb-creator creates incorrect free, persistent space; to /cdrom not /
Download full text (3.3 KiB)

I can sort-of confirm Tokenekie's message: When I select 150 MB persistence
instead of 1.1/1.2 GB on a 2 GB stick, everything goes OK.

If I have the time, I can try other persistence sizes ...

ubuntu@ubuntu:~$ usb-creator

-- Starting up at 18:32:24 --
[18:32:24] /var/lib/python-support/python2.6/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[18:32:24] got a disc: Ubuntu 9.04 i386
[18:32:24] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_623E_568B', 'capacity':
dbus.UInt64(1967058432L), 'uuid': '623E-568B', 'device': '/dev/sdb1',
'mountpoint': '', 'fstype': 'vfat', 'free': 0, 'label': ''}
[18:32:24] adding: /dev/sdb1
[18:32:24] updating dest_status as part of update_row_state
[18:32:26] ['mount', '-t', 'vfat', '/dev/sdb1', '/tmp/tmp3h2i43']
[18:32:27] updating dest_status as part of update_row_state
[18:32:27] prop modified
[18:32:27] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[18:32:27] num_changes: 2
[18:32:27] change: volume.mount_point
[18:32:27] change: volume.is_mounted
[18:32:43] Installing...
[18:32:43] Source CD:
/org/freedesktop/Hal/devices/volume_label_Ubuntu_9_04_i386
[18:32:43] Destination disk: /dev/sdb1
[18:32:43] Persistence size: 157611553 B
[18:32:43] Marking partition 1 as active.
[18:32:43] installing the bootloader to /dev/sdb.
[18:32:43] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446',
'count=1', 'conv=sync']
[18:32:45] installing the bootloader to /dev/sdb1.
[18:32:45] ['syslinux', '/dev/sdb1']
[18:32:46] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot',
'on']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/autorun.inf']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/casper']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/dists']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/install']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/isolinux']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/md5sum.txt']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/pics']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/pool']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/preseed']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/README.diskdefines']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/ubuntu']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/wubi.exe']
[18:32:46] ['rm', '-rf', u'/tmp/tmp3h2i43/.disk']
[18:32:46] ['rm', '/tmp/tmp3h2i43/casper-rw']
[18:32:46] ['/usr/share/usb-creator/install.py', '-s', u'/cdrom/.', '-t',
'/tmp/tmp3h2i43', '-p', '157611553']
[18:37:52] /usr/lib/python2.6/dist-packages/usbcreator/gtk_frontend.py:477:
GtkWarning: gtk_progress_set_percentage: assertion `percentage >= 0 &&
percentage <= 1.0' failed
  self.progress_bar.set_fraction(val / 100.0)
[18:38:32] Unmounting target volume.
[18:38:32] ['umount', '/tmp/tmp3h2i43']
[18:38:33] ['rmdir', '/tmp/tmp3h2i43']
[18:38:33] Install command exited with code: 0
[18:38:38] updating dest_status as part of update_row_state
[18:38:38] prop modified
[18:38:38] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[18:38:38] num_changes: 2
[18:38:38] change: volume.mount_point
[18:38:38] change: volume.is_mounted
[18:38:44] updating dest_status as part of update_row...

Read more...

Revision history for this message
Sander Jonkers (jonkers) wrote :
Download full text (3.2 KiB)

A persistent space of 650 MB (on the same 2GB flash drive) goes OK too.

ubuntu@ubuntu:~$ usb-creator

-- Starting up at 18:42:52 --
[18:42:52] /var/lib/python-support/python2.6/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[18:42:52] got a disc: Ubuntu 9.04 i386
[18:42:52] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_623E_568B', 'capacity':
dbus.UInt64(1967058432L), 'uuid': '623E-568B', 'device': '/dev/sdb1',
'mountpoint': '', 'fstype': 'vfat', 'free': 0, 'label': ''}
[18:42:52] adding: /dev/sdb1
[18:42:52] updating dest_status as part of update_row_state
[18:42:55] ['mount', '-t', 'vfat', '/dev/sdb1', '/tmp/tmpessn3J']
[18:42:55] updating dest_status as part of update_row_state
[18:42:55] prop modified
[18:42:55] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[18:42:55] num_changes: 2
[18:42:55] change: volume.mount_point
[18:42:55] change: volume.is_mounted
[18:43:09] Installing...
[18:43:11] Source CD:
/org/freedesktop/Hal/devices/volume_label_Ubuntu_9_04_i386
[18:43:11] Destination disk: /dev/sdb1
[18:43:11] Persistence size: 635513971 B
[18:43:11] Marking partition 1 as active.
[18:43:11] installing the bootloader to /dev/sdb.
[18:43:11] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446',
'count=1', 'conv=sync']
[18:43:11] installing the bootloader to /dev/sdb1.
[18:43:11] ['syslinux', '/dev/sdb1']
[18:43:11] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot',
'on']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/autorun.inf']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/casper']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/dists']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/install']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/isolinux']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/md5sum.txt']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/pics']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/pool']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/preseed']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/README.diskdefines']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/ubuntu']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/wubi.exe']
[18:43:12] ['rm', '-rf', u'/tmp/tmpessn3J/.disk']
[18:43:12] ['rm', '/tmp/tmpessn3J/casper-rw']
[18:43:12] ['/usr/share/usb-creator/install.py', '-s', u'/cdrom/.', '-t',
'/tmp/tmpessn3J', '-p', '635513971']
[18:53:29] /usr/lib/python2.6/dist-packages/usbcreator/gtk_frontend.py:477:
GtkWarning: gtk_progress_set_percentage: assertion `percentage >= 0 &&
percentage <= 1.0' failed
  self.progress_bar.set_fraction(val / 100.0)
[18:53:46] Unmounting target volume.
[18:53:46] ['umount', '/tmp/tmpessn3J']
[18:53:48] ['rmdir', '/tmp/tmpessn3J']
[18:53:48] Install command exited with code: 0
[18:53:54] updating dest_status as part of update_row_state
[18:53:54] prop modified
[18:53:54] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[18:53:54] num_changes: 2
[18:53:54] change: volume.mount_point
[18:53:54] change: volume.is_mounted
[18:54:02] updating dest_status as part of update_row_state
[18:54:02] prop modified
[18:54:02] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[18:54:02] num_c...

Read more...

Revision history for this message
Sander Jonkers (jonkers) wrote :

979 MB does NOT go well: after 40-something %, the process stops. Strangely
enought, the CLI output does not suddenly stop like with the 1.2 GB creation
problem.

ubuntu@ubuntu:~$ usb-creator

-- Starting up at 18:56:32 --
[18:56:32] /var/lib/python-support/python2.6/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[18:56:33] got a disc: Ubuntu 9.04 i386
[18:56:33] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_623E_568B', 'capacity':
dbus.UInt64(1967058432L), 'uuid': '623E-568B', 'device': '/dev/sdb1',
'mountpoint': '', 'fstype': 'vfat', 'free': 0, 'label': ''}
[18:56:33] adding: /dev/sdb1
[18:56:33] updating dest_status as part of update_row_state
[18:56:35] ['mount', '-t', 'vfat', '/dev/sdb1', '/tmp/tmpXKtT3O']
[18:56:35] updating dest_status as part of update_row_state
[18:56:35] prop modified
[18:56:35] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[18:56:35] num_changes: 2
[18:56:35] change: volume.mount_point
[18:56:35] change: volume.is_mounted
[18:56:51] Installing...
[18:56:51] Source CD:
/org/freedesktop/Hal/devices/volume_label_Ubuntu_9_04_i386
[18:56:51] Destination disk: /dev/sdb1
[18:56:51] Persistence size: 1026525042 B
[18:56:51] Marking partition 1 as active.
[18:56:51] installing the bootloader to /dev/sdb.
[18:56:51] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446',
'count=1', 'conv=sync']
[18:56:53] installing the bootloader to /dev/sdb1.
[18:56:53] ['syslinux', '/dev/sdb1']
[18:56:54] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot',
'on']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/autorun.inf']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/casper']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/dists']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/install']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/isolinux']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/md5sum.txt']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/pics']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/pool']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/preseed']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/README.diskdefines']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/ubuntu']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/wubi.exe']
[18:56:55] ['rm', '-rf', u'/tmp/tmpXKtT3O/.disk']
[18:56:55] ['rm', '/tmp/tmpXKtT3O/casper-rw']
[18:56:55] ['/usr/share/usb-creator/install.py', '-s', u'/cdrom/.', '-t',
'/tmp/tmpXKtT3O', '-p', '1026525042']
[19:02:14] Unmounting target volume.
[19:02:14] ['umount', '/tmp/tmpXKtT3O']
[19:02:14] ['rmdir', '/tmp/tmpXKtT3O']
[19:02:14] Install command exited with code: 0
[19:02:17] updating dest_status as part of update_row_state
[19:02:17] prop modified
[19:02:17] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:02:17] num_changes: 2
[19:02:17] change: volume.mount_point
[19:02:17] change: volume.is_mounted
[19:02:19] updating dest_status as part of update_row_state
[19:02:19] prop modified
[19:02:19] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:02:19] num_changes: 2
[19:02:19] change: volume.mount_point
[19:02:19] change: volume.is_mounted
ubuntu@ubuntu:~$

Revision history for this message
Sander Jonkers (jonkers) wrote :

925 MB does NOT good either: the process stops after 40-something %.

ubuntu@ubuntu:~$ usb-creator

-- Starting up at 19:04:30 --
[19:04:31] /var/lib/python-support/python2.6/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[19:04:31] got a disc: Ubuntu 9.04 i386
[19:04:31] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_623E_568B', 'capacity':
dbus.UInt64(1967058432L), 'uuid': '623E-568B', 'device': '/dev/sdb1',
'mountpoint': '', 'fstype': 'vfat', 'free': 0, 'label': ''}
[19:04:31] adding: /dev/sdb1
[19:04:31] updating dest_status as part of update_row_state
[19:04:33] ['mount', '-t', 'vfat', '/dev/sdb1', '/tmp/tmpOGCDrZ']
[19:04:33] updating dest_status as part of update_row_state
[19:04:33] prop modified
[19:04:33] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:04:33] num_changes: 2
[19:04:33] change: volume.mount_point
[19:04:33] change: volume.is_mounted
[19:04:45] Installing...
[19:04:45] Source CD:
/org/freedesktop/Hal/devices/volume_label_Ubuntu_9_04_i386
[19:04:45] Destination disk: /dev/sdb1
[19:04:45] Persistence size: 969711467 B
[19:04:45] Marking partition 1 as active.
[19:04:45] installing the bootloader to /dev/sdb.
[19:04:45] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446',
'count=1', 'conv=sync']
[19:04:47] installing the bootloader to /dev/sdb1.
[19:04:47] ['syslinux', '/dev/sdb1']
[19:04:47] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot',
'on']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/autorun.inf']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/casper']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/dists']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/install']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/isolinux']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/md5sum.txt']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/pics']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/pool']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/preseed']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/README.diskdefines']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/ubuntu']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/wubi.exe']
[19:04:48] ['rm', '-rf', u'/tmp/tmpOGCDrZ/.disk']
[19:04:48] ['rm', '/tmp/tmpOGCDrZ/casper-rw']
[19:04:48] ['/usr/share/usb-creator/install.py', '-s', u'/cdrom/.', '-t',
'/tmp/tmpOGCDrZ', '-p', '969711467']
[19:09:32] Unmounting target volume.
[19:09:32] ['umount', '/tmp/tmpOGCDrZ']
[19:09:33] ['rmdir', '/tmp/tmpOGCDrZ']
[19:09:33] Install command exited with code: 0
[19:09:35] updating dest_status as part of update_row_state
[19:09:35] prop modified
[19:09:35] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:09:35] num_changes: 2
[19:09:35] change: volume.mount_point
[19:09:35] change: volume.is_mounted
[19:09:37] updating dest_status as part of update_row_state
[19:09:37] prop modified
[19:09:37] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:09:37] num_changes: 2
[19:09:37] change: volume.mount_point
[19:09:37] change: volume.is_mounted
ubuntu@ubuntu:~$

Revision history for this message
Sander Jonkers (jonkers) wrote :

825 MB does NOT go well; it stops at 40-something %

ubuntu@ubuntu:~$ usb-creator

-- Starting up at 19:11:30 --
[19:11:30] /var/lib/python-support/python2.6/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[19:11:31] got a disc: Ubuntu 9.04 i386
[19:11:31] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_623E_568B', 'capacity':
dbus.UInt64(1967058432L), 'uuid': '623E-568B', 'device': '/dev/sdb1',
'mountpoint': '', 'fstype': 'vfat', 'free': 0, 'label': ''}
[19:11:31] adding: /dev/sdb1
[19:11:31] updating dest_status as part of update_row_state
[19:11:33] ['mount', '-t', 'vfat', '/dev/sdb1', '/tmp/tmpXS9EOk']
[19:11:33] updating dest_status as part of update_row_state
[19:11:33] prop modified
[19:11:33] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:11:33] num_changes: 2
[19:11:33] change: volume.mount_point
[19:11:33] change: volume.is_mounted
[19:31:21] Installing...
[19:31:21] Source CD:
/org/freedesktop/Hal/devices/volume_label_Ubuntu_9_04_i386
[19:31:21] Destination disk: /dev/sdb1
[19:31:21] Persistence size: 866110243 B
[19:31:21] Marking partition 1 as active.
[19:31:21] installing the bootloader to /dev/sdb.
[19:31:21] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446',
'count=1', 'conv=sync']
[19:31:24] installing the bootloader to /dev/sdb1.
[19:31:24] ['syslinux', '/dev/sdb1']
[19:31:24] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot',
'on']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/autorun.inf']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/casper']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/dists']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/install']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/isolinux']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/md5sum.txt']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/pics']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/pool']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/preseed']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/README.diskdefines']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/ubuntu']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/wubi.exe']
[19:31:24] ['rm', '-rf', u'/tmp/tmpXS9EOk/.disk']
[19:31:24] ['rm', '/tmp/tmpXS9EOk/casper-rw']
[19:31:24] ['/usr/share/usb-creator/install.py', '-s', u'/cdrom/.', '-t',
'/tmp/tmpXS9EOk', '-p', '866110243']
[19:36:22] Unmounting target volume.
[19:36:22] ['umount', '/tmp/tmpXS9EOk']
[19:36:22] ['rmdir', '/tmp/tmpXS9EOk']
[19:36:22] Install command exited with code: 0
[19:36:25] updating dest_status as part of update_row_state
[19:36:25] prop modified
[19:36:25] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:36:25] num_changes: 2
[19:36:25] change: volume.mount_point
[19:36:25] change: volume.is_mounted
[19:36:26] updating dest_status as part of update_row_state
[19:36:26] prop modified
[19:36:26] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:36:26] num_changes: 2
[19:36:26] change: volume.mount_point
[19:36:26] change: volume.is_mounted
ubuntu@ubuntu:~$

Revision history for this message
Sander Jonkers (jonkers) wrote :

750 MB persistent space does NOT go wel: the GUI stops at 48 / 49%.

ubuntu@ubuntu:~$ usb-creator

-- Starting up at 19:38:04 --
[19:38:04] /var/lib/python-support/python2.6/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[19:38:05] got a disc: Ubuntu 9.04 i386
[19:38:05] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_623E_568B', 'capacity':
dbus.UInt64(1967058432L), 'uuid': '623E-568B', 'device': '/dev/sdb1',
'mountpoint': '', 'fstype': 'vfat', 'free': 0, 'label': ''}
[19:38:05] adding: /dev/sdb1
[19:38:05] updating dest_status as part of update_row_state
[19:38:07] ['mount', '-t', 'vfat', '/dev/sdb1', '/tmp/tmp5QFT5I']
[19:38:07] updating dest_status as part of update_row_state
[19:38:07] prop modified
[19:38:07] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:38:07] num_changes: 2
[19:38:07] change: volume.mount_point
[19:38:07] change: volume.is_mounted
[19:38:22] Installing...
[19:38:22] Source CD:
/org/freedesktop/Hal/devices/volume_label_Ubuntu_9_04_i386
[19:38:22] Destination disk: /dev/sdb1
[19:38:22] Persistence size: 785902844 B
[19:38:22] Marking partition 1 as active.
[19:38:22] installing the bootloader to /dev/sdb.
[19:38:22] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446',
'count=1', 'conv=sync']
[19:38:24] installing the bootloader to /dev/sdb1.
[19:38:24] ['syslinux', '/dev/sdb1']
[19:38:24] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot',
'on']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/autorun.inf']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/casper']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/dists']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/install']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/isolinux']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/md5sum.txt']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/pics']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/pool']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/preseed']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/README.diskdefines']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/ubuntu']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/wubi.exe']
[19:38:25] ['rm', '-rf', u'/tmp/tmp5QFT5I/.disk']
[19:38:25] ['rm', '/tmp/tmp5QFT5I/casper-rw']
[19:38:25] ['/usr/share/usb-creator/install.py', '-s', u'/cdrom/.', '-t',
'/tmp/tmp5QFT5I', '-p', '785902844']
[19:43:23] Unmounting target volume.
[19:43:23] ['umount', '/tmp/tmp5QFT5I']
[19:43:24] ['rmdir', '/tmp/tmp5QFT5I']
[19:43:24] Install command exited with code: 0
[19:43:26] updating dest_status as part of update_row_state
[19:43:26] prop modified
[19:43:26] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:43:26] num_changes: 2
[19:43:26] change: volume.mount_point
[19:43:26] change: volume.is_mounted
[19:43:27] updating dest_status as part of update_row_state
[19:43:27] prop modified
[19:43:27] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:43:27] num_changes: 2
[19:43:27] change: volume.mount_point
[19:43:27] change: volume.is_mounted
ubuntu@ubuntu:~$

Revision history for this message
Sander Jonkers (jonkers) wrote :

700 MB persistence does NOT go OK: the GUI stops at 50%

ubuntu@ubuntu:~$ time usb-creator

-- Starting up at 19:44:38 --
[19:44:38] /var/lib/python-support/python2.6/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[19:44:38] got a disc: Ubuntu 9.04 i386
[19:44:38] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_623E_568B', 'capacity':
dbus.UInt64(1967058432L), 'uuid': '623E-568B', 'device': '/dev/sdb1',
'mountpoint': '', 'fstype': 'vfat', 'free': 0, 'label': ''}
[19:44:38] adding: /dev/sdb1
[19:44:38] updating dest_status as part of update_row_state
[19:44:40] ['mount', '-t', 'vfat', '/dev/sdb1', '/tmp/tmp_UVX9e']
[19:44:40] updating dest_status as part of update_row_state
[19:44:40] prop modified
[19:44:40] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:44:40] num_changes: 2
[19:44:40] change: volume.mount_point
[19:44:40] change: volume.is_mounted
[19:47:00] Installing...
[19:47:03] Source CD:
/org/freedesktop/Hal/devices/volume_label_Ubuntu_9_04_i386
[19:47:03] Destination disk: /dev/sdb1
[19:47:03] Persistence size: 735773220 B
[19:47:03] Marking partition 1 as active.
[19:47:03] installing the bootloader to /dev/sdb.
[19:47:03] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446',
'count=1', 'conv=sync']
[19:47:04] installing the bootloader to /dev/sdb1.
[19:47:04] ['syslinux', '/dev/sdb1']
[19:47:04] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot',
'on']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/autorun.inf']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/casper']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/dists']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/install']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/isolinux']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/md5sum.txt']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/pics']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/pool']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/preseed']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/README.diskdefines']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/ubuntu']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/wubi.exe']
[19:47:06] ['rm', '-rf', u'/tmp/tmp_UVX9e/.disk']
[19:47:06] ['rm', '/tmp/tmp_UVX9e/casper-rw']
[19:47:06] ['/usr/share/usb-creator/install.py', '-s', u'/cdrom/.', '-t',
'/tmp/tmp_UVX9e', '-p', '735773220']
[19:52:21] Unmounting target volume.
[19:52:21] ['umount', '/tmp/tmp_UVX9e']
[19:52:21] ['rmdir', '/tmp/tmp_UVX9e']
[19:52:21] Install command exited with code: 0
[19:52:25] updating dest_status as part of update_row_state
[19:52:25] prop modified
[19:52:25] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:52:25] num_changes: 2
[19:52:25] change: volume.mount_point
[19:52:25] change: volume.is_mounted
[19:52:26] updating dest_status as part of update_row_state
[19:52:26] prop modified
[19:52:26] device_udi: /org/freedesktop/Hal/devices/volume_uuid_623E_568B
[19:52:26] num_changes: 2
[19:52:26] change: volume.mount_point
[19:52:26] change: volume.is_mounted

real 8m1.897s
user 0m7.100s
sys 0m6.660s
ubuntu@ubuntu:~$

Revision history for this message
Sander Jonkers (jonkers) wrote :

Information lover Eva thinks the limit is at 666 MB. So I tried that.
Result: the system fully locks up at 51%. I had to reboot.

Thanks, Eva ... ;-)

Revision history for this message
Sander Jonkers (jonkers) wrote : Re: [jaunty alpha 6+ daily] usb-creator creates incorrect free, persistent space; to /cdrom not /
Download full text (3.2 KiB)

I don't know whether anybody is investigating this bug, but here's some more info:

With 9.04's usb-creator, I wrote the Ubuntu 8.04 iso to a 1 GB USB Stick, with the persistent slider completely to the right (about 250 MB space). The writing process seemed to complete to 100%, but trying to boot from the stick ended in a BusyBox prompt. :-(

I'm not sure, but it could be that 9.04's usb-creator can not handle fully using a (any) USB stick.

-- Starting up at 20:10:56 --
[20:10:56] /var/lib/python-support/python2.6/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[20:10:56] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_10C8_6F21', 'capacity': dbus.UInt64(1010794496L), 'uuid': '10C8-6F21', 'device': '/dev/sdc1', 'mountpoint': '/media/BSIX', 'fstype': 'vfat', 'free': 1004027904L, 'label': 'BSIX'}
[20:10:56] adding: /dev/sdc1
[20:10:56] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_4C4B_F586', 'capacity': dbus.UInt64(2029518336L), 'uuid': '4C4B-F586', 'device': '/dev/sdb1', 'mountpoint': '/cdrom', 'fstype': 'vfat', 'free': 44990464L, 'label': ''}
[20:10:56] adding: /dev/sdb1
[20:11:40] mounting /media/ntfs/mijnDownloads/ubuntu-8.04.2-desktop-i386.iso
[20:11:40] ['mount', '-t', 'iso9660', '-o', 'loop,ro', '/media/ntfs/mijnDownloads/ubuntu-8.04.2-desktop-i386.iso', '/tmp/tmpqi5IsN']
[20:11:40] updating dest_status as part of update_row_state
[20:11:40] ['umount', '/tmp/tmpqi5IsN']
[20:11:40] ['rmdir', '/tmp/tmpqi5IsN']
[20:11:58] Installing...
[20:11:58] Source CD: /media/ntfs/mijnDownloads/ubuntu-8.04.2-desktop-i386.iso
[20:11:58] Destination disk: /dev/sdc1
[20:11:58] Persistence size: 272158720 B
[20:11:58] Marking partition 1 as active.
[20:11:58] installing the bootloader to /dev/sdc.
[20:11:58] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdc', 'bs=446', 'count=1', 'conv=sync']
[20:11:59] installing the bootloader to /dev/sdc1.
[20:11:59] ['syslinux', '/dev/sdc1']
[20:12:14] ['parted', '-s', dbus.String(u'/dev/sdc'), 'set', u'1', 'boot', 'on']
[20:12:15] ['mount', '-o', 'loop,ro', '/media/ntfs/mijnDownloads/ubuntu-8.04.2-desktop-i386.iso', '/tmp/tmpEUBi4g']
[20:12:15] ['rm', '-rf', '/media/BSIX/autorun.inf']
[20:12:15] ['rm', '-rf', '/media/BSIX/casper']
[20:12:15] ['rm', '-rf', '/media/BSIX/dists']
[20:12:15] ['rm', '-rf', '/media/BSIX/install']
[20:12:15] ['rm', '-rf', '/media/BSIX/isolinux']
[20:12:15] ['rm', '-rf', '/media/BSIX/md5sum.txt']
[20:12:15] ['rm', '-rf', '/media/BSIX/pics']
[20:12:15] ['rm', '-rf', '/media/BSIX/pool']
[20:12:15] ['rm', '-rf', '/media/BSIX/preseed']
[20:12:15] ['rm', '-rf', '/media/BSIX/README.diskdefines']
[20:12:15] ['rm', '-rf', '/media/BSIX/ubuntu']
[20:12:15] ['rm', '-rf', '/media/BSIX/umenu.exe']
[20:12:15] ['rm', '-rf', '/media/BSIX/wubi.exe']
[20:12:15] ['rm', '-rf', '/media/BSIX/.disk']
[20:12:15] ['rm', '/media/BSIX/casper-rw']
[20:12:15] ['/usr/share/usb-creator/install.py', '-s', '/tmp/tmpEUBi4g/.', '-t', '/media/BSIX', '-p', '272158720']
[20:18:05] Unmounting source volume.
[20:18:05] ['umount', '/tmp/tmpEUBi4g']
[20:18:05] ['rmdir', '/tmp/tmpEUBi4g']
[20:18:05] Install comma...

Read more...

Revision history for this message
Sander Jonkers (jonkers) wrote : Re: [Bug 346700] Re: [jaunty alpha 6+ daily] usb-creator creates incorrect free, persistent space; to /cdrom not /
Download full text (3.2 KiB)

I don't know whether anybod is investigating this bug. Here's some more
info:

I used 9.04's usb-creator to write the 8.04 iso image to a 1GB usb stick. I
moved the persistent slider completely to the right, resulting in a
persistent space of about 250 MB.
The process seemed to complete to 100%. However, booting the stick resulted
in a BusyBox prompt. :-(

I'm not sure, but it could be that 9.04's usb-creator can not handle using
the complete usb stick. Very annoying.

-- Starting up at 20:10:56 --
[20:10:56] /var/lib/python-support/python2.6/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[20:10:56] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_10C8_6F21', 'capacity':
dbus.UInt64(1010794496L), 'uuid': '10C8-6F21', 'device': '/dev/sdc1',
'mountpoint': '/media/BSIX', 'fstype': 'vfat', 'free': 1004027904L, 'label':
'BSIX'}
[20:10:56] adding: /dev/sdc1
[20:10:56] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_4C4B_F586', 'capacity':
dbus.UInt64(2029518336L), 'uuid': '4C4B-F586', 'device': '/dev/sdb1',
'mountpoint': '/cdrom', 'fstype': 'vfat', 'free': 44990464L, 'label': ''}
[20:10:56] adding: /dev/sdb1
[20:11:40] mounting /media/ntfs/mijnDownloads/ubuntu-8.04.2-desktop-i386.iso
[20:11:40] ['mount', '-t', 'iso9660', '-o', 'loop,ro',
'/media/ntfs/mijnDownloads/ubuntu-8.04.2-desktop-i386.iso',
'/tmp/tmpqi5IsN']
[20:11:40] updating dest_status as part of update_row_state
[20:11:40] ['umount', '/tmp/tmpqi5IsN']
[20:11:40] ['rmdir', '/tmp/tmpqi5IsN']
[20:11:58] Installing...
[20:11:58] Source CD:
/media/ntfs/mijnDownloads/ubuntu-8.04.2-desktop-i386.iso
[20:11:58] Destination disk: /dev/sdc1
[20:11:58] Persistence size: 272158720 B
[20:11:58] Marking partition 1 as active.
[20:11:58] installing the bootloader to /dev/sdc.
[20:11:58] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdc', 'bs=446',
'count=1', 'conv=sync']
[20:11:59] installing the bootloader to /dev/sdc1.
[20:11:59] ['syslinux', '/dev/sdc1']
[20:12:14] ['parted', '-s', dbus.String(u'/dev/sdc'), 'set', u'1', 'boot',
'on']
[20:12:15] ['mount', '-o', 'loop,ro',
'/media/ntfs/mijnDownloads/ubuntu-8.04.2-desktop-i386.iso',
'/tmp/tmpEUBi4g']
[20:12:15] ['rm', '-rf', '/media/BSIX/autorun.inf']
[20:12:15] ['rm', '-rf', '/media/BSIX/casper']
[20:12:15] ['rm', '-rf', '/media/BSIX/dists']
[20:12:15] ['rm', '-rf', '/media/BSIX/install']
[20:12:15] ['rm', '-rf', '/media/BSIX/isolinux']
[20:12:15] ['rm', '-rf', '/media/BSIX/md5sum.txt']
[20:12:15] ['rm', '-rf', '/media/BSIX/pics']
[20:12:15] ['rm', '-rf', '/media/BSIX/pool']
[20:12:15] ['rm', '-rf', '/media/BSIX/preseed']
[20:12:15] ['rm', '-rf', '/media/BSIX/README.diskdefines']
[20:12:15] ['rm', '-rf', '/media/BSIX/ubuntu']
[20:12:15] ['rm', '-rf', '/media/BSIX/umenu.exe']
[20:12:15] ['rm', '-rf', '/media/BSIX/wubi.exe']
[20:12:15] ['rm', '-rf', '/media/BSIX/.disk']
[20:12:15] ['rm', '/media/BSIX/casper-rw']
[20:12:15] ['/usr/share/usb-creator/install.py', '-s', '/tmp/tmpEUBi4g/.',
'-t', '/media/BSIX', '-p', '272158720']
[20:18:05] Unmounting source volume.
[20:18:05] ['umount', '/tmp/tmpEUBi4g']
[20:18:05] ['rmdir', '/tmp/tmpEUBi4g']...

Read more...

Revision history for this message
Xvani (fredrile+launchpad) wrote : Re: [jaunty alpha 6+ daily] usb-creator creates incorrect free, persistent space; to /cdrom not /

Still present in 9.04

Changed in usb-creator (Ubuntu):
assignee: nobody → usb-creator hackers (usb-creator-hackers)
status: New → Confirmed
summary: - [jaunty alpha 6+ daily] usb-creator creates incorrect free, persistent
- space; to /cdrom not /
+ [jaunty] Usb-creator creates incorrect free, persistent space; to /cdrom
+ not /
Revision history for this message
D Gilder (daniel-gilder) wrote :

I believe the problem may be line number 134 of the install.py file:

        popen(['dd', 'if=/dev/zero', 'bs=%s' % persist, 'of=%s/casper-rw' % target, 'count=1'])

because count=1, any value of persist > 1G results in dd producing an 'invalid number' error on my system (maybe it depends how much RAM you have?) To generate a 2 gigabyte file, I would need persist to be 2M and 'count=1000' for example. Maybe somebody who knows python could fix this.

Revision history for this message
D Gilder (daniel-gilder) wrote :

The problem I mentioned above seems to have been fixed some time ago. Version 0.1.3, released in September 2008 uses

 popen(['dd', 'if=/dev/zero', 'of=%s/casper-rw' % target, 'bs=1M', 'count=%s' % persist]).

I have copied what I hope are the relevant files from the latest release (0.1.10) and do not have any more problems with it. Strangely, none of the previous releases contain the offending line with 'count=1'. My version number of usb-creator is 0.1.16 (Jaunty).

Revision history for this message
Tudor Holton (tudor) wrote :

Both D Gilder and jruss are correct. Correcting line 134 of install.py results in a 4GB casper-rw file on my 16GB USB key when I requested an 8GB casper-rw file. Previously, no casper-rw file was created at all, so 4GB is better than nothing for now. Obviously, we would prefer to be able to provide a file for then entire size of the user's USB key, or at least that the installer should warn or not allow this situation to occur. Many users now have usb keys greater than 4GB.

Revision history for this message
MillenniumBug (millenniumbug) wrote :

So, can this report be set to 'Fix released'?

Changed in usb-creator (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.