EasyOS on Virtualbox, first steps, first problems
Here is a screenshot from the running system.
downloaded easy-4.4.3-amd64.img
Code: Select all
md5sum easy-4.4.3-amd64.img
Code: Select all
# create easyOS usb
dd if=easy-4.4.3-amd64.img of=/dev/sdb bs=1M
sync
create EasyOS virtual machine in virtualbox
Code: Select all
#add easyOS usb as a vmdk passthrough device
VBoxManage internalcommands createrawvmdk -filename easyusb.vmdk -rawdisk /dev/sdb
add the easyusb.vmdk to the EasyOS virtual machine ide controller
start the virtual machine and press f12 immediately to select the boot device.
boot from the easyusb.vmdk
xorgwizard
select vesa (unaccelerated)
the other modes failed
xwin
warning: when I tried to configure the audio the virtual machine crashed!
use gparted to create a msdos partition map on the EasyOS.vmdk which was created with the VM.
Created an ext4 primary partition on that device with the label EasyOS
added a boot flag to the EasyOS partition
copied vmlinuz an initrd from the usb drive (/mnt/sdb2/easyos/ to the the EasyOS ext4 partition (/mnt/sda1/EasyOSdunfell/)
copied easy_4.4.3_amd64.sfs from /mnt/sdb2/easyos/sfs/easyos/oe/dunfell/ to /mnt/sda1/EasyOSdunfell/
renamed easy_4.4.3_amd64.sfs to easy.sfs
Theoretically easyos is frugally installed to the EasyOS partition on the EasyOS.vmdk at this point.
Unfortunately, when I run the Liminie bootloader installer the only installation found is the running system at /dev/sdb2 which is the easyOS usb being accessed through easyusb.vmdk
I decided to proceed to install the bootloader to sda. I believe it installed limine to the mbr of sda but it didn't put any files on sda1 so I copied limine.cfg and limine.sys from /dev/sdb1 to /dev/sda1
Then I edited limine.cfg to load the kernel and initrd on sda. I also changed the uuid to match the uuid of sda1
When I rebooted the VM it looked like it was going to work. I didn't need to use f12 to select the boot device. EasyOS started sking me about the keyboard again and it had me set a password. I agreed to encrypt the drive, then it crashed the VM.
Maybe I should not have encrypted the drive since the dynamic vmdk was allocated more space than the actual hard drive capacity. I'm not sure what the problem was.
Since the system was down anyway, I removed easyusb.vmdk from the ide controller.
I started the VM again and it booted. I entered my password and it proceeded to the point where X failed to start again.
xorgwizard
select vesa (unaccelerated)
the other modes failed
xwin
It worked. I expected the VM to crash when I started adjusting the resolution and setting up sound, so I shut it down (and saved the session) then made a backup copy of the virtual machine.
Actually I made a snapshot with virtualbox, but I could have copied the folder to make a backup.
Virtualbox has a clone feature which makes a copy and optionally changes the hardware ids and discards the snapshots. I tried to do a full clone of the current machine state including all network adapter mac addresses, disk names, and hardware uuids in the advanced mode to see if the snapshots could actually be discarded later.
The EasyOS VM folder is only 831MB but the clone operation proceeded to run for more than an hour before I canceled it. Something in Virtualbox must be broken.
Unfettered, I copied the EasyOS folder to EasyOScopy00 and again to EasyOScopy01
I then launched Virtualbox, removed the EasyOS VM an added the EasyOscopy01
Finally, I deleted the snapshot I created earlier an confirmed that there is only as single vmdk file in that folder after doing so.
The VM booted, prompted for a password, prompted to test the X settings, then booted to the desktop.
I clicked through the setup wizards for the input, firewall, network time, ... and restarted X. That brought me back to the xorgwizard so I again chose vesa.
Next I ran xvidtune from display control to correct the resolution but it idn't work so I tried the resolution changer and it didn't give me the proper options so I typed it in, and made the changes permanent.
Then I shut down the system and saved the changes when prompted.
The VM booted again without any interruption other than a password prompt, but the screen resolution was still not correct.
I was tempted to modify xorg.conf but I am not sure if I should change the monitor section or the screen section and I wonder if I should install virtualbox guest additions first.
Guest aditions was not present in sfsget so i attached the iso to the vm, opens sr0 and executed VBoxLinuxAdditions.run
poweroff+save, removed the guestadditions.iso, and started it again.
the resolution was still wrong so i manually changed xorg.conf and rebooted+saved
the xorgwizard came up an although tweak showed my edits, the test showed the wrong resolution. The system booted to the wrong resolution.
How do I get the resolution to 1280x800?
I tested the sound again from the sound card chooser, and the VM promptly crashed. How do I fix this? Should I start virtualbox with apulse?