tf1 Posted March 13, 2009 Report Share Posted March 13, 2009 (edited) Hi I just put a second hard drive in my machine, that is not the problem. I went into the disk partitioner and changed the labels to something that made them more recognizable. I shouldn't have done that! On reboot i get. fsck.ext3: Unable to resolve 'LABEL=160GB fsck.ext3: Unable to resolve 'LABEL-80GB ***An error occurred during the file system check. ***Dropping you to a shell; the system will reboot ***when you leave the shell. Give root password for maintainance (or typeControl-D to continue): HELP!, what do i need to do to repair the file system? I would really appreciate any assistance. Thanks Edited March 14, 2009 by tf1 Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 13, 2009 Report Share Posted March 13, 2009 OK, so first off, what was the 160GB being used for, and the 80GB? Is this one of the disks you just added, or what was there before? If the / partition has mounted, then type your root password to continue, and then check /etc/fstab. Tell us which partition you changed the label for, eg: /dev/sda6, /dev/sda7, or whatever it was. Quote Link to comment Share on other sites More sharing options...
tf1 Posted March 13, 2009 Author Report Share Posted March 13, 2009 Hi Ian the 160gb disc was my original disc with my main system on (2009). I set the lable "160gb". The 80gbdisc is the disc i added, again i labeled it "80gb. i don't care about the 80gb disc its the other one i need to recover. If i remove the 80gb disc, i get the same errors. Thinking back it may have been the /home partition that i re-labeled! If i type my root user password in and press enter, i get... (repair filesystem) 1 # No idea what to do with that. Quote Link to comment Share on other sites More sharing options...
pindakoe Posted March 13, 2009 Report Share Posted March 13, 2009 Suggest you get a live CD (Mandriva One or any other Linux Live CD) and boot from that. Mount the root partition on the 160Gb onto this (say on /mnt/160gb for clarity) and edit /mnt/160gb/etc/fstab to bring it in line with your partitioning scheme and/or labels. If you need more detail pls post back and we'll take it from there. Quote Link to comment Share on other sites More sharing options...
tf1 Posted March 13, 2009 Author Report Share Posted March 13, 2009 I have a Mandriva one live cd, more details as to the procedure you described would be greatly appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 13, 2009 Report Share Posted March 13, 2009 Then you can boot the Mandriva One into the GUI. When KDE, or Gnome, or whichever one you downloaded is running, you can use Nautilus to go into Computer, or the KDE equivalent, and then click to mount that partition. Then check the /etc/fstab from this partition - of course assuming that the one you clicked was / and then you can see what each of the labels were previously. Quote Link to comment Share on other sites More sharing options...
tf1 Posted March 13, 2009 Author Report Share Posted March 13, 2009 Right, Ian I've got into the system /etc and found the fstab file, and also fstab.old Is it just a case of editing the fstab to look like the fstab.old? or could i just rename fstab to something else, and rename fstab.old back to fstab. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted March 13, 2009 Report Share Posted March 13, 2009 Please post them both here, so we know for sure. Quote Link to comment Share on other sites More sharing options...
tf1 Posted March 13, 2009 Author Report Share Posted March 13, 2009 hope this works! Quote Link to comment Share on other sites More sharing options...
Greg2 Posted March 13, 2009 Report Share Posted March 13, 2009 OK, rename fstab to fstab.bak, then rename fstab.old to fstab and reboot the system. Please let us know if that works for you? Quote Link to comment Share on other sites More sharing options...
tf1 Posted March 13, 2009 Author Report Share Posted March 13, 2009 may me a silly question but, how do i do that in a live cd? I'm assuming you need to be root? Quote Link to comment Share on other sites More sharing options...
daniewicz Posted March 13, 2009 Report Share Posted March 13, 2009 launch the file manager from the command line, logged in as root if you are using konqueror: su konqueror Quote Link to comment Share on other sites More sharing options...
tf1 Posted March 13, 2009 Author Report Share Posted March 13, 2009 doesn't work, anything i try to open after SU gives me a klauncher\dbus error! Now i know what to do, just don't know how to do it? There must be a way to edit these files? Quote Link to comment Share on other sites More sharing options...
daniewicz Posted March 13, 2009 Report Share Posted March 13, 2009 try rebooting with the live CD Quote Link to comment Share on other sites More sharing options...
K Bergen Posted March 13, 2009 Report Share Posted March 13, 2009 2009.0? If so it's su - Notice the space and "-" . Ken Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.