Hacker Newsnew | past | comments | ask | show | jobs | submit | luisgbm's commentslogin

[UPDATED FROM 11.0 TO 11.2!]

Hi everyone. I've written some instructions and scripts to build LFS (Linux From Scratch), version 11.2, as simply as possible (I know, not that simple, but anyway). It's basically a super summarized version of the LFS book.

You can check the instructions and get the scripts from my GitHub repository: https://github.com/luisgbm/lfs-scripts

Key points:

* First, this guide does not replace reading the whole LFS book. I highly recommend that you read it at least once. Only then you should use the automation scripts provided here.

* The whole process is run inside VirtualBox.

* You need two hard disks attached to your VM (one for the host, one for receiving the LFS build).

* Most steps will be executed via Shell scripts (there are four of them).

* Some steps need to be manually run.

* At the end, you will be able to create a separate VM and boot from it directly.

Hope you enjoy it, and feel free to send me feedback.


[UPDATED FROM 10.0 TO 11.0!]

Hi everyone. I've written some instructions and scripts to build LFS (Linux From Scratch), version 11.0, as simply as possible (I know, not that simple, but anyway). It's basically a super summarized version of the LFS book.

You can check the instructions and get the scripts from my GitHub repository: https://github.com/luisgbm/lfs-scripts

Key points:

- First, this guide does not replace reading the whole LFS book. I highly recommend that you read it at least once. Only then you should use the automation scripts provided here.

- The whole process is run inside VirtualBox.

- You need two hard disks attached to your VM (one for the host, one for receiving the LFS build).

- Most steps will be executed via Shell scripts (there are four of them).

- Some steps need to be manually run.

- At the end, you will be able to create a separate VM and boot from it directly.

Hope you enjoy it, and feel free to send me feedback.


This is a maintenance release. The following items were fixed and/or added:

* VMM: Fixed random memory corruption and XMM register state corruption inside the VM when Hyper-V is used (bug #19695)

* VMM: Fixed VMSVGA 3D support with Linux guests when Hyper-V is used (bug #19884)

* GUI: Fixed some Qt related crashes on macOS Big Sur

* Oracle Cloud Infrastructure integration: Fixed network integration not working behind some proxies

* USB: Mask out remote wake capability to avoid unresponsive devices

* Audio: Fixed issues with audio playback after host goes to sleep (bug #18594)

* Serial: Keep transferring data if the status line monitoring fails

* Serial: Fixed blocking a re-connect when TCP mode is used (bug #19878)

* HPET: Fixed inability of guests to use the last timer

* VBoxManage: Fixed detection of system locale when running 'VBoxManage unattended install' without --locale (bug #19856)

* macOS host: Installer on Big Sur is now reminding user that system has to be rebooted to load the installed KEXTs

* Linux host and guest: Support kernel version 5.9 (bug #19845)

* Linux guest: Workaround to improve resizing of 32-bit VMs with VMSVGA graphics controller, and do not try to use RandR version 1.3 due to bugs causing the X server to hang

* Linux guest: Fixed VBoxService crashing in the CPU hot-plug service under certain circumstances during a CPU hot-unplug event (bugs #19902 and #19903)

* Linux guest: Fixed Guest additions build for RHEL 8.3 beta (bug #19863)


Worth noting that this is also a security release. There's only a prerelease announcement available right now but the version fixes 6 security issues.

https://www.oracle.com/security-alerts/cpuoct2020.html


Hi everyone. I've written some instructions and scripts to build LFS (Linux From Scratch), version 10.0, as simply as possible (I know, not that simple, but anyway). It's basically a super summarized version of the LFS book.

You can check the instructions and get the scripts from my GitHub repository: https://github.com/luisgbm/lfs-scripts

Key points:

- First, this guide does not replace reading the whole LFS book. I highly recommend that you read it at least once. Only then you should use the automation scripts provided here.

- The whole process is run inside VirtualBox.

- You need two hard disks attached to your VM (one for the host, one for receiving the LFS build).

- Most steps will be executed via Shell scripts (there are four of them).

- Some steps need to be manually run.

- At the end, you will be able to create a separate VM and boot from it directly.

Hope you enjoy it, and feel free to send me feedback.


What alternatives do you recommend?


I've been using KVM with virt-manager UI (and virsh). Simple, solid, production ready, 100% free software. PCIe and USB passthrough work fine.


Having ran my home (and work) lab environments with many different virtualization systems, in the end, I always keep coming back to VMware. ESXi in particular. These days, with GPU pass-through, you can make it a workstation and a server at the same time. It's free for personal use and it's rock solid.


In the same vein, Proxmox is another choice, it's open source (or you can pay for support), also allows for GPU pass-through.


Proxmox is a management layer over LVM (and LXC), not a different virtualization technology.


I assume you mean KVM. Yes it's based on existing technologies, I wouldn't necessarily call it just a management layer however.


XenServer would be another similar choice that supports GPU passthrough. Depends a lot on what you're used to.


Any idea if one can emulate different versions of OpenGL too? I'm trying to figure out a sustainable way to test across versions without needing a lot of hardware.


KVM and libvirt also support GPU pass through.


The last time I looked into this, it was for running Linux VMs on my 2017 MacBookPro. I went with VMWare Fusion, and I've been pretty happy with it.

I'm not sure if there's a better option today, and/or for different host/guest combos.


Fusion has been amazing in my experience. Never had issues with my VMs being sluggish like with VirtualBox. Plus 100% compatibility with Workstation for transferring VMs between Windows/Linux and Mac hosts. Annoying that they have a paid upgrade yearly, but I’ll gladly accept that because the alternative is giving Oracle money. Older versions usually hold up fine for a few years anyway, so long as newer Windows or Linux releases don’t break anything.


Are there any other cross-platform virtualization platforms nowadays? I need something to run Vagrant on that my team can use on mac, windows, and Linux. Ideally all using the same hypervisor, so I don't need to have 3 different sets of documentation for each thing..


I think the real benefit of vagrant is that you don’t need to all use the same hypervisor.

Maybe some little tweaks here and there to target specific ones in the vagrantfile, but otherwise I’ve found it to be largely a non issue to have different hypervisors, so long as you have a base box that supports all the ones you want to use (which is part of why my company builds base boxes - to have something reliable for client projects - either used as is, or where appropriate building on top of our box setup process to make customised boxes)


VMWare. I know, I know, proprietary bad and all that, but for just getting stuff done with minimal fuss and not yak-shaving (like, say, vagrant), vmware is good.


windows and linux have native solutions, for macos there's vmware and parallels, but really, virtualbox is fine too, unless your are this big company with hundreds of deployments and have to think hard about licensing.


Anything free or inexpensive?


I've been running Multipass [0] by Canonical for the past few months and it has been great.

[0] https://multipass.run/


Big caveat: multipass does not support bridged networking so you can't configure your VM as just another server on a local network. See this issue:

https://github.com/CanonicalLtd/multipass/issues/118


If you're running Linux, virt-manager works fine for a lot of scenarios.

If you want to provision a server as a VM host, Proxmox free version is pretty good but you have to manually update it.


virtualbox is fine (but don't know your needs exactly).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: