LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-10-2009, 04:56 PM   #1
ThomasC
LQ Newbie
 
Registered: Aug 2009
Posts: 15

Rep: Reputation: 0
mistake when install ubuntu (accidentally install ubuntu on the same partitions as VS


Hi

Yesterday, after sinking the local disk, I accidentally install ubuntu on the same partitions as vista.

I want to uninstall the ubuntu part. I am new with ubuntu, so anyone have any solution for my situation.

Thanks
 
Old 08-10-2009, 05:09 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,857
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Almost certainly if you installed ubuntu (or any other OS) over Vista, then Vista is gone for good. You *might* be able to salvage some data with testdisk.
 
Old 08-10-2009, 05:36 PM   #3
ThomasC
LQ Newbie
 
Registered: Aug 2009
Posts: 15

Original Poster
Rep: Reputation: 0
In my case, I can boot by both vista and ubuntu. The only thing that doesn't seem right it that I sink 160GB to 104GB so that I can use the free space for ubuntu. However, right now, both ubuntu and vista show me that the "my computer" for both system is 104 GB.
 
Old 08-10-2009, 06:13 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,857
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Well then, show us the contents of
fdisk -l for starters
and we'll sort it out
 
Old 08-10-2009, 09:21 PM   #5
ThomasC
LQ Newbie
 
Registered: Aug 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Actually, can you tell more about "show us the contents of fdisk -l". Is this a code for ubuntu terminal?
 
Old 08-10-2009, 10:54 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by ThomasC View Post
Actually, can you tell more about "show us the contents of fdisk -l". Is this a code for ubuntu terminal?
Yes, for any Linux terminal....In Ubuntu, you need to add "sudo".

So, open a terminal window and enter "sudo fdisk -l" (no quotes, and it's an ell, not a one)
 
Old 08-11-2009, 11:41 AM   #7
ThomasC
LQ Newbie
 
Registered: Aug 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Yeah, the code works. In first, I didn't use the word "sudo" because I assumed that I can use syntax in unix in ubuntu.
This is the screen shoot
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	37
Size:	194.0 KB
ID:	1205  
 
Old 08-11-2009, 03:26 PM   #8
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,857
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
You could proceed in a number of ways.

You could boot into Vista and use it to remove the Linux partitions. You can look under Control Panel then Administrative Tools and Computer Management then Disk Management. (at least that's what it's like in XP, I assume it is similar in Vista) After that, I'm not sure whether Vista will let you extend your existing partition back into the unused space.

In ubuntu, you could type sudo fdisk /dev/sda. The program is menu driven and will allow you to delete the partitions all too easily, so be very careful. Try typing man fdisk to read the instructions first. Then this tutorial should help: http://www.howtogeek.com/howto/windo...sta-partition/
 
  


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
Ubuntu install doesn't see drive partitions exad Ubuntu 4 01-15-2009 11:48 AM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 05:49 AM
Telling Ubuntu and Windows partitions apart during install? whistlenut SUSE / openSUSE 1 08-05-2008 09:59 AM
Install issue with Ubuntu 6.06 when manually setting partitions hamster Ubuntu 9 10-22-2006 05:21 AM
Ubuntu install deleted all my partitions - any way to restore them? Spitfire24 General 5 12-15-2005 06:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:53 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
Open Source Consulting | Domain Registration