EgroegNosbig
Posts: 4
Joined: Sat Oct 10, 2015 6:42 am

Filesystem breaks after system upgrade

Sat Oct 10, 2015 6:53 am

I've just started using Arch Linux ARM on the Pi, and the first this I did was a pacman -Syu in order to completely upgrade the system. Seeing new boot.txt and config.txt in /boot, I replaced the old files with the new ones, and did a reboot. And, lo and behold, my system no longer works (it hangs on boot then enters kdb). So I reinstalled Arch, again doing a full upgrade but this time not replacing the new files. I rebooted, and Arch now has a read-only filesystem, making it unusable (anything I try to do will fail as it cannot write to any memory). So what do I do? Should I update everything apart from the kernel?

Note: I can't not do the update, as some of the packages in there (bash, ncurses) need to be updated to make other stuff work (xorg-server, xinit, etc).

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Filesystem breaks after system upgrade

Fri Oct 16, 2015 3:17 pm

Which model of Pi do you have? And where did you get the system that you are trying to upgrade?

Also, post the output of "cat /proc/version".

If the system you are trying to upgrade is an unsupported image, it might be better to get a current, totally supported version of ArchLinuxArm and follow the installation instructions from one of the following, depending on which model you have:

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

http://archlinuxarm.org/platforms/armv7 ... berry-pi-2

If your Pi is the only Linux machine you have access to, you should be able to use the original, un-upgraded system to perform the instructions above if you have a second SD card.

If you cannot attach a second SD card, we can make other suggestions, but it would help to first know exactly what system and hardware you are starting with.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

ChristianJ
Posts: 2
Joined: Fri Dec 04, 2015 1:39 pm

Re: Filesystem breaks after system upgrade

Fri Dec 04, 2015 1:43 pm

I've exactly the same problem. Is there a solution in the meantime?

ChristianJ
Posts: 2
Joined: Fri Dec 04, 2015 1:39 pm

Re: Filesystem breaks after system upgrade

Fri Dec 04, 2015 3:10 pm

Ok, found it myself:
edit the new cmdline.txt and add rw just before rootwait

otherwise, if you are already in trouble:
first make the filesystem rw temporarily

Code: Select all

 mount -o remount,rw /
then edit cmdline.txt and add rw just before rootwait

Return to “Arch”