LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-15-2005, 07:52 PM   #16
abbyrovenn
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0

Thanks... Will sure experiment and let you all know. Btw, I didn't change the boot.ini file, as GRUB was installed on the MBR and working, giving the OS selection. Hence, I still kind of have the question 1 and appriciate your feed back.
 
Old 01-07-2006, 12:08 PM   #17
adwert
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
hello
i'm looking for a tutorial for one disk dual boot.
Can you tell me how to do it ?
Thx
 
Old 01-07-2006, 12:36 PM   #18
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
There was another tome of LQ recently on dual-booting using existing Windows tools---ie the same method that Windows uses if you want to have--eg 98 and 2K on the same machine.
 
Old 01-07-2006, 12:39 PM   #19
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by adwert
hello
i'm looking for a tutorial for one disk dual boot.
Can you tell me how to do it ?
Thx
Are you asking in the context of this thread on the "Windows Method"--or is you question more general?

There is nothing unique about a 1-disk dual boot. For dual-booting you need partitions for each OS.

search on this forum using "dual boot"---there has be LOTS of recent traffic
 
Old 01-07-2006, 02:28 PM   #20
DSargeant
LQ Newbie
 
Registered: Nov 2005
Distribution: Mandriva 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Reply to: adwert

Please post your mbrwiz list
for example,

C:\>mbrwiz /list it lists the following.

MBRWiz - Version 1.53 for Windows XP/2K/PE August 23, 2004
Copyright (c) 2002-2004 Roger Layton software@bigr.net

Disk: 0 Size=153G
Pos MBRndx Type/Name Size Active Hide Start Sector Sectors
--- ------ ---------- ---- ------ ---- ------------ ------------
0 0 07-NTFS 40G Yes No 63 81,915,372
1 1 0F-EXTEND 113G No No 81,915,435 230,645,205

Disk: 1 Size= 76G
Pos MBRndx Type/Name Size Active Hide Start Sector Sectors
--- ------ ---------- ---- ------ ---- ------------ ------------
0 0 83-Linux 101M Yes No 63 208,782
1 1 82-LxSwap 2.0G No No 208,845 4,192,965
2 2 83-Linux 74G No No 4,401,810 151,894,575

Disk: 2 Size=243M
Pos MBRndx Type/Name Size Active Hide Start Sector Sectors
--- ------ ---------- ---- ------ ---- ------------ ------------
0 0 0B-FAT32 244M Yes No 32 501,728
 
Old 01-07-2006, 03:12 PM   #21
fair_is_fair
Member
 
Registered: May 2005
Posts: 511

Rep: Reputation: 51
I don't mean to bash the original poster here but ... WOW ...

Multibooting can be very easy. Install GAG to mbr. Install respective linux bootloaders to root partitions. End of story.

No problems reinstalling operating systems. You can install and uninstall distros to your heart's content without tampering with the Mbr.

I'm multibooting 6 operating systems and often replacing operating systems with no problems.

I cannot think of anything easier.

Using Grub would be my second choice.
 
Old 01-07-2006, 08:52 PM   #22
DSargeant
LQ Newbie
 
Registered: Nov 2005
Distribution: Mandriva 2006
Posts: 21

Original Poster
Rep: Reputation: 15
fair_is_fair what's the point in having 6 or more OS. Do you really need 6 OS? Do you use each OS everyday? This post is for newbies who are considering to make the jump from windows to linux. This is the dual boot windows method. I agree to all methods but this is an alternative solution to dual booting.
 
Old 01-07-2006, 09:12 PM   #23
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
I have used XP's NTldr to boot its maximum of 10 systems. It is actually inside one of the 103 systems I boot with one Grub.

Here is anther thread to dual boot Windows and Linux but keeps Windows' MBR untouched like a virgin.

Based on the above I would say Grub needs 1/10 of the effort of NTldr but is 10 times more powerful in dual boot or multi boot, bearing in mind in a standard Linux installation a Windows is picked up automatically for dual boot without the user lifting a finger.

Last edited by saikee; 01-07-2006 at 09:16 PM.
 
Old 01-07-2006, 11:30 PM   #24
fair_is_fair
Member
 
Registered: May 2005
Posts: 511

Rep: Reputation: 51
Dsargeant.
I appreciate your method but it does seem complicated to me. Perhaps a newbie would find it easier.

Dual booting most distros today is mostly an automatic thing today with Grub and Lilo. All they have to do is say "yes" to installing bootloader to MBR.

I have several operating systems installed because it is easy to do and fun. It gives me a wide variety. It gives me a chance to play with new distros.

My point being: Dual or multibooting need not be complicated for a newbie.
 
Old 01-08-2006, 06:07 AM   #25
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
I state up front that it is not my intention to bash this thread. The author should be congratulated for spending time to put togther something for everybody.

My intention, being a member of the forum, is to contribute by putting forward other facts and information that may be useful and relevant to the thread.

Unfortunately I do feel the thread is asking users to sail the boat around Cape Town of Africa not knowing the Suez Canal is open!

I am putting myself forward for other criticisms by stating the following:-

The short route through the Suez Canal

(1) From the 95 distros I installed I would say 75% of them will automatically dual boot Windows without the user doing anything during the installation.

(2) If Linux fails to dual boot Windows during an installation it is a matter of adding just two lines to a Linux boot loader configuration file.

(a) For Lilo’s /etc/lilo.conf we have to add (using the example Windows is in hda1)
Code:
other=/dev/hda1
label=Windows_XP
(b) For Grub’s /boot/grub/menu.lst the lines to add are
Code:
title Windows XP in hda1
chainloader (hd0,0)+1
(3) If One has for whatever reason to keep the Windows MBR intact the quickest route is to have a Dos partition which can be created after Windows and made active so that it is booted first. There is a free software called Grub4Dos that is a lot easier for multi boot because it is just a Dos program called grub.exe and can be activated by a bat file containing just one line of command with 2 pararmeters %1 and %2

Code:
\grub4dos\grub – config-file=%1,%2/boot/grub/menu.lst.
In application if we want to boot XP in 1st partition, Linux in the 2nd partition and Solaris in the 3rd partition we simply type
Code:
boot (hd0,0)
boot (hd0,1)
boot (hd0,2)
and so on to boot as many systems as we wish. I believe this has to be a neater method than NTLDR.

The long scenic route round the coast of Africa

(1) As Linux has an automatic dual boot ability built-in therefore to use NTLDR we have to scrap the boot loader or not to install it into the MBR. In so doing we lose the access to the Linux. The boot loader is there but we just don't want to use it!

(2) The Linux has to be fully operational first and needs a workable boot loader ready for copying into Windows “C” drive but is prevented from booting via the MBR. This can be a major effort just to test if the Linux operational or not as not all Linux provide a booting alternative via a floppy during installation. If the Linux fails to boot would the user know it is Linux-related or NTLDR-related?

(3) The boot.ini of NTLDR has to be “unhide” for editing and then “hidden” afterward. Being a protected system file it can only be edited in command mode.

(4) The Linux’s boot loader has to be copied into the Windows “C” drive by a special program outside Windows. The operation involves only copying the first 512 bytes of the binary pattern of boot loader which traditionally MS own advice is to use Linux's own "dd" command instead of using a 3rd party software.

(5) If Linux booting configuration is altered its boot loader must to be copied again every time after an amendment (particular to Lilo only)

Shortcomings of Windows NTLDR boot loader

(1) Windows does not support other operating systems. Therefore it can’t read a foreign partition and unable to find its boot loader if the partition is known to it (believe this is more to do with commercial reasons than tachnical ability). Therefore the only way Windows can boot a foreign system is to copy its boot loader into its own root partition drive “C” for loading into the memory. If Windows wants to multi boot 9 foreign systems it has to have 9 boot loaders copied across individually.

(2) NTLDR uses a static boot screen and only 10 booting choices, including self, can be displayed.

(3) NTLDR can only boot one version of Dos-based system from the MS products. I beieve this is to do the fact with all MS systems share a common MBR. Only NT versions of Windows have information to tell a boot loader which partition and which hard disk there are residing. The common MBR only "searches" from the 4 primary partition and boots the first one with the booting flag "switcheded on". It is a common knowledge that one can use a Dos floppy to restore the MBR of a XP or Win2k.

Linux boot loaders advantages

(1) Both Grub and Lilo requires the user to state up front the partition reference of the system to be booted and can automatically make the subsequent arrangement to boot the nominated system without any further instruction or work from the user.

(2) The instructions Lilo and Grub used to boot a Windows are generic. The exact instructions, with only the partition reference altered, are used to boot any Dos, another Windows, BSD, Solaris and Darwin x86. A Linux can also be booted by the same instructions if it has its boot loader arranged in its root partition. Would a PC user not welcome one simple, easy and univesal method that can boot all systems?

(3) Lilo also uses a static booting screen but is able to accept between 15 to 27 systems depending on the age of the version. Grub has a scrolling screen and 100+ systems have been booted when I tried. I haven't found out its limit yet.

(4) Both Lilo and Grub configuration files are not hidden and can be edited quickly, in either command prompt or graphic desktop.

(5) If all the MS systems are installed in a PC both Grub and Lilo can boot all of them as both are equipped with commands to hide and unhide a partition as well as re-arrange the booting disk order on-the-fly.

-------------Conclusions-----------------

To me if a user bothers to install a Linux then he/she will have to learn how to use it.

Deliberately avoiding to learn the easy Linux boot loaders and persevering with a more difficult NTLDR can also be a sign of ignorance of the differences between the two systems' boot loaders.

In this respect if my reply proves inaccurate then I learn something out of it.

If my information is useful then it contributes to our understanding of the Windows and Linux boot loaders.

So even if the reply sounds bashing this thread someone will benefit from it.

Last edited by saikee; 01-08-2006 at 08:40 AM.
 
Old 01-08-2006, 07:32 AM   #26
adwert
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by DSargeant
Reply to: adwert

Please post your mbrwiz list
for example,

Yes im looking for a windows method

MBRWiz - Version 1.53 for Windows XP/2K/PE August 23, 2004
Copyright (c) 2002-2004 Roger Layton software@bigr.net

Disk: 0 Size= 76G
Pos MBRndx Type/Name Size Active Hide Start Sector Sectors
--- ------ ---------- ---- ------ ---- ------------ ------------
0 0 07-NTFS 16G Yes No 63 32,772,537
1 1 07-NTFS 50G No No 32,772,600 102,398,310
2 2 05-FAT16x 10G No No 135,170,910 21,125,475

i dont know why 3 partition is fat 16 it should bo ext2
 
Old 01-08-2006, 09:28 PM   #27
DSargeant
LQ Newbie
 
Registered: Nov 2005
Distribution: Mandriva 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by adwert
Yes im looking for a windows method

MBRWiz - Version 1.53 for Windows XP/2K/PE August 23, 2004
Copyright (c) 2002-2004 Roger Layton software@bigr.net

Disk: 0 Size= 76G
Pos MBRndx Type/Name Size Active Hide Start Sector Sectors
--- ------ ---------- ---- ------ ---- ------------ ------------
0 0 07-NTFS 16G Yes No 63 32,772,537
1 1 07-NTFS 50G No No 32,772,600 102,398,310
2 2 05-FAT16x 10G No No 135,170,910 21,125,475

i dont know why 3 partition is fat 16 it should bo ext2

Sorry for the delay my mind has been on the stock market lately.


First install linux then only if Lilo or grub is bypass by windows ntldr bootloader. then confront me by posting the new mbrwiz list with linux installed.
Sorry but you'll have to get you feet wet first before i can help any ways who knows you might not need my help after installing a distro.

good luck
 
Old 01-08-2006, 10:03 PM   #28
thewonka
Member
 
Registered: Feb 2005
Location: Cambs UK/San Diego US/Tijuana MX
Distribution: Slackware/Debian!
Posts: 53

Rep: Reputation: 15
Nice tutorial mate, im a grub man my self.
 
Old 01-09-2006, 09:58 AM   #29
adwert
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by DSargeant
Sorry for the delay my mind has been on the stock market lately.


First install linux ...
Linux (mandriva 2006) is instaled on 3 partition, thats why it is streange that mbrwiz show it as fat 16.
 
Old 01-09-2006, 11:08 AM   #30
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
adwert,

As Window does not support Linux it wouldn't load a Linux partition.

To see the full partition scheme of your "entire" computer just boot up a Live CD, click terminal and type
Code:
fdisk -l
You can identify your 3 MS partitions by their size, positions and the fact NTFS has partition ID 7 and Fat16 has ID 6.

Your Mandriva should be behind possibly in hda4, hda5 and hda6.

A Live CD is enough for you to access Mandriva, re-install its boot loader and amend it to boot all the MS systems you got in the machine. The catch is you have to switch NTldr to Grub which is the standard boot loader used in Mandriva.

For users worrying about losing XP's MBR it only take a Dos floppy to restore it. More detail in here.

If you want to keep XP's MBR untouched like a virgin it can be done too by following the 2nd link in Post #23.

Last edited by saikee; 01-09-2006 at 11:17 AM.
 
  


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
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 4 11-10-2005 12:37 PM
Need Help Loading Windows XP & SuSe Linux version 8.2---to Make a Dual Boot System Howerton Linux - Newbie 7 09-23-2004 03:49 PM
Linux/Windows dual boot with Windows re-install dhowell1129 Linux - Newbie 6 04-25-2004 05:21 AM
On Windows and LInux dual boot - why install Windows first? yanar99 Linux - Newbie 13 12-18-2003 10:20 AM
Linux & Windows 98SE dual boot... will defrag mess up linux partition? herrtool Linux - General 5 10-31-2003 03:43 PM


All times are GMT -5. The time now is 10:47 PM.

Main Menu
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