Results 1 to 8 of 8

Thread: Change name of partitions

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Beans
    142

    Change name of partitions

    All previous ubuntu versions had my drives or partions labeled but now they're labeled by the size they are which is super confusing to me and completely illogical as they'll change kinda frequently. At least when it was labeled hdb1 or something, I new exactly what that was but I have 2 ~100 gb drives and I don't know which one's which. Can I relabel it in the fstab easily?

  2. #2
    Join Date
    Aug 2006
    Beans
    121
    Distro
    Ubuntu Development Release

    Re: Change name of partitions

    Hi,

    Check out https://help.ubuntu.com/community/RenameUSBDrive

    If you want to rename your root partition, you will likely need to use a LiveCD to do so.

    Cheers,

    -n8

  3. #3
    Join Date
    Apr 2008
    Beans
    7

    Re: Change name of partitions

    Yellowbelly, I have noted the same thing as well. Basically, it seems to be a change in the default naming convention of mounted partitions. Before (well, using Ubuntu 7.10), Gnome used the device name as the automatically chosen name for mounted volumes, for example, "sda1" or "sda4". Now it puts up the size of the volume, for example, "41.9 GB Media". If you have your hard disks carved up into various partitions of equal size (like I do, several 40 GB partitions for different OSes), well, this new naming convention is obviously frustrating, and it would be great to be able to revert back to the former naming convention (i.e. based on device names).

    I have hunted around in gconf-editor etc., but did not find any obvious options for this.

    Also, for cross-reference, please note that this same issue/question was pointed out a few days ago in the following thread:

    http://ubuntuforums.org/showthread.php?t=762508

    Anyway, does anybody know how to have Gnome revert to the former behavior of using the device name for mounts instead of the volume size?

    Thanks in advance for your help.

  4. #4
    Join Date
    Oct 2004
    Location
    Albuquerque New Mexico, U
    Beans
    688
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Change name of partitions

    The disk command e2label might help here. The syntax (in a terminal window)

    sudo e2label /dev/device newlabel

    i.e.,

    sudo e2label /dev/sda1 sda1

    would give the label sda1 to the partition /dev/sda1 and Nautilus should show that under places.
    regards

  5. #5
    Join Date
    Apr 2008
    Beans
    7

    Re: Change name of partitions

    Thanks, rbmorse, for the suggestion. I should have mentioned in my first post that I realize I could work around the issue by applying a label as you have suggested, but that would actually require modifying the disk (albeit just the label) which I personally don't want to do. I'd rather just be able to revert to the former behavior of Gnome using the device name instead of the size like it does now in 8.04. So I'll keep the labeling option option as a last resort, but maybe in the meantime somebody intimately familiar with Gnome would be able to point an actual config setting to revert to the former behaviour.

  6. #6
    Join Date
    Apr 2008
    Beans
    7

    Re: Change name of partitions

    I've been doing a bit more research about this issue. Here are some related links. In some cases, the links reference issues back to 2006 after which point the issue seemed to be cleared up only to reappear again in Hardy (see Bug #190366 which is apparently current). At least that's my interpretation, but Gnome/Ubuntu experts, please feel free to set me straight.

    Whatever the case, it does appear to be a confirmed bug (#190366) as can be seen in the link below, but it is given a low importance rating.

    Here are the links to the current bug and supposed behavior:

    https://bugs.launchpad.net/ubuntu/+s...fs/+bug/190366
    https://wiki.ubuntu.com/DesktopVolumesRepresentation


    Here are historical links that appear to be related:

    https://lists.ubuntu.com/archives/ub...ch/016197.html
    https://launchpad.net/ubuntu/+source...lus/+bug/30867
    https://bugs.launchpad.net/ubuntu/+s...fs2/+bug/38764

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •