You are not logged in.

#1 2013-01-12 03:31:20

ctjedi52
Member
Registered: 2013-01-12
Posts: 4

[SOLVED]Screwed Up fstab: Hard Drive is Read-Only Now

I was configuring the fstab file and I messed something up. Now, after I completed my installation I cannot install or change any files because of the hard drive being read only. I'm thinking about wiping my hard drive or at least the partition if I cannot fix it any easier.

Last edited by ctjedi52 (2013-01-14 02:09:04)

Offline

#2 2013-01-12 03:33:19

FlyingHappy
Member
From: Cincinnati, OH
Registered: 2011-04-18
Posts: 186

Re: [SOLVED]Screwed Up fstab: Hard Drive is Read-Only Now

Couldn't you mount it and modify it using the install disk?

Offline

#3 2013-01-12 03:50:55

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,481
Website

Re: [SOLVED]Screwed Up fstab: Hard Drive is Read-Only Now

Or just boot to a recovery shell and mount the parition then edit fstab.  You may also be able to remount once already booted normally, though I'm not sure.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#4 2013-01-12 14:40:09

ctjedi52
Member
Registered: 2013-01-12
Posts: 4

Re: [SOLVED]Screwed Up fstab: Hard Drive is Read-Only Now

Ok I took a look at my fstab and the drive I'm booting says it is rw and should be ok. Not sure what else could be causing the problem.

Offline

#5 2013-01-12 14:55:57

andesho91
Member
From: London, UK
Registered: 2011-11-20
Posts: 71

Re: [SOLVED]Screwed Up fstab: Hard Drive is Read-Only Now

Could we possibly please your actual /etc/fstab please? This is mine for comparison and it works fine for me:

# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda6
UUID=666dc301-9dcd-453e-bc75-fef73e6e9423	/         	ext4      	rw,relatime	1

# /dev/sda8 LABEL=ArchHome
UUID=410cc49b-6507-484e-abb7-47bdb5c788f9	/home     	ext4      	rw,relatime	0 2

Last edited by andesho91 (2013-01-12 14:57:03)


Laptop: AMD A4-3305M, 4GB RAM, Archlinux 64bit with XFCE4 and Linux Mint Maya with MATE.

Offline

#6 2013-01-12 14:59:14

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,481
Website

Re: [SOLVED]Screwed Up fstab: Hard Drive is Read-Only Now

Please post actual error messages and the content of your fstab.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#7 2013-01-12 15:02:18

ctjedi52
Member
Registered: 2013-01-12
Posts: 4

Re: [SOLVED]Screwed Up fstab: Hard Drive is Read-Only Now

Here it is. I know it isn't formatted correctly either:

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>								<type>		<options>			<dump>	<pass>
# /dev/sda1      
#UUID=95d54762-4f6b-42ca-bab8-89ff3e1c657c	/         	ext4      	rw,relatime,data=ordered	0 	1

# /dev/sda1
# UUID=95d54762-4f6b-42ca-bab8-89ff3e1c657c	/home     	ext4      	rw,relatime,data=ordered	0 	2

Offline

#8 2013-01-12 16:39:47

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,481
Website

Re: [SOLVED]Screwed Up fstab: Hard Drive is Read-Only Now

Ah ... there's nothing there.  Every line is commented.  And you wouldn't mount the same partition in two different places.  Go back an see the wiki page on fstab or properly follow the beginner's guide.

Last edited by Trilby (2013-01-12 16:40:58)


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

Board footer

Powered by FluxBB