LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-03-2022, 11:51 AM   #1
zukester
LQ Newbie
 
Registered: Jun 2001
Location: Grimsley, TN
Distribution: Ubuntu, Arch
Posts: 17

Rep: Reputation: 0
Linux install locations


OK. Searched online and here. For a long time.

Since I got back into Linux a few months ago, I was trying to get a Windows program I use to work in Wine. Over three HDDs, one SSD, two regular HDDs, ZI have put in

1. Feren OS
2. Mint
3. Manjaro
4. Ubuntu

How do I find which one is where? I want to delete all but Ubuntu but, when I am in any one, how do I find out where it is installed to? All I see is "bin boot dev etc home" in any file manager, gparted, etc. in each HDD. I want to delete, clear a bunch of space and stick to Ubuntu, but I have no idea what is where. It is all just ext4 partitions. Is there a way?

Thanks,
Zukester
 
Old 12-03-2022, 05:56 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,246

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Mount them and check what’s in /etc/os-release.
 
Old 12-03-2022, 07:07 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,768

Rep: Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933
Boot up Ubuntu and look at the output of the command lsblk -f

match the UUIDs in the fstab file with the output and everything else are the others. Do you have any swap partitions? Are you using MBR or gpt/uefi?
 
Old 12-03-2022, 07:48 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,147

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
boot-repair and its ilk will tell you most of what you want to know.
 
Old 12-04-2022, 01:50 AM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,859
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Boot each one and note output from df /. Match these outputs without output from lsblk -f to match the device names to the UUIDs. The one matching your Ubuntu / contains the /etc/fstab with entries for the filesystems you need to keep. You can use syg00's advice to acquire the equivalent, as a sort of catalog of what is where.

On future installations, be sure to assign LABELs to all filesystems, to make keeping track easier. You can add LABELs to filesystems at any time, and often use them in place of UUIDs to make identification easier on your eyes and brain.
 
Old 12-04-2022, 02:27 AM   #6
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,337
Blog Entries: 3

Rep: Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732
Yet another option is to boot an installer image for one of the more common distros and stop at the disk partitioning stage. There you will have the choice to examine the disks and you can then find (and even erase) the odd partition by itself.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Getting a list of file install locations with make install? R00ts Programming 8 12-22-2010 01:12 PM
Getting a list of file install locations with make install? R00ts Linux - General 3 12-22-2010 03:48 AM
Rtirq script install locations?? stratotak Linux - Newbie 0 02-25-2009 12:39 AM
NFS/FTP locations for suse 10.1 network install dcraft Linux - General 1 07-24-2006 07:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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