Fails on unpartitioned USB stick

Bug #267469 reported by Matt Zimmerman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

My USB stick looks like this:

[329648.430624] scsi 8:0:0:0: Direct-Access SanDisk U3 Titanium 2.16 PQ: 0 ANSI: 2
[329648.473981] sd 8:0:0:0: [sdb] 1994385 512-byte hardware sectors (1021 MB)
[329648.479271] sd 8:0:0:0: [sdb] Write Protect is off
[329648.479284] sd 8:0:0:0: [sdb] Mode Sense: 03 00 00 00
[329648.479290] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[329648.502266] sd 8:0:0:0: [sdb] 1994385 512-byte hardware sectors (1021 MB)
[329648.505513] sd 8:0:0:0: [sdb] Write Protect is off
[329648.505518] sd 8:0:0:0: [sdb] Mode Sense: 03 00 00 00
[329648.505520] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[329648.505525] sdb:
[329648.509254] sd 8:0:0:0: [sdb] Attached SCSI removable disk

and has no partition table (the filesystem is directly on the device). I realize this is an unusual configuration, and so I assume that's the reason it's failing. I will add a partition table and try again to confirm. The output of usb-creator was:

perseus:[~/src/usb-creator-0.1] sudo usb-creator
mounting /home/mdz/iso/intrepid-desktop-i386.iso
new device:
{'uuid': '48A3-626B', 'label': '', 'free': 0, 'fstype': 'vfat', 'device': '/dev/sdb', 'mountpoint': '', 'udi': '/org/freedesktop/Hal/devices/volume_uuid_48A3_626B'}
new device:
{'uuid': '', 'label': 'U3_System', 'free': 0, 'fstype': 'iso9660', 'device': '/dev/scd1', 'mountpoint': '', 'udi': '/org/freedesktop/Hal/devices/volume_label_U3_System'}
property modified:
change: volume.mount_point
change: volume.is_mounted
property modified:
change: volume.mount_point
change: volume.is_mounted_read_only
change: volume.is_mounted
Installing...
installing the bootloader to /dev/sdb.
Error installing the bootloader (syslinux -s /dev/sdb)
mounting
copying from ISO...
['cp', '-ra', '/tmp/tmp3Kbh3E/.', '']
error_code 256
All done.

Revision history for this message
Matt Zimmerman (mdz) wrote :

Confirmed, if I add a partition table, it gets further, but then I run into bug 264464.

Revision history for this message
Evan (ev) wrote :

usb-creator should work on an USB stick with a filesystem directly on the device. Please reopen this bug report if it's still not working for you with 0.1.4 or later.

Thanks

Changed in usb-creator:
status: New → 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.