PDA

View Full Version : [ubuntu] installing boot loader alone in a pendrive



ashiqsultan
July 15th, 2014, 06:11 PM
I want to install ubuntu 14.04 desktop in a PC in which there is two hard drives 1TB and other is 80GB
Windows 7 is Installed in the 1TB HD so i am not going to touch it and install ubuntu in the 80Gb HD
My Question is
could I install ubuntu in that ​80GB HD and install the boot loader alone in a pendrive so that the system will automatically boot to windows when that pendrive isnot connected
Is doing like this will cause any boot loader problems ?????

yancek
July 15th, 2014, 07:19 PM
could I install ubuntu in that ​80GB HD and install the boot loader alone in a pendrive so that the system will automatically boot to windows when that pendrive isnot connected

Yes. Are you using a standard mbr boot for windows or do you use uefi? If mbr boot, it would be simpler to install Grub to the master boot record of the 80GB drive. You could then select to boot Ubuntu drive from the BIOS. More details if you post more details from the Ubuntu installation medium: sudo fdisk -l(Lower Case Letter L in the command).

oldfred
July 16th, 2014, 05:05 PM
Install to external drive. Also any second drive. Or any install with Something Else
Also shows combo box with location of grub2 boot loader
https://help.ubuntu.com/community/Grub2/Installing
Does not hightlight changing boot loader to sdb, but shows other install screenshots:
http://askubuntu.com/questions/312782/how-to-install-ubuntu-on-separate-hard-drive-in-a-dual-boot
http://askubuntu.com/questions/274371/install-on-second-hard-drive-with-startup-boot-option
Install 14.04 Something Else explanation and screenshots (note boot load to VM, most may install to MBR of drive sda, or sdb)
http://www.tecmint.com/ubuntu-14-04-installation-guide/

The device for boot loader can be any drive, just do not choose sda, or whichever drive the Windows install is on.
Also agree with yancek it would just be easier to install grub to the MBR of the 80GB drive and use BIOS or one time boot key often f12 to choose which hard drive to boot from.
And you want this screen to choose where to install the grub2 boot loader which is only available with Something Else or manual install
https://help.ubuntu.com/community/Grub2/Installing#Installing_Ubuntu_to_a_Specific_Partiti on_.28.22Something_Else.22.29: