3.Push the image back to your phone by the flash it back to the sdf1 partition by 4.Done. For me, it is change it to the cid you want. Tune2fs 1.42. Changing cid: 1.Get image of sdf1 partition by and then pull it to your computer by 2.Open the image file by text editor, find the cid of your phone. The UUID may only be changed when the filesystem is tune2fs -O ^uninit_bg $root_disk If the CID unchanged try again command for changing, remove and reinsert SD card. There are however certain models of SD/micro-SD cards which allow users to set their own custom CID value. its just a checksum, which generates SD card itself. If the device is different (USB or other type of SD card reader) verify its name and be sure to unmount it: sudo fdisk -l sudo umount /dev/mmcblk0. Once its finished, insert the empty SD card. What is CID Every SD/micro-SD card has a unique factory CID (Card Identification Number) assigned to it by the manufacturer which cannot be changed, for security & authenticity reasons. sudo dd if/dev/mmcblk0 of/sd-card-copy.img bs1M statusprogress. dev/sda1: UUID="2ec827b0-72be-4c73-b58a-102a37aa24a3" root_disk=$(df /|grep /|cut -d' ' echo tune2fs -U $uuid $root_disk Go to list of compatible SD/micro-SD cards. this is what my process looked like: blkid The instructions to find the cid and view it are above. I have tried several solutions, and none of them worked. Verify: Unmount the SD card, reconnect it, and check that the CID was properly changed. I am trying to access my SD card as a general user after it somehow changed to just Root access. There's a flag that needs to be disabled, to allow mounted-uuid changes with the new tune2fs. The CID used above is an example of CID for a SD card for Discover media MIB2 (VW Touran II 2016-), as found online and tested. I found the problem wasn't insurmountable. I depend on being able to use a template image with a well known uuid, and change each install to a serialized uuid. 1 method: It is uploading to the microsd card that we want to change, the operating system, using the raspberry pi Imager. When I tried to change my root filesystem's uuid (to a well known beginning and a serial number suffix) on new 14.04 ubuntu, I found to my horror tune2fs reported back: I can't do that to mounted file systems. I realize this is kind of an old question, but I found there was a new change, and this was what google snooped up for me, so I'll post the answer I found here.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |