
06-18-2008, 12:06 PM
|
|
Junior Member
|
|
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Boot *bsd from 2nd hard drive
Hi guys,
i have 2 harddrives and in the first i have {for some time} installed linux. Now, i want in the second harddrive to install a bsd...
i've done some googling from what i see i should add these lines to grub.conf
|
Code:
|
title DBSD #2
root (hd2)
kernel /boot/loader |
Is there anything else i should be aware of? will this work?
-nicolas
|
|

06-18-2008, 02:41 PM
|
|
Member
|
|
Join Date: Aug 2007
Location: Canada
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Boot *bsd from 2nd hard drive
Remember that Grub starts numbering drives from 0. So you should use hd1. Also, end with boot:
title DBSD #2
root (hd1)
kernel /boot/loader
boot
If the above doesn't work, try chainloading:
title DBSD #2
rootnoverify (hd1,0)
chainloader +1
|
|

06-18-2008, 11:52 PM
|
|
Senior Member
|
|
Join Date: Jan 2007
Location: Central Oregon coast
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Boot *bsd from 2nd hard drive
|
Originally Posted by n.aggel
|
Hi guys,
i have 2 harddrives and in the first i have {for some time} installed linux. Now, i want in the second harddrive to install a bsd...
i've done some googling from what i see i should add these lines to grub.conf
|
Code:
|
title DBSD #2
root (hd2)
kernel /boot/loader |
Is there anything else i should be aware of? will this work?
-nicolas
|
I am probably in the minority here, but I prefer using the F-12 Key at startup, at least on my system, and selecting the boot device from the resulting menu. I boot PC-BSD off the third HD in the system that way. It has its advantages.
__________________
--------------------------------------
Computing can be fun again
format C:\
There are alternatives
--------------------------------------
|
|

06-19-2008, 05:53 AM
|
|
Junior Member
|
|
Join Date: Jun 2005
Location: NYC, New York
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Boot *bsd from 2nd hard drive
|
Originally Posted by n.aggel
|
|
Is there anything else
|
Have you taken a look at GAG?
http://gag.sourceforge.net/
As long as you have Grub installed in the Linux boot partition, GAG will boot it.
GAG finds and boots FreeBSD without problems.
|
|

06-21-2008, 06:39 AM
|
|
Junior Member
|
|
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Boot *bsd from 2nd hard drive
Thank you all for your answers and your time...
this worked!
|
Quote:
|
title PCBSD
rootnoverify (hd1,0)
chainloader +1
|
this didn't work
|
Quote:
|
title PCBSD
root (hd1)
kernel /boot/loader
boot
|
so thank you commonloon for the solution!
|
Quote:
|
|
I am probably in the minority here, but I prefer using the F-12 Key at startup, at least on my system, and selecting the boot device from the resulting menu. I boot PC-BSD off the third HD in the system that way. It has its advantages.
|
i can't do this, because in my bios you can only select one HDD....
seems interesting but since i managed to make things work... i won't give it a try right now.
Again thank you all for your time,
-nicolas
|
|

06-21-2008, 04:59 PM
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Boot *bsd from 2nd hard drive
I believe it should be
|
Code:
|
title PCBSD
rootnoverify (hd1,0)
chainloader +1
kernel /boot/loader |
or something to that effect but the kernel thing is not needed to get a booting systm with grub; chainloader is afaik.
|
|

09-01-2011, 05:45 PM
|
|
Junior Member
|
|
Join Date: Sep 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi.
I have similar problem starting pc-bsd.
Some information from Linux (Fedora 15):
|
Code:
|
[root@PC-Linux ~]# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 testine, 63 settori/tracce, 121601 cilindri, totale 1953525168 settori
Unitŕ = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x0003374c
Dispositivo Boot Start End Blocks Id System
/dev/sda1 485519360 1953523711 734002176 83 Linux
/dev/sda2 2048 167774207 83886080 5 Esteso
/dev/sda3 167774208 335546367 83886080 a5 FreeBSD
/dev/sda4 335546368 485519359 74986496 83 Linux
/dev/sda5 * 4096 8392703 4194304 83 Linux
/dev/sda6 8394752 50337791 20971520 83 Linux
/dev/sda7 50339840 58728447 4194304 82 Linux swap / Solaris
/dev/sda8 58730496 167774207 54521856 83 Linux
Le voci nella tabella delle partizioni non sono nello stesso ordine del disco
Disk /dev/sdb: 147.0 GB, 147011809280 bytes
255 testine, 63 settori/tracce, 17873 cilindri, totale 287132440 settori
Unitŕ = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x000b84f0
Dispositivo Boot Start End Blocks Id System
/dev/sdb1 * 63 287113679 143556808+ 7 HPFS/NTFS/exFAT
[root@PC-Linux ~]# blkid
/dev/sda1: LABEL="Dati" UUID="9b534e1f-aa45-4e33-8ed2-6ae476e4acf3" UUID_SUB="12a300a5-c262-4b96-ab58-22e8a73cf4b5" TYPE="btrfs"
/dev/sda3: TYPE="ufs"
/dev/sda5: UUID="1bad6ade-2c09-44c3-ad84-f90c8784f092" TYPE="ext4"
/dev/sda6: UUID="a15f889c-9d47-44c0-9cae-aeada5f3b045" TYPE="ext4"
/dev/sda7: UUID="e6b13a98-4d38-4435-8a9b-b2bf22c70aa4" TYPE="swap"
/dev/sda8: UUID="710a4e0f-c533-4be3-b9ba-afa24623e23e" TYPE="ext4" |
|
Code:
|
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,4)
# kernel /vmlinuz-version ro root=/dev/sda6 rdblacklist=nouveau nouveau.modeset=0
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd1,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.40.3-0.fc15.i686.PAE)
root (hd1,4)
kernel /vmlinuz-2.6.40.3-0.fc15.i686.PAE ro root=UUID=a15f889c-9d47-44c0-9cae-aeada5f3b045 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=it_IT.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=it init 3 quiet rdblacklist=nouveau nouveau.modeset=0
initrd /initramfs-2.6.40.3-0.fc15.i686.PAE.img
title PC-BSD
rootnoverify (hd1,3)
chainloader +1
kernel /boot/loader
boot
title Windows
rootnoverify (hd0,0)
chainloader +1 |
Installed PC-BSD whitout install the bootloader.
Linux and Windows starts. Pc-BSD no!
Help.
|
|

09-18-2011, 11:19 PM
|
|
Junior Member
|
|
Join Date: Sep 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
In PCBSD 8.2 installation, there is a checkbox for install PCBSD bootloader. That option is missing in 9 Beta. When I try to boot BSD on my 2nd drive all I get is a _ in the top left corner. How do I install the bootloader on my second disk? Thanks
Last edited by SurfaceUnits; 09-18-2011 at 11:22 PM.
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 11:19 PM.
|
|