Thread: Linux and Windows Duel Boot

  1. #1
    Registered User The15th's Avatar
    Join Date
    Aug 2001
    Posts
    125

    Linux and Windows Duel Boot

    Hi all,

    I have two hard drives. a 60 gig and a 10 gig. the 60 has windows on it and is my primary drive. the 10 has linux red hat 7.0 and is my slave drive. I want to use a boot manager to allow me to choose which OS i boot into but i cannot set this up. I have tried LILO but had no luck as the only OS that comes up when I TAB was Linux. I have also tried Partitons magic Boot manager but had no luck there either.

    Does anyone know how to setup a linux and windows duel boot on two hardrives?

    any info would be great. thanks heaps.
    danno.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Did it a while ago and it worked........

    IDE1 - master - Win2k.......installed with Partition Magic.......added slave drive.........formatted 2nd drive to Ex2 (or whatever system Linux uses) and added swap partition.....second drive was now ok for linux.....

    Put Linux disk in drive....ran install.....it recognised both disks....and so I loaded linux onto the second disk and made sure LILO was set to the boot partition of the second disk...........

    Went back into windows,......installed boot magic (part of partition Magic)..........it recognised both disks.......set bootmagic so it ran from boot sector of first disk (windows).......from there it recognised both operating systems.....

    When I booted I had an option of OS's.......if I chose windows, it stayed on disk 1 and handed over control to NTLDR (to boot windows)....if I chose linux It jumped to the boot sector of the second disk and Linux loaded.........

    I did it a while ago so my memory is a little hazy....bu I dont think it caused any specific headaches.....

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    It might be easier to simply alter your lilo config script.
    It's normally in the file /etc/lilo.conf
    Just add another entry to it, on my machine it looks something like:
    Code:
    other = /dev/hda1
    	label = Windows
    	table = /dev/hda
    Replace the /dev/hda1 with where ever you installed windows to.
    If you own a piece of land and there is an volcano on it and it ruins a
    nearby town, do you have to pay for the property damage?

  4. #4
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    Does anyone know what I need to add to the grub boot loader?
    And also. how do I change from Grub to LILO bootloader in red hat 7.2?

  5. #5
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    >>how do I change from Grub to LILO bootloader in red hat 7.2?

    Run "lilo" as root.
    Read a bit about it first thp.
    If you own a piece of land and there is an volcano on it and it ruins a
    nearby town, do you have to pay for the property damage?

  6. #6
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    The only thing I can think of that would stop you from editiing it is that its access rights are read only for everyone but root.
    If you haven't already try becoming root before you try to edit it, at the console this is easiest done with the "su" command. That will ask you for the root password and then grant you root access privlidges. Then just use any editor to get at it eg "vim /etc/lilo.conf"
    If you own a piece of land and there is an volcano on it and it ruins a
    nearby town, do you have to pay for the property damage?

  7. #7
    danno
    Guest
    Thanks for your help guys. Fordy i am having trouble with your method because of the 1024 cycl limit. Is there a way around this or will i have to set up a small 8 gig partition for it to boot? Well i will try shtarker method now and edit my file. Thanks again guys.

  8. #8
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    >>Thanks for your help guys. Fordy i am having trouble with your method because of the 1024 cycl limit. Is there a way around this or will i have to set up a small 8 gig partition for it to boot? Well i will try shtarker method now and edit my file. Thanks again guys.

    This came up in another thread and the problem can only be overcome by newer bios's. If you run into the 1024 limit, then there is very little you can do, there might be some bios upgrades for your system, but its a very long shot.
    If you own a piece of land and there is an volcano on it and it ruins a
    nearby town, do you have to pay for the property damage?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Port app from Windows to Linux
    By BobS0327 in forum Linux Programming
    Replies: 12
    Last Post: 02-12-2006, 02:35 AM
  2. linux and windows lookup host processes
    By Lynux-Penguin in forum Tech Board
    Replies: 0
    Last Post: 08-31-2003, 11:54 PM
  3. dual boot setup with windows and linux
    By Leeman_s in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 01-14-2003, 07:37 AM
  4. Linux for Windows!
    By Strut in forum Linux Programming
    Replies: 2
    Last Post: 12-25-2002, 11:36 AM
  5. Linux Under Windows
    By Strut in forum Linux Programming
    Replies: 3
    Last Post: 05-27-2002, 08:09 PM