Ubuntu server 20.04 + GUI - TPM V2 emulator SWTPM Success !!! W11 VM


jimbo45

Well-known member
Pro User
VIP
Local time
9:47 AM
Posts
3,901
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
Hi folks

Now working (ist pass)

As I suspected it's that package trousers which gets implemented either by default ubuntu install or by some SWTPM's implementations .which hoses up the whole swtpm emulaton thing as it's based on TPM V 1.2.

Using basic server |20.04 LTS install and adding minimal GUI doesn't have those "rogue" packages in them. You can't fix it either by removing the packages as the damage is already done -- in parts of the kernel and I'm too old and not minded enough to even THINK of repairing that -- easier to install the whole thing again !!!!.

I'll replicate what I did again then post instructions

so far

2022-03-31_09-00.png


On 2nd pass now



Screenshot_20220331_112729.png


Screenshot_20220331_114543.png

After next pass will update this post with instructions -- follow exactly though -- 3 good attempts on totally cleaned HDD's should be reproduceable enough.

Lunch and Beer now - then pass 3

Working -- follow this order though and execute ALL the linux commands from the server after it's been installed - there aren't many !!

1) Have these before starting - Disk for Ubuntu server LTS installation -- I suggest an external USB - USB 3 is fast enough - even better if you have external SSD via SATA->USB3 adapter. No need to format it or whatever plus of course your Windows 11 installation iso and a USB stick for server installation.

2) Download the 20.04 LTS server from Get Ubuntu Server | Download | Ubuntu (manual server installation)

3) use Rufus / DD or whatever tool you like to create a bootable system on your USB stick.

4) boot from the USB - from your BIOS or whatever to ensure boot is from the USB

5) ensure the target disk is also plugged in to the computer.

6) follow on screen instructions - choose language (GB) , keyboard (GB) extended with win keys (or choose lang and keyboard to choice)

7) choose guided - use whole disk and use drop down to select the disk -- I also used LVM but NOT encrypted

8) take rest of defaults by hitting done at bottom of screen on each page -- until installation starts - On services i added open-ssh server when the option appears but skipped the rest. I only used that as I needed to get my windows iso from remote server. You'll see things like server (host name) user name password etc just enter your desired names.

9) when complete (you'll see a prompt for remove installation medium and hit enter) - remove the usb stick and reboot.

10) ensure reboot is done from the target disk.

11 when all the text has finished hit enter and you should see a login prompt

12 now enter these commands (if you don't want to keep prefixing by sudo type initially sudo su. (Debian / ubuntu type systems don't allow a user to login specifically as root) that will keep you in root mode -- I use sudo as there's less chance of typing a mistake and deleting your system files !!!

a) first apply upgrades
sudo apt upgrade

b) add the CORRECT SWTPM REPOSITORY -- if this fails / done wrongly the process will fail
sudo add-apt-repository ppa:itrue/swtpm
sudo apt-get update
sudo apt-get install swtpm
sudo apt-get install swtpm-tools -- do this AFTER installing swtpm AND
ABSOLUTELY ENSURE PACKAGE TROUSERS IS NOT INSTALLED


b) remove redundant package(s)

sudo apt autoremove

Now we need a GUI for easy management of virtual machines
I'm using the barebones KDE GUI as it doesn't install zillions of packages which I dont need and could hose the whole thing up - If you are just testing you could try any other GUI but this one works (I've repeated this 3 times all with 100% success) and for Windows users it's the most Windows like system e.g the icon at the bottom left of the screen throws up a menu aka Windows.

We will install the KVM. QEMU virtual machine manager and the GUI for managing virtual machines AFTER installing the KDE GUI and booting into the GUI

sudo apt-get install plasma-desktop (KDE base desktop)
sudo apt-get install sddm (mandatory window manager for kde)
sudo systemctl enable sddm (need to start automatically at boot)

sudo apt-get install konsole firefox dolphin kate

konsole -> console / terminal from within the GUI or you'll forever have to press ctrl+F2 to switch to a terminal;
firefox ->web browser -- choose any you like though
dolphin ->a file / windows explorer like file browser
kate ->wsiswg screen text editor like notepad


after it all finishes reboot

After reboot you'll see a login screen - ignore the USA flag on the top if you've installed GB and ENG keyboard. If you've got the wrong keyboard you can change it all with system settings from the menu -- up to you to experiment - you can change login screen, splash screens, wallpaper etc to taste- this post is to help you to get Win 11 running as a VM on a UBUNTU 20.04 LTS host with a working TPM emulator. Other stuff - up to you.

Screenshot_20220331_140042.png

After login choose konsole from the menu (type konsole on the search area) and then install the following

sudo apt install -y qemu qemu-kvm libvirt-daemon libvirt-clients bridge-utils virt-manager

enable the libvirtd service to start at boot

sudo systemctl enable --now libvirtd

now you need to reboot even though the service / daemon is running - this is because some kernel modules have to be loaded at boot.

then after reboot and login start virtual machine manager from the menu


You should be in business -- just add the hardware you want and the TPM

when adding the TPM you should see this

Screenshot_20220331_142413.png

If you see that you know it's working -- doesn't matter if you use crb or tis in the dropdown. Ensure of course you add your Windows iso to the hardware and set the boot options to secure boot. (package OVMF is installed automatically on UBUNTU server so no need for extra installs).


Have fun !!!!

BTW to get to this stage shouldn't take more than around 15 to 20 mins asuming even modest hardware. Installing the Guest actually takes longer !!!!! but I've done this 3 times all from scratch so it should work

@cereberus please have a go at this if you aren't fed up with the whole thing by now !!!!!!!

You can tidy up e.g better video etc by getting the virtio iso for windows and add that as a cd image to the guest and run all the W11 drivers from within windows.

Up to you -- the point of this post was to show that running Windows 11 as a VM on KVM/QEMU on ubuntu 20.04 LTS server wasn't impossible -- actually quite easy in fact -- though only after about a zillion failed google searches and umpteen efforts at making it work.

If a few people try this successfully perhaps this could be added to Tutorials in the VM section -- I would like others to try it first though as I might have missed something or done a command which was obvious to me but not listed causing the thing to fail.

Cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Have to say one thing - changing kernel setup is actually not hard at all. Time consuming, yes, but not all that hard - unless it is a feature that is 1) baked in and 2) uneditable in source. That would require modding, or at the very least a patch, but again, still not hard to do.

The best part is that the documentation out there for each individual setting in a kernel is very good, much better than it was when I first started playing with Fedora and had to trust that Con Kalivas' kernel patches were actually non-destructive when used with FC 2/3. It was that patching that led me to start exploring compiling kernels for myself, making them very hardware-specific and reducing a lot of cruft that I simply did not need.

If you know exactly which services are causing this issue with swtpm, then seeing how they make modifications when enabled / added to an install should allow you to find what was changed where, in order to back that change(s) out.
 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    NZXT KRAKEN Z73 73.11 CFM Liquid CPU Cooler (3x 120 mm push top) + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
OK, couple of things

1) had to modify as per screen dump

1648747860319.png

2) you have an error in line above

sudo add-repository ppa:itrue/swtpm

should be

sudo add-apt-repository ppa:itrue/swtpm

I am actually installing in hyper-v vm

So I also had to do this


So acid test coming up soon..........
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
OK, couple of things

1) had to modify as per screen dump

View attachment 25841

2) you have an error in line above

sudo add-repository ppa:itrue/swtpm

should be

sudo add-apt-repository ppa:itrue/swtpm

I am actually installing in hyper-v vm

So I also had to do this


So acid test coming up soon..........
Hi thanks

I created another VM using VHDX via dism /Apply-Image and writing the boot loader -- using a "sata disk" in the vm formatting it as 1 EFI partition. 1 MSR partition and the rest as a single ntfs partition.

I created 2 vhdx files booting from the windows install iso in the VM into command line (repair system -->command line) then diskpart etc. attached the vdisks , formatted as single partition ntfs disks and then did windows installs via dism apply-image.

I then booted from the sata disk - and it's fine. I also installed W10 as a 2nd vhdx file on the main "VM" disk - and after updating the bootloader have the choice of W10 / W11 as boot on the VM. I.E booting the VM presents the two OS'es as choice -- this works fine if "Virtual hardware" the same for both OS'es.

Now I haven't tested creating the ubuntu server as a vm under HYPER-V which is effectively a 2nd level VM -- so no guarantees on that one as the HYPER-V host will probably have some things in the "HYPER-V" Bios for booting a VM.

Using the UBUNTU server - as Host - install seems pretty robust. !!

Anyway that's it for tonight -- good luck with testing !! -- You got me interested too -- I wanted to see if it could be done and I wasn't going to give up when I couldn't see any logical reason for it NOT to work . I've ditched KUBUNTU and KDE NEON as there's no way of preventing all those ziillions of unwanted packages to be installed causing all sorts of mayhem.

Office LTS 2021 also installs OK - didn't activate as I didn't want to waste licenses on test throw away systems.

Cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Well, I finally had to give up - got as far as installing windows 11, tpm was included etc. but fell over at last hurdle as Windows said my vm was not compatible - I am certain it is failing on cpu check but the installer was working i.e. hyper-v, linux server, qemu, windows. I will try a direct install next to an external ssd.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Well, I finally had to give up - got as far as installing windows 11, tpm was included etc. but fell over at last hurdle as Windows said my vm was not compatible - I am certain it is failing on cpu check but the installer was working i.e. hyper-v, linux server, qemu, windows. I will try a direct install next to an external ssd.
Hi there

Corrected the ist post in the thread -- now sudo apt-add-repository. -----

One last thing -- can you "Poodlefake" the CPU in HYPER-V -- i.e assign a Virtual CPU type that's "allowable". You can also use the CPU dropdown in QEMU

HYPER-V might though try and read the "Real hardware" which would negate that though -- I just don't know. The main point in general of Virtual machines is to use "paravirtualised Virtual hardware" which makes them "runnable" on almost anything although in specialised cases one can pass thru real hardware e.g graphics when needed for specific purposes or maximum VM performance.

Screenshot_20220401_082955.png

It shouldn't take long to test that.

However the direct install does work -- I'm not particularly experienced with HYPER-V although it's very good for some situations.

Cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Hi there

Corrected the ist post in the thread -- now sudo apt-add-repository. -----

One last thing -- can you "Poodlefake" the CPU in HYPER-V -- i.e assign a Virtual CPU type that's "allowable". You can also use the CPU dropdown in QEMU

HYPER-V might though try and read the "Real hardware" which would negate that though -- I just don't know. The main point in general of Virtual machines is to use "paravirtualised Virtual hardware" which makes them "runnable" on almost anything although in specialised cases one can pass thru real hardware e.g graphics when needed for specific purposes or maximum VM performance.

View attachment 25883

It shouldn't take long to test that.

However the direct install does work -- I'm not particularly experienced with HYPER-V although it's very good for some situations.

Cheers
jimbo
I tried selecting different cpus in Qemu but no joy. I just do not think we can get it working via HyperV. In the end, using bare bones minimal Linux server is too much hassle as Ibcould not get enhanced mode working etc. Even installing apps is a PITA.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
I tried selecting different cpus in Qemu but no joy. I just do not think we can get it working via HyperV. In the end, using bare bones minimal Linux server is too much hassle as I could not get enhanced mode working etc. Even installing apps is a PITA.
Never mind --you had a "good go" I usually prefer doing these things on an external SSD as it doesn't wreck the main computer and if it all goes wrong - no hassle to get a working computer again.

I might have a go myself with HYPER -V but I'll have to do it on another machine - modest laptop I'm using for this test won't really like HOST to VM-> to another VM although interesting as a POC.

Thanks for trying - and if you do a test on external disk please post !! --You're probably sick of this by now --but once I get my teeth into something I'm like a dog with a bone -- I'll fix it until it's absolutlely clear it can't be done (at least by me).

Laptop I'm using for these tests HP envy sleekbook with i5 gen 6 cpu (so not officially supported for W11) with only 8GB RAM and 256 internsal SSD.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Never mind --you had a "good go" I usually prefer doing these things on an external SSD as it doesn't wreck the main computer and if it all goes wrong - no hassle to get a working computer again.

I might have a go myself with HYPER -V but I'll have to do it on another machine - modest laptop I'm using for this test won't really like HOST to VM-> to another VM although interesting as a POC.

Thanks for trying - and if you do a test on external disk please post !! --You're probably sick of this by now --but once I get my teeth into something I'm like a dog with a bone -- I'll fix it until it's absolutlely clear it can't be done (at least by me).

Laptop I'm using for these tests HP envy sleekbook with i5 gen 6 cpu (so not officially supported for W11) with only 8GB RAM and 256 internsal SSD.

Cheers
jimbo
Is there a simple way of cutting and pasting to Linux server without enhanced mode from Windows

Can I install a simple browser before kde is installed, so I can download a text file with commands.
 
Last edited:

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Is there a simple way of cutting and pasting to Linux server without enhanced mode from Windows

Can I install a simple browser before kde is installed, so I can download a text file with commands.
Hi there
Problem with a simple browser is that you need a GUI -- usually although I believe the lynx text browser still works -- easier ways though !!!.

A good alternative is to install FILEZILLA on both Windows AND the Linux server (after KDE is installed) and then use filezilla to send / receive files to / from windows to and from the linux system.

Note though for Windows to SEND files (not receive) you need to install openssh-server --in the install optional features - just install and start in services.

Then to SEND files from Windows to Linux in Filezilla :

Enter name of Windows server or NAS drive

filezilla interface : (identical on both Windows and Linux)

Screenshot_20220401_140555.png
I'm not sure what setup you have but that shouldn't IMO be a huge problem. You don't need SAMBA or similar to do this. SAMBA is really good but that's another whole ballgame, You don't need windows either to enable SMB1 for FILEZILLA to work to transfer files as a client.

Another way -- Logon to Windows then the copy what you want to an external drive and then just mount that drive to linux and then copy the files.

e.g on linux plug the USB in and run LSBLK (use small letters) -- say it's /dev/sdx on some temp file e.g /media/xxxx

unmount it sudo umount /dev/sdx

create file (sudo mkdir /mnt/VOLXXX)

mount the disk : sudo mount /dev/sdx -t auto -o rw /mnt/VOLXXX

make this directory readable and writeable (sudo chown -R <your userid> /mnt/VOLXXX)

Now the eternal hdd should be readable / writeable whatever the file system -- Linux has for years had read/write access to NTFS -- if yours hasn't ensure package ntfs-3g is installed -- It's by default on UBUNTU server

Any problems on Linux -- ensure package kde-spectacle is installed - then you can take a screenshot very similar to Windows snipping tool and then upload to the forum. The interface is almost identical to Windows current screen capture -but better in so far is it captures the Mouse pointer and has other decent features. Set to capture rectangular area.

Screenshot_20220401_143933.png


Cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Hi there
Problem with a simple browser is that you need a GUI -- usually although I believe the lynx text browser still works -- easier ways though !!!.

A good alternative is to install FILEZILLA on both Windows AND the Linux server (after KDE is installed) and then use filezilla to send / receive files to / from windows to and from the linux system.

Note though for Windows to SEND files (not receive) you need to install openssh-server --in the install optional features - just install and start in services.

Then to SEND files from Windows to Linux in Filezilla :

Enter name of Windows server or NAS drive

filezilla interface : (identical on both Windows and Linux)

View attachment 25900
I'm not sure what setup you have but that shouldn't IMO be a huge problem. You don't need SAMBA or similar to do this. SAMBA is really good but that's another whole ballgame, You don't need windows either to enable SMB1 for FILEZILLA to work to transfer files as a client.

Another way -- Logon to Windows then the copy what you want to an external drive and then just mount that drive to linux and then copy the files.

e.g on linux plug the USB in and run LSBLK (use small letters) -- say it's /dev/sdx on some temp file e.g /media/xxxx

unmount it sudo umount /dev/sdx

create file (sudo mkdir /mnt/VOLXXX)

mount the disk : sudo mount /dev/sdx -t auto -o rw /mnt/VOLXXX

make this directory readable and writeable (sudo chown -R <your userid> /mnt/VOLXXX)

Now the eternal hdd should be readable / writeable whatever the file system -- Linux has for years had read/write access to NTFS -- if yours hasn't ensure package ntfs-3g is installed -- It's by default on UBUNTU server

Any problems on Linux -- ensure package kde-spectacle is installed - then you can take a screenshot very similar to Windows snipping tool and then upload to the forum. The interface is almost identical to Windows current screen capture -but better in so far is it captures the Mouse pointer and has other decent features. Set to capture rectangular area.

View attachment 25902


Cheers
jimbo
Arghh tried to install to external usd and it wiped my scondary internal drive. Fortunately, all importany stuff backed up. Time to give up.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Hi there
Not sure why it's hosing things up for you

I've done this again now on another even older laptop without any problems -- ensuring that in the setup the boot disk is correctly selected and any other disk should be totally "Untouched"

To add "salt in the wounds" !!! here's on that on an MBR only Sony VAIO laptop with an even older i3 processor installing a W11 VM concurrently with getting an image from UUPDUMP - on the Linux Host it users 4 threads (set the script linux.sh to executable) and operates at greased lightning compared to the same process running on Windows with only 1 thread !!. Install aria2 plus the packages mentioned in the script linux.sh when you unzip the downloaded zip file from UUPDUMP. Even in a Linux VM the uupdump create iso works really fast.

I'm satisfied that the process is working properly so I can't understand why it fails on your system.!!!

Anyway I'll end this discussion now -- I'm happy with my testing methodology

On Ubuntu 20.04 Server LTS : on Sony VAIO laptop..


Screenshot_20220402_115555.png


Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Hi folks


Problem might be with AMD stuff -- I know others will hate me but I've always found INTEL whether more expensive or not always works.

I haven't got any AMD hardware to test this on -- anybody who has one --please have a go. I've done this AGAIN on 3 different computers - all INTEL mobos - although one with Nvidia graphics and no problems whatsoever.

I know people here will "curse and scream" as AMD is cheaper etc -- but if it doesn't work !!!!

'Nuf said but I would be interested if anybody with AMD hardfware has a go at this stuff -- but please pay particular attention to BOOT device when "having a go" with this and please TAKE A BACKUP before starting. If you don't select the correct boot disk -- again 'nuf said.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Hi there
Not sure why it's hosing things up for you
I've done this again now on another even older laptop without any problems -- ensuring that in the setup the boot disk is correctly selected and any other disk should be totally "Untouched"

To add "salt in the wounds" !!! here's on that on an MBR only Sony VAIO laptop with an even older i3 processor installing a W11 VM concurrently with getting an image from UUPDUMP - on the Linux Host it users 4 threads (set the script linux.sh to executable) and operates at greased lightning compared to the same process running on Windows with only 1 thread !!.

I'm satisfied that the process is working properly so I can't understand why it fails on your system.!!!

Anyway I'll end this discussion now -- I'm happy with my testing methodology.


View attachment 25948


Cheers
jimbo
In part, the menus for installation are not intutive, and it is easy to make an error (as I probably did).

In the end, it was curiosity to use qemu/kvm - I can install W10 fine with qemu running in Hyper-V, and it looks like issue with W11 was the CPU check.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
In part, the menus for installation are not intutive, and it is easy to make an error (as I probably did).

In the end, it was curiosity to use qemu/kvm - I can install W10 fine with qemu running in Hyper-V, and it looks like issue with W11 was the CPU check.
Anyway thanks for trying --

One final thing for others who have got this working

Host Guest communication now simple
Install the "Guest tools" on the Guest from the latest Virtio ISO

For network install 2 NIC's -- one the NAT with Virtio
2nd one --Macvtap device (select real Nic) with vrtio

now done !!

Nic 1 default NAT

Screenshot_20220402_212735.png

Nic 2 Macvtap -> bridge -- no setting up needed

Screenshot_20220402_212644.png


Now Host access from Guest

Screenshot_20220402_212957.png

As you can see the VIRBR0 IP here is 192.168.122.1 and is UP so use that IP address in the GUEST to access the HOST,

Screenshot_20220402_213259.png

Host access to Guest (you need to test BOTH ways of course !!!!) I.E Host TO guest and Guest TO Host.

Screenshot_20220402_213858.png


So please no more "This can't be done" !!!!! Running on 3 different laptops UBUNTU 20.04 LTS Server and windows 11 with TPM emulation via swtpm.

Finally closing out this thread -- Anybody welcome to try -- all I can say that I don't have AMD MOBOs or CPU's so can't test on that hardware. Works fine on INTEL with INTEL video and INTEL with NVIDIA graphics hardware.

Have a good night everyone !!!

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Anyway thanks for trying --

One final thing for others who have got this working

Host Guest communication now simple
Install the "Guest tools" on the Guest from the latest Virtio ISO

For network install 2 NIC's -- one the NAT with Virtio
2nd one --Macvtap device (select real Nic) with vrtio

now done !!

Nic 1 default NAT

View attachment 25993

Nic 2 Macvtap -> bridge -- no setting up needed

View attachment 25995


Now Host access from Guest

View attachment 25996

As you can see the VIRBR0 IP here is 192.168.122.1 and is UP so use that IP address in the GUEST to access the HOST,

View attachment 25997

Host access to Guest (you need to test BOTH ways of course !!!!) I.E Host TO guest and Guest TO Host.

View attachment 25998


So please no more "This can't be done" !!!!! Running on 3 different laptops UBUNTU 20.04 LTS Server and windows 11 with TPM emulation via swtpm.

Finally closing out this thread -- Anybody welcome to try -- all I can say that I don't have AMD MOBOs or CPU's so can't test on that hardware. Works fine on INTEL with INTEL video and INTEL with NVIDIA graphics hardware.

Have a good night everyone !!!

Cheers
jimbo
Sure, maybe it can be done but still quite a learning curve.

So I decided to try again installing to an external 250 GB SSD, sand when installer get to stage to select drive, it would not see the ssd but if you selected custom install, it did see it. At this point, it is too Linuxy, and I had no no idea what to do, and then I really gave up.

It is back to what I said earlier - there is a massive learning curve, and the error messages are obviously literally translated from the original Klingon version.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Sure, maybe it can be done but still quite a learning curve.

So I decided to try again installing to an external 250 GB SSD, sand when installer get to stage to select drive, it would not see the ssd but if you selected custom install, it did see it. At this point, it is too Linuxy, and I had no no idea what to do, and then I really gave up.

It is back to what I said earlier - there is a massive learning curve, and the error messages are obviously literally translated from the original Klingon version.
Hi there

Again really appreciate you for having a go. (Many attempts too !!!).

My ist experience with computers was on old IBM mainframes so text command lines with often seemingly meanigless drivel was the way I had to learn -- nothing like Windows back then !!!! No GUI's either. IBM's TSO was the best available and that was all command line entries.

Even entering data was a pain : I think learning Klingon would have been easier than entering stuff on these things :

hollerith.jpg

Anyway really thank you for having a good go at it.

Maybe the only way to do it is for an online Zoom type of approach with students feedback at every step. I'm quite impressed with UBUNTU 20.04 server though --

BTW Good news for you - It's all broken again on UBUNTU 2204 LTS server which is about to be released. I sometimes despair at the current load of testers.

Windows is world wide by far the most popular OS (excluding Mobile phones - Android and Iphone OS) and W11's hardware requirements have been known for a while now. - Zillions of people run Virtual Machines so why on earth didn't the developers of a new LTS SERVER system try creating VM's. Servers are meant to handle all sorts of traffic -- we aren't talking about "bog standard Home users Desktops" for this.

Canonical (who are behind Ubuntu - as IBM are behind Red Hat) are not a tiny Micky mouse company either. !!!

Cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7

Latest Support Threads

Back
Top Bottom