LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-02-2006, 08:50 AM   #1
sonshineman
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
Unhappy I beleive I distroyed my MBR


I have been running Windows Xp pro on my primary drive and Mandrake 10 for a little while on a small partition of my main HD (I have 1 80gig and 1 20gig drives). All of a sudden I got this bright idea to delete all my partitions ecept the large primary secton of my 80 gig drive. What I wanted to do was transfer all data from the 20gig to the 80gig so that I could use the entire 20 gig for linux. What I did was, I went into windows Administrator tool and transfered all data and then delete and re-ccreate neww partitions never thought to delete Linux before starting with this idea. Bad move. Now when I try and restart my system all I get one L and then rows and rows of 99 across my screen. Does anyone know anything about this and how I can correct it without having to loose about 60 gigs of data on my windows partition?

Last edited by sonshineman; 05-02-2006 at 08:52 AM.
 
Old 05-02-2006, 09:06 AM   #2
Manidip
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
check this solution

Quote:
Originally Posted by sonshineman
I have been running Windows Xp pro on my primary drive and Mandrake 10 for a little while on a small partition of my main HD (I have 1 80gig and 1 20gig drives). All of a sudden I got this bright idea to delete all my partitions ecept the large primary secton of my 80 gig drive. What I wanted to do was transfer all data from the 20gig to the 80gig so that I could use the entire 20 gig for linux. What I did was, I went into windows Administrator tool and transfered all data and then delete and re-ccreate neww partitions never thought to delete Linux before starting with this idea. Bad move. Now when I try and restart my system all I get one L and then rows and rows of 99 across my screen. Does anyone know anything about this and how I can correct it without having to loose about 60 gigs of data on my windows partition?
Insert your 1st Linux installation CD on your CD-ROM. Go to the rescue mode. Type the command grub-install /dev/hda. IIt will install Grub boot loader in your system boot partition. After that you can boot in windows and delete the partion which you dont want using fdisk using bootable floppy or starting the machine in command prompt
 
Old 05-02-2006, 09:07 AM   #3
Manidip
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Manidip Chakraborty
 
Old 05-02-2006, 09:14 AM   #4
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
Seems you need to re-install your boot loader.
This link will help you : http://evpc.biz/computing/Linux/restoring_GRUB
 
Old 05-02-2006, 09:19 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,317

Rep: Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172
Just re-install Mandrake.
Looks like you intended for it to be deleted anyway. Boot from the Mandy disk, and install as normal - it will install the loader again, as it did previously. It will recognise the XP, and build a dual boot including both.

If you don't want to wait, simply boot the XP CD, and select "recovery Console". Run fixmbr from there, and you will have XP back - as if it was the only OS on your system. Re-install Mandrake at your leisure.

Edit: That is a lilo error folks - suggesting grub is only likely to bring more confusion.

Last edited by syg00; 05-02-2006 at 09:21 AM.
 
Old 05-02-2006, 01:19 PM   #6
sonshineman
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Cool

I just want to thanks you guys for you impute and I will try this when i get home from work. On the subject of reinstalling Linux. What i really wanted to do was reinstall mandrake plus I downloaded a distro of Linux Suse and I want both on the 20 gig HD. My problem is when I try to boot from the Suse cd the system will not boot from cd. this has happened after downloading several other distros, they will not boot from the cd. Am i doing something wrong during the downloads or am I downloading the right thing. I am going to the download section of the main menu to find these distros.
 
Old 05-02-2006, 07:06 PM   #7
hisnumber666
Member
 
Registered: Mar 2006
Distribution: Debian Sarge, Windows Server 2003
Posts: 66

Rep: Reputation: 15
wont boot from cd? are you downloading ISOs?
if thats so, you gotta burn it as an image using your favorite burning program (nero, K3b, etc). check your BIOS settings or better - if your BIOS has a boot menu where you choose which device to boot this time, and boot that way. otherwise use a boot manager that supports booting off a cd (System Commander 2000/8)...
i dunno what other problem it could possibly be...
 
Old 05-02-2006, 07:27 PM   #8
hockeyman_102
Member
 
Registered: Apr 2006
Location: Washington
Distribution: Suse, CentOS, Ubuntu
Posts: 124

Rep: Reputation: 15
you could try a live cd too - that would give you full permissions to your drives. And if the live cd fires up then you know your bios boot options are correct to boot from a cd, so it must be a suse distro that is wrong.

good luck.
 
Old 05-02-2006, 07:35 PM   #9
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
Use your XP install CD go to recoverry console and fixmbr. Or fdisk /mbr will do it too.
 
  


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
Restoring MBR :partitions are detected only after the reboot after MBR restoration? sharathksin Linux - Newbie 2 04-14-2006 08:48 AM
MBR zeroed. Can I verify backup MBR? TomF Linux - General 7 06-20-2005 06:28 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 09:18 AM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 05:25 PM
why won't my mbr fdisk /mbr? jamessp007 Mandriva 13 01-03-2004 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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