[PC-BSD Support] Fwd: Query about installing PC-BSD 9 on laptop

Bret Busby bret.busby at gmail.com
Wed Mar 28 09:19:04 PDT 2012


Hello.

Forwarding the message below to the list, as the list does not default
replies to the list.

-- 
Bret Busby
Armadale
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

....................................................


---------- Forwarded message ----------
From: Bret Busby <bret.busby at gmail.com>
Date: Thu, 29 Mar 2012 00:17:39 +0800
Subject: Re: [PC-BSD Support] Query about installing PC-BSD 9 on laptop
To: Bridger Dyson-Smith <bdysonsmith at gmail.com>

On 28/03/2012, Bridger Dyson-Smith <bdysonsmith at gmail.com> wrote:
> Hi Bret --
>
> there's a section of the Handbook on this; see
> http://wiki.pcbsd.org/index.php/Dual_Booting#Adding_PC-BSD_to_Legacy_GRUB
>
> HTH!
> Cheers,
> Bridger
>
> On Wed, Mar 28, 2012 at 11:22 AM, Bret Busby <bret.busby at gmail.com> wrote:
>
>>
>> Yes, that did it.
>>
>> I seem to have installed it, using that option.
>>
>> The problem is, having installed it on a system with Debian 6.03
>> installed, I now have to figure out how to get the GRUB loader to seek
>> and find the PC-BSD installation and to include PC-BSD as a boot
>> option, so that I can boot into it, as the Finish (of the PC-BSD
>> installation) reboots the computer, but does not update the GRUB menu,
>> or offer a multiple boot option.
>>
>> So, I have to figure this out so that I can boot into it.
>>
>> One issue that arose during the installation; when I got to the
>> "Instal from CD/DVD" or "Instal from the Internet" choice, when I
>> selected the "Instal from the Internet" option, which I believe would
>> have supplied any updated components and possibly a wider range of
>> components, the choices that it offered, were
>> DHCP <something>
>> DHCP<something>
>> IPV6 with SLAAC (?)
>> Intel <something>
>> Broadcom <something>
>>
>> , and, as none seemed appropriate (the LAN here uses static IPV4
>> addresses) and IPV4 was not offered, I had to select the "Instal from
>> CD/DVD" option, which may not have been as good as installing from the
>> Internet.
>>
>>
>> --
>> Bret Busby
>> Armadale
>> West Australia
>> ..............

Hello.

On that web page, it has

"
GRUB
Many Linux distros use GRUB as the boot loader. This section shows you
how to add PC-BSD to an existing GRUB menu.
While booted into the Linux system, use the grub command line tool to
list all devices that can be seen by GRUB's drivers. This will help
you determine which drive options to use when setting the root option
in the examples below.
sudo grub
grub> ls  (output will be specific to your system)
grub> quit  (when you are finished using grub)

There are two versions of GRUB that are in use. To see which version
your Linux distro is using:
grub> grub --version

Adding 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
legacy GRUB:
title  PCBSD 9.0
root   (hd0,1)
kernel /boot/loader

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 legacy GRUB, refer to the GRUB Legacy Manual.
Adding PC-BSD to GRUB Version 2
If you installed PC-BSD on the first hard drive, in the 3rd primary
partition, the entry would look something like this:
menuentry "PCBSD 9.0" {
set root=(hd0,3)
chainloader +1
}
"

If I use su - root, then type in grub, I cannot run it from the
command line within Debian LInux, so the "sudo grub" does not work.

If I go into the command line of grub during the boot process, I can
use the ls command, but not the --version command, and I cannot find a
similar appearing command in the list of available commands (which are
listed by entering <TAB> at the GRUB command prompt.

I believe that I am likely running GRUB 2, but I am not sure.

>From the above text from the web page;

"
Adding PC-BSD to GRUB Version 2
If you installed PC-BSD on the first hard drive, in the 3rd primary
partition, the entry would look something like this:
menuentry "PCBSD 9.0" {
set root=(hd0,3)
chainloader +1
}
"

Now, I installed PC-BSD in the third primary partition (partition 1 is
the Debian installation, partition 2 is the extended partition), so
that entry appears to be appropriate.

However, the instructions on the web page, do not state where to
insert the entry (in what file).

That would be helpful.

-- 
Bret Busby
Armadale
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

....................................................


More information about the Support mailing list