LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-13-2004, 03:12 AM   #1
goldie1
LQ Newbie
 
Registered: Jun 2004
Posts: 19

Rep: Reputation: 0
XP killed my mbr


Hello all,

Installed XP on one of my partitions and it killed my MBR. Can someone direct me to where I can find info on making a rescue disk to mount linux to rerun lilo? And a place where I can download this disk? I need a boot and a root disk, right?

Thanks!
 
Old 06-13-2004, 03:18 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Use your install cd. There is a rescue option (F3 ? at the boot prompt). Just look at the options. Boot back into linux. Edit Lilo for the XP partition and then run Lilo.
 
Old 06-13-2004, 03:22 AM   #3
goldie1
LQ Newbie
 
Registered: Jun 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I don't currently own a install cd nor do I have a cdrom drive. Sorry, I should have added that in the OP. .. Need to do it via floppy..

thanks!
 
Old 06-13-2004, 04:49 AM   #4
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
You can go to Debian's website and create floppy disk images.
 
Old 06-14-2004, 05:54 AM   #5
atmguy
LQ Newbie
 
Registered: May 2004
Location: Mumbai, India
Distribution: Debian, Sarge
Posts: 8

Rep: Reputation: 0
First install XP with a small partition.
Install Linux with lilo without destroying the XP partition.
Then create the Windows extended partions.

These steps have always worked for me.
 
Old 06-23-2004, 08:21 PM   #6
goldie1
LQ Newbie
 
Registered: Jun 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by atmguy
First install XP with a small partition.
Install Linux with lilo without destroying the XP partition.
Then create the Windows extended partions.

These steps have always worked for me.
Right, I however already have Linux installed. I installed XP after linux. I have tried the rescue disks mentioned above however the root partition is mounted read-only when I do something such as 'rescue root=/dev/hda2' therefore i cant run lilo... Not sure what I should try next.
 
Old 06-24-2004, 01:36 AM   #7
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Don't use the rescue option just use do an ordinary boot.
 
Old 06-24-2004, 01:44 AM   #8
goldie1
LQ Newbie
 
Registered: Jun 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Well, this problem is resolved. I ended up just getting a knoppix disk and chroot'ing. Somehow hda2 turned into swap and hda3 turned into my root. It was the other way around before. That would explain my problem. I changed them around in fstab and then ran lilo to restore mbr. Thanks for help guys!
 
  


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
MBR killed after re-install of windows? heri0n Slackware 11 06-21-2005 01:27 PM
MBR zeroed. Can I verify backup MBR? TomF Linux - General 7 06-20-2005 05:28 PM
MDK 10.2 GRUB - Windows killed MBR stunter Mandriva 7 03-21-2005 09:07 AM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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