LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 08-18-2012, 10:58 AM   #1
bmcgonag
LQ Newbie
 
Registered: Jan 2006
Posts: 12

Rep: Reputation: 0
How to remove other linux install partitions wihtout messing up my main install?


In my eagerness to see what other ditros bring to the table I've installed a few, and I would like to free up that space on my drive, but when using gParted I can't tell what is what, and I don't want to mess up my current install.

How can I tell what is installed on which partition? I tried df, but it only lists the mounted partitions, and fdisk didn't show anything, ls -a /dev/sda* didn't give any helpful info either.

I have Ubuntu 12.04 as my main install, with Pinguy and a couple of versions of some offshoot of Ubuntu as well. I would like to remove the Pinguy and off-shoots, but don't know which partitions they are on exactly...especially Swap and boot partitions that I don't want to accidentally lose.

Any help is greatly appreciated,
 
Old 08-18-2012, 11:32 AM   #2
byannoni
Member
 
Registered: Aug 2012
Location: /home/byannoni
Distribution: Arch
Posts: 128

Rep: Reputation: 36
Gparted will not (AFAIK) let you modify partitions that are in use (e.g. root, boot, home...). It should also show which partitions are swap.

In grub, you can find which partition is the root for a particular distro by highlighting the disto name and pressing e. The line beginning with the word kernel should have "root=" followed by the root partition.

You could also try mounting the partitions:
Code:
mount /dev/sdaX /mnt
...
umount /mnt
You can't mount swap, so this will help you find the swap partitions.
 
Old 08-18-2012, 06:00 PM   #3
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,087

Rep: Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809
If you are able to boot each of your systems and are using the Grub bootloader of Ubuntu, they will be listed in the menuentry by partition.
You could also mount each partitions / (root of the filesystem) partition and look in /etc/issue.
 
  


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
Install new main board & keep Linux or install OS again? Eric Elliott Linux - Newbie 5 06-18-2007 05:16 PM
I386 packages messing up x86_64 install? cuco76 Fedora - Installation 3 04-13-2007 02:29 PM
might install linux on main computer, but can i play my game? kawana Linux - Games 1 12-28-2006 08:34 PM
How to install from harddisk wihtout cdrom Quel Fedora - Installation 6 12-05-2004 09:50 AM
I need to install windoze without messing with RedHat 7.2 HELP! Hano Linux - General 8 05-18-2002 03:57 AM


All times are GMT -5. The time now is 03:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration