Page 1 of 3 123 LastLast
Results 1 to 10 of 172

Thread: Dual Boot on Two Drives

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Location
    Bonnie Scotland
    Beans
    2,307
    Distro
    Ubuntu 8.04 Hardy Heron

    Dual Boot on Two Drives

    EDIT:This thread is now largely irrelevant, as 7.04 has an "Advanced" button at the Grub installation stage, which when pressed gives the option to enter a different location for Grub to be written to.

    __________________________________________________ __________________________________________________ __________________________________________________ ___________




    Generally in Ubuntu EDIT: up to6.10? the usual way to install a dual-boot system involves overwriting the Master Boot Record of the Windows hard drive.

    On one hard drive this is pretty much unavoidable.

    However,

    If you are dual-booting with TWO hard drives it is not necessary to write Grub over the MBR if you can access a "Boot Device Selection Menu" by pressing F8
    (or whatever key depending on BIOS)

    You can thus keep both installations entirely separate.

    To do it this way:

    Disconnect the Windows drive and install Ubuntu and Grub on the second drive. Reconnect first drive after installing Ubuntu.

    Windows on master, Ubuntu & Grub on slave if using two IDE drives.

    (This method will also work on SATA drives, or a mix of SATA & IDE)

    Press F8 (or whatever key depending on BIOS version) at boot time to bring up the Boot Device Selection Menu.

    Choose OS by selecting which drive to boot from.

    Select desired default OS by re-arranging boot order in BIOS.

    Only need to press F8 to select non-default OS.

    Re-boots are as quick as using traditional Grub-in-MBR option.

    Always disconnect other OS's drive if re-installing.

    This process will also work for adding Windows to an Ubuntu system

    Access to files on either drive can be configured later on, once you've got a safe installation organised.


    Edit: The following information will allow dual-booting on two drives with all BIOS versions, with a little editing of Grub. Thanks are due to Anaconda and Bulldog


    Yep all good and so, but..

    it would be even better if the hd with ubuntu is the master and windows hd is the slave.

    Everything would work just like in your example (no grub in windows drives mbr), but you wouldn't have to do anything in the bios, and in all bios:s it propably even isn't possible to select the booting drive..

    But if you have ubuntu in master, then when you boot you would go to grub, and you can select which os is booted. The only thing you would have to do is edit /boot/grub/menu.lst and add windows to your grub..

    title Windows NT/2000/XP (loader)
    map (hd0,0) (hd1,0)
    map (hd1,0) (hd0,0)
    rootnoverify (hd1,0)
    makeactive
    chainloader +1

    remapping hd:s when booting to windows from slave drive is nesessary, because windows wants to think it is in the master drive..

    and if you remove either hd from your machine, the other one would work normally like in your example...
    __________________
    ____________
    anaconda

    gn2: The end result is the same, Grub is kept off the Windows MBR.

    Bulldog has also made posts advocating this method.

    Definitely a very good thing.


    GUI Grub Editor Info: http://www.ubuntuforums.org/showthread.php?t=228104.
    Last edited by gn2; October 5th, 2008 at 08:24 AM. Reason: Updated due to change in 7.04 Grub install option now available.

  2. #2
    Join Date
    Jul 2006
    Location
    Bonnie Scotland
    Beans
    2,307
    Distro
    Ubuntu 8.04 Hardy Heron

    Dual Boot on Two Drives

    Duplicate post from merged threads.
    Last edited by gn2; November 1st, 2006 at 01:34 AM.

  3. #3
    Join Date
    Apr 2006
    Beans
    23

    Re: Dual Boot on Two Drives

    I did pretty much a similar thing, but as my BIOS had some strange issues about ignoring the HD boot order after the boot menu had been used I just changed the GRUB menu.list to also include Windows in the boot selection.

    This way I can boot into either Ubuntu or Windows, and Grub/MBR problems only bring down one OS.

  4. #4
    Join Date
    Jul 2006
    Location
    Bonnie Scotland
    Beans
    2,307
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Dual Boot on Two Drives

    Quote Originally Posted by Mojosdad View Post
    I did pretty much a similar thing, but as my BIOS had some strange issues about ignoring the HD boot order after the boot menu had been used I just changed the GRUB menu.list to also include Windows in the boot selection.

    This way I can boot into either Ubuntu or Windows, and Grub/MBR problems only bring down one OS.
    I reckon that so long as you keep Grub on the Ubuntu drive your Windows should be safe enough.

  5. #5
    Join Date
    Oct 2006
    Location
    in a bubble
    Beans
    172
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Dual Boot on Two Drives

    thanks for the link to this gn2, but i don't think it would help me, given my situation right now.
    i need the two OSs to be able to communicate, so i can back my windows stuff up on the linux drive, format the windows one and then restore the data again. having them ignore each other wouldn't help me too much. i get what you're saying though, which is a relief heheh

    i'm more interested to hear how Mojosdad edited his grub menu.list to include windows heheh

  6. #6
    Join Date
    Sep 2006
    Location
    Sunny Florida
    Beans
    944
    Distro
    Ubuntu 6.10 Edgy

    Re: Dual Boot on Two Drives

    I just had a read of your (weird_c00kie) other thread, and this one also..I'm having isssues with our desktop, and the kids hate having to select windows from grub (they're lazy).

    This suggestion does seem like a workable one for 2 HDD's...The 2 OS's won't actually ignore each other, and once you have the whole mounting NTFS/Making Ext3 visible in Windows issues sorted, they should be able to communicate.

    The only difference this should make is that, instead of having to select your OS through grub, you have to select it through the Boot Menu popup from bios.

    Going to give this a try later and see how it goes methinks.
    Bean Count!=Knowledge (see above)
    Microsoft gives you windows, linux gives you the whole house

  7. #7
    Join Date
    Mar 2006
    Beans
    1,441
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Dual Boot on Two Hard Drives

    Yep all good and so, but..

    it would be even better if the hd with ubuntu is the master and windows hd is the slave.

    Everything would work just like in your example (no grub in windows drives mbr), but you wouldn't have to do anything in the bios, and in all bios:s it propably even isn't possible to select the booting drive..

    But if you have ubuntu in master, then when you boot you would go to grub, and you can select which os is booted. The only thing you would have to do is edit /boot/grub/menu.lst and add windows to your grub..

    title Windows NT/2000/XP (loader)
    map (hd0,0) (hd1,0)
    map (hd1,0) (hd0,0)
    rootnoverify (hd1,0)
    makeactive
    chainloader +1

    remapping hd:s when booting to windows from slave drive is nesessary, because windows wants to think it is in the master drive..

    and if you remove either hd from your machine, the other one would work normally lik in your example...
    _______________
    - anaconda

  8. #8
    Join Date
    Jul 2006
    Location
    Scotlands biggest region
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Dual Boot on Two Hard Drives

    lol....i wondered when you were going to get round to that.

    I just took a master hd with windows out of another pc,swapped its jumpers over to slave and was going to keep things tidy like you say....

    Somehow though edgy ended up on the thing and i forgot all about f8
    Last edited by xpod; October 16th, 2006 at 09:42 PM. Reason: ?
    http://ubuntuclips.org/videos/4

    For the lazy readers

  9. #9
    Join Date
    Jul 2006
    Location
    Bonnie Scotland
    Beans
    2,307
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Dual Boot on Two Hard Drives

    Quote Originally Posted by anaconda View Post
    Yep all good and so, but..

    it would be even better if the hd with ubuntu is the master and windows hd is the slave.

    Everything would work just like in your example (no grub in windows drives mbr), but you wouldn't have to do anything in the bios, and in all bios:s it propably even isn't possible to select the booting drive..

    But if you have ubuntu in master, then when you boot you would go to grub, and you can select which os is booted. The only thing you would have to do is edit /boot/grub/menu.lst and add windows to your grub..

    title Windows NT/2000/XP (loader)
    map (hd0,0) (hd1,0)
    map (hd1,0) (hd0,0)
    rootnoverify (hd1,0)
    makeactive
    chainloader +1

    remapping hd:s when booting to windows from slave drive is nesessary, because windows wants to think it is in the master drive..

    and if you remove either hd from your machine, the other one would work normally lik in your example...

    For those who can access a "Boot device selection menu" (and that's the majority of PC's) doing it the way I suggest completely avoids having to muck about with Grub.

    But I agree that for those who don't have this facility your method is preferable to having Grub over the MBR on the Windows drive.

    I have posted elsewhere on this, and think there should be more warnings for new users about the potential problems associated with the standard single drive dual-boot set-up.

  10. #10
    Join Date
    Jun 2006
    Location
    The Netherlands
    Beans
    Hidden!

    Re: Dual Boot on Two Hard Drives

    Quote Originally Posted by anaconda View Post
    Yep all good and so, but..

    it would be even better if the hd with ubuntu is the master and windows hd is the slave.

    Everything would work just like in your example (no grub in windows drives mbr), but you wouldn't have to do anything in the bios, and in all bios:s it propably even isn't possible to select the booting drive..

    But if you have ubuntu in master, then when you boot you would go to grub, and you can select which os is booted. The only thing you would have to do is edit /boot/grub/menu.lst and add windows to your grub..

    title Windows NT/2000/XP (loader)
    map (hd0,0) (hd1,0)
    map (hd1,0) (hd0,0)
    rootnoverify (hd1,0)
    makeactive
    chainloader +1

    remapping hd:s when booting to windows from slave drive is nesessary, because windows wants to think it is in the master drive..

    and if you remove either hd from your machine, the other one would work normally lik in your example...
    You've got the picture.

    gn2 is a little chicken about GRUB

    But what anaconda says is my way too.

    The way gn2 want's us to do things,require setting up fstab manually.
    And there are folks around who wont like this a bit

    Cheers.
    Last edited by bulldog; October 16th, 2006 at 09:51 PM.
    Resistance is futile.....you will be assimilated!

    Registered Linux User 418427.
    #Ubuntu User 3226#

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •