Rename Hard Drive.

Solved
Super_Acro Posted messages 185 Status Membre -  
Super_Acro Posted messages 185 Status Membre -
Hello,
I partitioned my hard drive on Linux (Ubuntu) to store my music, my anime, etc...
I would like to rename my two hard drives to something like (music, video), but when I try to rename them in the file manager, I get an error message saying I can't rename it: "unable to rename the item" :/
What should I do?
Thank you.
Configuration: Linux Firefox 2.0.0.6

17 réponses

sov^36 Posted messages 3624 Registration date   Status Contributeur Last intervention   717
 
Whoa, there are a lot of partitions in there oO
You're going to have to help me out; can you give me an overview of the drives and partitions you have on your PC?
(Number of drives, how many partitions on each drive, sizes of the partitions, what file formats for each partition) and let me know which ones you want to rename in all of that.
Otherwise, did you notice that you have 2 swap type partitions? Is that intentional?

--
@%$**¤!
SPAM SPAM TROLL TROLL GODWIN POINT BANZAI!
1
lami20j Posted messages 21506 Registration date   Status Modérateur, Contributeur sécurité Last intervention   3 570
 
Hi,

I think you would rather want to change the label
take a look here http://www.commentcamarche.net/faq/sujet 8487 modify the label name of partitions
--

lami20j
1
sov^36 Posted messages 3624 Registration date   Status Contributeur Last intervention   717
 
Hi,
you need to change the mounting points of your disks

-> copy/paste the content of the file /etc/fstab.

--
@%$**¤!
SPAM SPAM TROLL TROLL GODWIN POINT BANZAI!
0
Grunt Posted messages 2845 Status Contributeur 301
 
What exactly do you want to do? They are usually called "hdXY" or "sdXY", h for IDE, s for SATA, X for the device number and Y for the partition number. You can’t get around that.

However, for units other than those mounted on "/" and "/home", nothing prevents you from mounting them in folders on the desktop, for example.

Post the result of the command "cat /etc/fstab" so we can know a bit more about your current configuration.
0
Super_Acro Posted messages 185 Status Membre 7
 
It is located where please? (I’m starting)
0
sov^36 Posted messages 3624 Registration date   Status Contributeur Last intervention   717
 
the file is called fstab and is located in the /etc folder.
through the file explorer, you need to go to "file system" (/) and then etc.
otherwise, as suggested by grunt, you can type directly in a console "cat /etc/fstab"

--
@%$**¤!
SPAM SPAM TROLL TROLL GODWIN POINT BANZAI!
0
Grunt Posted messages 2845 Status Contributeur 301
 
You open a terminal, not necessarily as root, and you type "cat /etc/fstab" and then hit "Enter"

You will definitely get the content of the /etc/fstab file, so we will know how many disks you have, how many partitions are mounted, and where they are mounted.
0
Super_Acro Posted messages 185 Status Membre 7
 
Here it is:
suika-sensei@suika-sensei-laptop:~$ cat /etc/fstab
# /etc/fstab: informations statiques sur le système de fichiers.
#
# < système de fichiers > < point de montage > < type > < options > < dump > < pass >
proc /proc proc defaults 0 0
# /dev/sda8
UUID=97d94bb0-eede-43cc-9fa4-2616ce7c21e1 / ext3 defaults,errors=remount-ro 0 1
# /dev/sda9
UUID=f06eb8f3-49e5-488d-a590-c6261dd61601 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
0
Grunt Posted messages 2845 Status Contributeur 301
 
Strange fstab in Ubuntu, with their UUIDs, anyway..

Right now I only see two partitions, one of which is swap. I couldn't tell you, especially if you say you created multiple partitions..
I'll leave it to the Ubuntu experts ^^
0
Super_Acro Posted messages 185 Status Membre 7
 
I created two^^
0
Super_Acro Posted messages 185 Status Membre 7
 
Anyone?
0
sov^36 Posted messages 3624 Registration date   Status Contributeur Last intervention   717
 
UUIDs can be replaced by /dev/... that's not a problem, but I do find it hard to see which partitions you want to rename; in your fstab there are only 2, the / and the swap, and they don't get renamed.
If these are the only two partitions you created during the installation, it's a lost cause. If you create others, then it's very strange that they don't appear in the fstab.
Can you give me the output of the following command:

sudo fdisk -l

--
@%$**¤!
SPAM SPAM TROLL TROLL GODWIN POINT BANZAI!
0
Super_Acro Posted messages 185 Status Membre 7
 
suika-sensei@suika-sensei-laptop:~$ sudo fdisk -l
[sudo] password for suika-sensei:

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7d84dd52

Device Boot Start End Blocks Id System
/dev/sda1 1 1216 9764864 27 Unknown
/dev/sda2 * 1217 13187 96157057+ 7 HPFS/NTFS
/dev/sda3 13188 25345 97659135 83 Linux
/dev/sda4 25346 38913 108984960 5 Extended
/dev/sda5 38158 38913 6072570 82 Linux swap / Solaris
/dev/sda6 25346 27777 19534977 83 Linux
/dev/sda7 27778 31424 29294496 83 Linux
/dev/sda8 * 31425 37875 51817626 83 Linux
/dev/sda9 37876 38156 2257101 82 Linux swap / Solaris

The partition table entries are not in disk order

Disk /dev/sdb: 2063 MB, 2063597056 bytes
255 heads, 63 sectors/track, 250 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x91f72d24

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 251 2015200 6 FAT16
Partition 1 has different physical/logical purposes:
phys=(249, 254, 63) logical=(250, 225, 38)

Disk /dev/sdc: 4009 MB, 4009754624 bytes
20 heads, 40 sectors/track, 9789 cylinders
Units = cylinders of 800 * 512 = 409600 bytes
Disk identifier: 0xc3072e18

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 9790 3915755+ c W95 FAT32 (LBA)
suika-sensei@suika-sensei-laptop:~$
0
Super_Acro Posted messages 185 Status Membre 7
 
I managed to change the label, but my partition is still named volume 18.6 Gio :-(
0
Super_Acro Posted messages 185 Status Membre 7
 
Oh yes, it's fine, I just needed to restart^^
But I can't write on it :-(
0
Super_Acro Posted messages 185 Status Membre 7
 
Resolved
0
Grunt Posted messages 2845 Status Contributeur 301
 
Given your fstab, don’t count on me, sorry.. I’ve never seen an UUID in a fstab, not on Debian at least. Give it a try on the Ubuntu forum, they are just as nice as here and much more competent..
-1