The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
50 views

Understanding UUID assignment

A UUID (universal unique identifier) is a 128 bit code which is used to identify block (storage) devices. Firstly, is this all UUIDs are used for? How does a device obtain its UUID? Does it ever ...
0
votes
0answers
96 views

dracut-initqueue: Could not boot, /dev/disk/by-uuid does not exist

I've just installed second linux kernel on my machine and after the boot, I'm getting following error: dracut-initqueue: Could not boot [Warning] /dev/disk/by-uuid/943eb4bb-be3f-4252-83e9-...
1
vote
1answer
41 views

SOLVED Missing partition / drive Centos 7

I was trying to change permissions on one of my NTFS partitions and I think I have messed something up. I entered the below command on Centos 7 and now the partition is missing from the File Manager. ...
3
votes
2answers
60 views

How do I get the UUID of a partition and define a Bash variable as being equal to it?

I would like to define a Bash variable PART_ID as being equal to the UUID of the /dev/sdb1 partition. The closest I have gotten to the desired answer is the output of: ls -ld /dev/disk/by-uuid/* | ...
1
vote
2answers
109 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 ...
2
votes
2answers
161 views

Change encrypted partition UUID

I'm trying to change a partition's UUID, the problem is that I'm trying to change an encrypted volume. So I can't use the usual method described here. Since it throws the following error: tune2fs: ...
2
votes
0answers
115 views

Copy remote btrfs incremental snapshot to new drive w/ UUID

Situation: Two machines (A & B, with local drives dA & dB) connected via slow network. Drive dA has initial backup to dB, while locally attached on machine A. btrfs send RO-snapshot-1-dA | ...
2
votes
2answers
160 views

Btrfs subvolume UUID clash

Two file systems with the same UUID on the same computer are problematic, eg. it could lead to data corruption, especially if both are mounted at the same time (like the BTRFS wiki says too). So, ...
0
votes
0answers
119 views

how can I see the uuid of a disk in my system WHEN IS NOT LISTED IN /dev/disk/by-uuid

I have a problem in my system, that I don't understand: there are no disks UUIDs, only partitions UUIDs: ls -al /dev/disk/by-uuid/ total 0 drwxrwxrwx 2 root root 140 Nov 21 20:36 ./ drwxrwxrwx 5 root ...
1
vote
1answer
221 views

generate consistent machine unique ID in c programming

Is it possible to generate a unique ID that wouldn't change over time unless there is hardware changes. The hardware must be generated with a c program. That also would be great if it were robust to ...
1
vote
2answers
134 views

Bash script not running as expected

I'm trying to get the script below to take the connection uuid passed to it (by networkmanager), compare it against a list of uuids for my home connections (both physical and VPN) and run certain ...
1
vote
2answers
162 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 ...
0
votes
1answer
37 views

How to automate (copy) LDAP/Kereberos install

I have several machines running Debian that I'm configuring to work with Kerberos and LDAP. I thought I would automate using rsync. At first I tried a basic rsync clone excluding directories and ...
0
votes
1answer
872 views

Get the same UUID on different Linux distributions

# dmidecode --string system-uuid i'm using the code above get the uuid on each host in my environment. As far as I understand the uuid should not change between different Linux distributions on the ...
0
votes
1answer
124 views

Volume Group fails to recover

For the last 10 days I've been living a nightmare trying to recover my data. I'm trying to recover VG and mount it to access the data here's what I get [root@]# pvscan Found duplicate PV ...
2
votes
4answers
433 views

how UUID of a partition is generated

Can anybody explain me how UUID (Universally unique identifier) of a partition is generated in Linux based distributions ?
2
votes
1answer
2k 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 ...
2
votes
1answer
55 views

Backup partition changed UUID without user interaction

I recently had to purchase a new hard drive. Since I was at it I bought two instead of one as they were on offer (both are the same model). Since there was a lot of space left on the second hard disk ...
0
votes
1answer
232 views

how to build uuid ossp for postgres on ubuntu 14 installing openbravo

I am facing a problem while executing the ant install.source command. SQL is working fine it's just a single error that I am facing: **> SQL Command failed with: ERROR: could not access file > "...
1
vote
1answer
43 views

How do I move a vmware guest machine to another user?

I have 2 users in my computer running Arch Linux. I recently moved a virtual installation of windows 7 from one user to another. I changed the owner of the moved folder to the new user recursively. I ...
8
votes
1answer
2k views

reference whole disk (/dev/sda) using UUID

On my system (Debian), I can see the UUID identifier for all of my disks partitions (i.e. /dev/sda1, dev/sda2, ..) ls /dev/disk/by-uuid/ However, I don't see the UUID identifier for /dev/sda itself....
4
votes
2answers
528 views

How to get UUID of filesystem given a path?

I am handed a path of a directory or a file. Which utility/shell script will reliably give me the UUID of the file system on which is this directory/file located? By UUID of file system I mean the ...
1
vote
1answer
2k 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 ...
2
votes
1answer
195 views

What is the UUID format used by LVM?

Linux LVM assigns UUID values to physical and logical volumes but they aren't valid RFC4122 UUID strings. Here is an example: 2185fe86-41d4-4311-9a47-8f0ebc7ecc5a RFC4122 AZdHpq-uENw-cRo2-t6jS-iQXu-...
1
vote
1answer
68 views

split one partition into two using cfdisk (will uuids on other parts stay the same?)

I currently have various linux partitions on sda3-13. If I delete sda6 and create two new partitions using cfdisk I get sda3-14. I have /home on sda7 and / on sda11 which will then become sda8 and ...
0
votes
1answer
1k views

Encrypted ArchLinux: unable to find root device

I have a problem with my new installation of ArchLinux with an encrypted partition. I guess I have done the same steps as before and it works on my other machine. The error message I get is: ERROR: ...
4
votes
1answer
452 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 ...
3
votes
1answer
6k views

What is the purpose of UUIDs for NICs?

On Fedora/RHEL/CentOS there is a line in /etc/sysconfig/network-scripts/ifcfg-x files which defines UUID: UUID=30fcd648-ad1e-4428-as6f-951e8e4d16df NICs have MAC addresses by them selves, so what ...
3
votes
1answer
8k views

Can I change uuid for network interface in ifcfg-eth* using uuidgen?

I'm creating a script which configuration the network interfaces. The script which generates /etc/udev/rules.d/70-persistent-net.rules and names interfaces to my preference. In CentOS 6.5, my ...
11
votes
5answers
15k views

generate consistent machine unique ID

Can we generate a unique id for each PC, something like uuuidgen, but it will never change unless there are hardware changes? I was thinking about merging CPUID and MACADDR and hash them to generate ...
2
votes
1answer
183 views

Generation of UUID1 is too slow

I upgraded my Ubuntu box from 13.04 to 14.04 LTS few days ago. Now I'm using libuuid-2.20.1. Anyway, after the upgrading, my UUID1 became very slow. $ time uuidgen -t f22c36aa-f511-11e3-9437-...
1
vote
1answer
519 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 ...
19
votes
3answers
13k views

Difference between UUID from blkid and mdadm?

Can someone explain the difference between the UUID's reported by blkid and mdadm? On one of our CentOS systems, for example: [root@server ~]# blkid | grep /dev/md1 /dev/md1: UUID="32cb0a6e-8148-44e9-...
2
votes
1answer
2k views

Why do I need GRUB_DISABLE_LINUX_UUID=true

I just switched from lilo to grub2 and my first attempt failed with kernel panic - not syncing vfs unable to mount root fs on unknown block(0 0). It turned out that the problem was that the root ...
0
votes
0answers
773 views

Some files under `/` are owned by UID `501`, is this dangerous?

I just noticed that that the directory /usr was owned by UID 501 on my system. Such a user does not exist on my system, as verified by looking at /etc/passwd. Have I suffered a security breach, or is ...
1
vote
0answers
1k views

Running uuidd automatically on startup on Ubuntu 13.10 server?

I am running the 13.10 Ubuntu server edition on which I have installed SAP's Netweaver Gateway 2.0 trial. This requires the UUID daemon to be running. Whenever I start up the system and run uuidd as ...
1
vote
0answers
119 views

Create a fake read only device like file with incrond

I need to generate UUID with uuidgen (not through any function call, but external command, because processes which will read the file cannot call any APIs or external commands directly). My idea is ...
1
vote
3answers
715 views

/dev/disk/by-uuid/ not working on one machine

I have a iSCSI disk which I am mounting from several machines (exclusively, not concurrently). On machine A, I start iscsi service open-iscsi start and the iscsi disk is discovered as /dev/sdb1. ...
1
vote
0answers
773 views

Where to get UUID libraries and code

What is the difference between the libuuid that comes with the util-linux-ng package and the one that comes with e2fsprogs? Also, if I want to compile libuuid from source, where should I get said ...
7
votes
3answers
2k 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....
14
votes
2answers
14k 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=...
3
votes
1answer
484 views

How can I override the kernel default options for mount?

I'm struggling with a program that creates a file system in a file and mounts it as a loopback device. The purpose of the program is to create a clone of the root file system and it thinks it's being ...
4
votes
2answers
8k views

understanding /dev/disk/by- folders

Question: What does /dev/disk/by-pathdescribe? And where is this documented? Going through the meaning of what is displayed in the folders /dev/disk/by- I've got that far, and I wonder is this ...
0
votes
0answers
3k 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 ...
4
votes
2answers
2k views

How to find out UUID of a non-block USB device?

In a nutshell, the device I have is not a block device so blkid command doesn't suit me. But at least I can get some info about my device via lsusb -v command although it doesn't contain its UUID. ...
2
votes
2answers
12k 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
820 views

Error mounting drive with fstab

I have an small server in my house with an external usb 2TB hard drive: /dev/sdb1: LABEL="Data" UUID="eedc3098-221d-4800-b8b4-efa4fef23f5f" TYPE="ext4" I have the next line in /etc/fstab: UUID=...
5
votes
2answers
8k views

How do you dual boot Debian and FreeBSD using GRUB2?

I've been trying to install FreeBSD alongside my Debian installation in a single partition. All examples readily present on the Internet had shortcomings: Some required chainloading the FreeBSD ...
1
vote
1answer
856 views

“Removing leftover files … Unknown user 'uuidd'. [FAIL]” on a fresh Arch Linux installation

I just fresh installed Arch Linux reecently and when booting i can spot a warning: Removing leftover files [BUSY] [/usr/lib/tmpfiles.d/uuidd.conf:1] Unknown user 'uuidd'. [FAIL] What could this be?...
1
vote
1answer
2k views

UUID based on global MAC address

I used the uuid command from the uuid-1.6.2-8.fc17.x86_64 package to generate version 1 UUIDs. The man page said that the default is to use the real MAC address of the host, but when I decoded the ...