LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-24-2010, 08:38 PM   #1
ssccchef
LQ Newbie
 
Registered: Sep 2010
Posts: 6

Rep: Reputation: 0
I need help uninstalling ubuntu please


Here is my situation:

I bought a used Dell tower from my school's surplus sale.

It has Ubuntu 9.04 installed on it.

I am utterly unfamiliar with Linux systems.

I have a Windows installation DVD that I'd like to replace Ubuntu with.

When I try to re-arrange the boot order to boot from the install DVD, for some reason my BIOS won't recognize the request.

My suspicion is that if I uninstall the Ubuntu OS that I will have better luck booting from the DVD.

Would someone be kind enough to please give me the appropriate commands to enter in the terminal so that I can:

-Give myself root access

-Figure out the name for the hard drive

-Wipe Ubuntu off the hard drive

Please understand that I have literally no experience with Linux, so if you could give me the idiot treatment on this one, I would really appreciate it.

Also, I know that nobody here is probably particularly fond of Windows, so I understand that this kind of help is given less than enthusiastically, and I appreciate it that much more for that being the case.

Thanks everybody,

-Will
 
Old 09-24-2010, 08:56 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Should be pretty simple to fix. Do this from a terminal and post all the output (the "sudo" gives you root privileges; it'll need your password)
Code:
sudo fdisk -l
 
Old 09-24-2010, 09:00 PM   #3
ssccchef
LQ Newbie
 
Registered: Sep 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Pardon me for how helpless this will make me sound...

Quote:
Originally Posted by syg00 View Post
Should be pretty simple to fix. Do this from a terminal and post all the output (the "sudo" gives you root privileges; it'll need your password)
Code:
sudo fdisk -l
How do I post all the output?

do I type "sudo fdisk -1" verbatim?

Thanks for taking the time to help me.
 
Old 09-24-2010, 09:08 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
That's a lower case ell not the number one. Yep just type it in. I don't have a ubuntu handy, but try this - it'll create a file called fdisk.out; just attach that (from "Advanced") to a post here.
Code:
sudo fdisk -l > fdisk.out

Last edited by syg00; 09-24-2010 at 09:11 PM.
 
Old 09-24-2010, 09:19 PM   #5
ssccchef
LQ Newbie
 
Registered: Sep 2010
Posts: 6

Original Poster
Rep: Reputation: 0
fdisk.out looks like this

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0008f3b9

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9544 76662148+ 83 Linux
/dev/sda2 9545 9729 1486012+ 5 Extended
/dev/sda5 9545 9729 1485981 82 Linux swap / Solaris
 
Old 09-24-2010, 09:30 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Just do this from the terminal - don't bother trying to shutdown, just reboot the DVD. All your partitions - and thus Ubuntu will (effectively) be gone.
Code:
sudo dd if=/dev/zero of=/dev/sda bs=1 count=510
 
Old 09-24-2010, 09:38 PM   #7
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
Smile

Looking at the output of your fdisk -l, everything seems to be perfect. If your boot order is right, then it may be the problem with the windows DVD. Try getting another dvd and install.
 
Old 09-24-2010, 09:38 PM   #8
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Just because you are unfamiliar with Linux systems doesn't mean there's documentation to help you get the most out of Linux and be able to ditch M$ instead of depend on Windows all the time:

http://en.wikibooks.org/wiki/Using_Ubuntu_Linux

At least this tells you the basics. After that, come here for help. Don't come here just to get Windows back on your computer, because we're here to help you transition to Linux and actually be able to use Linux wisely.

And here's where to find even more information on the workings of Linux and be able to master it a little bit more:

http://en.wikibooks.org/wiki/Subject:Linux
 
Old 09-24-2010, 09:44 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Quote:
Originally Posted by basheer View Post
Looking at the output of your fdisk -l, everything seems to be perfect. If your boot order is right, then it may be the problem with the windows DVD. Try getting another dvd and install.
It only looks normal to us - unfortunately M$oft has other ideas.
The installer won't install unless it finds a partition it knows about (FAT or NTFS) or sufficient free space.
BTDT.
 
Old 09-25-2010, 12:30 AM   #10
ssccchef
LQ Newbie
 
Registered: Sep 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Just do this from the terminal - don't bother trying to shutdown, just reboot the DVD. All your partitions - and thus Ubuntu will (effectively) be gone.
Code:
sudo dd if=/dev/zero of=/dev/sda bs=1 count=510
I ran this and there has been no change so far. Ubuntu is still there, and the BIOS still isn't interested in booting from the DVD.
 
Old 09-25-2010, 12:37 AM   #11
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Whether or not you have Ubuntu installed has NOTHING to do with whether or not you can boot from DVD.

As an added note, if you succeed in nuking the OS you have installed - and you still fail to boot from DVD (which you almost certainly WILL) - then you've got yourself a boat anchor.

STRONG SUGGESTION:
Figure out the boot issue!!!!!

Q: Can you boot from ANY DVD, Windows or Linux?

Q: Can you boot from a CD?

Perhaps your DVD drive is broken. Or you have a defective DVD (maybe its scratched).

You can easily verify this by booting to Ubuntu and seeing if it can read the DVD (my guess is that it probably won't).

Please verify that you can read any DVD, and verify that the Windows DVD appears to be readable. Post back the results.

PS:
Once you succeed in booting from an install DVD or install CD (either Windows or Linux), you should be able to repartition the entire disk any way you wish.

Last edited by paulsm4; 09-25-2010 at 12:39 AM.
 
Old 09-25-2010, 12:42 AM   #12
ssccchef
LQ Newbie
 
Registered: Sep 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you for the heads up, consider it well-heeded

My understanding was that Ubuntu couldn't read the DVD once it was running because the file in question is an .exe file
 
Old 09-25-2010, 01:00 AM   #13
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
Talking

Quote:
Originally Posted by syg00 View Post
It only looks normal to us - unfortunately M$oft has other ideas.
The installer won't install unless it finds a partition it knows about (FAT or NTFS) or sufficient free space.
BTDT.
I totally agree with you syg00.
 
Old 09-25-2010, 01:26 AM   #14
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by ssccchef View Post
My understanding was that Ubuntu couldn't read the DVD once it was running because the file in question is an .exe file
Ubuntu is not running at the moment that you try to boot from DVD. So as the others indicated, solve the boot issue.

Further things to check
* Is the drive indeed a DVD drive? Maybe it can only handle CDs?
* Is de DVD OK (can you boot from it on another system)?
 
Old 09-25-2010, 02:09 AM   #15
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
You could also use Wine to run the setup executable on the DVD (and then obviously do a clean install from it).
 
  


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 j360 Linux - Wireless Networking 6 01-17-2010 05:47 AM
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 12:04 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