a69e
![]() |
|
|
|
|
|||||||
| Howtos & FAQs (Moderated) Would you like to share some of your solutions for certain problems? Tips or tricks? Post here. All new topics are automatically moderated. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
How to install grub2, which may be useful to run multiple systems described below. Of course, previously tested by me like everyone my faq.
THE WORKS All I do the following as root. Install grub 2 first. I do it with packages Code:
pkg_add-r grub2 Code:
cd /boot mkdir grub cd grub touch grub.cfg Code:
set timeout = 3
set default = "0"
menuentry "FreeBSD 8 Server" {
insmod ufs2
set root = (hd0, 1)
chainloader 1
}
Code:
set root = (hd0, 1) Code:
set root = (hd0, 3) And just for themselves similarly change the parameters ... Now copies the files to the right place to /boot/grub Code:
cp-Rf /usr/local/lib/grub/i386-pc /boot/grub If we do not, Code:
sysctl kern.geom.debugflags = 16 Code:
grub-install /dev/ad0 Code:
freebsdserver # grub-install /dev/ad0 Installation finished. No error reported. freebsdserver # Now you can add other systems. windows, linux and bsd other configuration file. Last edited by Yampress; February 17th, 2012 at 10:59. Reason: It's "FreeBSD": http://en.wikipedia.org/wiki/FreeBSD - get it right |
| The Following 2 Users Say Thank You to Yampress For This Useful Post: | ||
markfisher (January 26th, 2012), wblock@ (December 20th, 2011) | ||
|
#2
|
||||
|
||||
|
Quote:
(Some of the misunderstanding is my fault, since I didn't understand it and promoted the misuse in a couple of articles. Sorry about that.) |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you install grub2? | bigtoque | General | 13 | March 14th, 2011 14:10 |
| [Solved] GRUB2 install fail on FreeBSD 8.1 amd64 | epopen | Installation and Maintenance of FreeBSD Ports or Packages | 4 | February 16th, 2011 01:08 |
| FreeBSD accessed via grub2 | b7j0c | General | 31 | December 10th, 2010 12:53 |
| entry for FreeBSD for grub2 | jalu | Installing & Upgrading | 6 | August 23rd, 2010 13:22 |
| FreeBSD 7.2 LiveCD, FreeBSD 7.2 embedded & GRUB2 for FreeBSD [logical partitions also | Panarchy | General | 24 | August 9th, 2009 19:06 |