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 03-31-2010, 10:30 PM   #1
SanjiSasuke
LQ Newbie
 
Registered: Dec 2009
Posts: 28

Rep: Reputation: 0
Question Partition removal of old Ubuntu


I now run 9.10 but I used to run 9.04. Accidentally made my 9.10 pretty small, and I was basically being lazy and leaving it, but I now want to free up the 80 GB I left on 9.04. Is there any way to just delete the partition, I have all I need from it.

The path from what I can tell for it is /dev/sda1
 
Old 03-31-2010, 10:52 PM   #2
Oldlaptop321
LQ Newbie
 
Registered: Jul 2009
Distribution: openSUSE 11.2, Puppy 4.31
Posts: 26

Rep: Reputation: 16
Yes, you just need a LiveCD with a partitioning program on it, PartedMagic is perfect for this. You also can probably do it from your running OS, look for 'gparted' in your package repositories, although it's probably safer to use a LiveCD.
 
Old 03-31-2010, 11:35 PM   #3
SanjiSasuke
LQ Newbie
 
Registered: Dec 2009
Posts: 28

Original Poster
Rep: Reputation: 0
I have G-Parted already. How would I remove the partition? When I click on it and go to Partition at the top everything except Information Unmount and Manage Flags is unusable.

Edit: I ran G-Parted as Root and deleted the partition. However now I have 83 GB floating around. How can I add this to my 9.10?

Last edited by SanjiSasuke; 03-31-2010 at 11:47 PM.
 
Old 04-01-2010, 12:23 AM   #4
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Rep: Reputation: 27
have you tried running Gparted as root and creating a new partition from the 83GB which is showing up as unallocated space?
you'll need to format the unallocated space and assign a mount point to it.
have a look here for GParted tutorial.
 
Old 04-01-2010, 12:33 AM   #5
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
Quote:
Originally Posted by SanjiSasuke View Post
I now run 9.10 but I used to run 9.04. Accidentally made my 9.10 pretty small, and I was basically being lazy and leaving it, but I now want to free up the 80 GB I left on 9.04. Is there any way to just delete the partition, I have all I need from it.

The path from what I can tell for it is /dev/sda1
Run the following commands:
Quote:
#fdisk /dev/hda
Command (m for help): p (to print the partitions)
Command (m for help): d (to delete a partition)
Partition number (1-5): partition_no (Provide the partition no. you want to delete)
Command (m for help):w (to save the changes)
Command (m for help):q (to exit)
Now run partprobe to let the kernel know about the changes:
Quote:
#partprobe /dev/hda
Run fdisk -l to check that the partition is there no more.
You can create new partition following the same way use n to create new partition.
 
Old 04-01-2010, 03:49 PM   #6
SanjiSasuke
LQ Newbie
 
Registered: Dec 2009
Posts: 28

Original Poster
Rep: Reputation: 0
How would making a new partition help? Now I am just trying to increase the size of the 9.10 partition by adding that unused 83GB.
 
Old 04-01-2010, 04:02 PM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,028

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
you mite not be able to expand the partition if you are using it (the proverbial pulling the rug out from under yourself). if that option is greyed out in gparted, i would suggest running knoppix-live from a usb and expand your partition using sudo gparted (i beleive gparted has the ability to resize ext2/ext3 filesystems.

Last edited by schneidz; 04-01-2010 at 04:03 PM.
 
Old 04-01-2010, 08:41 PM   #8
Oldlaptop321
LQ Newbie
 
Registered: Jul 2009
Distribution: openSUSE 11.2, Puppy 4.31
Posts: 26

Rep: Reputation: 16
Well, you can either create a new partition there, or the slightly more unsafe option of resizing your main one (back uup your data first!), there should be options in GParted for both of those.

EDIT: Oops, must have been cache trouble or somethong, didn't see those new posts...

Last edited by Oldlaptop321; 04-01-2010 at 08:43 PM.
 
Old 04-01-2010, 10:58 PM   #9
SanjiSasuke
LQ Newbie
 
Registered: Dec 2009
Posts: 28

Original Poster
Rep: Reputation: 0
How do you boot knoppix-live from the USB?
 
Old 04-02-2010, 09:00 AM   #10
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,028

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
i think the easiest way would be to download the iso and run unetbootin .
 
Old 04-06-2010, 08:55 AM   #11
Oldlaptop321
LQ Newbie
 
Registered: Jul 2009
Distribution: openSUSE 11.2, Puppy 4.31
Posts: 26

Rep: Reputation: 16
You don't *need* to run it from USB, just download the Knoppix ISO and burn it to a CD. You also might be able to use GParted from your Ubuntu disc.
 
Old 04-08-2010, 11:09 PM   #12
SanjiSasuke
LQ Newbie
 
Registered: Dec 2009
Posts: 28

Original Poster
Rep: Reputation: 0
I'm on hold right now, I need to find a CD (I decided to not use USB) to put it on. I could have sworn I had my LiveCD on my desk but...it is a ninja I guess.

If there are any ways (any I doubt it) to do it in my current OS without any extras post them still.

Last edited by SanjiSasuke; 04-08-2010 at 11:35 PM.
 
Old 04-09-2010, 11:58 AM   #13
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,028

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
not sure, if it is possible it sounds risky.

this mentions a gparted live cd:
http://www.howtoforge.com/partitioning_with_gparted
 
1 members found this post helpful.
  


Reply

Tags
partition, ubuntu


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 Removal Issue HarryB Linux - Newbie 6 10-02-2008 12:47 AM
Recovering files from an ext3 partition after forgetting to umount before removal g0kuss4 Linux - General 2 04-04-2008 12:32 AM
Boot Malfunction, Partition removal? bamfsnyder Linux - Newbie 2 02-28-2008 01:27 PM
Post install Dos partition changes/removal? cothrige Linux - Newbie 1 10-25-2003 11:40 PM
Partition Removal Revisited ca0695 Linux - Software 3 08-19-2001 01:09 AM


All times are GMT -5. The time now is 12:51 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