Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bootup problems (old Gentoo system)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
whaase
n00b
n00b


Joined: 20 Nov 2003
Posts: 69

PostPosted: Sat Sep 18, 2004 11:25 pm    Post subject: Bootup problems (old Gentoo system) Reply with quote

How do I change to a ro mounted partition to a rw without rebooting?

Walter


Last edited by whaase on Sun Sep 19, 2004 4:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Sat Sep 18, 2004 11:29 pm    Post subject: Reply with quote

umount /path/to/partition

edit entry in /etc/fstab so that it's rw

mount /path/to/partition
Back to top
View user's profile Send private message
whaase
n00b
n00b


Joined: 20 Nov 2003
Posts: 69

PostPosted: Sat Sep 18, 2004 11:45 pm    Post subject: Reply with quote

Alright, I tried that, so I'll explain the situation a bit more. I managed to screw up my config files, I kept getting this error on bootup (Press Ctrl D to continue or enter root password) When I got booted I changed the entry in fstab for the type of file system. It had XFS, and I know it's ext3, but I typed ext2 by mistake. When I rebooted, I'd get the same error. When I press Ctrl D to continue, it reboots. If I try and enter a password I get a command prompt. I can't edit anything because /root was mounted as ro. I tried to umount it, but it still says it's ro. How can I fix this?

Walter

PS. I knew updating my Config files would mess up! :D
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sat Sep 18, 2004 11:50 pm    Post subject: Reply with quote

Use your livecd and mount your root partition to edit the files.

Quote:
I knew updating my Config files would mess up! Very Happy

But it's very necessary after updating your software.
You could use colordiff to spice up your etc-update expirience.
https://forums.gentoo.org/viewtopic.php?t=207375
Type enter after executing etc-update to go through every file one @ time. (You can even merge line by line if you like)
Back to top
View user's profile Send private message
whaase
n00b
n00b


Joined: 20 Nov 2003
Posts: 69

PostPosted: Sat Sep 18, 2004 11:58 pm    Post subject: Reply with quote

inode77 wrote:
Use your livecd and mount your root partition to edit the files.

Quote:
I knew updating my Config files would mess up! Very Happy

But it's very necessary after updating your software.
You could use colordiff to spice up your etc-update expirience.
https://forums.gentoo.org/viewtopic.php?t=207375
Type enter after executing etc-update to go through every file one @ time. (You can even merge line by line if you like)


I guess in need to re-install my burner. I was trying to do it without having to tear apart my 2 machines :lol:

Thanks, Walter
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Sep 19, 2004 2:35 am    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
PowerFactor
Veteran
Veteran


Joined: 30 Jan 2003
Posts: 1693
Location: out of it

PostPosted: Sun Sep 19, 2004 3:44 am    Post subject: Reply with quote

Might be a little late but,
Code:
mount -o remount,rw $DEV $MOUNTPOINT
Back to top
View user's profile Send private message
whaase
n00b
n00b


Joined: 20 Nov 2003
Posts: 69

PostPosted: Sun Sep 19, 2004 4:17 pm    Post subject: Reply with quote

Thanks! That worked for letting me edit the fstab. But I keep getting a error telling me that it would not mount /dev/ROOT at ext2. I changed the setting in the fstab to ext3. It is telling me the following:

"fsck.ext3: No such file or directory while trying to open /dev/ROOT
/dev/ROOT:

The Superblock could not be read or does not describe a correct ext2
file system. If the device is valid and it really contains a ext2 filesystem
(and not SWAP or UFS, or something else) then the superblock is corrupt, and you might try running e2fsck with a alternate superblock:
e2fsck -b 8193 <device>

*filesystem couldn't be fixed :(

Give root password for maintenance
(or press CTRL D for normal startup)"

If I press ctrl D it reboots, if I give a password, I can get in to a shell. I tried remounting the / partition and editing the fstab to reflect a ext3 partition and rebooted. I get the same thing. I tried running fsck.ext3 and it reported no errors. What am I missing? How can I get this running again?

Thanks, Walter
Back to top
View user's profile Send private message
PowerFactor
Veteran
Veteran


Joined: 30 Jan 2003
Posts: 1693
Location: out of it

PostPosted: Sun Sep 19, 2004 5:47 pm    Post subject: Reply with quote

Have you tried changing fstab to point to the actual device instead of /dev/ROOT?
Back to top
View user's profile Send private message
whaase
n00b
n00b


Joined: 20 Nov 2003
Posts: 69

PostPosted: Sun Sep 19, 2004 5:54 pm    Post subject: Reply with quote

I just got it. Thanks for the help... just a few more things I need to figure out and I'm back to normal!

Walter
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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