On 19 Feb 2016, at 14:42, Nahum Shalman wrote:

After resizing you'd probably need to re-install grub...
An alternative is to format the USB stick with a ZFS pool and boot that way (as a bonus you can then take snapshots and I've heard that it boots a little faster than pcfs...):
http://blog.shalman.org/smartos-zfs-boot-media/

If you want to stick with pcfs, you could follow similar steps to format your USB stick at its full capacity and then install grub on it.

The reason that the image is fixed at such a small size is so that people can use it on pretty much any USB stick they have lying around (If we made the image 8GB and a person had lots of 4GB sticks lying around.... etc.)

Is it possible to restrict the size of the image to just slightly less than the size of a given USB stick?

I ask because when I was trying out napp-it, that came as a 16GB image and out of half a dozen USB sticks I had here, only one was the full size (I ended up using a 32MB stick for a backup). The dirty truth about USB sticks is that they are often a few MB short of their advertised capacity*. That doesn't matter much when using them as general storage, but it does when you are trying to put a fixed size image onto one.

* with the USB sticks I had available at the time, the shortfall varied from 9MB to 273MB

--
Paul Sture


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to