guymanforget
Posts: 1
Joined: Mon Jul 25, 2016 2:06 am

Write protected partition?

Mon Jul 25, 2016 2:10 am

So i installed arch linux on my raspberry pi. but i realised i only have 2 gigabytes of space. I know what to do, just resize it in gparted. except the partitions are write protected and i cant resize. How can i go about resizing them? im doing this from a linux pc. :?:

RAZERZ
Posts: 57
Joined: Mon Jun 13, 2016 4:56 pm

Re: Write protected partition?

Mon Jul 25, 2016 11:08 am

Start your Pi normally. Open a terminal window and type;

Code: Select all

sudo raspi-config
The first option should be "Expand Filesystem". Hit enter and it should be done after a few seconds-minutes depending on your sdcard size. Now, (don't exit out of the terminal window) hit the right arrow on your keyboard until you higlight "finish" and hit enter. It will tell you that you need to reboot. Hit "yes" and once you have rebooted, open a terminal window and type;

Code: Select all

df -h
You want to focus on the second line;

Filesystem Size Used Avail Use% Mounted on
/dev/root 7.2G 4.9G 2.0G 72% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 463M 39M 425M 9% /dev/shm
tmpfs 463M 6.6M 457M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 463M 0 463M 0% /sys/fs/cgroup
/dev/mmcblk0p1 63M 21M 43M 33% /boot
tmpfs 93M 0 93M 0% /run/user/1000
/dev/sda1 7.3G 542M 6.4G 8% /media/pi/Rami's USB drive

This will tell you how much you are using and how much you have left.

Hope that helped! :D
Raspberry pi 3 set up as desktop with raspbian.
I guess you can say I am not newbie with linux but I am not a master at it either.
I will always try to help you as much as I can because I know how hard it is to run into problems :D

User avatar
B.Goode
Posts: 10191
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Write protected partition?

Mon Jul 25, 2016 11:29 am

RAZERZ wrote:Start your Pi normally. Open a terminal window and type;

Code: Select all

sudo raspi-config
Is the raspi-config utility installed and usable with Arch Linux?

(I'm genuinely asking: it may be, but I was under the impression it was a tool for configuring a Raspbian system.)

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Write protected partition?

Mon Jul 25, 2016 11:33 am

B.Goode wrote:
RAZERZ wrote:Start your Pi normally. Open a terminal window and type;

Code: Select all

sudo raspi-config
Is the raspi-config utility installed and usable with Arch Linux?

(I'm genuinely asking: it may be, but I was under the impression it was a tool for configuring a Raspbian system.)
+1 in Arch you have to manually size partitions, not sure what you installed though and how you installed Arch:

https://archlinuxarm.org/platforms/armv6/raspberry-pi

https://archlinuxarm.org/platforms/armv ... berry-pi-2

https://archlinuxarm.org/platforms/armv ... berry-pi-3
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

RAZERZ
Posts: 57
Joined: Mon Jun 13, 2016 4:56 pm

Re: Write protected partition?

Mon Jul 25, 2016 11:37 am

fruitoftheloom wrote:
B.Goode wrote:
RAZERZ wrote:Start your Pi normally. Open a terminal window and type;

Code: Select all

sudo raspi-config
Is the raspi-config utility installed and usable with Arch Linux?

(I'm genuinely asking: it may be, but I was under the impression it was a tool for configuring a Raspbian system.)
+1 in Arch you have to manually size partitions, not sure what you installed though and how you installed Arch:

https://archlinuxarm.org/platforms/armv6/raspberry-pi

https://archlinuxarm.org/platforms/armv ... berry-pi-2

https://archlinuxarm.org/platforms/armv ... berry-pi-3
I have raspbian but I used to have kali linux and I remember (it was a long time ago) that I could acces it from terminal.
Raspberry pi 3 set up as desktop with raspbian.
I guess you can say I am not newbie with linux but I am not a master at it either.
I will always try to help you as much as I can because I know how hard it is to run into problems :D

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Write protected partition?

Mon Jul 25, 2016 11:57 am

RAZERZ wrote: I have raspbian but I used to have kali linux and I remember (it was a long time ago) that I could acces it from terminal.
So not related to Arch Linux Arm ONE IOTA :? :?
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

Return to “Arch”