Images do not work
Following the example from this video , i had tried to create three VMs:
I have downloaded the tar.zx archives from here . I have created the VMs following these  instructions in a VirtualBox 6.1.26_Ubuntu r145957 on Ubuntu 20.04.3 LTS. The latter two do not work.
- After selecting in the bootloader "CentOS Stream (5.15.0) 8", or "/boot/4.18.0-348.e18.x86_64" I get this  and eventually - this [4a]
After selecting in the bootloader "openSUSE Leap 15.3" I get simply black screen 
Going for "Advanced options for openSUSE Leap 15.3" > "openSUSE Leap 15.3 with Linux 5.12.0 9recovery mode)" gives me this 
Going for "Advanced options for openSUSE Leap 15.3" > "openSUSE Leap 15.3 with Linux 5.3.18-59.27-default gives me this .
I do have a working Ubuntu, so it is not urgent, but I would really prefer to have all VMs so I can compare between different distributions..
Btw, it would be nice to remove the reference to "[email protected]" in  since this is just automatic reply which is pointing to an even more useless JIRA tracker (where I cannot attach any screenshots). Which brings me to my next question:
What is the official support channel for the VM images which you are providing?
All three of these VMS have worked successfully on both vmware and virtualbox although I confess they are better tested on vmware as that is where they are produced. (This is the right forum to ask about the images as I am the one that creates and maintains them)
If you successfully get into a grub menu and then the system starts to boot and fails, the most likely instance is always a mismatch between the hard disk driver in the initramfs, and the driver the hypervisor wants to use. All of these images use SCSI as the disk type (I just checked). I have seen Virtual Box sometimes mysteriously choose SATA by default. And some very recent images (like FC-35) actually use nvme. Usually the rescue images can handle both as they are pre-canned (not built at time of installation or kernel compile and install) like the other ones). If you have access to the actuall initramfs file you can use the "lsinitrd" program to list the contents.
If the emergency boot choice works, that is a good clue. You can change the machine settings in the hypervisor or reinstall the kernel while running the emergency boot option.
By the way, I assume you have OpenSUSE 15.3 not 25.3 unless you are far in the future The output you post from OpenSUSE is almost definitely a hard disk dirver mismatch. Same is true for CentOS
we can change the link in the readme file. However, let me note that if you are in the class, that is not the best way to ask about this, it is to ask in the forum as you are doing. The training JIRA link will take a more circuitous route to get answer
I expect both of these would work fine with vmware without a problem. I won't get into vmware <-> virtual box holy wars but they are more often used in vmware so bug reports come in more often and get dealt with, but they are rare. It is almost always the disk driver.
If all else fails it takes about 1/2 hour to:
build a new VM from scratch by downloading the install isos and using them
then run ready-for.sh --install LFS201 (you may have to install curl first depending on distribution)
Then you will have the pride of doing it yourself. And it may take less time than debugging what went wrong if it is not the hard disk driver problem, which is a couple of mouse clicks to fix.0
Thanks for the pointers coop,
- I have no doubt that all images are being tested but that does not really help me, right? Anyway..
- VirtualBox is always using by default SATA (no idea why). And it actually miraculously works in some cases (CentOS8 for example).
- The VirtualBox vs. VMWare - I also don't care. It's simply that I cannot install VMWare on OSX (I am working on the courses on two different machines depending on my physical location - an Ubuntu 20.04 and an OSX). So, at least for the OSX case - I am stuck with VirtualBox
- openSUSE worked (btw, CentOS 9 Stream needed that too) after I have removed the SATA controller and attached the disk to the default SCSI controller (LsiLogic). I need to do
zypper clean --allin order to update the VM, but otherwise it worked like a charm, thanks.
- On top of the above, Fedora is starting in rescue mode and give it 4 GB RAM to get it going. Once updated and booting with kernel
The VMs which do not work for me also after trying all SCSI drivers are
- CentOS8 Stream (stuck in dracut, and in rescue mode - with
dracut: FATAL: iscsiroot requested but kernel/initrd does not support iscsi)
- Gentoo (stuck to a "terminal" i.e. blinking cursor where I cannot input anything or no obvious error in rescue mode)
- CentOS8 Stream (stuck in dracut, and in rescue mode - with
My point  from the previous post i.e:
drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message
This message btw seems to be harmless since it exist for example in CentOS8 image in dmesg, but the VM boots fine. Anyway, the solution is to change in VrtualBox the graphics controller (Settings > Display > Graphics Controller) from the standard "VMSVGA" to "VBoxVGA" (from )
- Ubuntu 20.04, Fedora 35 and openSUSE 15.3 image - Flickering of the screen. Solved by enabling 3D Acceleration (Settings > Display > Acceleration: Enable 3D Acceleration)
- Ubuntu 21.10 (I know it is not supported, I include it for completeness) - the pointer does not work with the default settings. Changing Pointing Device (Settings > System > Pointing Device) to "PS/2 Mouse" did the trick. It is still with different speed than the host OS, but hey, better than nothing.
- For the link in the readme file - I think you should remove it. Or at least mention that the right way to report errors is here - it is not clear from the documentation.
- Installing from .iso - I know that is an option. I wanted to have your VM, because I presume there will be baked in some goodies in them at some point
Anyway, for me, the story is over - I have at least one working VM from each distro family. The key one was openSUSE - while you have several VMs from RedHat and Debian clones, there was only one for SUSE and it was not working - now it does, thanks.
BTW, you can use vmware on the mac if you use VMware Fusion, which is not free but low cost and works well. For the life of me I don't know why they charge for the Mac Version and not the PC version.
When you install on vmware you get to pick all the hardware under Machine Settings before the install starts. On VirtualBox it picks these things for you once you point to only the .vmdk file (there is nothing like the .vmx file vmware uses which has these settings.) I cannot predict exactly what a given choice of hardware and software and VirtualBox on the host will decide to pick and dumb things happen.
You should also never try booting into the custom kernel (5.15.0 probably) before making sure you can get into the distribution supplied kernel. The custom kernel is only for use in kernel development courses and the other should be the default. It deliberately does not contain every possible driver and option as it gets rebuilt multiple times in other courses.
I don't own a Mac and do not test on the Mac. Things are different. For example, hardware video acceleration does not work on PCs in any scenario I personally have seen. Mouse drivers and integration is a typical bug that comes up that is hard to predict and solve for both hypervisors and usually involves installing addition software from the upstream provider (additions etc.)
There is a limit to how much hypervisor setup debugging we do and there is a conscious reason for that. This is not a course on hypervisors. We don't have the expertise or bandwidth.
If you want the best experience and you have a linux host running, use kvm, it works the best.
Let me note that if you install from the distro CD/DVD, run dnf or apt to update and run ./ready-for.sh you are duplicating exactly how these vm's were built, the only difference being we run ./ready-for.sh for a number of courses and so it installs more software and takes longer (the complete list is LFS300 LFS301 LFS416 LFS416 and a bunch of LFD courses -- LFS301 is the same as LFS201 -- but never takes more than 1/2 hour of which 25 minutes you don't need to be there. All this debugging may be educational but does not produce a better VM. For an experienced person like yourself this should not be a big challenge.
As far as GENTOO goes it is completely unsupported and is there for fun. As you can see it is hell to keep working and up to date. I have found that if I don't update at least once a week it breaks beyond repair and it is very sensitive to the drivers on the host. ArchLinux works better but is also unsupported.
the only VMS we encourage are CentOS-8-Stream and Ubuntu-20-04. The rest are there for fun or for a couple of legacy courses (I'd like to dump Ubuntu 18-04 at the end of the year and CentOS-8 is reaching EOL. ) Please note almost no one downloads and uses OpenSUSE any more so that is also there for fun. All exams use either Ubuntu or CentOS. Debian is almost always ok because it is close to Ubuntu and is very well done to begin with.
Thanks for all the diligence, it keeps us on our toes, but as I said I would never try to do full hypervisor support. the providers are crappy with Linux support even though Oracle has its own distribution. For example, when 5.16 comes out it is unlikely it will work as a Linux host on one or both distributions and I will have to figure out or find someone who has figured out how to patch the vmware source so it works with 5.16 as I work only on linux hosts.
The readme file and all VMS will be updated about the end of the year when 5.16 comes out. We do it as an atomic operation.
For fun you could try CentOS-9-Stream. I uploaded it a few days ago, no promises or support
Thanks for everything coop,
I have my setup (Ubuntu 20.04, CentOS9 Stream and openSUSE 15.3) working and I am not planning to play around with the rest. I think it would be useful/timesaving for the users to somehow note which images are considered "current" and which are "for playing"..
Anyway, feel free to make / label this thread as solved.
- 10.1K All Categories
- 35 LFX Mentorship
- 88 LFX Mentorship: Linux Kernel
- 504 Linux Foundation Boot Camps
- 279 Cloud Engineer Boot Camp
- 103 Advanced Cloud Engineer Boot Camp
- 48 DevOps Engineer Boot Camp
- 41 Cloud Native Developer Boot Camp
- 2 Express Training Courses
- 2 Express Courses - Discussion Forum
- 1.8K Training Courses
- 17 LFC110 Class Forum
- 5 LFC131 Class Forum
- 20 LFD102 Class Forum
- 148 LFD103 Class Forum
- 13 LFD121 Class Forum
- 61 LFD201 Class Forum
- LFD210 Class Forum
- 1 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum
- 23 LFD254 Class Forum
- 569 LFD259 Class Forum
- 100 LFD272 Class Forum
- 1 LFD272-JP クラス フォーラム
- 1 LFS145 Class Forum
- 23 LFS200 Class Forum
- 739 LFS201 Class Forum
- 1 LFS201-JP クラス フォーラム
- 1 LFS203 Class Forum
- 45 LFS207 Class Forum
- 298 LFS211 Class Forum
- 53 LFS216 Class Forum
- 46 LFS241 Class Forum
- 41 LFS242 Class Forum
- 37 LFS243 Class Forum
- 10 LFS244 Class Forum
- 27 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- 131 LFS253 Class Forum
- 998 LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 87 LFS260 Class Forum
- 126 LFS261 Class Forum
- 31 LFS262 Class Forum
- 79 LFS263 Class Forum
- 15 LFS264 Class Forum
- 10 LFS266 Class Forum
- 17 LFS267 Class Forum
- 17 LFS268 Class Forum
- 21 LFS269 Class Forum
- 200 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- 212 LFW211 Class Forum
- 154 LFW212 Class Forum
- 899 Hardware
- 217 Drivers
- 74 I/O Devices
- 44 Monitors
- 115 Multimedia
- 208 Networking
- 101 Printers & Scanners
- 85 Storage
- 749 Linux Distributions
- 88 Debian
- 64 Fedora
- 14 Linux Mint
- 13 Mageia
- 24 openSUSE
- 133 Red Hat Enterprise
- 33 Slackware
- 13 SUSE Enterprise
- 355 Ubuntu
- 473 Linux System Administration
- 38 Cloud Computing
- 69 Command Line/Scripting
- Github systems admin projects
- 94 Linux Security
- 77 Network Management
- 108 System Management
- 49 Web Management
- 63 Mobile Computing
- 22 Android
- 27 Development
- 1.2K New to Linux
- 1.1K Getting Started with Linux
- 528 Off Topic
- 127 Introductions
- 213 Small Talk
- 20 Study Material
- 794 Programming and Development
- 262 Kernel Development
- 498 Software Development
- 923 Software
- 258 Applications
- 182 Command Line
- 2 Compiling/Installing
- 76 Games
- 316 Installation
- 54 All In Program
- 54 All In Forum
August 20, 2018
Kubernetes Administration (LFS458)
August 20, 2018
Linux System Administration (LFS301)
August 27, 2018
Open Source Virtualization (LFS462)
August 27, 2018
Linux Kernel Debugging and Security (LFD440)