LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-25-2008, 02:54 PM   #1
Starius
Member
 
Registered: Jul 2007
Posts: 50

Rep: Reputation: 15
Uninstalling Ubuntu


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.

Information:
My motherboard is: GIGABYTE GA-P35-DS3L from http://www.newegg.com/product/produc...82E16813128059

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.
 
Old 02-25-2008, 03:22 PM   #2
greyfox67
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
change boot order

Try changing your boot order to boot to your internal drive:


1. Open a terminal
2. use root

sudo gedit /boot/grub/menu.lst


and change the order of the entries at the bottom of the file. The topmost entry is the default boot.
 
Old 02-25-2008, 05:01 PM   #3
Starius
Member
 
Registered: Jul 2007
Posts: 50

Original Poster
Rep: Reputation: 15
whats root?
 
Old 02-25-2008, 06:43 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
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.
 
Old 02-25-2008, 11:13 PM   #5
Starius
Member
 
Registered: Jul 2007
Posts: 50

Original Poster
Rep: Reputation: 15
does SuperGrub disk have to be installed in linux to use or can it be used in vista?
 
Old 02-25-2008, 11:16 PM   #6
Starius
Member
 
Registered: Jul 2007
Posts: 50

Original Poster
Rep: Reputation: 15
also the page you gave me wont load :-(
 
Old 02-25-2008, 11:19 PM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
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.
 
Old 02-26-2008, 03:07 PM   #8
Starius
Member
 
Registered: Jul 2007
Posts: 50

Original Poster
Rep: Reputation: 15
ya, but the download site still isnt working :-(
 
Old 02-26-2008, 03:52 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
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
http://amazingrando.wordpress.com/20...s-your-friend/
 
Old 02-27-2008, 02:49 PM   #10
Starius
Member
 
Registered: Jul 2007
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks you very much! I'm going to go try this now.
 
Old 02-29-2008, 10:52 AM   #11
Starius
Member
 
Registered: Jul 2007
Posts: 50

Original Poster
Rep: Reputation: 15
I now need to figure out how to uninstall linux from the ext hard drive... lol
 
Old 02-29-2008, 10:59 AM   #12
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
All you need to do is remove the Linux partition(s) on the device.
 
Old 03-01-2008, 01:52 PM   #13
Starius
Member
 
Registered: Jul 2007
Posts: 50

Original Poster
Rep: Reputation: 15
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??
 
Old 03-01-2008, 01:56 PM   #14
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Something like Parted Magic may help.
 
Old 03-01-2008, 02:01 PM   #15
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstalling Ubuntu ptdalliance Ubuntu 9 02-27-2008 07:27 PM
Uninstalling Ubuntu apche93 Linux - General 3 12-17-2007 11:16 PM
Uninstalling UBuntu ram20plus Linux - Newbie 3 07-29-2007 05:14 PM
Uninstalling Ubuntu... JuCa Ubuntu 16 03-12-2007 08:54 PM
need help uninstalling ubuntu rubiks14 Ubuntu 2 06-24-2006 12:08 AM


All times are GMT -5. The time now is 02:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration