Questions tagged [uuid]

A universally unique identifier (UUID)

Filter by
Sorted by
Tagged with
43 votes
3 answers
31k views

Swap: From partition to file, now get "no matching swap device is available"

Running Ubuntu 18.04, I changed from a swap partition to a swap file. swapon -s (summary) and free show the swapfile with the new size. /etc/fstab was changed, permission on the swapfile changed and ...
rkeaing's user avatar
  • 1,584
25 votes
3 answers
50k views

How do you mount a LVM patition that has the same VG name as my current partition

Ive been tearing my hair out for about a week now trying to figure out how to do this. I have two HDD's in my server, both 250gig. They both have ubuntu installed, one is currently booted. I want to ...
Cameron Aziz's user avatar
23 votes
1 answer
15k views

What scenarios causes a hard drive UUID to change?

What scenarios causes a hard drive UUID to change? Are there any manufacturer assigned unique ids for hard drives that is less likely to change?
Hendré's user avatar
  • 749
22 votes
3 answers
30k views

How do you get a UUID from a a device on the grub2 prompt?

I'm trying to perform some grub2 troubleshooting related to this question, and as part of the troubleshooting I'm trying to figure out what grub can see during the boot. How can I get the UUID of, say ...
JoBu1324's user avatar
  • 639
15 votes
2 answers
19k views

Is it better to use UUID or PARTUUID to automount HDD with fstab?

I'm trying to setup my external harddrive to mount automatically on startup, following Akshit's terminal guide. I initially used the PARTUUID in `/etc/fastab' instead of the UUID: UUID=191486e0-6049-...
Sebr's user avatar
  • 187
12 votes
2 answers
5k views

Why are NTFS partition UUIDs shorter than normal?

If you use the sudo blkid command to view partitions with their uuids or just view the /etc/fstab (considering you have got some NTFS partitions) you will probably notice that UUIDs of the NTFS ...
Ivan's user avatar
  • 57k
12 votes
1 answer
14k views

What is PARTUUID?

In Ubuntu 14.04 there is only one UUID for each partition. For example my sudo blkid shows /dev/sda1: UUID="b2be9c80-8413-4fdb-a562-6ca072385c02" TYPE="ext4" /dev/sda2: UUID="ccd2f497-5d8f-48c7-...
Pilot6's user avatar
  • 90.1k
11 votes
7 answers
9k views

Get UUID of / filesystem from script

How can I get UUID of a volume that contains the / filesystem? The best thing for that I've found to date is blkid -o list. But this output is human readable and hard to parse. Maybe there is a ...
Dmitriusan's user avatar
11 votes
5 answers
40k views

How to change UUID in the /boot/grub/grub.cfg

I am asking how to change uuid in /boot/grub/grub.cfg, so that grub can load OS on a specified partition. I have two disks: SSD /dev/sda1 with uuid d7f0cf11-3edf-4859-b65a-3b5bc60ea7b9 HDD /dev/...
shijie xu's user avatar
  • 291
9 votes
3 answers
5k views

Unable to mount external NTFS HDDs due to duplicate UUID

I'm trying to setup /etc/fstab to automatically mount two external NTFS hard drives on boot, and decided to use the UUIDs as reference instead of the device names. Strangely, blkid reports that both ...
Phani K's user avatar
  • 475
8 votes
3 answers
99k views

MDADM Superblock Recovery

After a power cycle I found my RAID 5 Array no longer working. I tried various methods to reassemble the array but nothing has worked so far. I believe I need to recreate the superblocks and UUIDs ...
Teque5's user avatar
  • 299
8 votes
3 answers
28k views

A start job is running for dev-disk-by x2duuid-ad0b043b\x2d404c... .device (7s / 1min 30s)

I have this error... Slow boot, I've read other questions about that,but I don't know how to Edit fstab Note that I'm dual booting 2 Linux OS I tried this commend to Open up the fstab: gksudo gedit ...
Sss's user avatar
  • 1,022
7 votes
3 answers
55k views

Dell XPS 13 9360 Dualboot Windows 10 and Ubuntu 16.04

EDIT: don't do what I did in this question, check out the answer section below! Screen shows up with this after running Ubuntu from grub64efi: gave up waiting for root device. Common problems: ...
J-ho's user avatar
  • 401
7 votes
1 answer
12k views

What is UUID in virtual box?

When I create a Virtual Machine in command line using the following command: VBoxManage createvm -name <VM's Name> -register It returns: Virtual machine <VM's Name> is created and ...
Confuse's user avatar
  • 131
7 votes
1 answer
4k views

Constant UUID on USB install

I've got an Ubuntu install on a USB with a separate NTFS partition, can I expect the same UUID for the partition if I removed and reattached the USB to a computer?
Oxwivi's user avatar
  • 17.8k
6 votes
2 answers
3k views

Is there a manufacturer unique identifier on a hard drive and how do I read that identifier?

I understand the concept of a file system UUID. Is there a manufacturer unique identifier on a hard drive, apart from the file system UUID, and how do I read that identifier?
Hendré's user avatar
  • 749
6 votes
1 answer
13k views

What's the difference between USB, UUID, Disk identifier and Vendor ID?

I need a persistent, unique identifier of a USB drive that never changes, to make a mount point folder. Can you explain the difference between Disk Identifier, Vendor ID and UUID? Can you also advise ...
Sally's user avatar
  • 63
6 votes
1 answer
11k views

mdadm warning (system unbootable) from update-initramfs, mkconf's suggested fix seems inconsistent with mdadm's description of problem

Summary: update-initramfs says system unbootable, message points to mkconf which suggests rewrite to mdadm.conf that would appear to break the RAID, system up (for now) but next reboot may kill it, ...
user275513's user avatar
5 votes
3 answers
38k views

Where do I find the UUID of a network connection on Ubuntu Server? (no Network-Manager)

I have a clean installation of Ubuntu 12.04 Server. I would like to find the UUID for a network connection. How do I find this? ifconfig -a does not list it: eth0 Link encap:Ethernet HWaddr ...
tudor -Reinstate Monica-'s user avatar
4 votes
2 answers
10k views

Is it a problem to temporarily have the same UUID for two partitions?

While following the instructions in Move your Linux installation to a new Solid State Drive - even a smaller one, I got stuck right after point "9." where I have copied the UUID of sdb6 (filesystem of ...
ubuntubu's user avatar
  • 433
4 votes
3 answers
2k views

What is the real benefit of using UUIDs?

I have always seen people discuss using UUIDs in hard drives instead of /dev/sdN. What is the real benefit of using a UUID? Is it faster, more reliable, easier to remember (ha lol no), what? And, ...
Kaz Wolfe's user avatar
  • 34.1k
4 votes
2 answers
7k views

How to copy /sda3 to /sda1? UUID's can't be similar

/dev/sda is a 400 gig drive. It's partitions WERE: /sda1 - Windows boot partition (100 meg); /sda2 Windows "C:\" (68 gig); /sda3 is Linux boot partition; /sda5 is /home partition; /sda6 is linux-swap. ...
Mark Preston's user avatar
4 votes
2 answers
2k views

How to change mounted HDD UUID to human-readable?

I have Ubuntu 18.04.2 LTS installed on SSD, and I mounted HDD also for data. But when I did this, the UUID it has consists of random set of numbers and letter like this /mnt/9d79a504-bf86-4a1f-99e4-...
Ivan Sidaruk's user avatar
4 votes
2 answers
9k views

Can I force grub2-update NOT to use uuid?

I am experiencing install hell trying to add an installation of Ubuntu 12.10 and Scientific Linux 6.3 to an old machine (BIOS not EFI) with Debian Squeeze and Linux Mint 10. The installs seem to go OK ...
haziz's user avatar
  • 2,929
4 votes
3 answers
8k views

grub workaround for cannot find UUID in dual boot system fails and now grub won't boot anything

New clean install of x86 11.10 desktop. Dual boot with windows XP and Linux on separate drives. After install grub will not boot Windows, but by changing boot drive boots fine. When I go to fix ...
keepitsimpleengineer's user avatar
3 votes
1 answer
4k views

Unmount by UUID?

I'm building a script and am able to mount by uuid using mount -U UUID, but I can't seem o unmount by uuid. Is this type of operation possible? How would I do it? umount doesn't seem to have this ...
Sarah Szabo's user avatar
  • 1,493
3 votes
3 answers
7k views

Why can't Mint boot my cloned Ubuntu partition? (UUID issue)

I've been running Ubuntu 10.04 and just installed Linux Mint 13. I may go with Linux Mint full-time, but for now I wanted to install it to the first partition, but keep Ubuntu bootable. Device ...
Lee Hachadoorian's user avatar
3 votes
1 answer
1k views

Is a hdd's uuid constant? [duplicate]

I know you can change the uuid if you choose, but if left alone does it remain the same. Specifically I'm upgrading my motherboard but am unsure if I'll need to alter my fstab with new uuids or if ...
SPooKYiNeSS's user avatar
3 votes
1 answer
11k views

LUKS initramfs boot problem: "/dev/mapper/ubuntu-root does not exist." How can I fix it using a backup?

First time asker, relatively new to Ubuntu/Linux. Haven't had much luck with the search function. Please forgive the essay below - the problem is a bit unique, I think... I'm running 12.04 on a ...
user avatar
3 votes
1 answer
2k views

How are the values of $UID generated?

On executing 'echo $UID' in terminal, the output is: 0 for root user 1000 for admin(in my case) 119 for guest user. How are these values generated?
Vahni's user avatar
  • 201
3 votes
1 answer
3k views

Why /dev/disk/by-id/ change after a suddenly server power-off?

I'm management a server that in /etc/fstab have references to some partitions using /dev/disk/by-id/DISK_ID-partN. The server suddenly power-off and DISK_ID part of /dev/disk/by-id/DISK_ID-partN ...
user avatar
3 votes
0 answers
414 views

Why is setting the UUID on a checksummed filesystem so slow, and should I be worried?

I cloned a drive, and now I am trying to change the UUID of the cloned drive. There are various answers on AskUbuntu as to how to do this. I was prompted to run a fresh e2fsck first, which I did. ...
Michael's user avatar
  • 1,135
2 votes
2 answers
2k views

How to mount UUID under linux name /dev/sdx/

On my workstation after boot, sometimes the name for my same harddisk in linux changes from /dev/sdg/ to /dev/sdi/ How can I make this fixed, that the UUID is mounted exactly with the name /dev/sda ...
Gabriel's user avatar
  • 185
2 votes
3 answers
12k views

Freezing on startup (systemd problem?)

I have a laptop Dell Precision 3510 and my Kubuntu 17.04 very often gets frozen on startup. What I have seen from the output of the command journalctl -xb is, it gets frozen due to timing out on ...
Petr Nehez's user avatar
2 votes
1 answer
2k views

Does a CD-ROM drive also have a UUID like a hard drive?

Does a CD-ROM drive also have a UUID like a hard drive? How do I determine what the UUID is?
Hendré's user avatar
  • 749
2 votes
1 answer
2k views

How to change UUID of NTFS partition?

How to change UUID for NTFS partition?
Anton Samokat's user avatar
2 votes
2 answers
327 views

How can I redetect swap partition after formating to enable hibernation

I had this setup working on my laptop: /dev/sda1 (ext4) / /dev/sda2 (ext4) /home /dev/sda3 swap partition /dev/sda4 (ntfs) /media/windows After getting sick of windows, I removed the last partition. ...
animaletdesequia's user avatar
2 votes
2 answers
5k views

Converting physical Ubuntu 11.10 to VMware

We recently go an VMware ESX Server. No I tried, using the Converter from VMware, to convert smaller physical servers to virtual servers. Unfortunately, thats not easy. First, I got the problem that ...
Thomas Deutsch's user avatar
2 votes
0 answers
120 views

Custom kernel giving an error ALERT! UUID=<my-/dev/sda5-uuid> does not exist. Dropping to shell

I have compiled and installed a custom kernel version in Ubuntu 22.04 by following the instructions in https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel Now when I select my new customized kernel (5....
sammy17's user avatar
  • 29
2 votes
0 answers
1k views

Problems with libblkid

This message showed a lot of times: udevadm: /usr/local/lib/libuuid.so.1: no version information available (required by /lib/x86_64-linux-gnu/libblkid.so.1) or this: blkid: /usr/local/lib/libuuid....
artsin's user avatar
  • 121
2 votes
0 answers
1k views

update-grub error : resume=UUID=xxx not found

I'm currently trying to get hibernation working and I therefore change the GRUB_CMDLINE_LINUX_DEFAULT to "resume=UUID=xxx" where xxx is my swap partition UUID. But it shows me the error error : ...
Tamernak's user avatar
2 votes
0 answers
745 views

What needs to be taken care of after changing the UUID of the EFI system partition?

I need to change the UUID of my EFI partition (background: see below). After changing the UUID -- what do I need to take care of (in order not to mess up the system)? Background: After installing an ...
stack_horst's user avatar
1 vote
4 answers
14k views

How to identify game controller for SDL2 in Ubuntu?

I'm trying to make Costume Quest (game by Double Fine) use either of my gamepads and according to developer's support all I need to do is add SDL2 config line to SDLGamepad.config file, however, I can'...
cprn's user avatar
  • 1,169
1 vote
2 answers
2k views

Does rsync requires changing UUID after copying a partition?

I read somewhere that after using rsync to copy a partition from one device to other one, it is important to edit the UUID, since devices cannot coexist with the same UUID. Is it true? How do I do it?...
BlueSkies's user avatar
  • 2,145
1 vote
4 answers
16k views

How to rename /dev/sdax(partitions) in Linux

I made a partition like /part on my machine with some important data... But I can't stand the name of it... I want a clear solution to resolve it and change the name of it to for example /test... ...
MLSC's user avatar
  • 310
1 vote
2 answers
8k views

On Boot: "The disk drive for UUID=... is not ready yet or not present"

I long ago deleted and disabled my swap partition but I still get the error The disk drive for UUID=d4b17eae-c547-4d02-8d1d-0279069d35f0 is not ready yet or not present when booting and it is ...
Nick Bailuc's user avatar
  • 3,325
1 vote
2 answers
3k views

/dev/disk-by-uuid/* permissions = lrwxrwxrwx... Is this a security risk?

ls -l /dev/disk/by-uuid Output: lrwxrwxrwx 1 root root 10 sep 15 11:34 49e9738d-627e-... -> ../../sdb5 lrwxrwxrwx 1 root root 10 sep 15 11:34 7ad390da-d1a2-... -> ../../sda6 lrwxrwxrwx 1 root ...
Sss's user avatar
  • 1,022
1 vote
1 answer
1k views

update-grub assigns old UUID

I moved my Ubuntu partition following these steps and mostly everything went OK. I had to use some tools to fix some stuff but anyway, Ubuntu and Windows 10 boots fine. The problem is that whenever I ...
Deses's user avatar
  • 162
1 vote
1 answer
3k views

How to link against libuuid when cross compiling on Ubuntu for target Pico Zed Arm

My compile line is: $GCC -O0 -o ONVIFTargetServiceDiscovery ONVIFTargetServiceDiscovery.o Utilities.o Logger.o Socket.o -luuid -lpthread Where: GCC="arm-linux-gnueabi-g++" When executed, this ...
enlightenme1044's user avatar
1 vote
1 answer
9k views

install and load uuid-ossp on PostgreSQL

How can I install uuid-ossp extension on PostgreSQL 9.3? Is it using apt-get install? I did select * from pg_available_extensions; but I found no extensions that relates to uuid-ossp.
Defensor's user avatar
  • 360