Questions tagged [uuid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-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 -...
3
votes
2answers
252 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
35 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
50 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 ...
1
vote
1answer
237 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. ( ...
2
votes
1answer
176 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
42 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
105 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 ...
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
1answer
82 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
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 ...
1
vote
3answers
317 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
132 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" ...
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 ...
0
votes
1answer
230 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
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 ...
0
votes
1answer
976 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
77 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
825 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
344 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
218 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
283 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
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
421 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
736 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
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 ...
0
votes
1answer
419 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
94 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
764 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
122 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
99 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
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\...
1
vote
0answers
700 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,...
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-...
0
votes
1answer
6k 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
696 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
309 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
1k 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
393 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
148 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
197 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
100 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
5k 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 ...