LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2005, 11:35 AM   #1
Anthony1uk
Member
 
Registered: Feb 2005
Distribution: PClinuxOS
Posts: 47

Rep: Reputation: 15
Mandrake Automatically Booting Dont want it to, want Windows, please help


I have set up a dual boot partiton on my C drive with Windows and Mandriva 10.2

However when i switch on my computer Mandriva is the one that boots up, and an option screen comes up which says you have to quickly click if you want windows to load instead.

Usually i am not quick enough and mandrake loads when i dont want it to.

How do i set it so windows automatically boots and i have to phisically do something to boot mandriva instead.

I.e set it the other way round to what it is now.

Thanks
 
Old 06-05-2005, 11:38 AM   #2
angkor
Member
 
Registered: Mar 2005
Location: Amsterdam
Distribution: Debian => Ubuntu => Mac Osx
Posts: 165

Rep: Reputation: 31
You will need to edit your booloader. That would be either 'lilo' or 'grub'.
 
Old 06-05-2005, 11:39 AM   #3
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
This may help if you're using GRUB

Whenever i want to change how Grub boots i edit /etc/grub.conf (FC 3) however yours might be /boot/grub/grub.conf or something.

vi <path to file>

or

emacs <path to file>

This will open it in a simple text edior.

Note the lines

default=
timeout=

Change the timeout for a longer time period for booting into Mandriva, i'm not sure how the default works, someone else can probably help you there.

if it's Lilo, this will probably be useless
 
Old 06-05-2005, 11:42 AM   #4
Anthony1uk
Member
 
Registered: Feb 2005
Distribution: PClinuxOS
Posts: 47

Original Poster
Rep: Reputation: 15
Thanks but what are lilo and grub?

And how do i access them
 
Old 06-05-2005, 11:59 AM   #5
exit3219
Member
 
Registered: May 2005
Location: Moldova
Distribution: Kubuntu
Posts: 199

Rep: Reputation: 30
Easiest way to heal WinXP is to boot from it's install CD and chose 'repair' instead of 'install'. It will repair the MBR.
 
Old 06-05-2005, 12:05 PM   #6
Anthony1uk
Member
 
Registered: Feb 2005
Distribution: PClinuxOS
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by exit3219
Easiest way to heal WinXP is to boot from it's install CD and chose 'repair' instead of 'install'. It will repair the MBR.
But then how will i boot into mandriva?

Like i said now it is set that my machine automatically boots into mandriva and i have to physically choose to boot to windows.

All i want is for that to be the opposite way around.

I know absolutely nothing about linux though. I installed Mandriva to try to learn and so far cant make head nor tails of it. I will just take time for me to get to grips with it, until then i want my prinary OS to still be windows.

Thankjs
 
Old 06-05-2005, 12:34 PM   #7
lordshipmayhem
Member
 
Registered: Sep 2003
Location: Toronto
Distribution: Mandriva Powerpack 2007
Posts: 87

Rep: Reputation: 15
Quote:
Originally posted by Anthony1uk
Thanks but what are lilo and grub?

And how do i access them
Lilo and Grub are two different boot programs. I'm using LILO, myself.

I don't know if this has changed since Mandrake became Mandriva but: Start up the Mandrake Control Centre and click on Boot, then Boot Loader. There will be a field there called "Delay before booting default image", try increasing that. On mine, it's set to 10 seconds.

Good luck, and I hope that helps.
 
Old 06-06-2005, 06:57 AM   #8
exit3219
Member
 
Registered: May 2005
Location: Moldova
Distribution: Kubuntu
Posts: 199

Rep: Reputation: 30
You can also use WinXP's boot loader to load Mandriva. Here's how:
1. Boot into Linux.
2. (You must know on which partition the MBR is. It is usually /dev/hda, if you have only 1 hard disk) Get a formatted floppy, put it in the drive, and do:
Code:
mount /floppy; dd if=/dev/hda of=/floppy/bootsect.lnx bs=512 count=1; umount /floppy
3. 'Heal' WinXP as I said before. Don't worry, you'll be able to boot into linux. (ATTN: http://portal.suse.com/sdb/en/2002/1...l_grub_nt.html this link tells more. If you created a boot floppy for Mandriva, GOOD. If not, do so. If all of this fails, you will still be able to boot Mandrake from that floppy)
4. Copy a:\bootsect.lnx to c:\
5. As Administrator, in XP, do: Start > My Computer (right click) Properties > Advanced > Startup And Recovery > Settings > Edit. This will edit your c:\boot.ini file, which is used to boot XP.
6. Add at the end: c:\bootsect.lnx="MandrakeLinux"
7. Save/quit/get out. Reboot.

Good luck!

remember http://portal.suse.com/sdb/en/2002/1...l_grub_nt.html sais more.

I use XP's boot loader to boot Debian myself!

Welcome to the wonderful world of Linux, BTW!
 
  


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
Dual Booting with Windows XP Pro and Mandrake 10 213374U Mandriva 5 07-23-2004 12:22 PM
Dual Booting Mandrake 10 and Windows XP blackhawks22 Mandriva 14 07-13-2004 09:36 AM
Dual booting Windows xp and Mandrake jimdene Mandriva 3 09-05-2003 10:33 AM
Dual Booting Mandrake 8.0 and Windows 2000 mil34c Linux - Newbie 3 07-28-2002 06:49 AM
Dual booting Mandrake 8.0 and Windows XP lolmc Linux - Software 0 11-29-2001 04:36 PM


All times are GMT -5. The time now is 06:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration