LinuxQuestions.org
Help answer threads with 0 replies.
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 01-13-2011, 04:22 AM   #1
Tytosi
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Rep: Reputation: 0
Unistall ubuntu


i did install and unistall Ubuntu to dual boot with windows 7.It now appears as if my storage is no longer 120GB. I can see My C drive but not D drive. My first installation the system was giving Ubuntu storage of about 70GB now because of deleting and reinstallation it has reduced to even 20GB.
I went into Administrative tools of windows under storage and deleted and formated some space and named it drive E. I realised i needed to give windows back the control. i used X:\Sources>

bcdedit /export C:\BCD_Backup
C:
CD Boot
Attrib bcd –s –h –r
ren c:\boot\bcd bcd.old

bootrec /RebuildBcd
fixmbr
FIXBOOT

The first time i installed Ubuntu it was working properly but since am still learning i messed up things hence reinstallation.

I am confused now my question is how do i bring back my computer to where it was before installation of ubuntu. So i can start afresh installing ubuntu side by side with windows. Where did my D drive go??????????????

Last edited by Tytosi; 01-13-2011 at 04:23 AM.
 
Old 01-13-2011, 04:42 AM   #2
smart_shell
Member
 
Registered: May 2009
Location: NYC
Distribution: Ubuntu 10.04 LTS
Posts: 52

Rep: Reputation: 0
Do you have problem with boot windows 7?
Do you have problem free space on your HDDs ?
if not, simple setup again, before install make mount points manually.
link
https://help.ubuntu.com/community/Wi...20partitioning
 
Old 01-13-2011, 04:43 AM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If you used ubuntu installation disk and weren't paying attention you may have 2 installations, because ubuntu won't overwrite whole partition unless you delete it, or tell it to.When I installed and wanted to reinstall I noticed that if there was another ubuntu or os it would split partition.

That would explain loss of space.
Download gparted-live-cd and look at your partitions.
there's an fdisk command if you wait someone will give it to you.

Last edited by EDDY1; 01-13-2011 at 04:47 AM.
 
Old 01-13-2011, 11:41 AM   #4
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Right...
Quote:
Originally Posted by Tytosi View Post
i did install and unistall Ubuntu to dual boot with windows 7.It now appears as if my storage is no longer 120GB.
What did you mean by this? Do you mean that Windows used to be 120GB before you installed Ubuntu, and now it's less? Or that if you add the totals of all the drives you can see the total is less than 120GB?

Quote:
Originally Posted by Tytosi View Post
I can see My C drive but not D drive.
Can you explain what your old drive setup was? I assume you had more than one Windows partition, but it would be helpful if you told us what it was originally and then the exact partitioning steps you took.

Quote:
Originally Posted by Tytosi View Post
I realised i needed to give windows back the control. i used X:\Sources>
bcdedit /export C:\BCD_Backup
C:
CD Boot
Attrib bcd –s –h –r
ren c:\boot\bcd bcd.old

bootrec /RebuildBcd
fixmbr
FIXBOOT
I'm very sorry, but I'm not a Windows expert... What exactly do these commands do? My best guess from what you've written is that it copies back the original Windows boot sector, but can you confirm this please?

Quote:
Originally Posted by Tytosi View Post
I am confused now my question is how do i bring back my computer to where it was before installation of ubuntu. So i can start afresh installing ubuntu side by side with windows. Where did my D drive go??????????????
If the commands you posted above are correct, and they do what I think they do (restoring the boot sector to the original windows one), then the only difference is partitioning. So if you boot into a live environment (like the Ubuntu LiveCD which has GParted on it) you should be able to edit your partitions how you like them. Like EDDY1 said, there's an fdisk command if all you want to do is view your partitions (it's "sudo fdisk -l /dev/sda", for reference) but from the sounds of it you don't have a bootable linux distribution except for the live CD which has GParted on and can do it with a UI for you

Last edited by Snark1994; 01-13-2011 at 11:42 AM.
 
Old 01-13-2011, 01:25 PM   #5
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 879

Rep: Reputation: 113Reputation: 113
can you run

"sudo fdisk -l"

and post it please
 
  


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
Can you unistall the GUI interface for ubuntu server when you done setting it up fueone Linux - Newbie 2 05-18-2010 10:11 AM
Please Help me! unistall UBUNTU villamarin17 General 4 04-19-2009 09:44 PM
how to unistall ubuntu aand fedora 10 khan05 Linux - Newbie 3 01-15-2009 11:12 PM
Unistall dludenar Linux - Newbie 3 10-24-2005 03:28 AM
Unistall PhuckFonix Linux - Newbie 3 06-16-2004 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 AM.

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