Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Problem:
I installed ubuntu linux gutsy on my external harddrive and now my computer needs the external harddrive to start up every time, even though I have windows on the internal harddrives.
Basically without my external hard drive connected I get a error 21 (no operating system detected) even though windows is on my internal drives.
Question:
Is there a way to uninstall ubuntu linux fully from the external hard drive and remove it from my boot list? If theres a way to boot the computer straight to windows when the external hard drive is disconnected thatd be cool too.
My external Hard Drive is: My Book Essential Edition 2.0
It is formatted as a EXfat.
Why I want to do this:
I need to take this computer to a public places and do not wish to have my external hard stolen. Also I'd like to be able to access the external hard drive without having linux boot up to use it.
If you are installing Linux on external hard drives, its probably best to install the boot loader on the MBR of the external hard drive instead of the MBR of the internal hard drive. You can do this by booting into Ubuntu and doing something like
Code:
sudo grub-install /dev/sdX
Replace /dev/sdX with the device name of your external hard drive. You can then setup your BIOS to boot from CD, USB and Hard drive. This way, if the USB disk is found, the system boots Ubuntu and if its not found, the system boots Windows. After that download SuperGrub disk, disconnect the external hd, boot using the SuperGrub disk and choose the option to remove grub from the MBR of the internal drive. This will enable you to boot into Windows without the external hd being connected.
SuperGrub disk is a rescue cd, so you have to burn the iso to a cd (burn the iso as a cd image) and place it in your cd drive and reboot the machine. It will start a live Linux system that you can use to do various things to your bootloader e.g. reinstall grub or remove it from the MBR.
If you have completely removed Linux and just wish to run Windows on your machine, you need to rewrite the Master Boot Record of your hard drive to get rid of the Linux boot loader.
Quote:
# Boot from the Windows CD
# Select R for Recovery Console
# Type the number of your Windows install (usually 1) and hit enter
# Type in the administrator password
# Type fixmbr and hit enter
# Answer yes when it asks you to overwrite the MBR
# Type exit, which will then reboot the system and everything should work
thats the problem, my whole external hard drive is EXfat so windows does not see it to be able to redo the partitioning. Would the windows cd be able to fix this also??
I thought Windows could see the partitions, just didn't recognise their filesystem type. That's what I remember the last time I used Windows' disk management tool. Anyway, you should be able to boot from your Ubuntu CD and use fdisk or cfdisk to remove the partitions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.