Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [uuid]

The tag has no usage guidance.

6
votes
2answers
890 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
1answer
39 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 ...
0
votes
0answers
35 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 ...
1
vote
3answers
137 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
27 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" ...
0
votes
1answer
433 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 ...
0
votes
1answer
74 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. ...
1
vote
1answer
38 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 ...
0
votes
1answer
380 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 ...
0
votes
1answer
62 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 ...
4
votes
3answers
306 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
259 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
995 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
55 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
151 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 ...
2
votes
1answer
782 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
238 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
592 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/...
0
votes
0answers
39 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 ...
0
votes
1answer
151 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....
1
vote
1answer
83 views

how to identify UUID conf or ordinary dev conf from fstab

we need to add disks on more then 100 redhat machines, therefore we need to update also the /etc/fstab on each machine the problem is that some machines configured with UUID and other with ordinary ...
2
votes
2answers
596 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/...
3
votes
3answers
100 views

in which cases it will be problematic to configure UUID in fstab

We are thinking about to change all Linux fstab configuration to work with UUID instead the current configuration Some of the disks are with non RAID and some of the disks are with RAID10 I searched ...
1
vote
0answers
77 views

Strange mdadm raid1 uuid behavior [duplicate]

Command: # mdadm --detail /dev/md0, UUID: UUID : 75ef0eb7:26381ba8:a00e8abd:98c0de06 Command: # ls -lh /dev/disk/by-uuid/, UUID: c016314e-55fc-4a03-b3d2-4d2862cce7cc -> ../../md0 Why are UUIDs ...
1
vote
3answers
1k 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\...
1
vote
0answers
576 views

Bluetooth controller vs device UUID handle mismatch affecting pairing?

I've been Googling for 2 days and cannot find a fix that works for me. I'm running into a wall trying to pair a Bluetooth mouse. I think my issue is related to a mismatch between the UUID handles ...
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,...
1
vote
2answers
4k 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-...
0
votes
1answer
4k views

How to update fstab file with UUID?

The following lines are defined in my /etc/fstab file. My current fstab: /dev/sdb /lpo/sda ext4 defaults,noatime 0 0 /dev/sdc /lpo/sdb ext4 defaults,noatime 0 0 From blkid we get: /dev/sdb: UUID="...
3
votes
2answers
576 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 ...
1
vote
1answer
211 views

mdadm.conf: devices by UUID, re-plug-in to another cable for example

Server: Dell T20 with additional SATA PCI-E controller, 5 SATA drives plugged in at the moment. All GPT partitioned. System: GNU/Linux Debian 9 Stretch. Situation: I often change HDD configuration ...
3
votes
1answer
885 views

sda and sdb keep on swapping

The box is a HP microserver, running Ubuntu 16.04. I recently "upgraded" the boot device to a 64GB SSD. Additionally there is a 1TB SATA drive. usually it boots up with /dev/sda1 as the primary ...
1
vote
1answer
314 views

Force disk onto /dev/sdX

I'm trying to ddrescue (through rescueCD) a drive, which keeps spinning down. e.g ddrescue -N -n -A -M -f /dev/sdk /dev/sdd mapfile Without rebooting I can get the drive for a short while through ...
0
votes
1answer
124 views

blkid returns more information than expected

I'm following a recipe I created a couple of years ago, where at one point I need to use blkid to obtain a filesystem UUID. I have this command noted, along with an expected example return value: ...
1
vote
1answer
170 views

Can someone explain this weird ps behavior?

Two issues: pf -fU <user> not showing particular user processes while ps -ef | grep <user> or ps aux can. pstree -p <pid>, where pid is that particular process I mentioned above, ...
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 ...
0
votes
1answer
80 views

Does Grub2 have a way of uniquely labelling the menu entries that can be used to set the default for booting?

Does grub2 have a means of selecting a menu entry by a unique label instead of the current numbering system which results in commands like grub-reboot '1>3', GRUB_DEFAULT="1", GRUB_DEFAULT="1>3"?...
2
votes
1answer
1k views

“Gave up waiting for root device” with one kernel but not another

I have a Linux system with kernels 3.10.17 and 4.8.4 installed, but only the older kernel can boot. Trying the newer one, "Gave up waiting for root device" occurs along with a bunch of "modprobe: Can'...
1
vote
2answers
4k views

Extract UUID value from JSON returned from HTTP reply

I am trying to make a little script in shellscript that takes one serviceUuid from a response and use it. I just print the server response on a file called final.txt Now i need to extract the value ...
0
votes
1answer
155 views

What are kernel UUIDs? Why would they be crazy sh!t?

I've watched DebConf 14: QA with Linus Torvalds, and at about 19:50 Linux mentions how "UUIDs are crazy sh!t." What are UUIDs used for (at the kernel level)? What does Linus mean by this?
1
vote
0answers
39 views

mdadm Raid 1 OS array dissappeared, UUID's all zeros

A little backstory because I'm not sure what's relevant... I set up a file server at a school here in West Africa where they teach computer classes, ESL, and a few other things. Though it's used ...
0
votes
1answer
264 views

Only half of my drives assemble during a RAID recovery

I have an 8 drive RAID I am trying to recover. The assemble only found 4 of the 8 drives. Why are the other drives not found? me@mjf-svr:~$ cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] ...
1
vote
1answer
67 views

Cannot boot up when Adaptec SCSI card is replaced

Current Fedora 19 installation is on an Adaptec 29320 and I am trying to temporarily replace it with an Adaptec 29160. The functionality of the cards is very nearly the same except the replacement is ...
2
votes
2answers
5k views

How to identify root partition via UUID without initramfs/initrd

Without initramfs/initrd support, the following kernel command line won't work: linux /bzImage root=UUID=666c2eee-193d-42db-a490-4c444342bd4e ro How can I identify my root partition via UUID ...
3
votes
1answer
2k 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 ...
2
votes
0answers
106 views

Are there technical limitations preventing root=UUID=<filesystem-uuid> support? [closed]

There is no code in kernel-source/init/do_mounts.c for mounting a filesystem by its UUID, however there is code for mounting a filesystem by that filesystem's partition's UUID. Are there any ...
0
votes
1answer
128 views

How do I add /home to arch with uuid if I messed up while installing?

I installed arch Linux but I forgot to make my desired home partition. /home. I accidentally forgot to change the partition from Linux filesystem to add /home. I changed the partition to /home after ...
2
votes
1answer
2k 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 ...
1
vote
1answer
682 views

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. ...
4
votes
2answers
6k 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/* | ...