RenePieters
Posts: 5
Joined: Thu May 29, 2014 2:22 pm

How do I resize the partition?

Thu May 29, 2014 2:29 pm

Hello,

I just installed the 2014-03-22 image, and things are looking great. However, I' ve got a 16 Gb card, and a 1.6 Gb image.
How do I go about resizing this? From the command line, as this machine is headless.

thanks for your attention,

Rene

User avatar
JRV
Posts: 270
Joined: Mon Apr 02, 2012 1:39 pm
Location: Minneapolis, MN

Re: How do I resize the partition?

Thu May 29, 2014 6:28 pm

If you are using Raspian, like this:

Code: Select all

sudo raspi-config

RenePieters
Posts: 5
Joined: Thu May 29, 2014 2:22 pm

Re: How do I resize the partition?

Thu May 29, 2014 7:27 pm

Ah.

The reason I asked this question in the NetBSD forum is because that is what I'm actually using. I doubt you can copy and paste that script from Raspbian to NetBSD. Will probably blow up big time.

kind regards,

Rene

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: How do I resize the partition?

Thu May 29, 2014 7:52 pm

BSD does everything weird - in terms of the disk partitioning, right?

IIRC, it uses slices and stuff like that instead of the regular stuff that Linux uses. So, no, it probably wouldn't port, nor would the advice to do it manually - the way we used to do it before there was a raspi-config - be likely to work either.

You'll probably have to re-invent it all. But it shouldn't be *that* hard, I guess.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

MrEngman
Posts: 4022
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: How do I resize the partition?

Thu May 29, 2014 8:05 pm

You could try a search on Google using "resize netbsd partition"


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

RenePieters
Posts: 5
Joined: Thu May 29, 2014 2:22 pm

Re: How do I resize the partition?

Thu May 29, 2014 8:43 pm

Would you be surprised if I told you I already did?

But let me humour you.

https://duckduckgo.com/?q=resize+netbsd ... =canonical

Not much, mostly FreeBSD. And I do not know how relevant that is.

I did find this, however: http://wiki.netbsd.org/ports/evbarm/raspberry_pi/

Anyone care to comment as to relevance and accuracy? Is there no better way?

Rene

Return to “NetBSD”