Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1090 closed task (fixed)

check persistence space left on 6.5 mini usb install

Reported by: hamish Owned by: live-demo@…
Priority: critical Milestone: OSGeoLive6.5
Component: OSGeoLive Keywords: usb
Cc:

Description

Hi,

before release we need to quickly check how much persistence space is left when the mini iso is installed to a 4gb USB stick. Less than 200mb gets ugly.

Hamish

Change history (6)

comment:1 by kalxas, 11 years ago

Keywords: 6.5 removed
Priority: blockercritical

Hi, I tested creating a bootable 4gb USB with build[9868], and persistence is not an option. I guess we are bellow 100 MB free space.

Angelos

comment:2 by kalxas, 11 years ago

I just tested with 8gb usb drive and persistence works fine. Just to confirm that it is not a build method problem but just space issue.

comment:3 by hamish, 11 years ago

Hi,

to lower the free space limit for a 4GB usb stick, see bin/setdown.sh:

# re-enable ability to create persistent USB installs on a 4gb thumb drive
sed -i -e 's/\(^MIN_PERSISTENCE =\) .*/\1 256/' \
   /usr/lib/python2.7/dist-packages/usbcreator/misc.py

There it changed it from a minimum 1GB to a minimum 256mb. I'd be interested to know how close we are. e.g. by dropping samba we could save 40mb if we are right on the threshold.

Live OSGeo DVD: 6.5 9801 ISO

the 75 packages hogging the most space on the disc:

http://pastebin.com/up3zAqKg

(excludes the non-packaged java apps, which are all probably bigger than anything on that list)

Hamish

comment:4 by kalxas, 11 years ago

based on the last meeting discussion:

  1. OSGeoLive 6.5 will not support persistence by default for 4GB USB drives. One can apply the above hack to get persistence if needed.
  2. We will state on the USB creation quickstart that in case persistence is needed, use a 8GB USB drive.

Cheers, Angelos

comment:5 by kalxas, 11 years ago

Resolution: fixed
Status: newclosed

USB quickstart updated in [9904]

in reply to:  4 comment:6 by hamish, 11 years ago

Replying to kalxas:

  1. OSGeoLive 6.5 will not support persistence by default for

4GB USB drives. One can apply the above hack to get persistence if needed.

It would be very good to know how close we are, and if re-hacking the /usr/lib/python2.7/dist-packages/usbcreator/misc.py file to have MIN_PERSISTENCE = 200 mb (instead of current 256 mb) allows it to work or not. That can tell us if we should consider to not install samba. I think 256mb is a good minimum, I wouldn't like to go much smaller, and that persistence on 4GB sticks is more important than samba. (i.e. really important)

Hamish

Note: See TracTickets for help on using tickets.