LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-22-2005, 09:47 PM   #1
leafo
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
root is read only / suse 9.2


I had recently gotten a new dvd drive, and I installed it... taking out an old drive and ended up rearranging my windows and linux drives. Just today I decided to boot back into linux, and I got a problem because it could not find root. This was because I put the suse and windows drives in a different order, so I changed them back, and now it detects it but I get an error saying fsck failed becuase the drive is read only. It tells me a command to use 'mount -n -o remount,rw /' and says press ctrl D when you are done because it is special maitenance mode. Then It asks for root password. So I follow the directions and reboot, and I get the same error. So I eneted the command again and ran fsck. It had an error. So far I dont know what to do. Can anyone help?
 
Old 01-23-2005, 01:04 PM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Hmm, I could have told you how to proceed after the first problem. Maybe it still helps: If the partition table has changed (lets say hda2 is now hda3 because you splitted hda1), you need to adjust the bootloader settings and /etc/fstab, so root becomes root again. The easiest way to do that is to boot from some kind of LiveCD (e.g. KNOPPIX), to mount the root-partiton writable and to make the necessary changes.

This may also be the best method to run the filesystem check (fsck). This tool is on knoppix as well as on the rescue system on you suse boot CD.
 
Old 01-25-2005, 02:27 PM   #3
leafo
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I got it working. It turns out fstab had some left over information for the drive, And that was what was causing the error.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 06:07 AM
root mounted as read only behmjose Linux - Newbie 1 12-17-2003 12:05 AM
boot root partition read only mrtwice Linux - General 11 10-10-2003 09:26 AM
mounting root fs read-only andrewb758 Linux - Software 6 10-09-2003 01:32 PM
Read-only root filesystem at the boot karimson Linux - General 0 03-20-2003 06:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration