Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to mount / slice - Filesystem in readonly mode.

Status
Not open for further replies.

071

MIS
Aug 9, 2000
153
SPAWNED from "Unable to mount !!"

First of all I'd like to thank Chacalinc, thedaver, clonny2, ericbrunson and stefanwagner for all their help and advice - Really appreciated.

Here's the story so far.... ( Dont try this at home kids ![ponder] )

I recently installed, configured and networked (DHCP) RedHat Enterprise through my VMWare image and successfully created and prepared a new partition for my Oracle 10G installation.
This was done adding in a new disk in VMWare and executing the following commands....

fdisk /dev/sdb --
mkfs /dev/sdb1
tune2fs -j /dev/sdb1
mount /dev/sdb1 /mount_point

I then updated my fstab and hey presto I now had my newfilesystem !

(Was starting to get excited here! )


I then downloaded 10G and most of the necessary packages that are required by Orace but ran into an Xserver issue which wouldn't let me open the display....
After a good deal of researching I managed to find out that it was the result of the display not being exporting properly.

Was sorted by issuing the following command.

xhost + localhost

(For some reason, DISPLAY=192.XXX.XX.X; export DISPLAY didn't work ! Also tried many other combinations but didn't work)

I then decided to transfer my oracle packages but.......what do ya know, the bloody CDROM drive wouldn't mount so tried editing my /etc/fstab............BUT ACCIDENTILY quit out of it with the 1st 2 letters of the 1st line (which unfortunatly is / slice) ommited.....so now, when starting up it says ....
checking root filesystem
fsck.ext3: No such file or directory BEL=/: ( U might guess by now the full word should be LABEL !!!)

And then it goes into maintenance mode. I then enter the root p/w but I cannot edit the /etc/fstab as it is in Readonly mode.....
I have tried su'ing to root and changing the permissions on the file but still cannot edit....I cant seem to get into single user mode or boot from CDROM either....... I'm getting REALLY, REALLY FRUSTRATED with this as I have put so much time into preparing it and now all my hard work seems to have gone to waste............


Cheers,
71
 
Download KNOPPIX or use the RedHat CD to get an OS to boot from the CD ROM itself.

Use the mount command to mount the drive you have the fstab error upon.

Edit the fstab again.

Reboot back to the local drive's boot process.

D.E.R. Management - IT Project Management Consulting
 
GOT IT SORTED !!!! WOOOO HOOOOOO !!!! Great start to the w/end !!

Remounted the filesystem in rw mode by issuing the following command

`mount -o remount,rw /`

I then re-edited my fstab and rebooted !!!!

THANKS TO ALL ! ( Have already made a backup copy and certainly wont be doing that again ! )[thumbsup2]



Cheers,
71
 
That idea is nearly as bad as posting your thanks and solutions into a new thread, because they will drift from each other, with no relation to each other in future.

And if you fall from a horse, you have to climb it immediately again, before the idea of not being able to ride it is getting a fix idea.

Search for the error, and get a secure strategie for the future - which is in this case: have a backup of fstab, and check modified entries immediately, when the backup is reachable and you know what you did.

seeking a job as java-programmer in Berlin:
 
Think your missing something there Stefan....The reason I opened a new thread is because it was a completly new topic with no relation to this one.

As for your advice, nothing I hadn't already mentioned myself..

Good luck with the job hunt [2thumbsup]

Cheers,
71
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top