You are not logged in.

#1 2012-08-31 02:22:20

kevin_chn
Member
Registered: 2011-04-27
Posts: 15

[SOLVED]Read only file system after upgrade

=====
solution

anyhow, I reinstalled mkinitacpio, and added "init=/bin/systemd" to menu.lst in /boot/grub/

and regenerate linux kernel, no error.

So the reason of my problem is: linux image generation error.
=====


Hi,
after today's upgrade and reboot, my computer has become unusable, because the / is read only.
fstab looks fine, but mtab shows the / is ro.

I can boot from my USB drive to mount / and make any change.  What should I do?

I tried to manually download and extract newest glibc multilib to / but nothing happened.

here is my fstab

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

UUID=6e0f7d62-f512-4df5-afa9-be7c8c0b8246 / ext4 defaults 0 1
UUID=1a7617ec-8aa3-43f6-a54b-f45081f232a8 /home ext4 defaults 0 1
UUID=3cda2f09-e22d-4a5e-8e7a-976c4ea89762 swap swap defaults 0 0
UUID=e26386b2-6ec1-417d-8f01-043121370b41 /boot ext2 defaults 0 1

The pacman log shows the last error was

Error, problem occurs upgrading file system.

And, there is some errors when /etc/rc.d/functions run. It shows some files in /usr/lib/systemd/ are missing. However, the screen scrolled too fast, I cannot see them clearly.

Some key evidence: when I run pacman -S linux, error:  hook 'udev' cannot be found.  And thus it tried to build fall back image,  and again failed, complaining udev not found.

Last edited by kevin_chn (2012-08-31 05:13:03)

Offline

#2 2012-08-31 10:12:28

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,555
Website

Re: [SOLVED]Read only file system after upgrade

Just an observation, but only /'s entry in fstab should have a <pass> value of "1". Everything else should have either "0" or "2".

man fstab

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB