Questions tagged [uuid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
1k views

External disk partitions with identical UUIDs

I have two external USB drives of the same make and model, and one of them is driving me slightly nuts by never being assigned a UUID (or, at least, it doesn't show up in /dev/disk/by-uuid). What ...
-1
votes
0answers
25 views

Unable to mount External HDD missing NTFS and UUID

I need some help! The facts: I was trying to mount a microSD card while my external HDD (Samsung M3 Portable) was plugged and sth went wrong after these mistakes at command line: sudo wipefs --all -...
0
votes
1answer
954 views

How to change UUID after cloning a Mac HDD with `dd`?

After 1 day of googling and try&error I give up and ask for help. Long story short: I cloned internal HDD of my iMac (Mid 2011) to external SDD with dd command. Now I have two identical discs ...
3
votes
3answers
2k views

change FAT16 partition UUID

I have created a FAT16 formatted partition on my USB stick using mkdosfs /dev/sdb1 when I plug in my stick, it appears in /dev/ as: /dev/disk/by-uuid/ABCD-1234 How can I change the UUID of the ...
3
votes
2answers
251 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-...
0
votes
1answer
33 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)...
0
votes
0answers
37 views

Dropped into Arch emergency shell, incorrect FSTAB causes mounting issues, keyboard does not work, installing Arch onto a USB key using QEMU

This is my first time trying to install Arch so my apologies if I don't understand your answer. Here is my problem. I am using the QEMU emulator (x86_64) to install Archlinux on a 128GB Samsung USB ...
0
votes
1answer
48 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 ...
40
votes
2answers
86k views

How to run custom scripts upon USB device plug-in?

What is the state-of-the-art method for automatically executing custom scripts upon USB device plug-in under current Linux distributions like Debian/CentOS/Fedora? For example if you want to ...
1
vote
1answer
225 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. ( ...
3
votes
1answer
3k views

Mint 17.1 - installation reverts to Grub - UUI

I'm attempting to install Mint 17.1 and have succesfully used Universal USB Installer to create a bootable USB stick. When booting up Mint the pleasing loading screen fails to make an appearance and ...
0
votes
1answer
4k views

How to convert grub config to use kernel device names instead of UUID

I've got a bunch of identical systems on which I want to clone the same openSUSE 12.3 installation. I've set up clonezilla on PXE server. After appling the disk-image of on another machine, it fails ...
2
votes
1answer
165 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 ...
1
vote
3answers
41 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 ...
2
votes
2answers
163 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 ...
3
votes
3answers
103 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 ...
0
votes
1answer
226 views

Add PARTUUID to DOS MBR

I have an MBR style formatted SD card where I need a PARTUUID in order to mount a partition there as the rootfs (via linux kernel parameter root=PARTUUID=...). Using an fs UUID does not work. ...
4
votes
2answers
6k views

Is machine-id a uuid?

I searched my question and none of them answered me: Is machine-id as unique as mainboard UUID (fetched by "get csproduct UUID" command on windows)? And is enough reliable to bind a license on machine-...
3
votes
1answer
3k views

fstab entry for swap space

Here is the free -m output [prem@myserver: /home/prem]$ free -m total used free shared buff/cache available Mem: 991 218 85 267 ...
1
vote
2answers
40 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 ...
6
votes
2answers
2k views

Create unique random numbers (UUIDs) in bash

I want to create random unique numbers (UUIDs) as the following node.id=ffffffff-ffff-ffff-ffff-ffffffffffff First I tried this $ rndnum=` echo $RANDOM"-"echo $RANDOM"-"echo $RANDOM"-"echo $RANDOM"-...
1
vote
2answers
1k views

What command always generates the same UUID through /proc/sys/kernel

Running the following command generates different random output on each execution (which is expected, considering that random is in the path): cat /proc/sys/kernel/random/uuid Is there any way to ...
1
vote
1answer
79 views

System goes into initramfs mode

I am trying to boot my system but it goes to initramfs and nothing happens. On using exit command it shows: ALERT! UUID=3668c6fc-7986-490b-8642-705c4532d16a does not exist. Dropping to a shell! On ...
24
votes
8answers
31k views

How to change filesystem UUID (2 same UUID)?

I have a fedora guest OS in VMware. I want to expand /boot partition, so I add another virtual disk to this VM, and try to clone the disk. After dd if=/dev/sda1 of=/dev/sdb1, blkid report that /dev/...
0
votes
0answers
123 views

How to make exfat appear as a disk on Computer (RedHat 6)

I have a redhat 6 on 1TB HDD and another 1TB HDD with exfat format, anyway on Computer I can find the drive where redhat installed but not the exfat drive. I do add a line to /etc/fstab for auto ...
27
votes
3answers
34k views

Why can't I specify my root fs with a UUID?

My system boots OK with this in my GRUB 2 config: linux /bzImage root=/dev/sda2 init=/usr/lib/systemd/systemd ro But if I replace /dev/sda2 with the corresponding UUID: linux /bzImage root=UUID=...
1
vote
3answers
306 views

Drive won't boot from its Grub, but will from another drive's Grub, after cloning, why?

It was a month ago, so if you ask me on details, I might still remember, but better act on information that can be given as of now. Due to the lack of time, I did not ask for help here. I have cloned ...
0
votes
1answer
129 views

What are the use cases for a hard disk's WWN?

I noticed today while setting up a new system that the disk as represented by /dev/disk/by-id also had a WWN link that I was not familiar with: My research suggests that this is a "World Wide Number" ...
1
vote
3answers
2k views

Why does systemd wait for a disk not present in `fstab`?

My system takes exactly 95 seconds to boot: 5 seconds actual boot and 90 seconds waiting for a nonexistent drive: (...boot.log...) A start job is running for dev-disk-by\x2duuid-6bbb4ed8\x2d53ea\...
0
votes
1answer
75 views

what is the advantage to configure the network ETH with UUID?

what is the advantage to configure the network with UUID? uuidgen eno093736 1b64d026-c6a6-447c-85aa-40c5d2db2c4e for example we want to configure BOND under /etc/sysconfig/network-script what is ...
3
votes
1answer
1k views

How do I create a zpool using uuid or truly unique identifier?

I created my first zpool the other day, assigning by drive letter, and found that when I rebooted it was degraded. Upon closer inspection, I realized that my drive letters had changed with reboot, so ...
5
votes
1answer
886 views

Changing HFSPlus UUID from PartedMagic

I needed to make a clone of my hard drive recently (bad blocks FTW). I was using Clonezilla at the time. However, Clonezilla refused to copy the HFS+ partition, so I did it manually. The problem is ...
1
vote
1answer
43 views

UUID of fs - where are they stored?

Recently I tried to install Ubuntu Studio 18 and upon restart was given GRUB prompt, not Linux graphic login. Surprised, I started to investigate and found that grub.cfg file in ESP partition contains ...
3
votes
2answers
692 views

Linux on external USB drive won't boot on other computers

I have GNU/Linux (currently Fedora 26, but previously Linux Mint 18.2 Sonya) installed on an external hard drive alongside an NTFS partition I use for storage – and it boots perfectly on the computer ...
4
votes
3answers
812 views

Store a custom serial number on a USB flash drive, immune to overwriting

I'm working with massive amounts of USB flash memory. I'd like to be able to track events regarding the USB drives. Specifically: I perform f3 tests, format the drives and write data to them. I'm ...
1
vote
0answers
343 views

Can't run 'update-grub'

I've got some trouble with my Ubuntu-System: update-grub Generating grub configuration file ... grub-probe: error: disk `mduuid/c7ac5a8fef833db7b45d6c2ebb2e20e6,1' not found. But I'm still able to ...
1
vote
2answers
1k views

how to perform xfs_repair on disk that is actually UUID

we have redhat machines version 6.x we want to fix the file-system on one of our disks UUID=198s5364-a29c-429e-b16d-e772acd /data_SA xfs rw,noatime,inode64,allocsize=16m 1 2 but ...
-1
votes
1answer
210 views

When trying to mount my UUID can't be found, how can I find

Hello I'm new to all this so please bare with me. I'm in the works of building a lighting node, and run the command [sudo mount -a] I get this error saying my UUID I can't be found. Can someone ...
0
votes
1answer
278 views

UUID's when changing hardware

My question is this... In /etc/sysconfig/network-scripts/ifcfg-eno1 there is a UUID to identify the on-board network interface. I also notice now that some partitions in fstab are also identified by ...
1
vote
2answers
2k views

Is UUID really unique? why can we assign multiple UUIDs to single slice of disk

All the web content and its acronym explains it as Uniquely identifier. But when i try to create another device, lets say swap in my case and assign the UUID, i am able to assign many UUIDs to single ...
13
votes
2answers
6k views

Modifying a BTRFS filesystem UUID

I've made backups of my BTRFS filesystem using Clonezilla, and have restored one of those backups to a file named 2013-11-29.sda3.img. I need to get some files out of this backup, but there's a hitch....
9
votes
4answers
42k views

UUID Of A drive that won't show up in /dev/disk/by-uuid or blkid

I have a USB drive that is not receiving a UUID. When I look at the contents of the /dev/disk/by-uuid it doesn't exist there. The dev point that the partition lives in is on /dev/sdb. I am able to ...
2
votes
1answer
1k views

Why use UUIDs in /etc/fstab instead of device names? [duplicate]

What is the reasoning behind using UUIDs in /etc/fstab instead of device names (like /dev/sbd2)? Device names &/or partition numbers seem substantially cleaner from an administrative viewpoint.
1
vote
1answer
415 views

debian stretch UUID package

I am running Debian 9.3 (Stretch). I am trying to install some tools from Vmware and it asks for a package UUID 0.03 or newer. How can I upgrade UUID to newer version? It does not proceed any further ...
0
votes
1answer
729 views

Slackware64 14.2 - GRUB2 - How set default <UUID> instead <DEVICE>?

i am trying the grub configuration file "/boot/grub/grub.cfg" in the kernel line, set "root=UUID=" instead "root=/dev/" for example when i ran : grub-mkconfig -o /boot/grub/grub.cfg the file /boot/...
2
votes
0answers
1k views

How to properly mount other partitions (NTFS) on my Fedora FSH?

I recently switched to Fedora 27 Beta (UEFI install, dual-boot with Win 10), and I changed my /etc/fstab to include the two following lines: UUID=D0E24ECDE24EB78C /media/DownloadsBin ntfs-3g auto,...
0
votes
0answers
41 views

Migrating Linux to new system

I read a couple posts about migrating Linux from one PC to another PC and my understanding is that Linux will just move and work without issue. Based on my changes this should be true. I am waiting ...
11
votes
1answer
17k views

How to find the swap uuid

I am in the process of setting up a raid. sda was used during the installation and I just copied the partition table of sda to sdb like so: $ sudo sfdisk -dL /dev/sda > partition_table_sda $ sudo ...
0
votes
1answer
401 views

is it possible to capture the UUID number before creating file system on disk

is it possible to capture the UUID number before creating file system on disk? if yes how - by which command ? blkid ( before run mkfs.ext4 on sdb disk ) <no output> blkid ( after run mkfs....
2
votes
2answers
761 views

UUID in fstab + in which cases we must not configured UUID in fstab

discussion - we have redhat linux machines and my question is about the UUID configuration in /etc/fstab file , and in which cases UUID risk the OS as I understand we MUST NOT use UUID in /etc/...