LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 08-25-2005, 06:37 AM   #1
Manhatten101
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Unable to mount my root filesystem !!!


Hello !
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 -- and partition it as you need
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............
CAN ANYONE PLEASE HELP - Would really appreciate it.
 
Old 08-25-2005, 11:03 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Boot a live cd (knoppix?), mount the partition and edit the file.
 
Old 09-06-2005, 02:12 PM   #3
Appollo
LQ Newbie
 
Registered: Sep 2005
Location: Sudbury, Ontario, Canada
Distribution: Debian
Posts: 3

Rep: Reputation: 0
remount the drive in single user mode

You don't need to download Knoppix to repair this problem, simply remount the drive read/write...

mount -n -o remount,rw /

Then go in and perform necessary modifications to filesystem/files and reboot
 
  


Reply



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
Unable to mount loop filesystem error with PCLinuxOS Pr9.1 sc123 Linux - Software 1 09-19-2008 11:08 AM
Kernel wont mount root filesystem, complains about pivot_root kofrad Linux - Hardware 4 09-29-2004 10:59 PM
Mount with bind flag to root filesystem Wodeh Linux - Newbie 0 04-11-2004 05:33 AM
2.6 Kernel Panic : won't mount root filesystem Neorio Linux - Software 2 02-26-2004 09:38 PM
Kernel Panic: won't mount root filesystem Neorio Linux - Software 4 02-05-2004 06:32 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:13 AM.

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