Commit 4deaf062 authored by Tomeu Vizoso's avatar Tomeu Vizoso
Browse files

Add instructions for creating a bootable Ubuntu image

parent 988b54b2
......@@ -67,17 +67,31 @@ Build:
Install:
`make install`
## UBUNTU
Running qemu using the freshly compiled mesa libraries and drivers
`export LD_LIBRARY_PATH=$ALT_LOCAL/lib`
`export LIBGL_DRIVERS_PATH=$ALT_LOCAL/lib/dri`
`x86_64-softmmu/qemu-system-x86_64 \
Build an image with debootstrap as per the instructions in the link below:
http://www.olafdietsche.de/2016/03/24/debootstrap-bootable-image
But with the actual execution of debootstrap as follows:
# debootstrap bionic bionic-chroot
On first boot:
apt-get install ubuntu-desktop ubuntu-standard
Running qemu using the freshly compiled mesa libraries and drivers:
export LD_LIBRARY_PATH=$ALT_LOCAL/lib
export LIBGL_DRIVERS_PATH=$ALT_LOCAL/lib/dri
x86_64-softmmu/qemu-system-x86_64 \
-enable-kvm -M q35 -smp 2 -m 4G \
-hda ubuntu.qcow2 \
-net nic,model=virtio \
-net user,hostfwd=tcp::2222-:22 \
-vga virtio \
-display sdl,gles=on`
-display sdl,gles=on
## GUEST
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment