LinuxQuestions.org
Visit Jeremy's Blog.
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 09-02-2005, 05:33 AM   #1
JOR000
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
Is Grub necessary for Dual boot system


I have Windows Xp installed on 1 hard drive, and had suse 9.3 installed on 2nd hard drive. It all worked fine and using grub could go into either O/S. I then decided to delete suse, therefore...after a long search found out how to delete Grub so my computer would boot as an XP system again, i now want to install Ubuntu on 2nd drive, can i use the windows boot menu or will a linux boot menu be needed such as Grub.

I also have Windows (longhorn) Vista beta installed (partition on my 1st drive) so when i turn my machine on it lets me decide between XP and Vista, could i just add ubuntu to the menu.

Sorry if its confusing, many thanks

Jordan
 
Old 09-02-2005, 05:36 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
Windows is very self-centered & only offers Microsoft OSes as boot options.

To boot into Linux, you will need a Linux bootloader such as Grub or Lilo, either on the first drive's MBR; or on the second drive's MBR & play around with the boot order on every boot; or on a boot disk that you put in the drive when you require a Linux boot. . .
 
Old 09-02-2005, 05:37 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
I haven't a clue how M$'s shitty bootloader works, but generally you would install grub onto the boot partition of linux rather than the MBR itself (i.e. hda1 and not hda) then you would just chain from the other bootloader which is in the MBR. Grub rocks though...
 
Old 09-02-2005, 05:43 AM   #4
JOR000
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Cheeers for the quick reply

so basically, i should just install ubuntu with the linux boot loader like i had it before, and worry about getting it off when it comes to it?


Jord
 
Old 09-02-2005, 06:12 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,487

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
I gather Vista has a new loader - haven't (and probably won't) tried it, so treat the following with appropriate caution.

Seems you *need* the new BOOTMGR - even if you fixmbr/fixboot from XP, you (apparently) need the new ntldr if you want to boot Vista.

Sooo ......
My recommendation would be to instruct Ubuntu (if you can) to install to a partition rather than MBR (of any disk). Then copy the boot sector record across to the M$oft system partition (presumably Vistas), and update boot.ini to add the option to boot Linux.
Believe it or not, acid_kewpie said *exactly* the same thing ....
 
Old 09-02-2005, 10:05 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Not a fan of MS myself but I would defend the NT boot loader NTLDR by confirming that it boots Linux just as Linux boots Windows.

Multi-booting in NT versions of Windows is possible but a bit involved. One need to amend the hidden file boot.ini the same way one would modify Grub's /boot/grub/menu.lst or Lilo's /etc/lilo.conf for inclusion of the additional booting choices. However NT boot loader likes to round up all the booting code at the sector 0 of every system you want to boot and places them inside its "C" drive. It is a pain in the arxe as Linux can do this very easily but it can't write on a NTFS partition. One can't amend boot.ini while running XP/Win2k because it is a system security issue and needs to do it in command prompt, etc etc.

The worst part of it is NTLRD can only cope with 10 systems the last time I strectched it. Even Lilo can do 15 and sky is the limit for Grub (possibly limited by Linux's maximum 255 raw devices in practical term)

I don't have the new WIndows version to try it out but judging from this thread it is the same NT boot loader to me.

If one intalls a Linux boot loader in MBR to boot a NTLDR and the latter also multiboot two Windows it will work just fine.

Technically Grub doesn't boot Windows. It boots its NT boot loader. That is why Grub can boot all the systems, including those haven't been invented yet for the PC. Kind of a queer statement but that is how Grub works.
 
Old 09-02-2005, 01:28 PM   #7
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,455

Rep: Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172
I definitely would use grub. This loader runs first, lets you choose which system to run, and hands-off control to NT's loader if you select it. This is much more flexible and can even be used if you're building multiple test-versions of NT on the same machine.

The grub documentation is quite thorough.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB Dual Boot system errors with XP and Fedora 3 Armageddon00 Linux - Newbie 10 01-11-2005 04:29 PM
GRUB repair on dual boot system NickTheBubble Linux - Newbie 2 10-07-2004 02:06 PM
help! grub does not boot the system! dual HD, 3 OS parv Fedora 3 08-31-2004 09:40 AM
gentoo -- how do i properly config grub for a dual boot system Laptop2250 Linux - Distributions 3 01-02-2004 09:19 PM
GRUB for LINUX to boot dual system kpilaiku Linux - General 2 04-11-2003 04:46 PM


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