Reply
 
Thread Tools Display Modes
  #1  
Old 06-18-2008, 12:06 PM
n.aggel n.aggel is offline
Junior Member
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #2  
Old 06-18-2008, 02:41 PM
commonloon commonloon is offline
Member
 
Join Date: Aug 2007
Location: Canada
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #3  
Old 06-18-2008, 11:52 PM
Protagonist Protagonist is offline
Senior Member
 
Join Date: Jan 2007
Location: Central Oregon coast
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Protagonist
Default 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
--------------------------------------
Reply With Quote
  #4  
Old 06-19-2008, 05:53 AM
fran fran is offline
Junior Member
 
Join Date: Jun 2005
Location: NYC, New York
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #5  
Old 06-21-2008, 06:39 AM
n.aggel n.aggel is offline
Junior Member
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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....

Quote:
Have you taken a look at GAG?
http://gag.sourceforge.net/
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
Reply With Quote
  #6  
Old 06-21-2008, 04:59 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default 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.
Reply With Quote
  #7  
Old 09-01-2011, 05:45 PM
Cielito Cielito is offline
Junior Member
 
Join Date: Sep 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default
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.
Reply With Quote
  #8  
Old 09-18-2011, 11:19 PM
SurfaceUnits SurfaceUnits is offline
Junior Member
 
Join Date: Sep 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PC-BSD ON EXTERNAL HARD DRIVE EL1TEHARR1S0N General Questions 4 12-10-2008 08:56 PM
PC-BSD - Boot loader - Inactive hard drive problem digitalguy Startup Bug Reports 2 11-18-2006 05:31 PM
PC BSD works but how do I add another hard drive djnzlab1 General Support 5 06-06-2006 06:44 PM
Hard Drive not detected TerryP General Questions 8 04-24-2006 05:02 PM
partitioning hard drive shiatsu Installing PC-BSD 6 07-07-2005 12:57 PM


All times are GMT. The time now is 11:19 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.