Questions tagged [uuid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

What is UUID_SUB?

The output from blkid shows a post called UUID_SUB on my BTRFS-volumes. What does that mean and where can I find more info? /dev/sdc: LABEL="example" UUID="e7c116be-e3ba-4097-857b-...
PetaspeedBeaver's user avatar
2 votes
0 answers
45 views

Linux creating new media every time

I'm new Linux user so be kind. Whenever I boot my Linux on PC I get different uuid from media. See this dir: /media/my_name/2B283D3C465F37B722/folder_name/folder_namev1 And when I open for example ...
Deployo's user avatar
  • 21
1 vote
1 answer
38 views

Trouble Mounting RAID

I have a RAID array that I cannot seem to mount after a power failure. The mount error says it cannot find the UUID even though it is to UUID reported by mdadm. mdadm --examine --scan ARRAY /dev/md/0 ...
Wt Riker's user avatar
  • 111
0 votes
0 answers
156 views

grub still tries to mount cryptodisk by its old UUID after changing it

I have a Linux system with the following disk setup (MBR-formatted, BIOS-booted): sda 32G disk └─sda1 ...
Greendrake's user avatar
0 votes
0 answers
433 views

Gave up waiting for suspend/resume device ubuntu 22.04

My laptop has ubuntu 22 and windows OS installed. Ubuntu was logged in. Mistakenly, I forgot to plug the charger and battery drained. When I tried to restart, I can see grub menu, but then it loads ...
TalESid's user avatar
  • 119
0 votes
1 answer
1k views

How can you give a disk and a new UUID?

I just used sfdisk to clone my partition table to a new disk, sudo sfdisk -d /dev/nvme0n1 > /tmp/part.txt sudo sfdisk /dev/nvme1n1 < /tmp/part.txt However, now both drives have the same uuid. ...
Evan Carroll's user avatar
  • 30.4k
2 votes
2 answers
303 views

Are UUIDs and PTUUIDs important for MBR disks? If so, how do I create them on my own?

I'm studying partitioning under Linux, starting with sfdisk. If I copy a partition table from one drive to another, it'll copy the device UUID and the PTUUIDs for each partition, but if I'm creating a ...
Tango's user avatar
  • 353
1 vote
1 answer
444 views

Systemd is eternally stuck on a start-job when I go to boot from my cloned-to NVME. How do I get my system to boot?

I cloned my hard drive using Clonezilla Live to an NVME SSD. My system is EndeavourOS, Systemd, KDE. When booting, Systemd makes it to the Basic Machine job and then it starts the A start job is ...
Asteroid's user avatar
0 votes
2 answers
83 views

how is grub(2) able to hardcode root=

I just had a whole series of problems with boot on my Debian system (SID) suddenly it reported: /grub/i386-pc/normal.mod not found. Eventually I got it back (fsck moved lots of stuff from /boot into ...
GraemeV's user avatar
  • 148
0 votes
0 answers
24 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 ...
onym34933's user avatar
0 votes
1 answer
57 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 ...
ssly75577's user avatar
1 vote
1 answer
833 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 ...
HX_unbanned's user avatar
0 votes
1 answer
462 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... (...
Liuk23's user avatar
  • 23
-1 votes
1 answer
2k 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, ...
Pravesh Kumar Sharma's user avatar
4 votes
1 answer
326 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 ...
Joe's user avatar
  • 143
0 votes
2 answers
54 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,...
Rival Consoles's user avatar
0 votes
0 answers
1k 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 ...
user2751530's user avatar
0 votes
2 answers
4k 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 ...
Yanis Wilbrand's user avatar
1 vote
1 answer
286 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-...
ATLief's user avatar
  • 299
1 vote
1 answer
415 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 ...
jippie's user avatar
  • 14k
0 votes
0 answers
262 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 ...
Frank's user avatar
  • 129
0 votes
2 answers
50 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 ...
Sarah Szabo's user avatar
0 votes
0 answers
3k 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 ”...
Valentin's user avatar
  • 109
1 vote
1 answer
7k 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 ...
Camion's user avatar
  • 274
1 vote
2 answers
2k 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, ...
James's user avatar
  • 115
0 votes
2 answers
4k 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 ...
Roger Mungo's user avatar
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 ...
johnson's user avatar
  • 11
0 votes
1 answer
382 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/...
fraleone's user avatar
  • 787
0 votes
1 answer
616 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=...
E235's user avatar
  • 383
0 votes
1 answer
2k 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 ...
NikolayFR's user avatar
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 ...
kesarling He-Him's user avatar
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 ...
Dr.Eissa's user avatar
  • 417
1 vote
1 answer
1k 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 ...
Rig0L's user avatar
  • 41
0 votes
1 answer
1k 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 ...
ZenRen's user avatar
  • 31
1 vote
3 answers
5k 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 /...
IsaacS's user avatar
  • 175
-1 votes
2 answers
715 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 ...
FreeSoftwareServers's user avatar
2 votes
2 answers
811 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-...
Livewire's user avatar
0 votes
2 answers
209 views

How to process wipefs command output?

My command, wipefs /dev/sdX, gives the below output: offset type ---------------------------------------------------------------- 0x111 ext4 [filesystem] ...
overexchange's user avatar
  • 1,526
-1 votes
2 answers
3k 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/...
Isaac Michaan's user avatar
1 vote
1 answer
750 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 ...
Itamar Katz's user avatar
2 votes
2 answers
4k 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 "...
ceremcem's user avatar
  • 2,341
1 vote
1 answer
16k 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 ...
Max Baldwin's user avatar
0 votes
1 answer
505 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 ...
Origami's user avatar
2 votes
1 answer
2k 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 ...
3435's user avatar
  • 43
2 votes
2 answers
131 views

Why does lvm2 use mixed case UUIDs?

I noticed that lvm2 objects use mixed case UUIDs: ~ # lvdisplay ...
WoJ's user avatar
  • 1,515
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 ...
quixotrykd's user avatar
3 votes
1 answer
557 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-...
Chris's user avatar
  • 4,001
1 vote
2 answers
3k 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)...
TheEyesHaveIt's user avatar
13 votes
1 answer
4k 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 ...
shirish's user avatar
  • 12.3k
1 vote
1 answer
5k 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. ( ...
Tom K's user avatar
  • 21