Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


Search this Thread
Old 11-05-2005, 08:01 AM   #1
LQ Newbie
Registered: Aug 2002
Location: Germany, NRW
Distribution: Suse 8
Posts: 2

Rep: Reputation: 0
Lost Windows Partitions with grub-inst, Please help!


after installing SuSE10 on a secondary disk (SATA, /dev/sda1) I wanted to install
Grub on my Windows Bootdisk (IDE, /dev/hda, NTFS).

I followed a step by step instruction on the web but then committed an error. I edited /boot/grub/ and menu.lst according to instructions but ended up
adding '--force-lba' to the grub-inst script (I suppose this could be my error).

First I was glad to see the grub come up on booting by /dev/hda but then I saw grub had
erased the two existing partitions and placed a new partition only containing the Grub MBR.

I was shocked to see that and ask myself why the script-developers omitted this thing. I was not asked neither if partition deletion is O.K. nor was I warned of the danger of the parameters I'd been giving grub-inst.

Now, can anybody help me? Is there a tool for partition recovery in Linux?

Now I could restore the OS, but I also lost about 200GB of data, most of which
consisted of yet unstored Home video. This would mean a few weeks of work.

(while booting with a Windows PE-CD, it shows me the disk as 'not assigned').

Thanks in advance
Frank Prumbaum

!!Hey I found it myself. There is a free Software 'testdisk' which was able to restore
my partitions.!!!

I got the linux-static-version and it worked!

Last edited by fprumbau; 11-05-2005 at 08:59 AM.
Old 11-05-2005, 12:57 PM   #2
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
look for partition recovery with google or file recovery.

Next time make a backup if you do something like this. A mistake is easily made.
Old 11-05-2005, 10:58 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,496

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Re: Lost Windows Partitions with grub-inst, Please help!

Originally posted by fprumbau
I was shocked to see that and ask myself why the script-developers omitted this thing. I was not asked neither if partition deletion is O.K. nor was I warned of the danger of the parameters I'd been giving grub-inst.
It's a documented option - see the grub manual. You *did* read the manual first, right ???.
Grub manual
Force GRUB to use LBA mode even for a buggy BIOS. Use this option only if your BIOS doesn't work properly in LBA mode even though it supports LBA mode.
As for testdisk, it's a great tool, but you would do well not to regularly put yourself in a position to rely on it working every time.
Old 11-18-2005, 11:20 PM   #4
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
GRUB and LILO always conflict with Windows. And GNU GRUB is not so robust, causing many problems during boot.

So try GRUB for DOS please. It is a cross-platform boot loader based on GNU GRUB. The GRUB.EXE can be started from DOS/Win9x; and GRLDR can be started from BOOT.INI of Windows NT/2K/XP/2003; and even more, the GRUB.EXE can be started from LINUX via the KEXEC tool.

By using GRUB.EXE or GRLDR, you don't have to touch your MBR. It is the safest way coexisting with DOS/Windows.

You needn't install GRUB for DOS. Just run GRUB.EXE from DOS, or append a line of "C:\GRLDR=START GRUB" into your BOOT.INI(restart and select the "START GRUB" menu item), that will do.

Download GRUB for DOS here:

There is a fat12grldr.img file with the GRUB for DOS release. You can create a GRUB bootable floppy with this fat12grldr.img file.

Or, you can just copy GRUB.EXE to your DOS floppy and run GRUB.EXE to enter the GRUB environment.

If the system has no DOS/WINDOWS, you may use the utility to write GRLDR boot record onto the MBR.


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
I lost my Partitions using GParted! MorPhiend Linux - Newbie 1 11-23-2005 02:11 PM
reformatted windows-lost grub Sticktendo Linux - Newbie 3 02-24-2005 01:13 AM
Debian/Windows lost grub to ntldr DigitalSmash Debian 1 01-12-2005 11:04 AM
Passwd at login w GRUB and Windows partitions-Just give an opinion! carrie Linux - Security 3 10-14-2004 12:25 PM
Lost partitions with freshly built GRUB TheSwine Linux - General 4 01-27-2004 03:09 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration