diff options
1 files changed, 33 insertions, 33 deletions
| -rw-r--r-- | src/blog/install-plan9-with-virt-manager/index.du | 66 |
diff --git a/src/blog/install-plan9-with-virt-manager/index.du b/src/blog/install-plan9-with-virt-manager/index.du index c60eb31..1160808 100644 --- a/src/blog/install-plan9-with-virt-manager/index.du +++ b/src/blog/install-plan9-with-virt-manager/index.du @@ -1,33 +1,33 @@ -# Install Plan 9 with virt-manager +'def title Install Plan 9 with virt-manager +'def desc Installing Plan 9 isn't difficult, but using virt-manager brings certain complications. -'define expected-reading 4 min -'define created 30 July 2022 -'define edited 30 July 2022 -[$pagenav] +# {title} + +{pagenav 4 min;30 July 2022;30 July 2022} .contents .numbered -1. [url #creating-the-virtual-machine Creating the virtual machine] -2. [url #installing-plan-9-itself Installing Plan 9 itself] +1. {uhref Creating the virtual machine} +2. {uhref Installing Plan 9 itself} -Installing [url https://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs Plan 9 by Bell Labs] with [`qemu`] itself isn't difficult and there are [url https://9p.io/wiki/plan9/Installing_Plan_9_on_Qemu/ official instructions]. However, when using [`virt-manager`], there are certain uncertainties that might worry a first-timer and certain issues that arise. +Installing {url Plan 9 by Bell Labs;https://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs} with {` qemu} itself isn't difficult and there are {url official instructions;https://9p.io/wiki/plan9/Installing_Plan_9_on_Qemu/}. However, when using {` virt-manager}, there are certain uncertainties that might worry a first-timer and certain issues that arise. ## Creating the virtual machine -We'll be installing Plan 9 with a CD (ISO) image. You can download the latest version (compiled every night) from [url https://9p.io/plan9/download.html here]. For a compressed version and checksums, refer to [url https://9p.io/wiki/plan9/Download/index.html this page]. +We'll be installing Plan 9 with a CD (ISO) image. You can download the latest version (compiled every night) from {url here;https://9p.io/plan9/download.html}. For a compressed version and checksums, refer to {url this page;https://9p.io/wiki/plan9/Download/index.html}. :ordered -1. Press the [*"Create a new virtual machine"*] and select [*"Local install media (ISO image or CDROM)"*] +1. Press the {i "Create a new virtual machine"} and select {i "Local install media (ISO image or CDROM)"} -2. For the install media select the extracted [`.iso`] CD image of Plan 9 and for operating system chose [*"Generic or unknown OS (generic)"*] +2. For the install media select the extracted {` .iso} CD image of Plan 9 and for operating system chose {i "Generic or unknown OS (generic)"} 3. For memory select 512 MiB (the default 1024 MiB is also fine) and 1 CPU .unordered - - Plan 9 is stupid lightweight and according to [url https://9p.io/wiki/plan9/Installation_instructions/index.html the installation instructions] you need 16-32 MB of memory, but I still prefer to give it a little more, just in case I decide to do something extreme. + - Plan 9 is stupid lightweight and according to {url the installation instructions;https://9p.io/wiki/plan9/Installation_instructions/index.html} you need 16-32 MB of memory, but I still prefer to give it a little more, just in case I decide to do something extreme. - You can also increase these values as much as you like, Plan 9 should be able to handle the more resources -4. If you plan to only test the OS out, choose [*"Create a disk image for the virtual machine"*] and enter 2 GiB of size. If you plan more serious use, you might want to follow [url https://9p.io/wiki/plan9/Installing_Plan_9_on_Qemu/ the qemu instructions] and create a larger disk in the [`.raw`] format. +4. If you plan to only test the OS out, choose {i "Create a disk image for the virtual machine"} and enter 2 GiB of size. If you plan more serious use, you might want to follow {url the qemu instructions;https://9p.io/wiki/plan9/Installing_Plan_9_on_Qemu/} and create a larger disk in the {` .raw} format. 5. Finally click finish. @@ -35,57 +35,57 @@ We'll be installing Plan 9 with a CD (ISO) image. You can download the latest ve ## Installing Plan 9 itself If everything worked correctly, on boot you should see the screen in step 1. -From here on out, it's dead simple, and I even recommend just going through [url https://www.youtube.com/watch?v=NNWFTq0ZwLE Hatty Hacker's "Basic Plan 9 Installation" YouTube video]. +From here on out, it's dead simple, and I even recommend just going through {url Hatty Hacker's "Basic Plan 9 Installation" YouTube video;https://www.youtube.com/watch?v=NNWFTq0ZwLE}. I'll show a more abridged version of what you need to do. :ordered 1. On the boot screen press 1 and enter - [image ./img/boot-screen.png] + {img ./img/boot-screen.png} 2. On the questions "use DMA for ide drive" and "mouseport is" press enter -3. On "vgasize" press enter, or set up a higher (standard) resolution with 24 colors. Examples: [`1920x1080x24`], [`1280x720x24`] +3. On "vgasize" press enter, or set up a higher (standard) resolution with 24 colors. Examples: {` 1920x1080x24}, {` 1280x720x24} .unordered - - A very incomplete list can be found [url https://9p.io/wiki/plan9/setting_the_right_monitor_size/index.html here] + - A very incomplete list can be found {url here;https://9p.io/wiki/plan9/setting_the_right_monitor_size/index.html} -4. [=Very important!=] On "monitor" enter [`vesa`]. [`xga`] (or [`vga`]) will work during installation but seem to break when booting the installed OS. +4. {b Very important!} On "monitor" enter {` vesa}. {` xga} (or {` vga}) will work during installation but seem to break when booting the installed OS. .unordered - - If you mistakenly leave it at [`xga`], refer to [url /blog/fix-no-frame-buffer-plan9 this tutorial]. + - If you mistakenly leave it at {` xga}, refer to {url this tutorial;/blog/fix-no-frame-buffer-plan9}. From here on out, you press enter at most of the prompts. The following list enumerates all cases where you need to do something else than press enter. :ordered -1. On "Disk partiton" question, enter [`sdC0`] (the option that says Hard Disk on it) +1. On "Disk partiton" question, enter {` sdC0} (the option that says Hard Disk on it) - [image ./img/partdisk-partition.png] + {img ./img/partdisk-partition.png} -2. On "Install mbr" question, enter [`y`] +2. On "Install mbr" question, enter {` y} - [image ./img/partdisk-mbr.png] + {img ./img/partdisk-mbr.png} -3. When you get ">>>" before the cursor, press w, then enter, then q and finally enter. This should happen twice, when in [`disk/fdisk`] and [`disk/prep`] +3. When you get ">>>" before the cursor, press w, then enter, then q and finally enter. This should happen twice, when in {` disk/fdisk} and {` disk/prep} - [image ./img/partdisk-fdisk.png] + {img ./img/partdisk-fdisk.png} - [image ./img/prepdisk-prep.png] + {img ./img/prepdisk-prep.png} -4. On "Distribution disk" type out the one that ends with [`data`] (and potentially has [`cdrom`] besides it). This is most commonly [`/dev/sdC1/data`] +4. On "Distribution disk" type out the one that ends with {` data} (and potentially has {` cdrom} besides it). This is most commonly {` /dev/sdC1/data} - [image ./img/mountdist-distribution-disk.png] + {img ./img/mountdist-distribution-disk.png} -5. When you get "/%" before cursor (during mountdisk task) just enter [`exit`] +5. When you get "/%" before cursor (during mountdisk task) just enter {` exit} - [image ./img/mountdist-browse.png] + {img ./img/mountdist-browse.png} -6. On "Enable boot method" enter [`plan9`] +6. On "Enable boot method" enter {` plan9} - [image ./img/bootsetup-boot-method.png] + {img ./img/bootsetup-boot-method.png} After finishing the installation and seeing the message "Feel free to shutdown your computer", Force Off the virtual machine and then power it on again. -On boot, on the first prompt press enter, and on the second enter [`glenda`]. Enjoy Plan 9! +On boot, on the first prompt press enter, and on the second enter {` glenda}. Enjoy Plan 9! |