Results 1 to 3 of 3

Thread: Dual booting with removable hard drive

  1. #1
    Join Date
    Jul 2009
    Posts
    31
    Rep Power
    0

    Default Dual booting with removable hard drive

    I have just installed Ubuntu using UNetbootin onto an external hard drive. My aim was to have Linux on the external hard drive and whenever that was plugged in and switched on it would boot from that, otherwise it would boot into Vista.

    However, if the removable hard drive is not plugged in, then the GRUB bootloader fails to load and I can't even boot into Vista.If it is plugged in then GRUB loads correctly and I can select which OS I wish to use.

    My boot priority in the BIOS is currently for removable HDD then the internal Vista HDD. Does anybody know how I can change this so it works as I intended?

    Thanks.

  2. #2
    Join Date
    Jun 2009
    Posts
    56
    Rep Power
    3

    Default

    I think you need to restore the Vista boot record on the hard drive (as if Ubuntu and the removable drive don't exist).May be Grub can do this.

    I understand that you can make the repair with a Vista installation DVD or a Windows Vista Recovery Disc.

  3. #3
    Steve Harlow is offline Member
    Join Date
    Jun 2009
    Posts
    51
    Rep Power
    3

    Default

    If you have done it right then Grub should have been in the MBR of the external hdd. Therefore removing it will force the Bios to boot whatever is in the internal HDD’s MBR which should be the one left untouched by Vista.

    I believe you can still achieve it by

    (1) While in Ubuntu check if the first boot disk is indeed the external hdd. You can compare the output of
    Code:
    sudo fdisk -l
    and
    Code:
    sudo grub
    geometry (hd0)
    quit

    If sda is indeed the external disk (hd0) then you can duplicate the MBR from internal disk to external disk by commands
    Code:
    sudo grub
    root (hd0,0)
    setup (hd0)
    quit
    Assuming you only have Ubuntu in (hd0) and the first partition has Grub inside which should be the normal case.

    (2) You can restore the Vista's MBR by following the Task B7 of the Just booting tips in my signature. Both the lazy way asking the Vista or Win7 installation DVD to do it automatically or manually using the command "bootrec /fixmbr " in Command Prompt should work for you. The command "bootrec /fixboot" should be unnecessary in your case.

    There after your wish will be granted.

Similar Threads

  1. Hard drive detected as removable drive
    By Cael Anglian in forum Hard Disk
    Replies: 1
    Last Post: 07-28-2010, 11:22 PM
  2. BSOD fault on Dual-Booting window XP
    By BakerJones in forum Windows XP
    Replies: 4
    Last Post: 06-26-2010, 11:47 AM
  3. Set Windows as Default OS when Dual Booting Ubuntu
    By cherish22 in forum Windows XP
    Replies: 0
    Last Post: 10-12-2009, 06:01 PM
  4. Replies: 0
    Last Post: 09-24-2009, 07:30 PM
  5. How to do Dual booting with removable hard drive
    By leshter in forum Linux/Free BSD
    Replies: 2
    Last Post: 09-11-2009, 01:09 PM

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
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48