LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-29-2007, 12:57 AM   #1
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Rep: Reputation: 38
Finding original parition label of a partition


I have attached a hard disk from another PC to a running PC. Now how do I find the original partition labels (like /, /opt, /var, etc) from the second disk?

You may have noticed that when you install Linux, the installer finds the original label when you select the partition for modification with disk druid.

Thanks.
 
Old 04-29-2007, 02:11 AM   #2
|2ainman
Member
 
Registered: Mar 2004
Distribution: Slackware current, DSL 0.9.2
Posts: 133

Rep: Reputation: 15
for ext2 and ext3 tune2fs -l <partition>
 
Old 04-29-2007, 02:17 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,972

Rep: Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633
i.e. it has nothing to do with partitions.
 
Old 04-29-2007, 02:22 AM   #4
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by |2ainman
for ext2 and ext3 tune2fs -l <partition>
Thanks for your reply.
 
Old 04-29-2007, 06:59 AM   #5
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
i.e. it has nothing to do with partitions.
What's up with that?


You could also use e2label. For example: e2label /dev/hdb2





.
 
Old 05-01-2007, 07:54 AM   #6
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by homey
You could also use e2label. For example: e2label /dev/hdb2
.
Thank you too.
 
  


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
How to LABEL Swap partition badrat Linux - Certification 4 10-19-2006 10:33 PM
Help Suse reiserfs partition lost it's label as /12 BlueNova32 Linux - General 4 10-09-2006 04:03 PM
how to move root parition to a larger partition miner49er Linux - General 2 04-23-2006 03:38 AM
How can I rename the LABEL on my partition xkape Linux - General 3 01-18-2006 02:49 PM
change partition label w/o format gjo Linux - General 5 06-28-2005 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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