[Arm-dev] Problems with Re: Works - Re: UUID for partitions - now add resize
Robert Moskowitz
rgm at htt-consult.com
Tue Dec 29 02:33:22 UTC 2015
On 12/28/2015 08:16 PM, Mandar Joshi wrote:
>> Actually they have shipped F23 and are gearing up for F24...
>>
> Oh. Well, if you could post the output of the changeuuid.py script,
> either here or there; I can have a look if anything is going wrong.
>
Round 2:
# ./changeuuid.py pretend /dev/sdb /mnt[INFO ] ['/dev/sdb1',
'/dev/sdb2', '/dev/sdb3']
[INFO ] /dev/sdb1 ext3 fa926fa0-ddcb-47ea-9731-ea5c92d9f959
51571332-cef6-4a04-a3e9-3a78d716fed8
[INFO ] /dev/sdb2 swap 6d5e843e-7dd8-4d70-a08e-4ee9d26828d7
ec4017fe-4dc7-4842-ae55-e9355c271947
[INFO ] /dev/sdb3 ext4 770af0f9-c7d9-4ae9-b024-1ba3c78d7550
5244b218-4c77-456e-9c83-ad5eeb32cb41
[INFO ] Unmounting all partitions on /dev/sdb
umount: /dev/sdb1: not mounted
umount: /dev/sdb2: not mounted
umount: /dev/sdb3: not mounted
[INFO ] Unmounting /dev/sdb1 /mnt
[INFO ] Mounting /dev/sdb3 /mnt
[INFO ] Processing File: /mnt/etc/fstab
**** Old /etc/fstab ****
#Generated by RootFS Build Factory
UUID=fa926fa0-ddcb-47ea-9731-ea5c92d9f959 /boot ext3 noatime 0 0
UUID=6d5e843e-7dd8-4d70-a08e-4ee9d26828d7 swap swap noatime 0 0
UUID=770af0f9-c7d9-4ae9-b024-1ba3c78d7550 / ext4 noatime 0 0
**** New /etc/fstab ****
#Generated by RootFS Build Factory
UUID=51571332-cef6-4a04-a3e9-3a78d716fed8 /boot ext3 noatime 0 0
UUID=ec4017fe-4dc7-4842-ae55-e9355c271947 swap swap noatime 0 0
UUID=5244b218-4c77-456e-9c83-ad5eeb32cb41 / ext4 noatime 0 0
[INFO ] Mounting /dev/sdb1 /mnt
[INFO ] Processing File: /mnt/extlinux/extlinux.conf
**** Old /extlinux/extlinux.conf ****
#Created by RootFS Build Factory
ui menu.c32
menu autoboot centos
menu title centos Options
#menu hidden
timeout 60
totaltimeout 600
label centos
kernel /vmlinuz-4.2.3-200.el7.armv7hl
append enforcing=0 root=UUID=770af0f9-c7d9-4ae9-b024-1ba3c78d7550
fdtdir /dtb-4.2.3-200.el7.armv7hl
initrd /initramfs-4.2.3-200.el7.armv7hl.img
**** New /extlinux/extlinux.conf ****
#Created by RootFS Build Factory
ui menu.c32
menu autoboot centos
menu title centos Options
#menu hidden
timeout 60
totaltimeout 600
label centos
kernel /vmlinuz-4.2.3-200.el7.armv7hl
append enforcing=0 root=UUID=5244b218-4c77-456e-9c83-ad5eeb32cb41
fdtdir /dtb-4.2.3-200.el7.armv7hl
initrd /initramfs-4.2.3-200.el7.armv7hl.img
[INFO ] Unmounting /dev/sdb1 /mnt
[INFO ] Unmounting /dev/sdb3 /mnt
[INFO ] Changing UUID/LABEL for /dev/sdb1
[INFO ] Old:fa926fa0-ddcb-47ea-9731-ea5c92d9f959
New:51571332-cef6-4a04-a3e9-3a78d716fed8
[INFO ] Changing UUID/LABEL for /dev/sdb2
[INFO ] Old:6d5e843e-7dd8-4d70-a08e-4ee9d26828d7
New:ec4017fe-4dc7-4842-ae55-e9355c271947
[INFO ] Changing UUID/LABEL for /dev/sdb3
[INFO ] Old:770af0f9-c7d9-4ae9-b024-1ba3c78d7550
New:5244b218-4c77-456e-9c83-ad5eeb32cb41
==============
# ./changeuuid.py change /dev/sdb /mnt[INFO ] ['/dev/sdb1',
'/dev/sdb2', '/dev/sdb3']
[INFO ] /dev/sdb1 ext3 fa926fa0-ddcb-47ea-9731-ea5c92d9f959
607a8ac9-8ffc-47d7-8666-fe689dc16bed
[INFO ] /dev/sdb2 swap 6d5e843e-7dd8-4d70-a08e-4ee9d26828d7
054b606f-b169-4f1d-8fac-10edef957fec
[INFO ] /dev/sdb3 ext4 770af0f9-c7d9-4ae9-b024-1ba3c78d7550
e6e8388e-4c7d-4e76-8936-6ba3a45c0927
[INFO ] Unmounting all partitions on /dev/sdb
umount: /dev/sdb1: not mounted
umount: /dev/sdb2: not mounted
umount: /dev/sdb3: not mounted
[INFO ] Unmounting /dev/sdb1 /mnt
[INFO ] Mounting /dev/sdb3 /mnt
[INFO ] Processing File: /mnt/etc/fstab
**** Old /etc/fstab ****
#Generated by RootFS Build Factory
UUID=fa926fa0-ddcb-47ea-9731-ea5c92d9f959 /boot ext3 noatime 0 0
UUID=6d5e843e-7dd8-4d70-a08e-4ee9d26828d7 swap swap noatime 0 0
UUID=770af0f9-c7d9-4ae9-b024-1ba3c78d7550 / ext4 noatime 0 0
**** New /etc/fstab ****
#Generated by RootFS Build Factory
UUID=607a8ac9-8ffc-47d7-8666-fe689dc16bed /boot ext3 noatime 0 0
UUID=054b606f-b169-4f1d-8fac-10edef957fec swap swap noatime 0 0
UUID=e6e8388e-4c7d-4e76-8936-6ba3a45c0927 / ext4 noatime 0 0
[INFO ] Writing /mnt/etc/fstab
[INFO ] Unmounting /mnt
[INFO ] Mounting /dev/sdb1 /mnt
[INFO ] Processing File: /mnt/extlinux/extlinux.conf
**** Old /extlinux/extlinux.conf ****
#Created by RootFS Build Factory
ui menu.c32
menu autoboot centos
menu title centos Options
#menu hidden
timeout 60
totaltimeout 600
label centos
kernel /vmlinuz-4.2.3-200.el7.armv7hl
append enforcing=0 root=UUID=770af0f9-c7d9-4ae9-b024-1ba3c78d7550
fdtdir /dtb-4.2.3-200.el7.armv7hl
initrd /initramfs-4.2.3-200.el7.armv7hl.img
**** New /extlinux/extlinux.conf ****
#Created by RootFS Build Factory
ui menu.c32
menu autoboot centos
menu title centos Options
#menu hidden
timeout 60
totaltimeout 600
label centos
kernel /vmlinuz-4.2.3-200.el7.armv7hl
append enforcing=0 root=UUID=e6e8388e-4c7d-4e76-8936-6ba3a45c0927
fdtdir /dtb-4.2.3-200.el7.armv7hl
initrd /initramfs-4.2.3-200.el7.armv7hl.img
[INFO ] Writing /mnt/extlinux/extlinux.conf
[INFO ] Unmounting /mnt
[INFO ] Unmounting /dev/sdb1 /mnt
[INFO ] Unmounting /dev/sdb3 /mnt
[INFO ] Changing UUID/LABEL for /dev/sdb1
[INFO ] Old:fa926fa0-ddcb-47ea-9731-ea5c92d9f959
New:607a8ac9-8ffc-47d7-8666-fe689dc16bed
tune2fs 1.42.12 (29-Aug-2014)
[INFO ] Changing UUID/LABEL for /dev/sdb2
[INFO ] Old:6d5e843e-7dd8-4d70-a08e-4ee9d26828d7
New:054b606f-b169-4f1d-8fac-10edef957fec
mkswap: /dev/sdb2: warning: wiping old swap signature.
Setting up swapspace version 1, size = 512 MiB (536866816 bytes)
no label, UUID=054b606f-b169-4f1d-8fac-10edef957fec
[INFO ] Changing UUID/LABEL for /dev/sdb3
[INFO ] Old:770af0f9-c7d9-4ae9-b024-1ba3c78d7550
New:e6e8388e-4c7d-4e76-8936-6ba3a45c0927
tune2fs 1.42.12 (29-Aug-2014)
========
I then did a new mSD and just did a change without the pretend:
# ./changeuuid.py change /dev/sdb /mnt[INFO ] ['/dev/sdb1',
'/dev/sdb2', '/dev/sdb3']
[INFO ] /dev/sdb1 ext3 fa926fa0-ddcb-47ea-9731-ea5c92d9f959
5e01ccaa-561a-474d-ab1a-7ba5b94d3db9
[INFO ] /dev/sdb2 swap 6d5e843e-7dd8-4d70-a08e-4ee9d26828d7
a6f62d25-c7a9-4445-b8a2-692a7a834245
[INFO ] /dev/sdb3 ext4 770af0f9-c7d9-4ae9-b024-1ba3c78d7550
11ec1de2-d656-4aa5-93b6-2f73182b89d4
[INFO ] Unmounting all partitions on /dev/sdb
umount: /dev/sdb1: not mounted
umount: /dev/sdb2: not mounted
umount: /dev/sdb3: not mounted
[INFO ] Unmounting /dev/sdb1 /mnt
[INFO ] Mounting /dev/sdb3 /mnt
[INFO ] Processing File: /mnt/etc/fstab
**** Old /etc/fstab ****
#Generated by RootFS Build Factory
UUID=fa926fa0-ddcb-47ea-9731-ea5c92d9f959 /boot ext3 noatime 0 0
UUID=6d5e843e-7dd8-4d70-a08e-4ee9d26828d7 swap swap noatime 0 0
UUID=770af0f9-c7d9-4ae9-b024-1ba3c78d7550 / ext4 noatime 0 0
**** New /etc/fstab ****
#Generated by RootFS Build Factory
UUID=5e01ccaa-561a-474d-ab1a-7ba5b94d3db9 /boot ext3 noatime 0 0
UUID=a6f62d25-c7a9-4445-b8a2-692a7a834245 swap swap noatime 0 0
UUID=11ec1de2-d656-4aa5-93b6-2f73182b89d4 / ext4 noatime 0 0
[INFO ] Writing /mnt/etc/fstab
[INFO ] Unmounting /mnt
[INFO ] Mounting /dev/sdb1 /mnt
[INFO ] Processing File: /mnt/extlinux/extlinux.conf
**** Old /extlinux/extlinux.conf ****
#Created by RootFS Build Factory
ui menu.c32
menu autoboot centos
menu title centos Options
#menu hidden
timeout 60
totaltimeout 600
label centos
kernel /vmlinuz-4.2.3-200.el7.armv7hl
append enforcing=0 root=UUID=770af0f9-c7d9-4ae9-b024-1ba3c78d7550
fdtdir /dtb-4.2.3-200.el7.armv7hl
initrd /initramfs-4.2.3-200.el7.armv7hl.img
**** New /extlinux/extlinux.conf ****
#Created by RootFS Build Factory
ui menu.c32
menu autoboot centos
menu title centos Options
#menu hidden
timeout 60
totaltimeout 600
label centos
kernel /vmlinuz-4.2.3-200.el7.armv7hl
append enforcing=0 root=UUID=11ec1de2-d656-4aa5-93b6-2f73182b89d4
fdtdir /dtb-4.2.3-200.el7.armv7hl
initrd /initramfs-4.2.3-200.el7.armv7hl.img
[INFO ] Writing /mnt/extlinux/extlinux.conf
[INFO ] Unmounting /mnt
[INFO ] Unmounting /dev/sdb1 /mnt
[INFO ] Unmounting /dev/sdb3 /mnt
[INFO ] Changing UUID/LABEL for /dev/sdb1
[INFO ] Old:fa926fa0-ddcb-47ea-9731-ea5c92d9f959
New:5e01ccaa-561a-474d-ab1a-7ba5b94d3db9
tune2fs 1.42.12 (29-Aug-2014)
[INFO ] Changing UUID/LABEL for /dev/sdb2
[INFO ] Old:6d5e843e-7dd8-4d70-a08e-4ee9d26828d7
New:a6f62d25-c7a9-4445-b8a2-692a7a834245
mkswap: /dev/sdb2: warning: wiping old swap signature.
Setting up swapspace version 1, size = 512 MiB (536866816 bytes)
no label, UUID=a6f62d25-c7a9-4445-b8a2-692a7a834245
[INFO ] Changing UUID/LABEL for /dev/sdb3
[INFO ] Old:770af0f9-c7d9-4ae9-b024-1ba3c78d7550
New:11ec1de2-d656-4aa5-93b6-2f73182b89d4
tune2fs 1.42.12 (29-Aug-2014)
SEEMS to be working right now, but then why not before...
hmmmmm.
When the system was going bad, I first did a dnf update, as I was a few
weeks behind. Perhaps I picked up something new and useful?
More information about the Arm-dev
mailing list