Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
labeling (naming) partitions before install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1362
Location: Tri-Cities, WA USA

PostPosted: Thu Nov 07, 2024 9:23 pm    Post subject: labeling (naming) partitions before install Reply with quote

I read the docs https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks
and Father time has got me. In other words I forgot.

I have partitioned my drive. /boot swap root /.
How or do I need to label them?

Code:

Device        Start       End   Sectors   Size Type
/dev/sda1      2048   2099199   2097152     1G Linux filesystem
/dev/sda2   2099200  69208063  67108864    32G Linux filesystem
/dev/sda3  69208064 500117503 430909440 205.5G Linux filesystem


_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1232
Location: Richmond Hill, Canada

PostPosted: Thu Nov 07, 2024 9:56 pm    Post subject: Re: labeling (naming) partitions before install Reply with quote

cwc wrote:
How or do I need to label them?


No, you don't "need" to label them.

However it is good to have label because a label usually came from human which carry meaning human can understand.

labelling usually very important in a share storage environment, it can help identify given storage which node it belong. but also give administrator opportunity when in emergency hint of recovery.

So extent the above idea, label is good to have even on single computer, because should you wish to change storage, it mean easy to switch without change configuration file (i.e. /etc/fstab)

I am not sure if fdisk can or cannot change, but I think sys-app/gotfdisk can change existing partition.

Beware, Not only storage/partition have label, File system also can have label,
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3414

PostPosted: Thu Nov 07, 2024 10:20 pm    Post subject: Reply with quote

Code:
mkfs.<chosen type> -L <LABEL> /dev/device

_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum