Run alphaOS iso on VirtualBox
Posted: 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
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
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
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
4. go to sdb and load the bundles
Example
3. mount sr1 with
4. Go to sr1 and run VBoxLinuxGuestAdditions.run
Fourth phase: Starting Xorg
Execute
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
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