PDA

View Full Version : [ubuntu] How to move Boot option to C:



CarlFitz
July 24th, 2010, 05:58 PM
New to Ubuntu. Installed to removable disk to try same and because of

shortage of space on Laptop. Now when booting I must have removable

drive plugged in. What is the simplest way to move the boot option to C:\

Drive?

uRock
July 24th, 2010, 06:19 PM
New to Ubuntu. Installed to removable disk to try same and because of

shortage of space on Laptop. Now when booting I must have removable

drive plugged in. What is the simplest way to move the boot option to C:\

Drive?
In order to for the grub boot loader to work it has to read the grub file withing the ubuntu partition. If it is on a second drive then it will always have to be in when you boot. You can either remove the grub boot loader or install ubuntu onto the primary drive. There may be other ways, but I am not sure of them. If you want to go the route of removing the boot loader and giving the MBR back to Windows, then follow these directions;
You can repair the MBR to a windows MBR from ubuntu or the ubuntu live CD. Install lilo by running in terminal
sudo apt-get install liloIgnore the warning and next run in terminal
sudo lilo -M /dev/sdX mbrwhere is sdX is your disk/device, i.e. sda, sdb,sdc, etc Once that is done you can use the LiveCD and install the grub boot loader to the drive which you are using for Ubuntu. Then the fun part is going into BIOS and setting it to boot from the second drive when it is inserted. See this link for installing grub. (https://help.ubuntu.com/community/GrubHowto)

uRock

CarlFitz
July 25th, 2010, 04:27 PM
many thanks for your reply, I am not going into this lightly. I will do it another day when I have read up on it.