LinuxQuestions.org
Visit Jeremy's Blog.
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, 09: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, 01:31 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,795

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
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 06:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:21 PM
Lost root partition qplumb Suse/Novell 1 02-28-2006 09:31 AM
lost grub AND swap partition Frelov Linux - Newbie 3 03-10-2005 12:06 AM
I lost my NTFS partition by mistake using GRUB yoonsangkyun Linux - Newbie 6 06-03-2004 08:53 PM
I lost my NTFS partition by reinstalling GRUB yoonsangkyun Linux - General 4 01-22-2004 03:25 PM


All times are GMT -5. The time now is 08:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration