You are not logged in.

#1 2013-05-05 02:02:25

tello14
Member
Registered: 2013-05-05
Posts: 3

Read only filesystem issues

Hello! I installed Archlinux and I got to the part where I am installing sound and video and other goodies like that. I just rebooted and logged in and it said this:

-- taylor: /home/taylor: change directory failed: No suh file or directory
Logging in with home = "/"

as soon as i saw that i though oh no thats my root! I cant do anything with that!
then out of curiosity i tried anyway. I typed:

sudo pacman -S alsa-utils

It said:

sudo: unable to mkdir /var/db/sudo/taylor: Read-only file system
(then it says that lecture from SA stuff)
error: failed to init transaction (unable to lock database)
error: could not lock database: Read-only file system

well, sadly, I know enough terminal to spot the problem, but, I cant fix it. Oh well, I guess I'll learn from you guys right now! thanks for the help.

Offline

#2 2013-05-05 09:03:05

ubunchu
Member
Registered: 2012-05-01
Posts: 181

Re: Read only filesystem issues

https://bbs.archlinux.org/viewtopic.php?id=39256
Check fstab for correct mount options for / , and also the bootloader (usually there should be "ro" at the end, though im not sure)
If there is no /home:

sudo mkdir /home/yourname
sudo chown yourusername /home/yourname

Good luck.


Don't forget to mark as [SOLVED].

Offline

#3 2013-05-05 14:42:25

tello14
Member
Registered: 2013-05-05
Posts: 3

Re: Read only filesystem issues

ok so i went in with my root and i typed:

sudo mkdir /home/taylor

it said:

mkdir: cannot create directory ' /home/taylor' : Read-only file system

Last edited by tello14 (2013-05-05 14:42:52)

Offline

#4 2013-05-05 15:22:34

tello14
Member
Registered: 2013-05-05
Posts: 3

Re: Read only filesystem issues

hmm... I'm getting this feeling I'm going to have to reinstall because its rather hard to write more filesystems in a read-only filesystem. tongue

Offline

#5 2013-05-05 15:23:29

Arctus
Member
Registered: 2012-07-14
Posts: 99

Re: Read only filesystem issues

As mentioned before, post your fstab.

Offline

#6 2013-05-05 15:24:26

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: Read only filesystem issues

have you actually tried ubunchu's suggestion to check your fstab? you are probably just missing your / entry in fstab.

Offline

#7 2013-05-05 15:38:19

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,896
Website

Re: Read only filesystem issues

Don't reinstall, 'mount -oremount,rw /' should remount your filesystem in read-write mode for the current session.

Last edited by WorMzy (2013-05-05 15:39:10)


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.

Offline

Board footer

Powered by FluxBB