Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenRC mounts / with -o ro
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
someone49
n00b
n00b


Joined: 28 Aug 2012
Posts: 3

PostPosted: Tue Aug 28, 2012 9:40 pm    Post subject: OpenRC mounts / with -o ro Reply with quote

hello,

my installation works flawlessly except for the file-system. it keeps mounted as read-only and i can't found the reason. neither mtab or fstab have "ro" in their params (both have noatime,rw and/or defaults,rw, both configs have been tested) and 0 0 or 0 1 (both have been tested, same result).

i see openrc says "Using mount -o ro" right after printing "mounting root". is there some other config file i might be missing?

i also tested:

- fsck on the filesystem. 100% perfect.

- remounting / with rw. it keeps saying it's write-protected

i hope someone can help. i can only modify the filesystem while using a rescue cd.

also, sorry for not pasting any console outputs. theyre on a dedicated server using only 640x480 bash.

thanks in advance.
Back to top
View user's profile Send private message
fr3eatlast
n00b
n00b


Joined: 21 Jul 2012
Posts: 41
Location: Marquette, MI

PostPosted: Tue Aug 28, 2012 11:37 pm    Post subject: Reply with quote

Check to see if the file system is listed as ro in your grub.cfg because I have had that happen before where my root filesystem was mounted ro because of an option that was passed to grub. hth
Back to top
View user's profile Send private message
someone49
n00b
n00b


Joined: 28 Aug 2012
Posts: 3

PostPosted: Tue Aug 28, 2012 11:53 pm    Post subject: Reply with quote

fr3eatlast wrote:
Check to see if the file system is listed as ro in your grub.cfg because I have had that happen before where my root filesystem was mounted ro because of an option that was passed to grub. hth


both kernel and initrd files are listed with defaults,rw. sorry for not specifying this in the first post.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6714
Location: Goose Creek SC

PostPosted: Wed Aug 29, 2012 3:14 am    Post subject: Reply with quote

as root
Code:
mount -o remount /

_________________
Defund the FCC.
Back to top
View user's profile Send private message
someone49
n00b
n00b


Joined: 28 Aug 2012
Posts: 3

PostPosted: Wed Aug 29, 2012 1:26 pm    Post subject: Reply with quote

DONAHUE wrote:
as root
Code:
mount -o remount /


as i said in the OP, it keeps saying its write protected.

Code:
Cannot remount block device /dev/sda2 read-write; is write-protected


inside of a sysrescd i can use the command "boot an existing linux os installed on the disk" and there, write-read parameters are fine. just saying
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4398

PostPosted: Wed Aug 29, 2012 3:51 pm    Post subject: Reply with quote

Try this way and report results.
http://forums.gentoo.org/viewtopic-p-6863746.html#6863746
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Wed Aug 29, 2012 8:43 pm    Post subject: Reply with quote

someone49,

I posted this a while back and never got a response. It's not the / partition, but it appears to exhibit the same anomaly.

http://forums.gentoo.org/viewtopic-t-922266-highlight-remountro.html

I haven't yet been able to determine the cause :(
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4398

PostPosted: Wed Aug 29, 2012 10:22 pm    Post subject: Reply with quote

BillWho your topic really look as same as when i compare a picture of me and one of brad pitt. It appears to exhibit the same anomaly.
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