[ale] ext3 recovery

James P. Kinney III jkinney at localnetsolutions.com
Fri Jun 21 14:48:06 EDT 2002


Try remounting the root filesystem with:
mount -o remount /
if that fails:
mount -o remount /dev/hdxn /   where n is the appropriate partition
number on the correct x drive.

dumpe2fs /dev/dha1 (or what ever) will give details on the setup of the
drives. At the top is the listing of the label. fstab should work with
or without the label. If you want to change the label, tune2fs -L
"newlabel" /dev/hda1 will set the label.

A recent copy of toms rootboot is a real butt-saver for problems like
this. If only it also supported XFS, reiser, ext3 and raid...

But the slackware live CD does!

On Fri, 2002-06-21 at 14:20, MCover wrote:
> Geoffrey <esoteric at 3times25.net> wrote:
> 
> >I've never spoken to a geek goddess before, I bow... :)
> >
> >MCover wrote:
> > > Of course the veteran among you are going to laugh at me but my
> > > /etc/fstab file was edited and this line was added:"LABEL=/home
> > > /home       ext3    exec,dev,suid,rw,ursquota,grpquota  1   2" The
> > > /home was never mounted originally the only previous labels in the
> > > fstab were: LABEL=/ and LABEL=/boot. And guess what now my unit
> > > does not boot in RH 7.3.
> >
> >When you say it doesn't boot, how far does it get?  Do you get any error 
> >messages?  I wouldn't expect not being able to mount home would stop it 
> >from booting.  Are all the partitions ext3?
> 
> Well during the boot checks we have all the oks but mine have 
> checking root file system
> then
> could not find matching filesystem:LABEL=/
> then
> [FAILURE]
> then
> ***An error occured during the file system check.
> ***Dropping you to a shell; the system will reboot 
> ***when you leave the shell
> Give root password for maintance
> (or type Control-D for normal start up)
> //if i press control-D my unit does not reboot (that is a bug within OB6000), if i enter the root password i have a prompt like this (Repair filesystem) 1 # 
> but everything is read-only, i cannot even chmod for my file
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > >
> > > I was trying to be smart and I did made a backup copy of /etc/fstab
> > > - but now that the unit does not boot the file system is read-only
> > > and ever root cannot edit the file.
> >
> >How about sharing a copy of your original fstab.
> >
> > >
> > > Unit specs: HP Omnibook6000 - dual boot with Windows XP and Grub for
> > > Linux. This is only a test unit for learning purposes.
> > >
> > > I am not sure if I am going in the right direction but the silly me
> > > thought that if I restore-edit /etc/fstab to its original form the
> > > problem would go way. I really want to learn how to fix it instead
> > > of just rebuilding.
> > >
> > > Note: I have tried: linux single, linux emergency, linux rescue. I
> > > just want to be able to restore the file system, any help will be
> > > appreciated.
> > >
> > > M
> >
> >-- 
> >Until later: Geoffrey       esoteric at 3times25.net
> >
> >I didn't have to buy my radio from a specific company to listen
> >to FM, why doesn't that apply to the Internet (anymore...)?
> >
> >
> 
> 
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop at Netscape! http://shopnow.netscape.com/
> 
> Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
> 
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
-- 
James P. Kinney III   \Changing the mobile computing world/
President and CEO      \          one Linux user         /
Local Net Solutions,LLC \           at a time.          /
770-493-8244             \.___________________________./

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 




---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list