LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-20-2003, 02:38 PM   #1
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Rep: Reputation: 15
Mandrake 9.0 Boot loader


I've just installed Mandrake 9 on a partition on a slave hard disk. I have Windows xp on the master disk. I want to boot into windows xp by default so that the other users of the pc don't have to choose this from the boot loader.

How do I get rid of the boot loader and choose to boot linux by putting a boot-floppy in?
 
Old 01-20-2003, 02:40 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
in dos run "fdisk /mbr" once you have made a boot disk for linux, with mkbootdisk
 
Old 01-20-2003, 03:01 PM   #3
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Original Poster
Rep: Reputation: 15
Thankyou for that quick response!
Just one question: Is there anything I should know before I mess with the mbr?
It's just that I don't want to find I can't boot WindowsXP anymore after using fdisk!

I have a primary master (c:\) disk with WinXp on it and a primary slave partitioned into an NTFS part and a Linux (mandrake) part.

I want the pc to boot straight into WinXP when it is turned on (I'm not being anti-Linux it's just that the rest of my family use XP)!

I want to boot Linux by inserting a boot-floppy before I turn it on.

Thankyou.
 
Old 01-20-2003, 04:23 PM   #4
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
The command fdisk /mbr rewrites the MBR with Microsoft's bootloader; I'm just not sure you will find fdisk on your XP computer (my Win2K doesn't have it). If you don't find fdisk, the alternate is a little more work, but I think a better solution. Use your Windows Rescue Boot Disk or, if you don't have one, the XP installation CD. Boot from them and get to the rescue console. From the CD you'll have to go through a menu and a couple of submenus to get to the option to start the Rescue Console. Just keep picking repair options at each menu until you have a Rescue Console option.

Once there (it will be a DOS prompt), simply issue this command:

fixmbr

It will ask you if you are sure you want to do this and then not believe you and ask again. I believe I colorfully explained to my monitor, as I was doing this yesterday, that I had already answered the question! When Windows finished with its stupid questions, it did a great job of repairing my MBR.

To boot Linux from a floppy will require that you have created the floppy of the current kernel. If you haven't, in a terminal window as root, type this:

uname -r

This will return your current kernel number. Replace the <kernel> parameter in the next command with that number:

/sbin/mkbootdisk <kernel>

This will write the boot floppy you want.

Now, why not configure a boot loader to give you the option, but have XP as a default? LILO, Grub and NTLDR will all do that. When you turn the computer on, it will eventually give you a menu for a few seconds. If you do nothing, XP boots. Otherwise, you could select a different OS.

Just a thought.

Last edited by deadbug; 01-20-2003 at 04:26 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake -> Suse | boot-loader ? shankariyer Linux - Software 5 08-08-2003 12:48 AM
Mandrake 9.1 boot loader SERGIOMZB Linux - Newbie 2 07-16-2003 09:30 AM
mandrake boot loader Risc91 Linux - Distributions 2 02-19-2003 12:28 PM
install Mandrake WITHOUT boot loader roddysmells Linux - Software 4 10-23-2002 08:39 AM
Mandrake 8.0 boot loader BaRRaCuda Linux - Distributions 13 05-24-2002 10:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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