[PC-BSD Support] Query about PC-BSD 9.1 and multiple booting
bret.busby at gmail.com
Sun Sep 2 03:02:00 PDT 2012
On 02/09/2012, Bret Busby <bret.busby at gmail.com> wrote:
> I am wondering whether PC-BSD 9.1 will come with GRUB (version 2?)
> included, and automatically configure it, or, be able to automatically
> configure an existing installation of GRUB, so that GRUB will
> automatically find PC-BSD and offer it as an option, in providing
> multiple boot options.
> I have been running Debian Linux; on another computer, I have Debian 5
> installed, in addition to Debian 6 (the multifunction printer
> software, apparently, instals on 5, but not on 6), and, on this
> computer, I also have Windows 7 and Ubuntu Linux installed.
> On the other computer, and HP/Compaq NX5000, I had installed also
> PC-BSD 9, but, when it rebooted, no option was available to boot into
> PC-BSD 9, and I have not been able to get PC-BSD 9 as an option in the
> installed GRUB on that computer.
> Thus, while I have managed to instal PC-BSD 9, on a computer that has
> other operating systems installed, I cannot boot into PC-BSD 9, as it
> is not found by, and, I cannot get the bootloader configured to find
> it with, GRUB.
Amongst all that I have tried to do to get it working, before today, I
have today tried the following, without success.
I found ftp://ftp.pcbsd.org/pub/handbook/9.0/handbook_en_ver9.0.html#__RefHeading__3686_904698251
, especially, in that,
220.127.116.11Adding PC-BSD to Legacy GRUB
If the version number is less than 1, you are using legacy GRUB. Here
is an example of adding a PC-BSD entry to a Linux distro that is using
title PCBSD 9.0
title: This will be the text that is shown in the boot menu and can be
anything that makes sense to you.
root: The root of the partition containing PC-BSD. In the above
example, PC-BSD is installed on the first hard disk (hd0) and on the
first partition (,1). Start counting your hard disk from zero (e.g.
disk 0 for the first hard disk, disk 1 for the second hard disk) and
your partition from one (e.g. 1 for the first partition on that disk,
2 for the second partition, etc.)
kernel: Used to load the primary boot image. For FreeBSD and PC-BSD,
always use /boot/loader.
For more information about GRUB version 1, refer to the GRUB Legacy Manual.
18.104.22.168Adding PC-BSD to GRUB Version 2
If the version number is higher than 1, the entry would look something
title PCBSD 9.0
I booted the NX5000 into Debian 6, which has, instead of menu.1st for
the GRUB configuration file, as stated at
29 Invoking grub-mkconfig
The program grub-mkconfig generates a configuration file for GRUB (see
grub-mkconfig -o /boot/grub/grub.cfg
grub-mkconfig accepts the following options:
Print a summary of the command-line options and exit.
Print the version number of GRUB and exit.
Send the generated configuration file to file. The default is to send
it to standard output.
thus, by context, the configuration file for GRUB, in Debian Linux 6,
is /boot/grub/grub.cfg .
I ran the command "grub-mkconfig -o /boot/grub/grub.cfg" and examined
the configuration file, and found that it did not refer to PC-BSD.
In the configuration file, is
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
at the start, and, at the end,
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
So, immediately after that, I inserted
title PCBSD 9.0
(the "1" changed to "2", as I had installed PC-BSD in partition 2 of
the primary partition, on the only physical hard disk drive in the
computer (shown as sda1, in the Debian 6 Disk Utility, which sees the
partition as a FreeBSD partition with the ufs filesystem)
I then saved it (I had to use chmod, to change the configuration file
from 222 to 622, to be able to write to the file), and rebooted.
PC-BSD still did not show in the GRUB menu.
> So, I am wondering whether, when PC-BSD 9.1 is released, it will
> incorporate GRUB so as to enable, in such a way, or otherwise cause,
> GRUB to find and offer PC-BSD as a boot option, as I have been unable
> to achieve that, and now have an inaccessible installation of PC-BSD
> Also, I note that, from what I have read thus far about PC-BSD 9.1, it
> will only offer KDE and LXDE as defalt desktops;
> Systems containing more than 2GB of RAM will default to the KDE
> desktop and all other systems will default to the LXDE desktop.
> Does this mean that GNOME will not be able to be set as the default
> Thank you in anticipation.
> Bret Busby
> West Australia
> "So once you do know what the question actually is,
> you'll know what the answer means."
> - Deep Thought,
> Chapter 28 of Book 1 of
> "The Hitchhiker's Guide to the Galaxy:
> A Trilogy In Four Parts",
> written by Douglas Adams,
> published by Pan Books, 1992
"So once you do know what the question actually is,
you'll know what the answer means."
- Deep Thought,
Chapter 28 of Book 1 of
"The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts",
written by Douglas Adams,
published by Pan Books, 1992
More information about the Support