LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-07-2004, 07:35 AM   #1
KiLLaWaBBiT
Member
 
Registered: Mar 2003
Location: UK
Distribution: Slackware 10.2, Kernel 2.6.13
Posts: 69

Rep: Reputation: 15
Unhappy Strange Dual boot Windows/Linux Problem


Hey all
I'm running Mandrake 10 in dual boot with Windows Xp. Everything was absolutely fine until yesterday when my PSU decided to die suddenly, anyway, i installed a new one and since that when i select Windows in LILO it won't boot and all i get is a flashing "_" on a black screen. I have Partition Magic 8.0 installed so i used my recovery disks to look at the partition. It said there was 2 problems and asked me if i wanted to fix them so naturally i said yes. Then i rebooted and it did the same thing, so back into partition magic i went. This time all it gave me was that the partition is bad and my only option was to format, which is a big no because there's too much stuff on there that i need to keep and far too much to backup to cd. I know that the partition being bad is not entirely the case as i can access everything just fine on my windows partition from mandrake. I remember there being a command in DOS to reset the MBR, i'm thinking of giving this a try but i don't remember the command, and then after that providing it works i'll have to re-install LILO which i also can't remember how to do. I also need to know how to make a linux boot disk. If anyone could give me any idea's at all on this it would be much appreciated.

Last edited by KiLLaWaBBiT; 09-07-2004 at 07:37 AM.
 
Old 09-07-2004, 08:25 AM   #2
cedar
Member
 
Registered: Feb 2004
Location: Colorado Springs, CO
Distribution: Ubuntu, Fedora, PCLinux, MEPIS, still miss Libranet
Posts: 162

Rep: Reputation: 30
no problem...boot with your WinXP cd...when it asks you if you want to install windows or rescue an installed version hit r for rescue...in this console type fixmbr and it will ask you "are you sure?" just hit y and enter and your master boot record will be rewritten windows style and your drive will NOT be formatted.
To get back lilo just boot with Mandrake 10 disc 1 type rescue at the prompt. A window will pop up with restore bootloader as a choice, choose it and lilo is back just like it was. I've had to do this several times myself so I know it's easy and it works.

have fun

Last edited by cedar; 09-07-2004 at 08:40 AM.
 
Old 09-07-2004, 08:33 AM   #3
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
There is an app on my system called 'install-mbr', which may do what you want. The standard MSDOS MBR is apparently non-free. If you have your original MBR I believe you can whack it back on the disk with

dd if=my-old-mbr of=/dev/hda bs=512 count=1

Or if you can boot into DOS, then fdisk.exe /mbr.

As a rescue disk maybe you can use your original installation CD?

Please don't take this as any sort of expert advice! This is vague recollection + 2 mins on Google. Before you do anything drastic, consider how much your data is worth, and see if you can't beg, borrow or even buy a second HD to copy your files onto.

Edit: Uh-oh, upstaged while writing my post. Looks like better advice too

Last edited by maroonbaboon; 09-07-2004 at 08:42 AM.
 
Old 09-08-2004, 03:34 AM   #4
KiLLaWaBBiT
Member
 
Registered: Mar 2003
Location: UK
Distribution: Slackware 10.2, Kernel 2.6.13
Posts: 69

Original Poster
Rep: Reputation: 15
Thanx!

Thanx a lot guys, the install disc method worked a treat, much appreciated!
 
  


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
DUAL Boot Problem: Windows XP - Linux Boeboe Linux - General 7 05-23-2006 04:15 PM
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 35 02-07-2006 03:29 PM
Strange Dual Boot Problem AngryLlama Linux - General 12 12-07-2004 06:04 PM
dual boot windows xp and suse linux 9.0 partitioning problem spodops Linux - Newbie 3 10-31-2004 03:38 PM
Dual boot Redhat Linux 9.0/Windows XP home NIC problem shawn_t Linux - Hardware 6 03-09-2004 12:57 AM

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

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

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