Diff for /wikisrc/ports/xen/howto-grub.mdwn between versions 1.2 and 1.3

version 1.2, 2014/12/24 01:05:19 version 1.3, 2021/02/26 18:39:20
Line 6  exists to save stray text about grub.  N Line 6  exists to save stray text about grub.  N
 to use the native boot code, and that you probably should not be  to use the native boot code, and that you probably should not be
 reading this.  reading this.
   
   Converting from grub to /boot
   -----------------------------
   
   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
   """]]
   
 Install  Install
 -------  -------
   
Line 20  You'll also need `sysutils/grub` from pk Line 54  You'll also need `sysutils/grub` from pk
 Grub config  Grub config
 -----------  -----------
   
   
     #Grub config file for NetBSD/xen. Copy as /grub/menu.lst and run      #Grub config file for NetBSD/xen. Copy as /grub/menu.lst and run
     # grub-install /dev/rwd0d (assuming your boot device is wd0).      # grub-install /dev/rwd0d (assuming your boot device is wd0).
     #      #
Line 77  Grub config Line 110  Grub config
       chainloader +1        chainloader +1
   
     ## end of grub config file.      ## end of grub config file.
             
   
 Install grub with the following command:  Install grub with the following command:
   

Removed from v.1.2  
changed lines
  Added in v.1.3


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb