Windows 11 VMs and TPM - an interesting side effect
by Tom Horsley
Out of curiosity, I thought I'd see if a physical TPM module is
available for my motherboard. Looking in the manual I see there
is a header for one, and gigabyte has a specific model number
for the one that is compatible.
None are in stock anywhere save a couple of entries on ebay where
the normally $15 module is now listed at $170 :-).
A KVM emulated one is clearly the way to go.
2 years, 9 months
Clonezilla.
by Ger van Dijck
Hi Fedora ,
Thanks to George N. Withe 111 , Bob Marcom, Erik P. Olsen and Klaus
Peter Schrage.
I did install rpmshere-release with dnf : Runs fine.
I did install clonezilla-2.3.1-1.noarch.rpm with dnf and got following
message :Nothing provides drbl-partimage >=0.6.7 needed by clonezilla
-2.3.1-1 noarch.
Nothing provides mkswap-uuid needed by
clonezilla-2.3.1-1.noarch.
So , What now ?
Kind regards,
Ger van Dijck.
2 years, 9 months
dnf update teamviewer.
by Ger van Dijck
Hi all,
When giving dnf update I get the following message:invalid value
failovermethod = priority in /etc/yum.repo.d/teamviewer.repo .
Configuration : Optionbinding with failovermethod does not excist.
What does it mean ? and how can I prevent it ?
Ger van Dijck.
2 years, 9 months
perl-PDL
by Patrick Dupre
Hello,
Here is an issue.
If I install perl-PDL-2.26.0 (the standard version with fc34)
I cannot compile perl-PDL-LinearAlgebra-0.20 (cpan)
but I can compile
perl-PDL-Graphics-PLplot-0.71 (cpan)
If I install
perl-PDL-2.51.0
I can compile
perl-PDL-Graphics-PLplot-0.71 (but not newer versions)
but I cannot compile
perl-PDL-LinearAlgebra-0.20
while my applications requires both at the same PDL version level
This is what I get
rpmbuild -bb perl-PDL-Graphics-PLplot_071.spec
setting SOURCE_DATE_EPOCH=1591747200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wOSwvP
+ umask 022
+ cd /home/pdupre/rpmbuild/BUILD
+ cd /home/pdupre/rpmbuild/BUILD
+ rm -rf PDL-Graphics-PLplot-0.71
+ /usr/bin/gzip -dc /home/pdupre/rpmbuild/SOURCES/PDL-Graphics-PLplot-0.71.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd PDL-Graphics-PLplot-0.71
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UmWICR
+ umask 022
+ cd /home/pdupre/rpmbuild/BUILD
+ cd PDL-Graphics-PLplot-0.71
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
PDL is installed
Bad value support required! (Turn on WITH_BADVAL in perldl.conf)
Not building PDL::Graphics::PLplot
Any idea?
Thanks
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
2 years, 9 months
compiling PDL-LAPACK
by Patrick Dupre
Hello,
Trying to compile perl-PDL-LAPACK,
I get:
gcc -c "-I/usr/lib64/perl5/vendor_perl/PDL/Core" -I./CLAPACK -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.12\" -DXS_VERSION=\"0.12\" -fPIC "-I/usr/lib64/perl5/CORE" LAPACK.c
In file included from /usr/lib64/perl5/vendor_perl/PDL/Core/pdl.h:9,
from /usr/lib64/perl5/vendor_perl/PDL/PP.pm:1327:
/usr/include/f2c.h:16:31: error: expected ';', identifier or '(' before '_Complex'
16 | typedef struct { real r, i; } complex;
this is weird, because I do not see any issue with
/usr/include/f2c.h (2c-20190311-5.fc34.x86_64)
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
2 years, 9 months
MP3 player mounts on /run - why?
by Geoffrey Leach
The Thunar file manager mounts a MP3 player on /run/media/<user><UUID>.
Can anyone give me a clue as to why the choice? The UUID is X52, which
I assume is OK, although I've never seen one so short.
2 years, 9 months
Questions on creating RPM Package??
by Michael D. Setzer II
Saw all the messages on Clonezilla, and brought up
a question I'd ask a long time ago, and a new one.
Had asked about process to do an rpm package,
and had gotten a suggestion to going a list on it, but
turned out the list was dead, and had had no post
for years, so that was a dead end.
Have been the maintainer of the G4L disk imaging
program since 2004, and build it with Fedora as the
build system. Have been able to run it from the CD,
USB or even from grub2 menu by manually adding
it. Doesn't have all the bells or options that
Clonezilla has, but does things.
The grub option to add just required putting a
kernel file and ramdisk.lzma file into boot directory
and then using a 40_custom file.
# !/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu
entries. Simply type the
# menu entries you want to add after this comment. Be
careful not to change
# the 'exec tail' line above.
menuentry G4L {
linux /bz5x12.13 root=/dev/ram0 telnetd=yes
initrd /ramdisk.lzma
}
menuentry G4L_NOSMP {
linux /bz5x12.13 root=/dev/ram0 telnetd=yes nosmp
initrd /ramdisk.lzma
}
menuentry G4L_FailSafe {
linux /bz5x12.13 root=/dev/ram0 noapic noacpi
pnpbios=off acpi=off pci=noacpi nosmp
initrd /ramdisk.lzma
}
That would then add options to the grub boot menu
similar to how memtest worked to add option. It
would load kernel image, and then g4l in ram to
run. Looked at memtest, but note that they don't
have an option with the EFI version, which was my
new question with shift to more systems using that?
Issues with creating signed kernels?
Wondering if there might be information or
someone might know of a list or page?
Thanks.
2 years, 9 months
Live on USB with another data partition
by Petr Menšík
Hi!
I am trying to make my 64GB flash drive bootable to Fedora. It is quite
easy to write iso image using dd to flash drive.
However, I would like to use the unused flash drive space for normal
files on VFAT partition. I would like to keep booting both over legacy
MBR and UEFI on the same time. I think just adding a new partition after
writing ISO image would be enough. I know livecd-iso-to-disk exists, but
it forces me to choose between legacy or EFI bootable image. It does not
allow both on the same drive.
However partition table on Live image is created strange way. gdisk
refuses to edit first partition at all. Legacy msdos partition table
starts at block 0, which is unusual. Is it required for something? Is
there tool able to edit GPT table of live image?
$ sfdisk -l Fedora-Workstation-Live-x86_64-34-1.2.iso
Disk Fedora-Workstation-Live-x86_64-34-1.2.iso: 1.87 GiB, 2007367680
bytes, 3920640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6b5ab614
Device Boot Start End Sectors
Size Id Type
Fedora-Workstation-Live-x86_64-34-1.2.iso1 * 0 3920639 3920640
1.9G 0 Empty
Fedora-Workstation-Live-x86_64-34-1.2.iso2 172 20543 20372
9.9M ef EFI (FAT-12/16/32)
Fedora-Workstation-Live-x86_64-34-1.2.iso3 20544 63391 42848
20.9M 0 Empty
$ gdisk -l Fedora-Workstation-Live-x86_64-34-1.2.iso
GPT fdisk (gdisk) version 1.0.7
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: present
Found valid MBR and GPT. Which do you want to use?
1 - MBR
2 - GPT
3 - Create blank GPT
Your answer: 2
Using GPT and creating fresh protective MBR.
Warning! Main partition table overlaps the first partition by 64 blocks!
You will need to delete this partition or resize it in another utility.
Disk Fedora-Workstation-Live-x86_64-34-1.2.iso: 3920640 sectors, 1.9 GiB
Sector size (logical): 512 bytes
Disk identifier (GUID): EC09CB0A-A8D6-4BC3-8A3A-BA2784A6B211
Partition table holds up to 248 entries
Main partition table begins at sector 2 and ends at sector 63
First usable sector is 64, last usable sector is 3920576
Partitions will be aligned on 4-sector boundaries
Total free space is 1 sectors (512 bytes)
Number Start (sector) End (sector) Size Code Name
2 172 20543 9.9 MiB 0700 ISOHybrid1
3 20544 63391 20.9 MiB AF00 ISOHybrid2
Note it does not even display Number 1 partition ^^. Instead it
complains I need to use another utility. I haven't found utility able to
do it. Can you recommend something? I consider myself power user, even
non-trivial way would be acceptable.
Note the warning, complaining partition starts at block 0, not block 64.
Unfortunately gdisk does not let me create new partition 1 starting on
block 64. Are there other tools for writing live images to flash drive,
which can prepare both EFI and legacy boot image, but create editable
partition table instead?
Thanks,
Petr
--
Petr Menšík
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
2 years, 9 months