Questions tagged [uuid]

A universally unique identifier (UUID)

124 questions
44
votes
3 answers

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 the swap partition was deleted. When there are…
rkeaing
  • 1,634
26
votes
3 answers

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 mount the second (old) drive to /mnt/external If I…
23
votes
3 answers

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 (hd0,msdos1) while I'm at the grub2 prompt?
JoBu1324
  • 649
23
votes
1 answer

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é
  • 779
19
votes
2 answers

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-46aa-973c-425d317b629a /mnt/nas exfat…
Sebr
  • 327
13
votes
1 answer

In /etc/fstab, what's the difference between "/dev/disk/by-uuid/" and "UUID="?

I've added 3 partitions I want to mount on boot, but the advice I found elsewhere on the new fstab syntax only agrees with one of the TWO styles present already in my fstab, which makes me very confused. The advice I found elsewhere was, Entry in…
DanW58
  • 527
12
votes
2 answers

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-9102-c339c2689ff8" TYPE="swap" /dev/sdb4:…
Pilot6
  • 92,041
12
votes
2 answers

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 partitions are 16 characters long with no dashes while…
Ivan
  • 58,745
11
votes
7 answers

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 better way? I need that to parameterize configuration…
11
votes
5 answers

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/sdb1 with uuid…
shijie xu
  • 291
  • 2
  • 5
  • 10
9
votes
3 answers

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 hard disks have the exact same UUID, so I am…
Phani K
  • 475
  • 1
  • 6
  • 12
8
votes
3 answers

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 /etc/fstab It comes up like this: #
Sss
  • 1,032
8
votes
3 answers

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 somehow, but was reluctant to barrel into something…
Teque5
  • 299
7
votes
3 answers

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: boot args (cat /proc/cmdline) Check…
J-ho
  • 401
7
votes
1 answer

What is UUID in virtual box?

When I create a Virtual Machine in command line using the following command: VBoxManage createvm -name -register It returns: Virtual machine is created and registered. UUID: zas8d62g-****-****-****-************ Settings…
Confuse
  • 131
1
2 3
8 9