How do I dual boot

Reply

Join Date: Nov 2003
Posts: 1
Reputation: toshtec is an unknown quantity at this point 
Solved Threads: 0
toshtec toshtec is offline Offline
Newbie Poster

How do I dual boot

 
0
  #1
Nov 4th, 2003
I had the new distro of Mandrake 9.2 and decided to install it on a spare HDD I have.

The HDD is slaved to my Windows HDD it runs WinMe.

When I went to install the distro, I tried to do it in windows to the spare drive, but it would not restart so I created a floppy boot disk and installed it that way to my D drive, but during the setting up prior to install it refered to deleting my "C" drive,(that was not an option) so I stopped the install and disconnected my "C" drive, and proceeded with the install, it went in very easily far easier than windows, usually I get problems with my printer and graphics card.

I was very inpressed with the speed on the internet, having had a tater of what it can do I want to use it regularly and learn as much as I can, the problem is when I reconnected my "C" drive with windows on it, it just booted straight into windows without an option to load Lynux.

Please using the KISS meathod

Keep
It.
Stupid
Simple

Can some one tell me in detail what I have to do to get it to get a dual boot, without loosing all my windows data preferably leaving the setup the way it is.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 16
Reputation: |The|Snowman is an unknown quantity at this point 
Solved Threads: 0
|The|Snowman |The|Snowman is offline Offline
Newbie Poster

Re: How do I dual boot

 
-1
  #2
Nov 4th, 2003
Normally what I would do is use Partition Magic to cut out a chunk for linux. 4 or 5 gigs is all I would use normally.

I know Redhat is very good about detecting Windows partions and it will make it very clear to you which partition contains what. SuSe was not nearly as kind to me as Redhat was.

I have no experience with Mandrake, but I'm assuming it should be fairly straight forward.
Last edited by alc6379; May 2nd, 2004 at 3:36 am. Reason: downloading Partition Magic from Kazaa is illegal, mmmkay?
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 9
Reputation: knute is an unknown quantity at this point 
Solved Threads: 0
knute knute is offline Offline
Newbie Poster

Re: How do I dual boot

 
0
  #3
Dec 4th, 2003
LILO is your answer.

It stands for LInux LOader.

It will boot both linux and windows.

There are other options as well, like grub, and chos, and a whole host of other options as well. If you are curious, a search for "boot loader" (quotes included) on google will give you alot of options.

If you boot into linux and look in /usr/share/lilo there will be several sample config files and some other docs about lilo. One of the samples will have in it the commands that you need to boot windows as well. The issue here though, will be that it would need to go into the master boot record in order to come up on boot.
Knute
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 6,439
Reputation: DMR will become famous soon enough DMR will become famous soon enough 
Solved Threads: 362
Team Colleague
DMR's Avatar
DMR DMR is offline Offline
Wombat At Large

Re: How do I dual boot

 
0
  #4
Dec 4th, 2003
As others have said, Linux has it's own choices of bootloaders to allow you to boot multiple operating systems; the 2 most popular loaders being lilo (LInux LOader) and Grub (GRand Unified Bootloader). What has happened in your case is that because you disconnected your Win drive while installing Linux, the install program couldn't detect the drive, and therefore couldn't set up whichever bootloader it was installing to enable booting both OSes.

The reason that the system still boots directly into Windows is that the Windows bootloader information still resides in the Master Boot Record (MBR) of your Primary Master Drive ("C:" in Windows terminology, "hda" in Linux). Had you left the Windows drive attached when you installed Linux, the installer would have detected the Win install, configured its bootloader for both OSes, and written the information necessary to dual-boot into the MBR. You probably could have worked around the message alluding to deleting "C:", but as a Newbie I don't blame you for playing it safe.

Since you have a boot disk (and the install CDs) , you can try booting into Linux that way and reconfiguring your bootloader, but there might be a problem with that: because the drive on which you installed Linux was the only drive in the system at the time, Linux probably identified it as hda (Primary Master) and built its config files around that assumption. Now that the drive is back at its original hdb (Primary Slave) position, all of you drive and partition pointers are going to be out of sync.

I'd suggest 2 things:

1. Reinstall Linux, with the Windows drive still connected. If/when you get the message concerning deleting the C: drive's contents, write down exactly what the message is and where in the process it occurs. Back out of the installation and post that info here. Also let us know what type of installation you are performing; most distros give you a few choices such as "standard", "workstation", "server", "custom", and "expert". Since you already have another OS on your system, if you're just doing a standard/workstation type of install, you might need to use one of other methods so that you can have better control over how the installer deals with the mutiple drive/partition/operating system situation.

2. You can try to "rescue" your current installation, but I'll bet the bootloader configuration isn't all you'll have to rectify, and some or all of the work may have to be done from the command line. Walking you through that would be difficult if you're new to Linux/UNIX systems. If you want to try, let us know.
Last edited by DMR; Dec 4th, 2003 at 7:28 pm.
Reply With Quote Quick reply to this message  
Join Date: May 2003
Posts: 307
Reputation: big_k105 is an unknown quantity at this point 
Solved Threads: 2
Team Colleague
big_k105's Avatar
big_k105 big_k105 is offline Offline
PFO Founder

Re: How do I dual boot

 
0
  #5
Dec 5th, 2003
i also will recommend you leave both drives connected and pop in the linux install cd and reboot and when the isntallation begins for mandrake it will reconize the openspace/linux partitions you created earlier, and will also reconize that windows is installed and when it asks where to put the boot loader(i believe mandrake comes with grub) say you want it in the MBR(master boot record) of your windows harddrive. this will make when that hd boots up to ask you what os you want to boot into. and this should work jst fine for you. hope this helps.
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 5
Reputation: gw3 is an unknown quantity at this point 
Solved Threads: 0
gw3 gw3 is offline Offline
Newbie Poster

Re: How do I dual boot

 
1
  #6
May 1st, 2004
Hi,

for dual boot systems running Win and Linux I just modify boot.ini.
I copy the boot sector of the second hard disk (where my linux is installed) into a file hdb.b via the Linux dd utility and place it on C:

My boot.ini looks then as follows:


[boot loader]
timeout=30
default=C:\hdb.b
[operating systems]
C:\hdb.b="hdb.b:lilo, hdb2: debian Linux 2.4.24"
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows"

Kind regards,
gw3
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: How do I dual boot

 
0
  #7
May 2nd, 2004
Originally Posted by gw3
Hi,

for dual boot systems running Win and Linux I just modify boot.ini.
I copy the boot sector of the second hard disk (where my linux is installed) into a file hdb.b via the Linux dd utility and place it on C:

My boot.ini looks then as follows:


[boot loader]
timeout=30
default=C:\hdb.b
[operating systems]
C:\hdb.b="hdb.b:lilo, hdb2: debian Linux 2.4.24"
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows"

Kind regards,
gw3
That's an excellent suggestion if you're running WinNT/2k/XP, but the poster is running a Windows ME system.

Aside from setting active partitions or changing BIOS boot sequence settings, a boot loader like lilo, grub, or XOSL would be your only option to dual boot ME and any other OS.
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 5
Reputation: gw3 is an unknown quantity at this point 
Solved Threads: 0
gw3 gw3 is offline Offline
Newbie Poster

Re: How do I dual boot

 
0
  #8
May 5th, 2004
Thanks for this hint. Indeed, I tried this method with WinNT 4.0 and Win2000.

gw3
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC