LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-22-2018, 10:36 AM   #1
LEON71
Member
 
Registered: May 2018
Location: Canada
Distribution: Fedora 38 Workstation
Posts: 87

Rep: Reputation: Disabled
Understanding Linux File Partitions


When I am running the command : fdisk -l /dev/sda, I am getting below message :

Device Boot Size Type
/dev/sda1 25G Hidden W95 FAT32 (LBA)
/dev/sda2 * 194.9G HPFS/NTFS/exFAT
/dev/sda3 450M Hidden NTFS WinRE
/dev/sda4 245.4G HPFS/NTFS/exFAT

Can anyone explain how they are organised ? which one is Boot, root and swap partitions here ?

p.s : i just removed the Start , End , Sectors and ID column from the result .

Sorry about the text. I actually copied the table but now its not visible as a table.

Here is what I actually meant :

/dev/sda1 = 25G( Size) , Hidden W95 FAT32 (LBA) ( Type )

/dev/sda2 = *(Boot), 194.9G( Size), HPFS/NTFS/exFAT(Type)

/dev/sda3 = 450M( Size), Hidden NTFS WinRE( Type )

/dev/sda4 = 245.4G(Size), HPFS/NTFS/exFAT( Type)

Last edited by LEON71; 06-22-2018 at 10:46 AM.
 
Old 06-22-2018, 10:48 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
try
Code:
mount
instead.
 
Old 06-22-2018, 10:51 AM   #3
LEON71
Member
 
Registered: May 2018
Location: Canada
Distribution: Fedora 38 Workstation
Posts: 87

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
try
Code:
mount
instead.
You mean mount -l /dev/sda ?
 
Old 06-22-2018, 10:59 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,744

Rep: Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924
In order to keep tab spacing you need to use quotes i.e click on Go Advanced button and select wrap icon.

The information you posted just shows Windows partitions so we need to know how you installed Fedora and post the entire output of fdisk to show all drives i.e. just fdisk -l

Last edited by michaelk; 06-22-2018 at 11:00 AM.
 
Old 06-22-2018, 11:07 AM   #5
LEON71
Member
 
Registered: May 2018
Location: Canada
Distribution: Fedora 38 Workstation
Posts: 87

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
In order to keep tab spacing you need to use quotes i.e click on Go Advanced button and select wrap icon.

The information you posted just shows Windows partitions so we need to know how you installed Fedora and post the entire output of fdisk to show all drives i.e. just fdisk -l
oops . You are right. Ok now I got it . But how can I insert a table here ? I didn't understand the process you mentioned. Is there any insert table option here ?
 
Old 06-22-2018, 11:13 AM   #6
LEON71
Member
 
Registered: May 2018
Location: Canada
Distribution: Fedora 38 Workstation
Posts: 87

Original Poster
Rep: Reputation: Disabled
My Linux partitions are actually like this :

/dev/sdc1= * ( Boot )1G( Size) , Linux( Type )

/dev/sdc2 = 4GB( Size), Linux swap / Solaries(Type)

/dev/sdc3 = 50GB( Size), Linux( Type )

/dev/sdc4 = 876.6GB(Size), Extented( Type)

/dev/sdc5 = 876.6GB(Size), Linux(Type)
 
Old 06-22-2018, 11:14 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,744

Rep: Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924
Actually quotes is also available using Quick Reply.

Click on the wrap icon which looks like a cartoon text bubble and paste the desired text in between the \[quote\] \[/quote\]

If you look at the output of the lsblk command it will show the partitions and how they are mounted.

Last edited by michaelk; 06-22-2018 at 11:18 AM.
 
1 members found this post helpful.
Old 06-22-2018, 01:13 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,997

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Might look at gparted for a gui representation.
 
Old 06-22-2018, 01:22 PM   #9
LEON71
Member
 
Registered: May 2018
Location: Canada
Distribution: Fedora 38 Workstation
Posts: 87

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Might look at gparted for a gui representation.
Not working in my PC unfortunately . any idea what is the equivalent of that command in Fedora ?
 
Old 06-22-2018, 02:39 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,997

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
gnome-disk-utility

You'd need to raise permissions to root to get gparted to run usually.
 
Old 06-22-2018, 03:10 PM   #11
LEON71
Member
 
Registered: May 2018
Location: Canada
Distribution: Fedora 38 Workstation
Posts: 87

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
gnome-disk-utility

You'd need to raise permissions to root to get gparted to run usually.
Got it ! Thanks
 
Old 06-23-2018, 04:47 PM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by LEON71 View Post
You mean mount -l /dev/sda ?
no, i meant 'mount' without arguments, because:
Quote:
Originally Posted by LEON71 View Post
Can anyone explain how they are organised ? which one is Boot, root and swap partitions here ?
mount will show you how your mounted partitions are organised.
 
  


Reply

Tags
file access, hard disk, partioning



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
[SOLVED] Help with understanding the 'with' keyword and understanding file reading and writing. vysero Programming 3 05-30-2018 02:37 PM
Need help understanding/reworking my partitions Odyssey1942 Linux - Newbie 18 04-15-2016 03:19 AM
[SOLVED] Understanding how to read from a file in Linux JockVSJock Programming 13 02-10-2015 01:48 AM
[SOLVED] Understanding Linux partitions and partitioning commands.. anup1304 Linux - Newbie 11 02-28-2013 06:45 PM
Help please for, setting up/understanding Partitions flatstan Linux - Newbie 3 08-13-2006 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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