Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery registry cleaner router safe mode screen slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Dual booting with removable hard drive

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
mattythebatty's Avatar
Junior Member with 5 posts.
 
Join Date: Mar 2009
Experience: Advanced
01-Sep-2009, 06:33 PM #1
Dual booting with removable hard drive
I've 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.
TerryNet's Avatar
Computer Specs
Moderator with 27,151 posts.
 
Join Date: Mar 2005
Location: Ottawa, IL
Experience: Intermediate to Advanced
01-Sep-2009, 08:49 PM #2
I think you need to restore the Vista boot record on the hard drive (as if Ubuntu and the removable drive don't exist).

Maybe Grub can do this.

I understand that you can make the repair with a Vista installation DVD or a Windows Vista Recovery Disc.
saikee's Avatar
Distinguished Member with 2,835 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
02-Sep-2009, 03:26 AM #3
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
assming 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.

Thereafter your wish will be granted.
mattythebatty's Avatar
Junior Member with 5 posts.
 
Join Date: Mar 2009
Experience: Advanced
04-Sep-2009, 01:15 PM #4
Ah OK, I thought I might have to do something like this, thanks for the detailed advice. I'll try it tonight and post more thanks or questions depending on results :P
Closed Thread Bookmark and Share

Tags
boot, linux, removable disk, vista 64

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 09:24 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.