[jaunty] Usb-creator creates incorrect free, persistent space; to /cdrom not /
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/
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/
ubuntu@ubuntu:~$ df -BM
Filesystem 1M-blocks Used Available Use% Mounted on
tmpfs 497M 2M 495M 1% /lib/modules/
tmpfs 497M 2M 495M 1% /lib/modules/
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/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
-- Starting up at 10:40:26 --
[10:40:26] /var/lib/
super(Connection, self)._
[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/
/usr/share/
[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/freedeskto
[10:40:36] new device:
{'udi': '/org/freedeskt
[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/freedeskto
[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/freedeskto
[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/
[10:40:51] installing the bootloader to /dev/sdb1.
[10:40:51] ['syslinux', '/dev/sdb1']
[10:40:52] ['parted', '-s', dbus.String(
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '-rf', u'/media/
[10:40:52] ['rm', '/media/
[10:40:52] ['/usr/
[10:44:11] Install command exited with code: 0
ubuntu@ubuntu:~$
tags: | added: jaunty usb-install |
tags: | removed: usb-install |
Changed in usb-creator (Ubuntu): | |
status: | Confirmed → Fix Released |
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 2.6.27- 7-generic/ volatile 2.6.27- 7-generic/ volatile
Filesystem 1M-blocks Used Available Use% Mounted on
tmpfs 500M 2M 498M 1% /lib/modules/
tmpfs 500M 2M 498M 1% /lib/modules/
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 -- 4126146048L) , 'uuid': 'E546-920F', 'label': '', 'free': 4118052864L, 'fstype': 'vfat', 'device': '/dev/sdb1', 'mountpoint': '/media/disk-1', 'udi': '/org/freedeskt op/Hal/ devices/ volume_ uuid_E546_ 920F'} p/Hal/devices/ volume_ label_Ubuntu_ 8_10_i386 share/usb- creator/ install. py', '-s', u'/cdrom/.', '-t', '/media/disk-1', '-p', '3218'] p/Hal/devices/ bluetooth_ acl_1f00b00034
[11:14:22] got a disc: Ubuntu 8.10 i386
[11:14:22] new device:
{'capacity': dbus.UInt64(
[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/freedeskto
[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/
[11:16:04] possibly adding: /org/freedeskto
[10:34:20] Install command exited with code: 0
ubuntu@ubuntu:~$