Run alphaOS iso on VirtualBox

Tutorials & Tips
Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Run alphaOS iso on VirtualBox

Postby Scooby » 15 Feb 2016, 20:08

I discovered this didn't work

I probably will prepare a special iso for virtualbox usage in the mean time
these are the steps ( a roundabout way admittedly)

This method relies on you have a hdd or a partition that is not booted right now
(i.e does not contain host os)

first phase: Download

1. Download three files from alphaOS home on sourceforge here
Go with the latest version that is in top directory.

Example:
Download

Code: Select all

alphaos_17.3-20160202-x86_64.iso
devel_17.sb
linux_4.1.6_src.sb



2. Go to http://download.virtualbox.org/virtualbox in a browser and go to the version of vbox you are running
for instance http://download.virtualbox.org/virtualbox/5.0.14

Here download the VBoxGuestAdditions iso

Code: Select all

Example VBoxGuestAdditions_5.0.14.iso 


3. Download dkms bundle here

Second phase: setup
1. Create a machine in Virtualbox.

2. Go to storage and load alphaos_17.3-20160202-x86_64.iso in the optical drive
make sure it is "IDE primary slave"

3. Add a second optical drive and load VBoxGuestAdditions iso in that drive
It should be "IDE secondary slave"

4. Put the remaining *.sb files on an unused partition ( not booted right now) for instance sdb2

5. If on linux create a virtual hard drive of sdb2 by doing in terminal
Obs! this is an example

Code: Select all

VBoxManage internalcommands createrawvmdk -filename "/mnt/sdb1/vbox/sdb2.vmdk" -rawdisk /dev/sdb2


if not on linux check: http://www.serverwatch.com/server-tutor ... ox-vm.html

6. The resulting file /mnt/sdb1/vbox/sdb2.vmdk is then added to the machine

Third phase: booting and configuring

1. start the machine

2. Choose boot alphaOS in text mode

3. mount the virtual hard drive

Code: Select all

   mkdir /mnt/sdb
   mount /dev/sdb /mnt/sdb


4. go to sdb and load the bundles
Example

Code: Select all

   bundle -a dkms_17.sb
   bundle -a devel_17.sb
   bundle -a linux_4.1.6_src.sb


3. mount sr1 with

Code: Select all

   
   mkdiir /mnt/sr1
   mount /dev/sr1 /mnt/sr1


4. Go to sr1 and run VBoxLinuxGuestAdditions.run

Fourth phase: Starting Xorg
Execute

Code: Select all

alphaosx

and get to desktop environment

Epilog
This is a very roundabout way but works, The needed kernel modules could easily be added to an iso.
Thinking of doing a virtualbox iso for just this purpose

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Run alphaOS iso on VirtualBox

Postby Scooby » 29 Feb 2016, 19:17

Made an iso that works with VirtualBox

VirtualBox friendly version alphaos_17.3-20160215-x86_64_vbox.iso. Download here

sha256sum

Code: Select all

da34115b3581d6c5918e928723339b3f44d0a3f61175a56bc0ca0e2644e08f1b


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 0 guests

cron