Back Forum Reply New

How to rename partitions in ubuntu

I have a windows partition that is shown as 'disk'. How can I rename it in ubuntu.

You can rename it and just make sure in your fstab file you also change the name or the partition will not be useable.

Sorry, I failed to mention I am very new to linux. I am not familiar with commands. Is there a way to do it with gnome partition manager.

First, can you please post the output of the following command
sudo cat /etc/fstab
# /etc/fstab: static file system information.
#
# lt;file systemgt; lt;mount pointgt;   lt;typegt;  lt;optionsgt;       lt;dumpgt;  lt;passgt;
proc            /proc           proc    defaults        0       0
# /dev/hda2
UUID=154642ce-a217-41c2-9428-a74abc49ff71 /               ext3    defaults,errors=remount-ro 0       1
# /dev/hda5
UUID=3cb4089e-3043-4d79-993a-7d699750d5e9 none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdd        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

I have a windows partition that is shown as 'disk'. How can I rename it in ubuntu.

Can you clarify, where is that 'disk' partition? According the your fstab, the Windows partition, assuming it is /dev/hda1, is not auto mounted.

My windows partition is on the C drive, which is as far as i know where the ubuntu file are too.

It's a lot easier to rename it in Windows (e.g. as Windows).  It will then appear as /media/Windows in  (that's what I did).

thanks, i will try that

from : localhost/can edit fstab and add an entry to auto mount your windows partition in a new directory
¥
Back Forum Reply New