Lab 1: VM and Kernel Building
[Back]

Preliminaries

Tasks for today:
  1. Setup VM running Puppy Linux
  2. Build Linux Kernel within the VM

Setting up VM

Mac Computer Setup Tips

  • Your mileage may vary when it comes to setting up VirtualBox on a Mac computer. Recommendation if possible is to use a different machine running either linux or windows. If this isn't possible, some tips from previous years can help:
  • Old setup that worked on M1Pro using UTM
    1. brew install qemu
    2. qemu-img convert -f vdi -O qcow2 ~/Downloads/cs552.vdi ~/Downloads/cs552.qcow2
    3. follow this video on using .qcow2 with UTM. ** make sure to choose i386 (x86) for architecture.
    4. In the puppy linux bootup it will pause and you need to type xorgwizard to set up the graphics options
    5. choose vesa in video wizard
    6. 1280x800x24 works well to fill up the entire M1Pro display.
  • Note that this is not a blanket solution, but it is a solution that worked for some people in the past for M series Macs

  • Kernel Building


    Author: Anton Njavro. Editor: Timothy Borunov