On Sun, 8 Sep 2019 09:57:47 -0700 (PDT), Brian Tremaine
<
btre...@gmail.com> declaimed the
following:
>Hi All,
>I realize my question is VirtualBox related but I'm stuck trying to set up
>Debian 'Buster' as my VM for my BBB.
>I've gone through several blogs on the setup but it still won't boot Debian.
>
>My iso image is: debian-10.0.0-armhf-netinst.iso
>When I start the VM it drops me into a UEFI shell. If I then go to FS0: and
>do a directory I can 'see' the Debian files.
>
VirtualBox is a package for running guest operating systems within
another OS. It does not emulate different hardware processors so the guest
OS must be one that is compatible with the hardware in use.
If you are running on a 64-bit Windows system, you will need either a
32 or 64 bit Intel compatible image for Debian (since 64-bit Intel can run
32-bit, though I'd recommend matching the actual processor). I downloaded
(but have not installed) the following
C:\Users\Wulfraed>dir e:\Debian-Buster
Volume in drive E is PhotoExt
Volume Serial Number is CA0A-BC13
Directory of e:\Debian-Buster
07/07/2019 02:35 PM <DIR> .
07/07/2019 02:35 PM <DIR> ..
07/07/2019 02:14 PM 3,841,982,464 debian-10.0.0-amd64-DVD-1.iso
07/07/2019 02:31 PM 4,688,773,120 debian-10.0.0-amd64-DVD-2.iso
07/07/2019 02:35 PM 4,688,506,880 debian-10.0.0-amd64-DVD-3.iso
3 File(s) 13,219,262,464 bytes
2 Dir(s) 3,377,198,362,624 bytes free
C:\Users\Wulfraed>
I'm still running Stretch in VirtualBox on my system (I should update the
running version of VBox some day and then install the new Debian).
You would then set up a /cross-compiler/ toolchain -- this is one that
runs on the native processor but creates binaries for a different
architecture (eg: ARM).
Those binaries can not run on the native architecture. You either have
to copy them to a hardware board (Beagle of some sort) to execute, or you
use a program that emulates (interprets) that foreign architecture's
instruction set (often fairly slowly -- though a high-speed Intel chipset
might get close to the slower Beagle: a 3GHz Intel using three instructions
to emulate one ARM would be close to 1GHz ARM speed -- though I suspect the
rate isn't that good, maybe closer to 5 instructions->1 instruction).
QEMU is one such hardware emulator. However, unless someone has spent a
lot of time I suspect it will only emulate the core ARM instructions -- it
likely won't emulate the PRUs.
I have not set up QEMU so can't speak of the difficulties.
Oh, BTW... If you have a recent Win10 install (maybe Professional or
higher) you may not even need to use Virtual Box.
Win10 Pro optional features (<right-click START>, Search "features",
"Turn Windows features on or off") includes
Hyper-V
Hyper-V Management Tools
Hyper-V GUI Management Tools
Hyper-V Module for Windows PowerShell
Hyper-V Platform
Hyper-V Hypervisor
Hyper-V Services
https://www.windowscentral.com/how-run-linux-distros-windows-10-using-hyper-v
https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v
https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/quick-create-virtual-machine
Running systeminfo (as shown in the first link) on my machine gives:
C:\Users\Wulfraed>systeminfo
Host Name: ELUSIVEUNICORN
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.18362 N/A Build 18362
<SNIP>
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 58 Stepping 9
GenuineIntel ~3401 Mhz
<SNIP>
Hyper-V Requirements: VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes
Hyper-V should give practically the same capabilities as VirtualBox
(though knowing M$, they probably don't support packaging in compatible
file types <G> )
--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/