I had a problem yesterday with my Archlinux installation. Everything was just going fine until I restarted my computer. Arch was trying to load the daemons and modules but can't seem to do it as there was an error saying "Read-only filesystem".
I was thinking to simply remount it after Arch gives me a prompt though it never did.
After some few research and inquiries in the #archlinux channel in Freenode, I was able to resolve this. The solution an arch user gave me:
- Used an Archlinux Live CD (mine was in a USB drive) to mount my Archlinux system that was not booting.
- Put
sleep 60
in /etc/rc.sysinit just before the linestatus "Mounting Root Read-only" /bin/mount -n -o remount,ro /
so when I reboot it would give me 60 seconds to scroll up (Shift + PgUp) and check for errors. This wasn't necessary for me since boot just hangs after the last daemon was being ran. <!--break--> I had a problem yesterday with my Archlinux installation. Everything was just going fine until I restarted my computer. Arch was trying to load the daemons and modules but can't seem to do it as there was an error saying "Read-only filesystem".
I was thinking to simply remount it after Arch gives me a prompt though it never did.
After some few research and inquiries in the #archlinux channel in Freenode, I was able to resolve this. The solution an arch user gave me:
- Used an Archlinux Live CD to mount my Archlinux system that was not booting.
- Put
sleep 60
in /etc/rc.sysinit just before the linestatus "Mounting Root Read-only" /bin/mount -n -o remount,ro /
so when I reboot it would give me 60 seconds to scroll up (Shift + PgUp) and check for errors. This wasn't necessary for me since boot just hangs after the last daemon was being ran.
I was able to find out that the error was INIT: Couldn't execute /etc/rc.sysinit
. Also probably means that even if I modified /etc/rc.sysinit for the 60-second delay, it still wouldn't be executed. Solution given to me was to reinstall the Initscripts package.
- Used an Archlinux Live CD again to mount my messed up Archlinux system.
- Issued the command
pacman --root /mnt --dbpath /mnt/var/lib/pacman -S initscripts
.
Then all was good! :party: I have no idea what caused the change of the file beforehand though.