Oracle virtual machine
am using VB and its not easy
Comments
-
Hi @abdallah252 , are you using VirtualBox, and you have issues with that? What issues do you have, and what guest are you running?
Regards,
Luis.0 -
From the title it sounds like you are running Oracle as your guest OS. We don't recommend that and in some LF courses we forbid it. While it is a close knock off of RHEL it has enough differences to be a pain and we do not test at all etc. It should work in lower level courses, but as I said we treat it as a fringe distribution and getting used to Oracle is only likely to mess you up on an exam.
0 -
I believe the OP refers to Oracle VirtualBox?
In many cases VB is as easy as it can get. But it also depends on what you are trying to do. And it depends on the hardware and OS (Windows, Linux ?).
I could probably guide you through using QEMU / kvm and libvirt / virt-manager, but that might be more challenging and requires the host OS to be Linux.
0 -
VMPlayer is free of charge (on Linux and Windows) and is equivalent to Virtual Box. Please no holy wars on which is better. As heiko said, kvm is only on Linux and you can use Azure on Windows, but I have no experience with that. (on Macs, vmplayer is called Fusion and costs money but is not expensive. I don't know why it is not free as VBox is)
0 -
The problem could be better defined, but it might be related to my experience yesterday. I ran into problems trying to follow the instructions in "Installation: What to Use for this Course" for the topic of "4.2 Installing a Hypervisor and a Virtual Machine". I tried both Oracle Virtual Box and VMware only to run into an error telling me that I was missing some kernel headers (which I had a heck of a time finding a good answer to on Google since almost every solution asked me to manually sign stuff new Linux user here). This forum post for OpenSuse directed me to the solution "With YaST I installed kernel-devel (YaST added kernel-default-devel and two more packages). After that the Player made some additions to the kernel and then it started.", https://forums.opensuse.org/showthread.php/533159-VMware-Player-14-1-3-does-not-start-because-it-asks-for-a-kernel-update. However, a more generalized solution may be needed for the course instructions. Hope this helps, thanks.
0 -
BTW, VMplayer is at version 15.5.6, so I hope you used this. Whether or not you use vmplayer or virtualbox, the system has to compile and load a few kernel modules or it cannot run. I've yet to see an real Red Hat based system (RHEL, Fedora, Centos) not have them installed by default as without them no third party drivers can be installed properly. If they are not installed, a simple yum install kernel-devel would do it. I've also never seen a Ubuntu or SUSE system that does not have the kernel-dev stuff installed for the same reason. Were you on OpenSUSE? I'm less used to running that OS as a host although I do it as a VM all the time, and we do compile kernel modules with it for kernel devel courses.
IF your host in any linux system you can run the ready-for.sh script at https://training.linuxfoundation.org/cm/prep with options such as
../ready-for.sh --install LFS201 LFD420
and I"m sure you will have all necessary packages installed, including kernel devel. (You should not need the LFD420 but it won't hurt.)What exactly were you running as the host?
0 -
I did a fresh install of openSuse Leap 15.1, same with VMware 15.5.6, on an old laptop (Toshiba Tecra i3 from years back) for this boot camp. Now the story of why I chose openSuse is a result of another week-long troubleshooting session I had. I was trying to use Ubuntu 20.04 LTS at first, but for some odd reason it was not allowing my Ethernet connection to work. Same with CentOS 8.2. However, openSuse worked just fine. That's why I liked the idea of using VMware to provide a virtual machine for Ubuntu and CentOS bypassing my Ethernet mystery. I figured I would go back to dealing with the problem once I had more knowledge under my belt; i.e. stopped making things worse. I could go through the installation options again to see what I probably selected if it will help others (I tried to choose a basic workstation setup from the options list - email, office suite, music player, etc... maybe I needed to pick something more developer friendly).
Anyways, it did not come with kernel-devel already installed according to YaST. I believe I did run the ready-for.sh script for the LFS201 class prior to installing kernel-devel. Sorry, too many re-installs has made my memory a bit blurry. I just ran the check and it shows I have everything ready for LFS201. I used Rufus 3.11 on my Windows machine to make the bootable USB drive. I think that about covers it. My initial Google searches into the problem took me into UEFI secure boot and mokutil which took me way off target. Still a good learning experience and what I've come to expect from my adventures in Linux
1 -
It is possible OpenSUSE doesn't come with kernel-devel installed, although I would be surprised, but I don't recall having checked in recent memory. I construct VMs from scratch frequently for use in our courses and we always run them through ready-for.sh with much more than LFS201 on the list. I know we are talking about the host here, but within the VMs we do run kernel building and module/driver installation etc.) In general, we don't do a lot of testing on openSUSE because the number of students using it (to be honest) is vanishingly small. Once upon a time our certification exams were given on openSUSE as well as the other two platforms, be this was stopped as it was not worth the expense, which is quite high.
As far as having no Ethernet on an old system, I am not shocked. I have had the same experience with CentOS on a not very old quad system I have, and to defeat it I had to copy the driver over manually after the install. It's actually more complicated than that. It is really just the initial install kernel that is defective -- you can then build your own kernels and fix it, but some of the tools you need are not installed either. I'm expert enough to figure it out but it is not for the faint-hearted. I'm not surprised CentOS failed, but I would have expected Ubuntu desktop/workstation to work as it is a more user-friendly distribution and not explicitly only enterprise. Likewise Fedora I would expect to have worked better. RHEL keeps the number of things installed (and thus supported) much lower which I understand.
1 -
Hi @Alex_Cooper , please keep in mind that you will need an Ubuntu or CentOS system anyway, for preparing for the exam. Perhaps you can try installing VMware or VirtualBox in a newer hardware.
Many regards,
Luis.0 -
I believe Alex i using suse as a host for vmware or vbox? then he can install anything he wants as a vm within it.
2 -
Oh, in that case it's all right
Luis.
1
Categories
- All Categories
- 217 LFX Mentorship
- 217 LFX Mentorship: Linux Kernel
- 791 Linux Foundation IT Professional Programs
- 353 Cloud Engineer IT Professional Program
- 178 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 147 Cloud Native Developer IT Professional Program
- 137 Express Training Courses
- 137 Express Courses - Discussion Forum
- 6.2K Training Courses
- 47 LFC110 Class Forum - Discontinued
- 71 LFC131 Class Forum
- 42 LFD102 Class Forum
- 226 LFD103 Class Forum
- 18 LFD110 Class Forum
- 38 LFD121 Class Forum
- 18 LFD133 Class Forum
- 7 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 4 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 697 LFD259 Class Forum
- 111 LFD272 Class Forum
- 4 LFD272-JP クラス フォーラム
- 12 LFD273 Class Forum
- 148 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 2 LFS116 Class Forum
- 4 LFS118 Class Forum
- LFS120 Class Forum
- 7 LFS142 Class Forum
- 5 LFS144 Class Forum
- 4 LFS145 Class Forum
- 2 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 2 LFS157 Class Forum
- 29 LFS158 Class Forum
- 7 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 31 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム
- 18 LFS203 Class Forum
- 134 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 48 LFS242 Class Forum
- 38 LFS243 Class Forum
- 15 LFS244 Class Forum
- 2 LFS245 Class Forum
- LFS246 Class Forum
- 48 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 152 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 7 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 118 LFS260 Class Forum
- 159 LFS261 Class Forum
- 42 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 22 LFS268 Class Forum
- 30 LFS269 Class Forum
- LFS270 Class Forum
- 202 LFS272 Class Forum
- 2 LFS272-JP クラス フォーラム
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 9 LFW111 Class Forum
- 259 LFW211 Class Forum
- 181 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 795 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 102 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 758 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 353 Ubuntu
- 468 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 93 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 63 Mobile Computing
- 18 Android
- 33 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 371 Off Topic
- 114 Introductions
- 174 Small Talk
- 22 Study Material
- 805 Programming and Development
- 303 Kernel Development
- 484 Software Development
- 1.8K Software
- 261 Applications
- 183 Command Line
- 3 Compiling/Installing
- 987 Games
- 317 Installation
- 97 All In Program
- 97 All In Forum
Upcoming Training
-
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)