LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-12-2007, 12:56 PM   #1
kbalona
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
Possible to dual boot without GRUB?


I have a question. Lets say I have 2 hard drives, 1 for Linux and one for Windows. Would it be possible to NOT install a bootloader such as GRUB or Lilo, but instead, at boot press F12 or whatever, and select which HD you want to boot from?
ty
 
Old 02-12-2007, 01:10 PM   #2
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
You need a bootloader, grub does this job very nicely. Place your win disk as slave and add this to grub:

quote very old post: http://www.linuxquestions.org/questi...highlight=grub

If you have Windows on the second disk (which seems to be the case) you have to fool it.
Use these lines in Grub and Win will believe it is using the first disk. Then that ego will boot

Code:
### Windows Boot

title Windows
rootnoverify (hd1,0)
makeactive
chainloader +1
map (hd0) (hd1)
map (hd1) (hd0)

In the menu.lst place the windows booting lines below the ### END DEBIAN AUTOMAGIC KERNEL LIST

That way your setting for loading windows won't be deleted if you upgrade to a newer kernel using apt (all lines below the mentioned ### are left alone).

Last edited by powadha; 02-12-2007 at 01:17 PM.
 
Old 02-12-2007, 01:15 PM   #3
kbalona
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Original Poster
Rep: Reputation: 0
thanks, I know how to use GRUB, and I'm actually not doing this myself but I know someone who doesn't want to install grub, and wanted to do like I said in my first post.
So what you're saying is that it is not possible to use the BIOS select boot drive function? You have to have GRUB installed?
 
Old 02-12-2007, 01:17 PM   #4
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
As far as I know you just have to use a bootloader indeed, sorry. Some bios offer a F12 or whatever to choose the disk to boot from. You could probably install both OS on its own disk (without bootloader, just plugin only one during install, then the other) and use that (you have to test this). Seems kinda useless pressing F12 if you can use Grub. He could install Win on one disk and Grub only on the Linux disk. Use the Grub lines and your set. Dislike linux? Unplug or format the linux disk and set the win as master and it will boot.

Last edited by powadha; 02-12-2007 at 01:22 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
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
grub dual boot, dual drives... scoob8000 Linux - General 5 04-11-2005 06:54 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Dual boot, dual drives. Where to put GRUB? rgbrock1 Linux - Newbie 5 10-02-2004 10:56 AM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 03:38 PM

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

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