[Jaunty Beta] usb-creator 0.1.15 results in no usable usb-stick

Bug #349786 reported by Sander Jonkers
6
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

[Jaunty Beta] usb-creator 0.1.15 results in no usable usb-stick: booting the usb-stick falls back to BusyBox' CLI.

Long story:

I booted Jaunty Beta from CD, then started usb-creator (0.1.15) to create a usb-live stick (on a 2 GB device). Somewhere after completing 35-39%, the GUI said everything was OK and I could reboot from the stick.
Rebooting from the stick results in the usual live selection (language and type), then the new Michael Knight KITT light, and then ... the BusyBox command line. :-(
 I tried another time, now with a bit less persistent space, ... same result: BusyBox' commandline.

FWIW: du reports 700 MB in use on the live stick, so it looks all information is written.

I then booted good old 8.10, and used 8.10's usb-creator and a 9.04 CD as image to create a 9.04 live USB stick, booted that, and ... everything is OK. I'm typing this on Jaunty running off a live usb stick.

So, there is something wroing in Jaunty Beta's usb-creator 0.1.15

ubuntu@ubuntu:~$ apt-cache policy usb-creator
usb-creator:
  Installed: 0.1.15
  Candidate: 0.1.15
  Version table:
 *** 0.1.15 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
ubuntu@ubuntu:~$

ubuntu@ubuntu:~$
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: 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.

-- Starting up at 17:45:50 --
[17:45:50] /var/lib/python-support/python2.6/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[17:45:50] got a disc: Ubuntu 9.04 i386
[17:45:50] adding: /dev/sdb
[17:45:50] updating dest_status as part of update_row_state
[17:45:50] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_131A_65A4', 'capacity': dbus.UInt64(1967058432L), 'uuid': '131A-65A4', 'device': '/dev/mmcblk0p1', 'mountpoint': '/media/disk', 'fstype': 'vfat', 'free': 1443790848L, 'label': ''}
[17:45:50] adding: /dev/mmcblk0p1
[17:46:01] updating dest_status as part of update_row_state
[17:46:02] updating dest_status as part of update_row_state
[17:46:04] ['umount', '/dev/sdb']
[17:46:04] ['parted', '-s', '/dev/sdb', 'mklabel', 'msdos']
[17:46:04] ['parted', '-s', '/dev/sdb', 'mkpartfs', 'primary', 'fat32', '0', '--', '-0']
[17:46:06] deleting /dev/sdb from the ui
[17:46:06] possibly adding: /org/freedesktop/Hal/devices/volume_uuid_205B_1622
[17:46:06] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_205B_1622', 'capacity': dbus.UInt64(2029518336L), 'uuid': '205B-1622', 'device': '/dev/sdb1', 'mountpoint': '', 'fstype': 'vfat', 'free': 0, 'label': ''}
[17:46:06] adding: /dev/sdb1
[17:46:06] updating dest_status as part of update_row_state
[17:46:07] updating dest_status as part of update_row_state
[17:46:07] prop modified
[17:46:07] device_udi: /org/freedesktop/Hal/devices/volume_uuid_205B_1622
[17:46:07] num_changes: 2
[17:46:07] change: volume.mount_point
[17:46:07] change: volume.is_mounted
[17:46:14] Installing...
[17:46:14] Source CD: /org/freedesktop/Hal/devices/volume_label_Ubuntu_9_04_i386
[17:46:14] Destination disk: /dev/sdb1
[17:46:14] Persistence size: 1294643200 B
[17:46:14] Marking partition 1 as active.
[17:46:14] installing the bootloader to /dev/sdb.
[17:46:14] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446', 'count=1', 'conv=sync']
[17:46:16] installing the bootloader to /dev/sdb1.
[17:46:16] ['syslinux', '/dev/sdb1']
[17:46:17] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot', 'on']
[17:46:17] ['rm', '-rf', u'/media/disk-1/autorun.inf']
[17:46:17] ['rm', '-rf', u'/media/disk-1/casper']
[17:46:17] ['rm', '-rf', u'/media/disk-1/dists']
[17:46:17] ['rm', '-rf', u'/media/disk-1/install']
[17:46:17] ['rm', '-rf', u'/media/disk-1/isolinux']
[17:46:17] ['rm', '-rf', u'/media/disk-1/md5sum.txt']
[17:46:17] ['rm', '-rf', u'/media/disk-1/pics']
[17:46:17] ['rm', '-rf', u'/media/disk-1/pool']
[17:46:17] ['rm', '-rf', u'/media/disk-1/preseed']
[17:46:17] ['rm', '-rf', u'/media/disk-1/README.diskdefines']
[17:46:17] ['rm', '-rf', u'/media/disk-1/ubuntu']
[17:46:17] ['rm', '-rf', u'/media/disk-1/wubi.exe']
[17:46:17] ['rm', '-rf', u'/media/disk-1/.disk']
[17:46:17] ['rm', '/media/disk-1/casper-rw']
[16:53:24] Install command exited with code: 0', '-s', u'/cdrom/.', '-t', '/media/disk-1', '-p', '1294643200']
ubuntu@ubuntu:~$

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 346700, bug 349974

Revision history for this message
Craig Huffstetler (xq) wrote :

During this installation, once it brings up the command prompt and exits install, can you give us the output of 'sudo lspci -vv' and 'sudo lspci -vvn' from the Linux kernel. This will help us troubleshoot. Thanks in advance!

Revision history for this message
Sander Jonkers (jonkers) wrote : Re: [Bug 349786] Re: [Jaunty Beta] usb-creator 0.1.15 results in no usable usb-stick

I tried usb-creator on 9.04 final to create a live 2GB stick with 1.2GB
persistence, and still get bad results:

1) the last percentage I saw, was something like 38%. After that usb-creator
stops and says everything is OK (!)
2) booting that stick only results in a busybox prompt. :-(

So live-booted 8.10 again, and used 8.10's usb-creator to write 9.04 iso
image to the 2 GB stick. That GUI goes all the way to 99/100%

BTW: the two loggings of 8.10 resp 9.04 show quite different values for the
parameter -p: 1190 versus 1292623872. It could be the -p parameter switched
from MBs to bytes, or it could a programming bug:

8.10: [11:44:34] ['/usr/share/usb-creator/install.py', '-s',
'/tmp/tmpxcMPRu/.', '-t', '/media/disk', '-p', '1190']
9.04: [11:19:40] ['/usr/share/usb-creator/install.py', '-s', u'/cdrom/.',
'-t', '/media/disk', '-p', '1292623872']

Could someone check / explain? Thanks.

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

On Sat, Apr 4, 2009 at 20:58, Craig Huffstetler <<email address hidden>
> wrote:

> During this installation, once it brings up the command prompt and exits
> install, can you give us the output of 'sudo lspci -vv' and 'sudo lspci
> -vvn' from the Linux kernel. This will help us troubleshoot. Thanks in
> advance!

I don't know if this is still needed, and whether is was meant for me, but
if so: see the included files.

This is the output after usb-creator stopped at 37% completion, after it was
instructed to create a 1.2 GB persistent space on a 2GB flash drive.

ubuntu@ubuntu:~$ usb-creator

-- Starting up at 18:21:54 --
[18:21:54] /var/lib/python-support/python2.6/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
[18:21:54] got a disc: Ubuntu 9.04 i386
[18:21:54] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_623E_568B', 'capacity':
dbus.UInt64(1967058432L), 'uuid': '623E-568B', 'device': '/dev/sdb1',
'mountpoint': '/media/disk', 'fstype': 'vfat', 'free': 1951825920L, 'label':
''}
[18:21:54] adding: /dev/sdb1
[18:21:54] updating dest_status as part of update_row_state
[18:21:59] Installing...
[18:21:59] Source CD:
/org/freedesktop/Hal/devices/volume_label_Ubuntu_9_04_i386
[18:21:59] Destination disk: /dev/sdb1
[18:21:59] Persistence size: 1218916352 B
[18:21:59] Marking partition 1 as active.
[18:21:59] installing the bootloader to /dev/sdb.
[18:21:59] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446',
'count=1', 'conv=sync']
[18:21:59] installing the bootloader to /dev/sdb1.
[18:21:59] ['syslinux', '/dev/sdb1']
[18:21:59] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot',
'on']
[18:22:00] ['rm', '-rf', u'/media/disk/autorun.inf']
[18:22:00] ['rm', '-rf', u'/media/disk/casper']
[18:22:00] ['rm', '-rf', u'/media/disk/dists']
[18:22:00] ['rm', '-rf', u'/media/disk/install']
[18:22:00] ['rm', '-rf', u'/media/disk/isolinux']
[18:22:00] ['rm', '-rf', u'/media/disk/md5sum.txt']
[18:22:00] ['rm', '-rf', u'/media/disk/pics']
[18:22:00] ['rm', '-rf', u'/media/disk/pool']
[18:22:00] ['rm', '-rf', u'/media/disk/preseed']
[18:22:00] ['rm', '-rf', u'/media/disk/README.diskdefines']
[18:22:00] ['rm', '-rf', u'/media/disk/ubuntu']
[18:22:00] ['rm', '-rf', u'/media/disk/wubi.exe']
[18:22:00] ['rm', '-rf', u'/media/disk/.disk']
[18:22:00] ['rm', '/media/disk/casper-rw']
[18:22:00] ['/usr/share/usb-creator/install.py', '-s', u'/cdrom/.', '-t',
'/media/disk', '-p', '1218916352']
ubuntu@ubuntu:~$

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

Still the same problem on Karmic Alpha 3: usb-creator quits at 12 - 20%, says "Installation is complete. You may now reboot your computer with this USB thumb drive inserted to boot Ubuntu", with stdout output below.

FWIW sudo lspci -vv included

ubuntu@ubuntu:~$ apt-cache policy usb-creator
usb-creator:
  Installed: 0.1.16
  Candidate: 0.1.16
  Version table:
 *** 0.1.16 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status
ubuntu@ubuntu:~$

ubuntu@ubuntu:~$ usb-creator

-- Starting up at 05:31:37 --
[05:31:37] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_3624_E0E5', 'capacity': dbus.UInt64(4126146048L), 'uuid': '3624-E0E5', 'device': '/dev/sdb1', 'mountpoint': '/media/3624-E0E5', 'fstype': 'vfat', 'free': 3385192448L, 'label': '_19?'}
[05:31:37] adding: /dev/sdb1
ubuntu@ubuntu:~$ usb-creator

-- Starting up at 05:32:13 --
[05:32:13] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_3624_E0E5', 'capacity': dbus.UInt64(4126146048L), 'uuid': '3624-E0E5', 'device': '/dev/sdb1', 'mountpoint': '/media/3624-E0E5', 'fstype': 'vfat', 'free': 4118052864L, 'label': '_19?'}
[05:32:13] adding: /dev/sdb1
[05:39:39] mounting /media/7C465A244659E006/Users/Sander/Downloads/ubuntu-alpha3-karmic-desktop-i386.iso
[05:39:39] ['mount', '-t', 'iso9660', '-o', 'loop,ro', '/media/7C465A244659E006/Users/Sander/Downloads/ubuntu-alpha3-karmic-desktop-i386.iso', '/tmp/tmpjI07LK']
[05:39:39] updating dest_status as part of update_row_state
[05:39:39] ['umount', '/tmp/tmpjI07LK']
[05:39:39] ['rmdir', '/tmp/tmpjI07LK']
[05:39:52] Installing...
[05:39:52] Source CD: /media/7C465A244659E006/Users/Sander/Downloads/ubuntu-alpha3-karmic-desktop-i386.iso
[05:39:52] Destination disk: /dev/sdb1
[05:39:52] Persistence size: 3392421888 B
[05:39:52] Marking partition 1 as active.
[05:39:52] installing the bootloader to /dev/sdb.
[05:39:52] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446', 'count=1', 'conv=sync']
[05:39:57] installing the bootloader to /dev/sdb1.
[05:39:57] ['syslinux', '/dev/sdb1']
[05:39:58] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot', 'on']
[05:39:58] ['mount', '-o', 'loop,ro', '/media/7C465A244659E006/Users/Sander/Downloads/ubuntu-alpha3-karmic-desktop-i386.iso', '/tmp/tmpeF8KBA']
[05:39:58] ['rm', '-rf', '/media/3624-E0E5/autorun.inf']
[05:39:58] ['rm', '-rf', '/media/3624-E0E5/casper']
[05:39:58] ['rm', '-rf', '/media/3624-E0E5/dists']
[05:39:58] ['rm', '-rf', '/media/3624-E0E5/install']
[05:39:58] ['rm', '-rf', '/media/3624-E0E5/isolinux']
[05:39:58] ['rm', '-rf', '/media/3624-E0E5/md5sum.txt']
[05:39:58] ['rm', '-rf', '/media/3624-E0E5/pics']
[05:39:58] ['rm', '-rf', '/media/3624-E0E5/pool']
[05:39:58] ['rm', '-rf', '/media/3624-E0E5/preseed']
[05:39:58] ['rm', '-rf', '/media/3624-E0E5/README.diskdefines']
[05:39:58] ['rm', '-rf', '/media/3624-E0E5/ubuntu']
[05:39:59] ['rm', '-rf', '/media/3624-E0E5/wubi.exe']
[05:39:59] ['rm', '-rf', '/media/3624-E0E5/.disk']
[05:42:36] Unmounting source volume.casper-rw']
[05:42:36] ['umount', '/tmp/tmpeF8KBA']
[05:42:36] ['rmdir', '/tmp/tmpeF8KBA']
[05:42:36] Install command exited with code: 0

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

and here's sudo lspci -vvn

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

And, again, with a small persistent size (only 0.45 GB on a 4GB stick), things seem to go OK (I still have to check the boot). See log below.

Remarkable: in the successful log there is a line with "/usr/share/usb-creator/install.py", which does not appear in the log of an unsuccessful usb-creator install.

So, if this is really the case:
1) you can see in the log whether things have gone OK by checking for /usr/share/usb-creator/install.py
2) the problem with the large persistent space is before or in /usr/share/usb-creator/install.py

ubuntu@ubuntu:~$ usb-creator

-- Starting up at 15:59:29 --
[15:59:30] new device:
{'udi': '/org/freedesktop/Hal/devices/volume_uuid_3624_E0E5', 'capacity': dbus.UInt64(4126146048L), 'uuid': '3624-E0E5', 'device': '/dev/sdb1', 'mountpoint': '/media/\x0f', 'fstype': 'vfat', 'free': 4118052864L, 'label': '\x05A\x05A\x05A\x05A\x05A\x05'}
[15:59:30] adding: /dev/sdb1
[16:02:10] mounting /mnt/ntfs/Users/Sander/Downloads/ubuntu-alpha3-karmic-desktop-i386.iso
[16:02:10] ['mount', '-t', 'iso9660', '-o', 'loop,ro', '/mnt/ntfs/Users/Sander/Downloads/ubuntu-alpha3-karmic-desktop-i386.iso', '/tmp/tmpwPgEEI']
[16:02:10] updating dest_status as part of update_row_state
[16:02:10] ['umount', '/tmp/tmpwPgEEI']
[16:02:10] ['rmdir', '/tmp/tmpwPgEEI']
[16:02:23] Installing...
[16:02:23] Source CD: /mnt/ntfs/Users/Sander/Downloads/ubuntu-alpha3-karmic-desktop-i386.iso
[16:02:23] Destination disk: /dev/sdb1
[16:02:23] Persistence size: 467846506 B
[16:02:23] Marking partition 1 as active.
[16:02:23] installing the bootloader to /dev/sdb.
[16:02:23] ['dd', 'if=/usr/lib/syslinux/mbr.bin', u'of=/dev/sdb', 'bs=446', 'count=1', 'conv=sync']
[16:02:27] ['parted', '-s', dbus.String(u'/dev/sdb'), 'set', u'1', 'boot', 'on']
[16:02:27] ['mount', '-o', 'loop,ro', '/mnt/ntfs/Users/Sander/Downloads/ubuntu-alpha3-karmic-desktop-i386.iso', '/tmp/tmp8ytRIl']
[16:02:27] ['rm', '-rf', '/media/\x0f/autorun.inf']
[16:02:27] ['rm', '-rf', '/media/\x0f/casper']
[16:02:28] ['rm', '-rf', '/media/\x0f/dists']
[16:02:28] ['rm', '-rf', '/media/\x0f/install']
[16:02:28] ['rm', '-rf', '/media/\x0f/isolinux']
[16:02:28] ['rm', '-rf', '/media/\x0f/md5sum.txt']
[16:02:28] ['rm', '-rf', '/media/\x0f/pics']
[16:02:28] ['rm', '-rf', '/media/\x0f/pool']
[16:02:28] ['rm', '-rf', '/media/\x0f/preseed']
[16:02:28] ['rm', '-rf', '/media/\x0f/README.diskdefines']
[16:02:28] ['rm', '-rf', '/media/\x0f/ubuntu']
[16:02:28] ['rm', '-rf', '/media/\x0f/wubi.exe']
[16:02:28] ['rm', '-rf', '/media/\x0f/.disk']
[16:02:28] ['rm', '/media/\x0f/casper-rw']
[16:02:28] ['/usr/share/usb-creator/install.py', '-s', '/tmp/tmp8ytRIl/.', '-t', '/media/\x0f', '-p', '467846506']
[16:07:29] Unmounting source volume.
[16:07:29] ['umount', '/tmp/tmp8ytRIl']
[16:07:30] ['rmdir', '/tmp/tmp8ytRIl']
[16:07:30] Install command exited with code: 0
ubuntu@ubuntu:~$

Revision history for this message
komputes (komputes) wrote :

Does usb-creator work for you in the current karmic release?
How about in Jaunty with the persistent option disabled?

Changed in usb-creator (Ubuntu):
status: New → Incomplete
Revision history for this message
Vish (vish) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.
We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future.
To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New".

Changed in usb-creator (Ubuntu):
status: Incomplete → Invalid
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.