[Arm-dev] Problems with Re: Works - Re: UUID for partitions - now add resize
Mandar Joshi
emailmandar at gmail.com
Tue Dec 29 00:36:12 UTC 2015
>
> See how fedora-arm-installer forces an unmount of the partitions.
>
It seems to be doing "umount $MEDIA*" which I can't do from a python
script. I have to iterate over a list of partitions and call umount on
the individual partitions.
This is my output with a fresh install of the F22 image. Can you
please post your output?
and I think you are right, if we are discussing F22, we should
probably move this discussion to the Fedora Arm mailing list. I'll
start a thread there.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------.
# ./changeuuid.py change /dev/sdd /tmp/temp/
[INFO ] ['/dev/sdd1', '/dev/sdd2', '/dev/sdd3']
[INFO ] /dev/sdd1 ext3 da527931-ac9c-4c49-9c0c-6d7c414a44d3
a5381305-f382-44e0-ad98-4786d218b289
[INFO ] /dev/sdd2 swap babd584c-ef9c-4480-80bd-643e7dd22d3e
730bf048-9252-4564-8891-50bed55495f2
[INFO ] /dev/sdd3 ext4 7c321d6b-f2b0-4783-9576-e3dfe657f9b3
5bb7ffd6-84eb-4a16-9a13-957d8f42388f
[INFO ] Unmounting all partitions on /dev/sdd
umount: /dev/sdd1: not mounted
umount: /dev/sdd2: not mounted
umount: /dev/sdd3: not mounted
[INFO ] Unmounting /dev/sdd1 /tmp/temp/
[INFO ] Mounting /dev/sdd3 /tmp/temp/
[INFO ] Processing File: /tmp/temp//etc/fstab
**** Old /etc/fstab ****
UUID=7c321d6b-f2b0-4783-9576-e3dfe657f9b3 / ext4 defaults,noatime 0 0
UUID=da527931-ac9c-4c49-9c0c-6d7c414a44d3 /boot ext3 defaults,noatime 0 0
UUID=babd584c-ef9c-4480-80bd-643e7dd22d3e swap swap defaults,noatime 0 0
**** New /etc/fstab ****
UUID=5bb7ffd6-84eb-4a16-9a13-957d8f42388f / ext4 defaults,noatime 0 0
UUID=a5381305-f382-44e0-ad98-4786d218b289 /boot ext3 defaults,noatime 0 0
UUID=730bf048-9252-4564-8891-50bed55495f2 swap swap defaults,noatime 0 0
[INFO ] Writing /tmp/temp//etc/fstab
[INFO ] Unmounting /tmp/temp/
[INFO ] Mounting /dev/sdd1 /tmp/temp/
[INFO ] Processing File: /tmp/temp//extlinux/extlinux.conf
**** Old /extlinux/extlinux.conf ****
# extlinux.conf generated by appliance-creator
ui menu.c32
menu autoboot Welcome to Fedora-Minimal-armhfp-22-3. Automatic boot in
# second{,s}. Press a key for options.
menu title Fedora-Minimal-armhfp-22-3 Boot Options.
menu hidden
timeout 20
totaltimeout 600
label Fedora-Minimal-armhfp-22-3 (4.0.4-301.fc22.armv7hl)
kernel /vmlinuz-4.0.4-301.fc22.armv7hl
append ro root=UUID=7c321d6b-f2b0-4783-9576-e3dfe657f9b3
fdtdir /dtb-4.0.4-301.fc22.armv7hl/
initrd /initramfs-4.0.4-301.fc22.armv7hl.img
**** New /extlinux/extlinux.conf ****
# extlinux.conf generated by appliance-creator
ui menu.c32
menu autoboot Welcome to Fedora-Minimal-armhfp-22-3. Automatic boot in
# second{,s}. Press a key for options.
menu title Fedora-Minimal-armhfp-22-3 Boot Options.
menu hidden
timeout 20
totaltimeout 600
label Fedora-Minimal-armhfp-22-3 (4.0.4-301.fc22.armv7hl)
kernel /vmlinuz-4.0.4-301.fc22.armv7hl
append ro root=UUID=5bb7ffd6-84eb-4a16-9a13-957d8f42388f
fdtdir /dtb-4.0.4-301.fc22.armv7hl/
initrd /initramfs-4.0.4-301.fc22.armv7hl.img
[INFO ] Writing /tmp/temp//extlinux/extlinux.conf
[INFO ] Unmounting /tmp/temp/
[INFO ] Unmounting /dev/sdd1 /tmp/temp/
[INFO ] Unmounting /dev/sdd3 /tmp/temp/
[INFO ] Changing UUID/LABEL for /dev/sdd1
[INFO ] Old:da527931-ac9c-4c49-9c0c-6d7c414a44d3
New:a5381305-f382-44e0-ad98-4786d218b289
tune2fs 1.42.13 (17-May-2015)
[INFO ] Changing UUID/LABEL for /dev/sdd2
[INFO ] Old:babd584c-ef9c-4480-80bd-643e7dd22d3e
New:730bf048-9252-4564-8891-50bed55495f2
mkswap: /dev/sdd2: warning: wiping old swap signature.
Setting up swapspace version 1, size = 244 MiB (255848448 bytes)
no label, UUID=730bf048-9252-4564-8891-50bed55495f2
[INFO ] Changing UUID/LABEL for /dev/sdd3
[INFO ] Old:7c321d6b-f2b0-4783-9576-e3dfe657f9b3
New:5bb7ffd6-84eb-4a16-9a13-957d8f42388f
tune2fs 1.42.13 (17-May-2015)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
# blkid /dev/sdd*
/dev/sdd: PTUUID="bcdd5210" PTTYPE="dos"
/dev/sdd1: LABEL="_/boot" UUID="a5381305-f382-44e0-ad98-4786d218b289"
TYPE="ext3" PARTUUID="bcdd5210-01"
/dev/sdd2: UUID="730bf048-9252-4564-8891-50bed55495f2" TYPE="swap"
PARTUUID="bcdd5210-02"
/dev/sdd3: LABEL="_/" UUID="5bb7ffd6-84eb-4a16-9a13-957d8f42388f"
TYPE="ext4" PARTUUID="bcdd5210-03"
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Regards
Mandar Joshi
More information about the Arm-dev
mailing list