--- wikisrc/ports/xen/howto.mdwn 2020/11/19 13:55:58 1.189 +++ wikisrc/ports/xen/howto.mdwn 2021/02/26 18:39:20 1.190 @@ -273,39 +273,6 @@ root, because anita must create a domU): anita --vmm=xl test file:///usr/obj/i386/ """]] -## Converting from grub to /boot (historical note) - -These instructions are provided only to help people using grub, which -used to be the normal approach. - -These instructions were used to convert a system from -grub to /boot. The system was originally installed in February of -2006 with a RAID1 setup and grub to boot Xen 2, and has been updated -over time. Before these commands, it was running NetBSD 6 i386, Xen -4.1 and grub, much like the message linked earlier in the grub -section. - -[[!template id=programlisting text=""" -# Install MBR bootblocks on both disks. -fdisk -i /dev/rwd0d -fdisk -i /dev/rwd1d -# Install NetBSD primary boot loader (/ is FFSv1) into RAID1 components. -installboot -v /dev/rwd0d /usr/mdec/bootxx_ffsv1 -installboot -v /dev/rwd1d /usr/mdec/bootxx_ffsv1 -# Install secondary boot loader -cp -p /usr/mdec/boot / -# Create boot.cfg following earlier guidance: -menu=Xen:load /netbsd-XEN3PAE_DOM0.gz console=pc;multiboot /xen.gz dom0_mem=512M -menu=Xen.ok:load /netbsd-XEN3PAE_DOM0.ok.gz console=pc;multiboot /xen.ok.gz dom0_mem=512M -menu=GENERIC:boot -menu=GENERIC single-user:boot -s -menu=GENERIC.ok:boot netbsd.ok -menu=GENERIC.ok single-user:boot netbsd.ok -s -menu=Drop to boot prompt:prompt -default=1 -timeout=30 -"""]] - # Unprivileged domains (domU) This section describes general concepts about domUs. It does not