Using virtual machine and installing joborun
#1
Hey

So I gave myself a task to install Joborun on qemu virtual machine.
For that I am going to need a gnu/linux .iso with arch-chroot scripts.

For that I am going to use Hyperbola GNU/Linux-libre .iso on my usb stick.

So first thing obviously is to put .iso into usb stick
for that we gotta get into dir with the hyperbola.iso
ls is for list directory
cd is for change directory
dd is for putting the .iso image into usb-stick
fdisk -l is for list of currently mounted storage devices.

/dev/sda are partitions of my laptop
/dev/sdb is the usb stick
so after localizing hyperbola .iso...
Code:
dd if=hyperbola-milky-way-v0.4.4-dual.iso of=/dev/sdb bs=4M status=progress oflag=sync

[if=nameofthe.iso of=/nameof/partition]

[Image: qemu1.png]

As far as I know, to boot hyperbola .iso I need to have it on my laptop with the qemu .img files, and also on the cd/rom, usb-stick, whatever.

Next we gotta create qemu image and run the installation
*the last command is wrong*

Code:
qemu-img create -f raw img1 6G
qemu-system-x86_64 -m 2G -cdrom hyperbola.iso -boot order=d -drive file=img1,format=raw
so -m 2G means that 2G of ram memory will be allocated for the image
-cdrom hyperbola.iso is name of ISO
Don't forget to put -m xG into the command!

[Image: JEWzJ9f.md.png]

And voila!

[Image: JEWzutV.md.png]

[Image: JEXkKrB.md.png]

Next thing that has to be done is to get joborun tarball from their website.
This can be done by using web browsers like lynx and downloading the tarball from their website

or simply:
Code:
wget https://sourceforge.net/projects/joborun/files/images/jobo-latest.tar.xz
if wget is not installed then simply install it with:
Code:
pacman -S wget

Because I am on QEMU right now and don't know how to copy paste there, I will localize the download link using lynx web browser

Hey!

So I managed to download joborun tarball to /tmp then did change directory to /usr/local/bin there's a script called joborun-setup
I managed to run this script with
Code:
./joborun-setup
and voila!

[Image: JEgJdWx.md.png]

Now let's begin the installation!
*I am going out soon, so will be offline. I will update the guide when I am back, cheers

*To be updated*

*Useful links*
[url="https://wiki.archlinux.org/title/QEMU"]Arch Linux QEMU Wiki[/url]
[url="https://git.disroot.org/joborun/web/src/branch/main/install.md"]How to install Joborun (Official joborun wiki)[/url]
https://bsdforall.org/epay/ <- Rent your server and support us!
https://wiki.ircnow.org/index.php?n=Minutemin.Bootcamp <- Sysadmin training
My website: https://monsieur.bsdforall.org
My e-mail: monsieur@bsdforall.org

All the best \(^^)/
Reply


Messages In This Thread
Using virtual machine and installing joborun - by monsieur - 02-17-2024, 08:27 AM



Users browsing this thread: 1 Guest(s)