#1090 closed task (fixed)
check persistence space left on 6.5 mini usb install
Reported by: | hamish | Owned by: | |
---|---|---|---|
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 , 12 years ago
Keywords: | 6.5 removed |
---|---|
Priority: | blocker → critical |
comment:2 by , 12 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 , 12 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:
(excludes the non-packaged java apps, which are all probably bigger than anything on that list)
Hamish
follow-up: 6 comment:4 by , 12 years ago
based on the last meeting discussion:
- OSGeoLive 6.5 will not support persistence by default for 4GB USB drives. One can apply the above hack to get persistence if needed.
- We will state on the USB creation quickstart that in case persistence is needed, use a 8GB USB drive.
Cheers, Angelos
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
USB quickstart updated in [9904]
comment:6 by , 12 years ago
Replying to kalxas:
- 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
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