LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 05-28-2006, 08:28 AM   #1
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Rep: Reputation: 30
rename partition


Hello,

I have a linux partition /vserver.

I want to rename it as /asterisk.

How to do it ?

Thanks

Varun
 
Old 05-28-2006, 08:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,821

Rep: Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116
create it as an empty directory, edit /etc/fstab to change the mount point of it.
 
Old 05-28-2006, 08:46 AM   #3
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
Is /vserver the name of the mountpoint, or the label of the partition or both?

If it is just the mount point, unmount the /vserver partiton, rename the /vserver directory; Edit your /etc/fstab and replace vserver with asterisk; remount the directory. If there are vserver entries in /etc/lilo.conf or /boot/grub/menu.lst, they need to changed also.

If that is a partition label, and the partition is either ext2 or ext3, use "e2label" to change the label. Edit any /etc/fstab entries that contain the old name.

Please read the "man 8 e2label" manpage. I've never labeled linux partition, so I have never used the program.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I rename the LABEL on my partition xkape Linux - General 3 01-18-2006 02:49 PM
How to rename a partition akjmicro Linux - General 3 12-30-2005 01:59 PM
Rename a partition? xmdms Linux - Enterprise 2 01-16-2005 01:08 PM
Rename my pc ? Tanc Linux - Newbie 6 09-13-2003 08:28 AM
Rename Partition def1014 Linux - General 3 08-06-2002 04:33 PM


All times are GMT -5. The time now is 03:27 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration