Diff for /wikisrc/grub2.mdwn between versions 1.2 and 1.3

version 1.2, 2012/12/09 18:47:53 version 1.3, 2020/04/10 16:24:15
Line 1 Line 1
 # How to install GRUB2 on NetBSD  # How to install GRUB2 on NetBSD
   
 This how-to explains the steps needed to install GRUB2 on an existing i386/AMD64  This how-to explains the steps needed to install GRUB2 on an existing i386/AMD64
 NetBSD-installation. The steps should work on a properly chroot'ed system too.  NetBSD installation. The steps should work on a properly chroot'ed system too.
 Tested on NetBSD 6.0 AMD64:  Tested on NetBSD 6.0 AMD64:
   
 First of all, either download the package, using `pkgin install grub2`, or build   First of all, either download the package, using `pkgin install grub2`, or build 
 it yourself from package sources (`/usr/pkgsrc/sysutils/grub2`).  it yourself from package sources (`/usr/pkgsrc/sysutils/grub2`).
   
   
 After that, generate a GRUB configuration file, which tells GRUB the positions   After that, generate a GRUB configuration file, which tells GRUB the positions 
 of the operating system(s). The following command will generate such a file,   of the operating system(s). The following command will generate such a file, 
 while adding your NetBSD system into it's list.  while adding your NetBSD system into its list.
   
     # grub-mkconfig -o /grub/grub.cfg      # grub-mkconfig -o /grub/grub.cfg
   
 Now, install GRUB into your hard drive's master boot record (MBR).  Now, install GRUB into your hard drive's master boot record (MBR).
 You have to know it's device name for this step (e.g. `/dev/rwd0a`).  You have to know its device name for this step (e.g. `/dev/rwd0a`).
 Exchange `/dev/rwd0a` with your desired device name, then change `/dev/rXXXa`   Exchange `/dev/rwd0a` with your desired device name, then change `/dev/rXXXa` 
 to `/dev/rwXXXd` to access the raw disk, as in the following example:  to `/dev/rwXXXd` to access the raw disk, as in the following example:
   
Line 31  If it does so, simply reboot the system  Line 30  If it does so, simply reboot the system 
 OS-selector.  OS-selector.
 If not, recheck your device names, if that doesn't fix it, search the web for   If not, recheck your device names, if that doesn't fix it, search the web for 
 the error message.  the error message.
 Even though there aren't that much resources about *GRUB on NetBSD*, you'll  Even though there aren't that many resources about *GRUB on NetBSD*, you'll
 find a lot of information at GNU/Linux-related sites which apply to this   find a lot of information at GNU/Linux-related sites which apply to this 
 scenario as well.  scenario as well.

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


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