Questions tagged [uuid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Pop!_OS failed to start (missing modules and nonexistent UUID)

My Pop!_OS failed to load for some reason and I got transferred to initramfs after entering the cryptdata password.  I've tried every solution I could find, but none of them work.  Can anyone help me ...
  • 1
0 votes
0 answers
17 views

Unable to change UUID of exFAT USB drive using tune2fs [duplicate]

I am trying to change the UUID of a USB stick formatted with exFAT. I double checked that /dev/sdb2 is the correct target. The entire USB contains one exFAT partition with no empty space. When I try ...
0 votes
1 answer
30 views

Drives under /media/user/ are denoted by an alphanumeric string - how are they generated?

I noticed that my thumb drives and hard drivers are in the location /media/user and are denoted as a string of alphabets and numbers instead of their names such as 1A2B-3C4D. I never named my drives ...
0 votes
0 answers
99 views

initramfs failing to boot encrypted drive after setting key file

I have an Ubuntu 20.04 system on a luks drive that I would like to automatically decrypt upon booting. I had done this before successfully but when reattempting it, something bonked and booting halts ...
1 vote
1 answer
242 views

Clonezilla generates disk clone with wrong/unupdated UUIDs

[original question in https://stackoverflow.com/questions/73959107/clonezilla-generates-disk-clone-with-wrong-unupdated-uuids] I recently used clonezilla (disk-to-disk) - both stable and alternative ...
0 votes
1 answer
102 views

Pop!_OS - "A start job is for [inexistant UUID]" at boot

I'm currently dual-booting Windows 10 and PopOS. Every time I boot in PopOS, a grey screen appears. If I press ESC, a black console says "A start job is running for /dev/disk/by_uuid/f054b... (...
  • 33
0 votes
0 answers
55 views

grub tries to read the kernel off encrypted root (not boot) partition

I am trying to set up encrypted arch with external boot partition on sd card because I want to be able to leave the boot partition at the house so I can leave things in the encrypted setup without ...
  • 1
-1 votes
1 answer
993 views

Can't add swap in pop Os 22.04

I have recently installed Pop OS 22.04 on my dell laptop. At the installation time I have chosen /dev/sda2 partition for my swap partition. But the installer gone mad and used /dev/sda2 and /dev/sda8, ...
0 votes
0 answers
57 views

Trigger a shell script at the appearance of a UUID

I have an external backup disk with a specific UUID. I have a shell script that launches a sequence of commands that result in a backup being written to that disk. I also have automated backups that ...
4 votes
1 answer
158 views

How to mount devices with different UUID that are not present at the same time at the same mount point?

I have external USB HDDs that are used for backing up data and that rotate over months. Only one of the disks is present at the same time. The disks have different UUIDs (yes, it is possible to clone ...
  • 153
0 votes
2 answers
31 views

Auto-mounting the 2nd internal HD

I'm editing the fstab file to automount my secondary HD and I would like to know how to setup the 'noatime' in the command line. The command I have so far is: UUID=DEVICEID /PATH ntfs-3g rw,...
0 votes
0 answers
614 views

Wrong UUID generated by grub-install in EFI?

I am putting together a new Debian system with a few peculiarities: I am not using the standard installer, but doing it by hand using debootstrap. Reason: my underlying disks (1 SSD and 2 large hard ...
0 votes
2 answers
866 views

Stuck in initramfs after reboot

I got that error already twice while having my laptop, and I previously were able to fix it after them google search and switching to AHCI in BIOS. However, this time it seems to be another problem ...
1 vote
1 answer
181 views

The `file` command correctly identifies my LUKS device but the kernel doesn't see it

I recently created a LUKS2 device with a native --offset of 4MiB. The file command correctly identifies the device and lists its UUID, but it is neither auto-opened at boot nor visible in /dev/disk/by-...
  • 260
1 vote
1 answer
225 views

How do filesystem UUID's work from kernelspace perspective (and what can happen to my Linux machine when it is not unique)?

In the end I guess that is really the question I want to find an answer for: Can I crash a Linux box if the root filesystem does not have a unique UUID? But please read on, this question is about ...
  • 13.5k
0 votes
0 answers
155 views

Are duplicate partition UUIDs a problem on bootable CFs cards, on different devices/systems?

We have a fleet of about 100 devices that run off of linux on a bootable compact flash. Each device used a single compact flash. For a recent update we were given a single CF drive for which we were ...
  • 129
0 votes
2 answers
34 views

Identifying The Disk that the OS Parition Resides On (for a script)?

I'm trying to automatically identify which disk (not partition) the OS resides on for a certain program which will format many attached disks (so it doesn't accidently format the OS disk). I'm ...
0 votes
0 answers
2k views

“you are in emergency mode,, After logging in type ”journalctl -xb“ti view…”

my os (pop os , ubuntu based) gets freezed due to a RAM exceed, I reboot my system and only have CLI, were I got the tittle mentioned message: “you are in emergency mode,, After logging in type ”...
  • 109
1 vote
1 answer
4k views

“ALERT! UUID=xxx does not exist. Dropping to a shell!” Where/how can I change this xxx value ? where is it stored in grub configuration?

I have a few disks on my a server (for RAID) and a few boot partitions to test various distros. At some time I had a recent (10 buster) Debian 32 bit and a recent (10 buster) Debian 64 bits, and for ...
  • 264
1 vote
2 answers
648 views

How to stop a hanging UUID start job that is not listed in /etc/fstab

On boot up the system hangs for 90 seconds for a UUID start job. This has already been answered at ask ubuntu. The solution there involves removing the offending UUID from the /etc/fstab. In my case, ...
  • 115
0 votes
2 answers
2k views

How can I prevent disk UUID mismatch when cloning a machine?

I have built a Debian linux machine. I have captured an 'image' of the entire hard drive in the form of a compressed tar file. I then unpack this onto another machine, setting up grub so that it can ...
1 vote
0 answers
2k views

Gave up waiting for root file system device

Here's what it says when I first turn on my computer: BusyBox v1.30.1 (Debian 1 :1.30.1-4) built-in shell (ash) Enter 'help' for a list of built-in commands. I watched a youtube video expecting it to ...
  • 11
0 votes
1 answer
233 views

Why does `mount /dev/dm-8` mount `/dev/dm-39` instead?

On a debian 10 GNU with Linux kernel system the following line does not - as expected - mount /dev/dm-8 but (imho incorreclty) /dev/dm-37: mount /dev/dm-8 /mnt I am puzzled really now the reason and/...
  • 637
0 votes
1 answer
340 views

blkid doesn't doesn't print the device name on CentOS

I am running a container with CentOS: docker run -it centos bash I first check for its Label or UUID: [root@3271c071fe0a /]# cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-5.3.0-1032-aws root=LABEL=...
  • 353
0 votes
1 answer
1k views

how to mount [bind] an external hard drive folder using UUID to another folder on a pc

in short: on pc: /home/user/Music: ├─music_from_disk_1 └─music_from_disk_2 on 2 HDD's in root: /music, /docs, /photos. need to automatically mount HDD1/music to .../music_from_disk_1 and HDD2/music ...
1 vote
1 answer
2k views

Manjaro linux error: Failed to start Remount Root and Kernel File Systems

I am using Manjaro Linux with 5.7.9-1-MANJARO kernel. The system boots, but with an error Failed to start Remount Root and Kernel File Systems. I took a look at the Manjaro Forums as well as the ...
0 votes
2 answers
2k views

Black arch Boot problem, UUID not found

I’ve installed black arch “from live iso” and it was installed successfully But after reboot it stuck in black screen starting version 245.5-2-arch ERROR: device ‘uuid=xxxxxxxxxx‘ not found skipping ...
  • 387
0 votes
1 answer
944 views

Changing the windows UUID volume with Debian

I'd like to be able to put an ID on a USB key formatted in NTFS under debian and be able to read it with Windows 7 and 10. As the identifier must be unique, I prefer to use UUID rather than label. I ...
  • 31
0 votes
1 answer
702 views

RPI root partition lost PARTUUID and can't boot

So I cloned a RPI sd card so I could run the same system at home and at work. The sd cards were slightly different sizes so after I ran dd I had to run resize2fs and fsck. If I boot the Pi with this I ...
  • 31
1 vote
3 answers
3k views

What triggers disk's UUID to change?

On the same model of industrial PCs, I see UUID of the main SSD changed. Those 2 IPCs are restored from 2 similar but different Linux disk images. Question is as per the title. UUID of the main disk /...
  • 165
-1 votes
2 answers
517 views

ZFS Recovery Mirror-0 UNAVAIL missing device

I'm new to ZFS and I screwed things up big time. I had multiple ZFS pools because I didn't realize you could have separate mirrors under the same pool. I am still rebuilding array, so one of my ...
2 votes
2 answers
334 views

Efficient way to obtain a device mountpoint from its UUID

In a script I'm working on, a variable UUID must be used in obtaining the current mountpoint a device is attached to. The solution I came up with is this one: UUID='fc70ae3d-65e7-4437-a371-...
0 votes
2 answers
177 views

How to process wipefs command output?

My command, wipefs /dev/sdX, gives the below output: offset type ---------------------------------------------------------------- 0x111 ext4 [filesystem] ...
  • 1,376
-1 votes
2 answers
2k views

How do I install grub on a disk drive using a UUID?

On my Arch Linux I am trying to install GRUB as follows: grub-install /dev/sda Instead of /dev/sda to do with UUID. However two points to bring up: I cannot find a UUID for /dev/sda only for /dev/...
1 vote
1 answer
693 views

wrong partition UUID in fstab and partition showing as W95

I have Win10 / Ubuntu 18.04 dual boot, and something messed up my partitions. I did try to resize the Win10 partition in order to enlarge my Ubuntu partition, but that didn't work so I resized back ...
1 vote
2 answers
2k views

How to correctly get the UUID of the entire disk?

As UUID's are assigned in partitioning phase (by software), there is no UUID available for entire disk. However, /dev/disk/by-id/ contains promising information for the same purpose. We can get the "...
  • 2,111
1 vote
1 answer
13k views

Debian Buster - UUID Does not exist. Dropping to shell problem

I have no idea what I did but when I startup I get this message in BusyBox: Give up waiting for root file system device. Common problems: -Boot args (cat /proc/cmdlines) -Check rootdelay= (did the ...
0 votes
1 answer
384 views

Changing the UUID of NTFS VeraCrypt-encrypted volumes under Linux?

(Partially related to this but the case is significantly different) Recently I have cloned a drive and I need to use both in my system without formatting either one of them, so I need to change one ...
2 votes
1 answer
1k views

Mount points in /etc/fstab on Debian system for an encrypted partition

I recently installed Debian 10 on my laptop and for the first time I decided to give file encryption a go. But I've found something interesting in the /etc/fstab file, and it's that it doesn't use ...
  • 43
2 votes
2 answers
117 views

Why does lvm2 use mixed case UUIDs?

I noticed that lvm2 objects use mixed case UUIDs: ~ # lvdisplay ...
  • 1,404
15 votes
5 answers
2k views

Why is drive/partition number still used?

Many times, especially when messing around with boot-loaders, I'll see numerical drive and partition numbers used. For instance, in my /boot/grub/grub.cfg I see set root='hd0,gpt2', my UEFI boot ...
3 votes
1 answer
479 views

"sort -nu" on uuids

anyone could explain why "sort -nu" returns only 1 unique line in example below? $ cat /tmp/test_ 1e971713-31e4-62d0-a3d1-37c0610c10e5 1e97d59f-bc32-6126-b7b1-0b52ddd35273 1e971713-31e4-62d0-a3d1-...
  • 3,201
0 votes
1 answer
2k views

/etc/fstab - using bash command output to get UUID?

I placed an entry in my fstab file to add a swap partition. I used output of a bash command to get the UUID of vdb1 partition(I can't copy paste). Like this: UUID=$(blkid -o value -s UUID /dev/vdb1)...
10 votes
1 answer
2k views

why do some directories have .uuid directory in a directory?

I have seen this quite a few times. In some random directories there is usually a .uuid file or directory therein. The directories are nothing special so as to speak. They are mostly random media ...
  • 11.5k
1 vote
1 answer
4k views

Change PTTYPE and UUID of an fdisk created partition

I've got two systems. On one, I decided to try and increase the virtual disk /dev/sda. So I delete the partition using fdisk and recreate it with a larger end size but identical start location. ( ...
  • 21
3 votes
1 answer
3k views

Short and long uuids under /dev/disk/by-uuid

There are several hard disk partitions on my system (Linux josDeb 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux). It is working with: bejo@josDeb:~$ ls -l /dev/disk/by-uuid ...
  • 165
1 vote
3 answers
681 views

Why use udev rules for naming, if we could just use /dev/disk/by-uuid?

I don't understand the inclination towards using udev rules for raw devices. Example for Oracle ASM devices, it recommends using udev rules for naming raw devices, as the device order can be ...
  • 735
2 votes
2 answers
392 views

How to tell without knowing the mount point that a device UUID is mounted?

System: Linux Mint 19.1 Cinnamon 64-bit, based on Ubuntu 18.04 LTS. I would like to know if it is possible to get the following information: Is this UUID (of a block device) mounted or not? (without ...
4 votes
3 answers
2k views

reliable scripting way of obtaining UUID of boot partition

I want to script a somewhat automated method for editing /etc/default/grub and appending fips=1 boot=UUID=???? to GRUB_CMDLINE_LINUX= coincidentally /etc/fstab contains UUID=12345blabla /boot xfs ...
  • 5,035
1 vote
2 answers
49 views

Partition recovered

Partitions MBR has been destroyed accidentally by a friend, Then most partitions are unviewable which is too bad, can all the partitions be recovered? I have a text file including the original ...
  • 11