swap entry in fstab points to /dev/mapper/disk<tmpstring>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I used livemedia-creator to create a disk image for an ARM board (Trim Slice) with the following command:

  livemedia-creator \
    --make-disk --no-virt --image-only --keep-image \
    --ks=/root/F17-trimslice.ks


The kickstart file defined the following partitions:

  part /boot --size 255 --fstype ext3 --label=boot
  part swap --size 511 --label=swap
  part / --size 3327 --fstype ext4 --label=rootfs

which were created as expected. The following /etc/fstab entries were created on the image:

  UUID=f9360b1d-f56c-4b52-ab6b-58775bf57a17 /      ext4  defaults  1 1
  UUID=5f9bb5f2-a818-4e72-aefc-cd2c304726a6 /boot  ext3  defaults  1 2
  /dev/mapper/diskt9BQ8tp3                  swap   swap  defaults  0 0

The issue is that if I copy this image to any other media (i.e., an SDCard) the swap entry no longer works.

Is this expected behavior? Is there another option I should be using in the kickstart file to alter this behavior to use either the UUID or disk label for swap?


Thank you,

d.marlin

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux