You are not logged in.
Pages: 1
I did a new installation of Arch today, and in a random fit of thrillseeking I used syslinux instead of grub for the bootloader. The installation said it was successful, but after restarting Arch failed to boot. The error was in the filesystem check.
/dev/sda5 is mounted. e2fsck: Cannot continue, aborting.
/dev/sda5 is where /usr is mounted.
Also, it complained that / is mounted read-only.
First question is, how is /usr already mounted? I searched the forums and the most promising thing I found involved mkinitcpio; apparently it tries to take a shortcut and mount /usr early and somehow this happens before the filesystems are fscked. However, I added the shutdown and fsck hooks to /etc/mkinitcpio.conf which are supposed to fix this (https://wiki.archlinux.org/index.php/Mk … _partition), and nothing changed. So I'm out of ideas.
Second, why is / read-only? fstab only has the 'defaults' option listed for /. syslinux.cfg had the line 'APPEND root=/dev/sda2 ro' so I figured it was probably read-only because of that, but I tried booting both with the ro gone and with it changed to rw, but nothing changed there either, it still gives the message that / is mounted read-only.
My first inclination was just to disable the filesystem check in fstab, but that seemed like a cheap workaround. I'd really like to understand what the problem is.
Offline
nathan.mccrina,
this is because /usr shouldn't be a separate partition.
Either consolidate it with root, or use a hook:
https://wiki.archlinux.org/index.php/Mk … _partition
Syslinux is OK.
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
Thanks for replying!
I did add the hooks per the mkinitcpio wiki page, but it didn't fix the problem. (I actually mentioned that in the first post ![]()
How can I consolidate /usr and /? The best option is probably just reinstalling since I haven't done anything with the system yet anyway, but how could I do it aside from that?
Offline
Did you rebuilt the kernel image after you added the hooks?
Offline
Did you rebuilt the kernel image after you added the hooks?
No, I didn't realize I had to but that makes sense. Do I use the ABS, like this: https://wiki.archlinux.org/index.php/Ke … ild_System ? Do I need to do anything special to enable the hooks?
Offline
Oh no, I meant simply running
[sudo] mkinitcpio -p linuxOffline
Oh no, I meant simply running
[sudo] mkinitcpio -p linux
Oh, lol
That worked, it boots now. Thanks!
Offline
Cool, that was easy to fix :-)
Please remember to mark the thread as solved.
Offline
Pages: 1