LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2006, 08:07 AM   #1
qplumb
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Rep: Reputation: 0
Unhappy Lost root partition grub error 17


Hi after shutting down normally my suse 9.3 pro system will not boot.I've tried the repair installed system from installation dvd and it says there are no valid linux file systems.Have I lost the lot?The drive is recognised fine by bios.Will I have to do a full reinstall or is there any way to salvage my system?I am really only worried about losing my pictures.I am a new linux user and appologise if this has been asked before.Regards John
 
Old 02-28-2006, 12:31 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Try boot from dvd again. Select boot from hard drive. If it works; great. If not, try again and select boot from cd/dvd.

The last option will boot from the kernel image on the dvd; not the hard drive. Once booted, create a mount point in /mnt for each of your Linux partitions. Example: if you have three partitions - / (root), /home, and /boot, then, from a console window, mkdir /mnt/root; mkdir /mnt/home; mkdir /mnt/boot.

Edit the running /etc/fstab (remember it's from the dvd and not the hard drive) to add entries for each mount point. Something like:
/dev/hda1 /mnt/root ext2 defaults 1 1
/dev/hda2 /mnt/home ext2 defaults 1 1
/dev/hda3 /mnt/boot ext2 defaults 1 1

Edit this example to suit your partition and filesystem setup.

Now, do not mount the partitions. Instead, run fsck -r on each partition (interactive mode - answer y or n to each proposed repair). You could also trust to blind luck and run fsck -a on each partition (automatically repair and end up with whatever fsck does - goor or bad). It's your call.

When you have fscked each partition of the SuSE installation, remove the dvd and try to boot normally.

Oops! Forgot to add: the reason for creating the mount points. After fsck is done, try to mount the partitions and open then in Konqueror or some other file manager. If you can mount them, we can hope they are sucessfully repaired.

Last edited by bigrigdriver; 02-28-2006 at 05:30 PM.
 
  


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
RedHatLinux ,Recover lost root password with GRUB boot loader Ruzzell Linux - Security 5 01-07-2011 02:21 PM
Lost root partition qplumb SUSE / openSUSE 1 02-28-2006 08:31 AM
lost grub AND swap partition Frelov Linux - Newbie 3 03-09-2005 11:06 PM
I lost my NTFS partition by mistake using GRUB yoonsangkyun Linux - Newbie 6 06-03-2004 07:53 PM
I lost my NTFS partition by reinstalling GRUB yoonsangkyun Linux - General 4 01-22-2004 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:19 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