You are not logged in.

#1 2014-06-20 23:24:58

PigsInSpace
Member
Registered: 2014-06-20
Posts: 51

Using mkpart to extend a current boot partition!

So I made a bootable iso file on my sd card with the dd command but apparently it is only 2GB big and the sd card is 32GB. A friend of mine said I should use mkpart to extend the partition and I found that the syntax was "mkpart part-type [fs-type] start end" I know the part type should be primary, but what is the filesystem type do I use and what do I put for the start and end? I know it should start at the point the current partition and end at the end of the disk.

Offline

#2 2014-06-21 03:51:14

nagaseiori
Member
Registered: 2012-09-22
Posts: 72

Re: Using mkpart to extend a current boot partition!

It only really needs to be 2GB because that's what the iso is. You can always reformat later.

Offline

#3 2014-06-21 05:47:43

hydrosIII
Member
Registered: 2013-04-04
Posts: 127

Re: Using mkpart to extend a current boot partition!

The best way as said by nagaseiori is to just keep your usb like that. But you could also make another partition, but that was before you issue dd. Then you could just dd the image into the partition, but i think you would have problems booting. If you really wanna try you could use simple partitions tools like  gparted or cfdisk.

Offline

#4 2014-06-21 17:57:55

PigsInSpace
Member
Registered: 2014-06-20
Posts: 51

Re: Using mkpart to extend a current boot partition!

nagaseiori wrote:

It only really needs to be 2GB because that's what the iso is. You can always reformat later.

Im using it for raspberry pi so I would like all my data on the same partition as the operating system but the operating system partition is only 2GB

Offline

#5 2014-06-21 18:07:20

headkase
Member
Registered: 2011-12-06
Posts: 1,829

Re: Using mkpart to extend a current boot partition!

http://lmgtfy.com/?q=expand+sd+card+sit … errypi.org

See, you're not Arch (i686 or x86-64) so that created confusion about what you wanted.

Offline

#6 2014-06-21 19:28:00

PigsInSpace
Member
Registered: 2014-06-20
Posts: 51

Re: Using mkpart to extend a current boot partition!

Im using Arch i686 to make a bootable sd card which I have but the size of it is only 2GB.
I will try using RPI-Wiggle

Offline

#7 2014-06-21 19:33:17

headkase
Member
Registered: 2011-12-06
Posts: 1,829

Re: Using mkpart to extend a current boot partition!

Once you have the bootable Raspberry system image you plug it into your Pi and extend the partition in that environment.

Offline

#8 2014-06-21 20:07:49

PigsInSpace
Member
Registered: 2014-06-20
Posts: 51

Re: Using mkpart to extend a current boot partition!

Thanks, Ill post my results

Offline

#9 2014-06-22 10:31:25

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 773

Re: Using mkpart to extend a current boot partition!

You can do this on your laptop/pc too, with gparted if you like.
First, resize extended partition to use all unallocated disk space.
Second, resize root partition, to use all that space just freed for extended.

Offline

Board footer

Powered by FluxBB