PDA

View Full Version : adding labels to linux partitions?


lodore
October 11th, 2008, 08:46 AM
Hello,
soon i am thinking about dual booting fedora and vista 64bit.
currently have vista 64bit installed.
my windows partitions are labeled.
ive got "system" "data" and "backup"
i want to label my home partition when i dual boot so if i which to upgrade fedora later on i dont delete my home partition by mistake.
whats the easiest way to label a linux partition?

Kerodo
October 11th, 2008, 10:19 AM
Not sure if this will help, but I found it Googling:

http://linux.about.com/od/ptn_howto/a/hwtptn07t00.htm

I've never done it myself though.....

Mrkvonic
October 11th, 2008, 10:34 AM
Hi,

Well, for one thing, make sure you know what partition it (home) resides, regardless of its name. That way, there won't be any need for mistakes.

e2label /dev/hdXY labelname or e2label /dev/sdXY where XY are your hard drive, partition numbers (e.g. hda1, sdb6 etc).

tune2fs -L labelname /dev/hdXY (and sdXY).

Enjoy,
Mrk

Arup
October 12th, 2008, 01:12 AM
For Vista to recognize Linux partition, it needs to see it and the only way it can is via this method at http://www.go2linux.org/accessing-linux-drive-ext-with-vista