← Back to team overview

usb-creator-hackers team mailing list archive

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

 

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

-- 
You received this bug notification because you are a member of usb-
creator hackers, which is a bug assignee.
https://bugs.launchpad.net/bugs/346700

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

Status in “usb-creator” package in Ubuntu:
  Confirmed

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:~$