Sample Header Ad - 728x90

Ask Different (Apple)

Q&A for power users of Apple hardware and software

Latest Questions

-2 votes
2 answers
130 views
Are Apple Hardware UUIDs guaranteed to be in standard UUID format
I'd like to put my Apple hardware UUIDs into a database, and I wonder if they are always in the standard UUID format. For example: `b5e2cf01-8bb6-4fcd-ad88-0efb611195da ` Is there an Apple device in the last 10 years that has a non-standard `hi-mom` hardware UUID? What about an upcoming device?
I'd like to put my Apple hardware UUIDs into a database, and I wonder if they are always in the standard UUID format. For example: `b5e2cf01-8bb6-4fcd-ad88-0efb611195da ` Is there an Apple device in the last 10 years that has a non-standard hi-mom hardware UUID? What about an upcoming device?
Victor L (127 rep)
Nov 19, 2024, 09:15 PM • Last activity: Dec 31, 2024, 09:04 PM
3 votes
1 answers
305 views
How to modify the macOS 14 volume UUID?
The image below is from version 10.12 of macOS, where the volume is in JHFS+ format. [![Volume UUID of / shown in System Information][1]][1] This same UUID can be obtained by entering commands in a Terminal application window, as shown below. ```none $ diskutil info / | grep "Volume UUID" Volume UUI...
The image below is from version 10.12 of macOS, where the volume is in JHFS+ format. Volume UUID of / shown in System Information This same UUID can be obtained by entering commands in a Terminal application window, as shown below.
$ diskutil info / | grep "Volume UUID"
   Volume UUID:              3B553422-24F6-3FC5-B35F-EB8B2AAD8FDB
How can I modify the UUID, when the version is macOS 14 and the volume is in APFS format? I tried using apfs.util, but the modification of the UUID does not take effect.
special_mkbk (31 rep)
May 31, 2024, 02:52 AM • Last activity: May 31, 2024, 07:09 PM
10 votes
4 answers
2785 views
/dev/disk/by-id on macOS?
Suppose that we are doing some operations on drives using for example `diskutil`. Usually we use `/dev/diskX` to indicate which drive we are working on, but the number X could change next time we connect the drive to computer, so we have to look at and check the number X again and again. On Linux we...
Suppose that we are doing some operations on drives using for example diskutil. Usually we use /dev/diskX to indicate which drive we are working on, but the number X could change next time we connect the drive to computer, so we have to look at and check the number X again and again. On Linux we have /dev/disk/by-uuid. How could we get this on macOS?
Ma Joad (461 rep)
Feb 21, 2023, 02:13 PM • Last activity: Aug 22, 2023, 12:05 PM
11 votes
1 answers
18466 views
How can I query the hardware UUID of a Mac programmatically from a command line?
The hardware universally unique identifier (UUID) can often be used by developers to associate information unique to a Mac. This identifier will usually persist through OS upgrades or reinstalls, as well as across multiple OSes in multi-boot installations. I would like to be able to retrieve the UUI...
The hardware universally unique identifier (UUID) can often be used by developers to associate information unique to a Mac. This identifier will usually persist through OS upgrades or reinstalls, as well as across multiple OSes in multi-boot installations. I would like to be able to retrieve the UUID via a command line in macOS in order to use with a script.
n8felton (1044 rep)
Nov 8, 2018, 03:43 PM • Last activity: Aug 5, 2023, 05:26 PM
1 votes
0 answers
86 views
How to identify a bluetooth device?
I am having kernel—task taking up to 1000% of my CPU, starting the fan and making the iMac unresponsive. (Catalina 10.15.7) In trying to identify the cause I looked in the logs where I have 2 or 3 times per second the message flagged as error : bluetoothd : ScanManager: device doesn't exist for peer...
I am having kernel—task taking up to 1000% of my CPU, starting the fan and making the iMac unresponsive. (Catalina 10.15.7) In trying to identify the cause I looked in the logs where I have 2 or 3 times per second the message flagged as error : bluetoothd : ScanManager: device doesn't exist for peer: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX where X is in the range 0-9 A-F. This looks like a UUID code, but no computer on the network matches. I assume we are speaking of a bluetooth device invisible, but I don't see anything relevant in bluetooth explorer app. Not sure that is the cause of the panic, but I would like to identify what device is concerned. Any idea on how to proceed ?
Hugues (653 rep)
Dec 20, 2020, 09:16 PM
1 votes
2 answers
2364 views
How to get UUID with Python?
System Report will display the system's Hardware UUID in the format 01234567-89ab-cdef-0123-456789abcdef. Using the shell we can retrieve the same UUID: ``` ioreg -rd1 -c IOPlatformExpertDevice | grep -E '(UUID)' ``` Is it possible to get this UUID in Python without resorting to executing a shell co...
System Report will display the system's Hardware UUID in the format 01234567-89ab-cdef-0123-456789abcdef. Using the shell we can retrieve the same UUID:
ioreg -rd1 -c IOPlatformExpertDevice | grep -E '(UUID)'
Is it possible to get this UUID in Python without resorting to executing a shell command?
Johan (13 rep)
Nov 22, 2012, 07:18 PM • Last activity: Nov 8, 2018, 02:47 PM
4 votes
4 answers
7593 views
How can I change an NTFS Volume UUID?
I just upgraded my Mac to Mac OS X El Capitan and I wanted to update my Windows 7 to Windows 10. But, before that, I need to make a backup of my Windows partition. As I've done it before, I have a Windows (NTFS) partition on a backup HDD. The thing is, I want to make a new backup with Carbon Copy Cl...
I just upgraded my Mac to Mac OS X El Capitan and I wanted to update my Windows 7 to Windows 10. But, before that, I need to make a backup of my Windows partition. As I've done it before, I have a Windows (NTFS) partition on a backup HDD. The thing is, I want to make a new backup with Carbon Copy Cloner, but it tell's me it can't be done because there are two volumes with same UUID. OK, then, I fight with my Windows backup partition to have it a different UUID from the one I got for my "local" Windows partition... and I'm loosing the fight ! I have this when using diskutil info /dev/disk0s2 : Device Identifier: disk0s2 Device Node: /dev/disk0s2 Whole: No Part of Whole: disk0 Device / Media Name: Windows_NTFS_Untitled_3 Volume Name: Win Mounted: Yes Mount Point: /Volumes/Win File System Personality: NTFS Type (Bundle): ntfs Name (User Visible): Windows NT File System (NTFS) Partition Type: Microsoft Basic Data OS Can Be Installed: No Media Type: Generic Protocol: SATA SMART Status: Verified Volume UUID: 24D65D1E-43E8-4FF0-BBBF-A82CC6B45D20 Disk / Partition UUID: D5C23E74-E658-45E1-B9B3-44681D0D02C2 Total Size: 85.0 GB (84999667712 Bytes) (exactly 166014976 512-Byte-Units) Volume Free Space: 34.1 GB (34093342720 Bytes) (exactly 66588560 512-Byte-Units) Device Block Size: 512 Bytes Allocation Block Size: 4096 Bytes Read-Only Media: No Read-Only Volume: No Device Location: Internal Removable Media: No Solid State: No ... and I have this using diskutil info /dev/disk1s4 : Device Identifier: disk1s4 Device Node: /dev/disk1s4 Whole: No Part of Whole: disk1 Device / Media Name: WindowsB Volume Name: Windows Mounted: Yes Mount Point: /Volumes/Windows File System Personality: NTFS Type (Bundle): ntfs Name (User Visible): Windows NT File System (NTFS) Partition Type: Microsoft Basic Data OS Can Be Installed: No Media Type: Generic Protocol: USB SMART Status: Not Supported Volume UUID: 24D65D1E-43E8-4FF0-BBBF-A82CC6B45D20 Disk / Partition UUID: C8E2A2D5-6065-4903-8BB6-AC02698323A6 Total Size: 84.7 GB (84655734784 Bytes) (exactly 165343232 512-Byte-Units) Volume Free Space: 44.0 GB (44012474368 Bytes) (exactly 85961864 512-Byte-Units) Device Block Size: 512 Bytes Allocation Block Size: 4096 Bytes Read-Only Media: No Read-Only Volume: No Device Location: External Removable Media: No As you can see, the "Disk / Partition UUID" is different, but not the "Volume UUID". Does anybody have a solution to change the "Volume UUID"?
pierreonthenet (41 rep)
Mar 1, 2016, 10:23 PM • Last activity: Oct 12, 2018, 04:03 PM
1 votes
0 answers
108 views
How to delete all partitions from iMac without an OS installed and rebuild a fusion drive without UUID
a friend of mine bought a second hand iMac and they erased sort of everything from the iMac before it was given to him. There is no OS installed and it's not possible to instal a new version from OSX from Internet Recovery because the Hard Drive is greyed out. When I open terminal and check distil l...
a friend of mine bought a second hand iMac and they erased sort of everything from the iMac before it was given to him. There is no OS installed and it's not possible to instal a new version from OSX from Internet Recovery because the Hard Drive is greyed out. When I open terminal and check distil list this shows up: Diskutil List What are those 17 disks? and how can I remove them and rebuild the whole harddrive? Everywhere I look they say that is should have an UUID but when I use diskutil cs list it says "No CoreStorage logical volume groups found". iMac 27" early 2016 2TB Fusion 8GB Ram Internet recovery (El Capitan) I hope there is someone that can help me! So this is actually my question. Can I delete everything there is on this harddrive and rebuild it al? grts, Alex
Alex (11 rep)
Jan 22, 2018, 09:40 AM
3 votes
1 answers
2037 views
How do I print my logical volume group UUID to file?
I'm in the process of trying to automate getting the LVGUUID and printing it as a string to a text file, or better piping it in terminal to other commands. All I can do right now is `diskutil coreStorage list` and then copy/paste the UUID as needed. Is there a faster way to do this?
I'm in the process of trying to automate getting the LVGUUID and printing it as a string to a text file, or better piping it in terminal to other commands. All I can do right now is diskutil coreStorage list and then copy/paste the UUID as needed. Is there a faster way to do this?
Christian (33 rep)
Aug 7, 2017, 05:36 PM • Last activity: Aug 8, 2017, 03:21 PM
1 votes
1 answers
1109 views
Restore Permissions to external HDD
To read/write NTFS (Windows-formatted) external HDDs on my Mac, I have installed *[FUSE for OS X][1]* (version 3.2.0) and *NTFS-3G* (version 2015.3.14, installed with homebrew and the instructions from [NTFS-3G][2]). I have selected the 'MacFUSE compatibility layer' because it is required by *veraCr...
To read/write NTFS (Windows-formatted) external HDDs on my Mac, I have installed *FUSE for OS X * (version 3.2.0) and *NTFS-3G* (version 2015.3.14, installed with homebrew and the instructions from NTFS-3G ). I have selected the 'MacFUSE compatibility layer' because it is required by *veraCrypt* (from https://veracrypt.codeplex.com/). Copying to/from the Mac to the NTFS HDDs works as expected. However, I can no longer use the Disk Utility's "First Aid" utilities (to correct permissions, to correct errors when the HDDs get incorrectly dismounted). The disk utility options are now 'greyed out' for my HDDs. These options are still available for my internal SSD and for my SD card, so the disk utility is not 'broken'. The HDDs are also fine: they work correctly and I can still fix them on Windows. The problem (the only one I can see so far) is that I can no longer fix my external HDDs with the Mac's disk utility. I'm currently on `OSX Yosemite`. Here is the diagnosis from the Disk Utility: Name : PatrickA Type : Partition Disk Identifier : disk2s1 Mount Point : /Volumes/PatrickA File System : Windows NT File System (NTFS) Connection Bus : USB Device Tree : IODeviceTree:/PCI0@0/XHC1@14 Writable : Yes Universal Unique Identifier : 54D2798C-E724-4810-B621-F1358C19DC48 Capacity : 1 TB (1,000,169,537,536 Bytes) Free Space : 245.04 GB (245,044,764,672 Bytes) Used : 755.12 GB (755,124,768,768 Bytes) Number of Files : 130,742 Number of Folders : 0 Owners Enabled : Yes Can Turn Owners Off : No Can Repair Permissions : No Can Be Verified : No Can Be Repaired : No Can Be Formatted : No Bootable : No Supports Journaling : No Journaled : No Disk Number : 2 Partition Number : 1 As you can see above, my HDDs (all of them) can no longer be verified or repaired. I was always able to do that before reinstalling FUSE and NTFS-3G. The above diagnosis is identical for all 12 of my HDDs. I tried to reset permissions, but was denied: vsdbutil -a /Volumes/PatrickA vsdbutil: no valid volume UUID found on '/Volumes/PatrickA': permissions are disabled. I read somewhere that hfs.util can regenerate a UUID, but that didn't work. diskutil info /Volumes/PatrickA | grep "Device Identifier" Device Identifier: disk3s1 /System/Library/Filesystems/hfs.fs/hfs.util -s disk3s1 Any suggestions? Thanks! **UPDATE** I came across suggestions on how to use the diskutil from the command line. Here is the error message I get: diskutil verifyvolume /Volumes/PatrickA/ Error starting file system verification for disk2s1 PatrickA: Invalid request (-69886) I have also not been able to get smartctl to do anything useful with the volume: smartctl -c /Volumes/PatrickA smartctl 6.4 2015-06-04 r4109 [x86_64-apple-darwin14.3.0] (local build) Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org Smartctl open device: /Volumes/PatrickA failed: I came across a suggestion that a third party driver is needed to diagnose external drives on a Mac OS X (I do not know if this is generally true). The *SAT SMART driver* (available at https://github.com/kasbert/OS-X-SAT-SMART-Driver) extends the standard driver behaviour by providing access to drive SMART data. I was successful in changing the SMART status of my HDD to "Verified." But this does not appear to have helped much as the errors reported above still appear.
PatrickT (166 rep)
Mar 13, 2016, 04:28 PM • Last activity: Mar 20, 2016, 08:21 PM
0 votes
1 answers
374 views
ITunes backups - how's the UID generated?
I'm struggling with an issue with an encrypted backup (see https://apple.stackexchange.com/q/192153/7488 and https://apple.stackexchange.com/q/192157/7488 if you want the details) and I'm trying to understand how things got so messed up. For that I'd need to understand how are the backup UIDs create...
I'm struggling with an issue with an encrypted backup (see https://apple.stackexchange.com/q/192153/7488 and https://apple.stackexchange.com/q/192157/7488 if you want the details) and I'm trying to understand how things got so messed up. For that I'd need to understand how are the backup UIDs created. Are they "hardware" based? I don't think so as if expect to have a lot of "iPhone Backup" keys in Keychain as I've been "evolving" my devices over time... So where do they come from? **EDIT**: To make clearer what I mean, when I say UID I'm referring to the number that's in the folder where the backup is stored. The location of the backups is on: Mac: ~/Library/Application Support/MobileSync/Backup/{UID} Windows Vista and Windows 7: \Users\\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\\{UID} And the UID itself is a long string of hexadecimal characters like: 59cf77659e76a55e206192c325f732xxxxxxxxxx (last 10 digits removed in case it's some "magic" number) Thanks a lot!
JJarava (1246 rep)
Jun 19, 2015, 06:29 AM • Last activity: Jun 19, 2015, 09:18 AM
5 votes
4 answers
1052 views
MacBook Air serial number
I am seeking to find a Macbook Air serial number from within the backup files created by the Mountain Lion operating system and stored on an external hard drive. Exactly which file do I need to be looking at? I made the presumption that the backup created by time machine would store the uuid to ensu...
I am seeking to find a Macbook Air serial number from within the backup files created by the Mountain Lion operating system and stored on an external hard drive. Exactly which file do I need to be looking at? I made the presumption that the backup created by time machine would store the uuid to ensure that the physical MAC address (7 layer OSI model) would be the one that received the backed up files of the MacBook Air. Perhaps in Extended Firmware Interface (EFI) folder although I did see a file mentioned; in a post elsewhere which was com.apple.TimeMachine.MachineID.plist. The same post also said that a sparse bundle created by time machine contained the hardware UUID (effectively the serial number?).
Alex (53 rep)
Jun 3, 2014, 12:35 PM • Last activity: Apr 24, 2015, 01:46 PM
2 votes
1 answers
1430 views
Can one iPhone be registered to multiple Developer accounts?
I have an Apple iOS Developer account and I registered my iPhones UUID to this account (to create Provisioning Profiles, etc.). Is it possible to add this iPhones UUID to another iOS Developer account?
I have an Apple iOS Developer account and I registered my iPhones UUID to this account (to create Provisioning Profiles, etc.). Is it possible to add this iPhones UUID to another iOS Developer account?
lukas (1577 rep)
Jun 16, 2014, 11:21 AM • Last activity: Jun 16, 2014, 11:24 AM
0 votes
1 answers
542 views
Is the UUID command missing in 10.8.2?
I just noticed that the uuid command is no longer working on my MacBook. One possibility is that it was removed when I upgraded to Mountain Lion. The man page is still available. man uuid Does anybody else have this problem with 10.8.2?
I just noticed that the uuid command is no longer working on my MacBook. One possibility is that it was removed when I upgraded to Mountain Lion. The man page is still available. man uuid Does anybody else have this problem with 10.8.2?
Alex (103 rep)
Mar 14, 2013, 09:03 PM • Last activity: Mar 14, 2013, 09:05 PM
Showing page 1 of 14 total questions