Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Everything is unwritable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 16

PostPosted: Sun Oct 08, 2017 5:05 am    Post subject: Everything is unwritable Reply with quote

So I finish the install up to the finalization portion, and I go to set up the network and it states that it failed due to the folder being unwriteable. I check the root folder as root, it says the same thing. All the permissions from ls -af show that there is nothing wrong, but I can't write anything. What did I do wrong and how do I fix this?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 6154
Location: almost Mile High in the USA

PostPosted: Sun Oct 08, 2017 5:27 am    Post subject: Reply with quote

Ouch...

One possibility is that you suffered hardware failure or something got corrupt on disk and the kernel remounted your disk read only.
If you type 'dmesg' you should not see lines indicating errors reading or writing on the disk.

If you do see disk errors, likely it's time to start over. If you didn't see any errors, perhaps the disk never got remounted read-write, read the bootup log carefully to see if there are any errors that caused the system to feel unsafe to make the disk writeable (did a hard reboot without shutdown and didn't go through a filesystem check on a non-journalling filesystem?).

Ultimately if you don't know exactly what the point it first failed, you should reinstall as the state of the disk is now unknown.

Either way, you can use smartmon -a /dev/disk_device to see what the disk reports as the issue.

If the disk reports problems you may try running badblocks to completely overwrite the disk and start over. Depending on the severity of the failure, you might get a few more years out of the disk or it's time for the trash. Let us know what you find, that will probably determine the best course of action.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38872
Location: 56N 3W

PostPosted: Sun Oct 08, 2017 9:41 am    Post subject: Reply with quote

uncopyrighttnt,

Root is mounted ro so that rootfsck can run.
It gets remounted rw once that is successful.

rootfsck uses the filesystem type for root in /etc/fstab. If that not correct, root stays read only.

You should be able to log in and check /etc/fstab.

You can even edit it if you execute
Code:
mount -o rw,remount /

Before you do that, do check dmesg for HDD errors.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
uncopyrighttnt
n00b
n00b


Joined: 23 Aug 2017
Posts: 16

PostPosted: Sun Oct 08, 2017 3:57 pm    Post subject: Reply with quote

I just checked the fstab and it turns out that there was a period instead of a comma in the options for /. Thank you for pointing me in the right direction. All is good now
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum