<p dir="ltr"><br>
Den 23 apr 2014 18:09 skrev "Chris Troutner" <<a href="mailto:chris.troutner@gmail.com">chris.troutner@gmail.com</a>>:<br>
><br>
> Hey all,<br>
><br>
> I stumbled a bit when trying to setup my freedom box. I'm hoping the collective knowledge in this group can help me recover.<br>
><br>
> Additional notes on the questions below are posted on my running Freedombox blog: <br>
> <a href="http://experimentsinfreedom.wordpress.com/">http://experimentsinfreedom.wordpress.com/</a><br>
><br>
> 1. Extending the file system <br>
> The v0.2 Raspberry Pi image is 3GB, but I installed it on a 8GB SD card. I've seen several times that I can/should extend the file system, however, I haven't see any instructions on how to do this. <br>
><br>
> Do I used parted? If so, can someone recommend the exact instructions to use? I think the chance of me screwing up the disk with parted is pretty high.</p>
<p dir="ltr">Or install lvm2, mark the partition that is the rest (or make it a LVM partition in fdisk). Much more flexibility with practically no cost. Easy to create, remove and resize "partitions" (logical volumes).</p>
<p dir="ltr">sudo aptitude install lvm2<br>
sudo pvcreate /dev/sdaX<br>
sudo vgcreate mydata /dev/sdaX<br>
sudo lvcreate --name data --size 1G mydata<br>
sudo lvresize --size +1G /dev/mapper/mydata-data<br>
sudo mkfs /dev/mapper/mydata-data<br>
sudo mount /dev/mapper/mydata-data /mnt<br>
sudo vgdisplay; sudo lvdisplay</p>
<p dir="ltr">(Please check manual, this is straight from top of my head)</p>
<p dir="ltr">> 2. Pagekite</p>
<p dir="ltr">I don't, I uses IPv6 tunnel. But that isn't an answer to your question. ;-)</p>
<p dir="ltr">><br>
> Cheers!<br>
><br>
> -Chris Troutner<br>
> <a href="http://sanjuansufficiency.com">http://sanjuansufficiency.com</a></p>
<p dir="ltr">/Anders<br>
</p>