Replies: 3 comments 5 replies
|
Note: 64 bit architectures are not supported by v86 |
|
Try the 32-Bit Debian i386 release, either the netinst CD [645M] or the full DVD [3.7G]. Not long ago I installed Debian into a 2GB image file but I had to repartition during the installation, Debian takes a lot for the swap parttion by default, I ended up with 1.9G ext4 rootfs and ~246K swap. Use an APT mirror if you want to experiment with the netinst CD, it saves a lot of time. I didn't install any desktop (up to you). This went fine until I ran a larger apt update/upgrade, it resulted in a disk full error. I never got around to dig further, but what I'd need to continue would be a way to mount a large writeable HD image (16G?) from a local network server into V86 (internally, 2G is the limit for ArrayBuffer, that's why 2G was my ceiling). I'm not sure about 9p, see here for the reason. So I never published it, in my opinion Debian is relatively heavy for v86, maybe lighter systems (like buildroot) are more adequate. But this of course depends on your use case. A few notes, hacks and fixes from within the image: remove grub os-probersudo apt remove os-proberchanges to grub config in "/etc/default/grub"enable autologin on ttyS0In section [Service] replace: with: sudo systemctl daemon-reload remaining boot warningsEDIT: Just in case: I simply created a blank 2G file as the HD image file, and passed that to v86. The Debian installer then partitioned and formatted this disk. |
|
v86 have two ways to load the OS:
You can find docs about Arch or Alpine setup on 9pfs. There were Debian Bookworm image build scripts, here is a more recent build. If you don't plan on using the 9pfs, you can install any i686 Linux distribution via QEMU in the usual way:
qemu-img create -f raw harddrive.img <size in gigabytes>G
qemu-system-i386 -m 1G -net user,model=ne2k_pci -hda harddrive.img -cdrom InstallCD.iso
If you want to use v86 as an embedded page, see examples/arch.html and examples/alpine.html for minimal setup, required If you want to use with the UI, add your new profile to the Example: {
id: "debian",
memory_size: 512 * 1024 * 1024,
vga_memory_size: 8 * 1024 * 1024,
// use this for 9pfs
filesystem: { baseurl: "/path/to/9pfs", basefs: { url: "/path/to/fs.json" } },
cmdline: "...",
bzimage_initrd_from_filesystem: true,
// or this for hdd image
hda: { url: "/path/to/harddrive.img" }
}Then run make |
Uh oh!
There was an error while loading. Please reload this page.
Hope you're doing well!
Currently I am looking at your project since I am looking to be able to run linux with a TN5250 emulator such as x3270 on a web browser.
I ran your steps until this:
I would like to run this cd debian or test different cd isos
Could you please give me some guidance on this? and how I could implement it in, for example, localhost:8080/debianTest, because I am not understanding how to execute it, I do not know what previous steps are required or in what order/folders to define what the project requires for my image
All reactions