LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-04-2004, 09:46 AM   #1
elitecodex
Member
 
Registered: Feb 2004
Location: MD
Distribution: Fedora 9
Posts: 129

Rep: Reputation: 15
Dual Boot - without destroying current config


Hello all!

I currently have WinXP and Mandrake 9.2 installed on my machine (single physicaly hard drive).

I want to re-install windows but I do not want windows to mess with the MBR. Is this possible?

If not... Does Mandrake provide a way to "recover" the MBR so I can put LILO back on it? I dont want to destroy the linux side because I have it setup the way I like it (plus Im a newbie... so reconfiguring isnt that easy )

Any input or suggested apps would be greatly appreciated! Thanks in advance!!

Will
 
Old 03-04-2004, 09:54 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
This command, as root:

dd if=/dev/hda of=/dev/fd0 bs=512 count=1

will put the lilo menu on a floppy. Install Windows. Boot with the floppy. Run 'lilo' to restore the bootloader to hd.
 
Old 03-04-2004, 09:59 AM   #3
aweir14150
Member
 
Registered: Feb 2004
Location: Linuxville, USA
Distribution: Red Hat-->Mandrake
Posts: 46

Rep: Reputation: 15
You could try installing the mbr on a boot partition, that way Windows will not overwrite the Linux MBR.

I currently have windows 98, Windows xp, and Mandrake 9.2. I installed LILO (boot loader) to the root superblock, the first sector of the boot partition.

I also have system commander 7.05 installled, so when I boot the computer, system commander boots the Linux mbr installed on the boot partition, and not the MBR. Microsoft wants to make sure no other operating system 'interferes' with its Windows, so it will automatically overwrite the mbr. Your best bet is to create a boot partition and install the LILO or GRUB mbr on this partition, and let Windows install its own mbr on the mbr. And then get a third-party boot manager.
 
Old 03-04-2004, 10:36 AM   #4
elitecodex
Member
 
Registered: Feb 2004
Location: MD
Distribution: Fedora 9
Posts: 129

Original Poster
Rep: Reputation: 15
Thank you both for the suggestions... I think I will try the LILO way first. Sounds a bit easier... but if that doesnt work I guess I will have to repartition the hard drive (yet again).

Approximately how big should the boot partition be? Im not sure how much space LILO takes up.

Thanks again for the help!
 
Old 03-04-2004, 10:42 AM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
30 mb is good for boot partitions. LILO very small, most of the space would be taken up by the 1-2mb kernel images.
However, IMO repartitioning is a long jump for such a simple problem. All you need to do is have a way to boot Mandrake after Windows erases the bootmenu, then boot it and run 'lilo'.
 
  


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 config jnaylor Linux - Newbie 3 11-05-2005 01:48 PM
Dual boot config setup question TwoWheels Linux - Newbie 3 10-27-2005 06:11 PM
Dual boot grub config file on SuSE theSandMan Linux - Newbie 3 01-19-2005 07:34 PM
GRUB hangs after RH9 install with dual boot config AXR23 Linux - Newbie 3 04-25-2004 09:18 PM
gentoo -- how do i properly config grub for a dual boot system Laptop2250 Linux - Distributions 3 01-02-2004 08:19 PM

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

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