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.)

-Nahum


On 02/18/2016 08:10 PM, Fred Liu wrote:
I have got no success with gparted.


Thanks.
Fred

Sent from Outlook Mobile <https://aka.ms/sdimjr>

_____________________________
From: Jorge Schrauwen <[email protected] <mailto:[email protected]>>
Sent: 星期二, 二月 16, 2016 8:08 下午
Subject: RE: [smartos-discuss] the partition size is fixed 1.86G in USB stick. Can it be enlarged? To: <[email protected] <mailto:[email protected]>>
Cc: Fred Liu <[email protected] <mailto:[email protected]>>


You can also just resize the fat partition after writing to the UBS stick.

Jorge

On 2016-02-16 12:58, Fred Liu wrote:

    It should be doable if we can hack in “gmake usb”.

    *From:*Micky [mailto:[email protected]]
    *Sent:* 星期二, 二月16, 2016 19:06
    *To:* [email protected]
    <mailto:[email protected]>
    *Subject:* Re: [smartos-discuss] the partition size is fixed 1.86G
    in USB stick. Can it be enlarged?

    Likely no, cause it's a disk image.

    On Tue, Feb 16, 2016 at 1:20 PM, Fred Liu <[email protected]
    <mailto:[email protected]>> wrote:



You can also just resize the fat partition after writing to the UBS stick.

Jorge

On 2016-02-16 12:58, Fred Liu wrote:

It should be doable if we can hack in “gmake usb”.

*From:*Micky [mailto:[email protected]]
*Sent:* 星期二, 二月16, 2016 19:06
*To:* [email protected]
*Subject:* Re: [smartos-discuss] the partition size is fixed 1.86G in USB stick. Can it be enlarged?

Likely no, cause it's a disk image.

On Tue, Feb 16, 2016 at 1:20 PM, Fred Liu <[email protected] <mailto:[email protected]>> wrote:

*smartos-discuss* | Archives <https://www.listbox.com/member/archive/184463/=now> <https://www.listbox.com/member/archive/rss/184463/22280019-340ab187> | Modify <https://www.listbox.com/member/?&;> Your Subscription [Powered by Listbox] <http://www.listbox.com>





-------------------------------------------
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