Reply
 
Thread Tools Display Modes
  #1  
Old 09-01-2007, 02:55 PM
valos valos is offline
Junior Member
 
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to boot PC BSD from GRUB
Hi,

I have two SATA hard drives on my machine, on the first one I have WinXP and Ubuntu 7.04 and I have installed PC BSD on the first partition of the second one.

I did not install the boot loader for PC BSD because I want to boot it from GRUB.

What changes do I have to do to GRUB config files in order to be able boot PC BSD?

From Ubuntu i did a fdisk -l:

Disk /dev/sda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 2550 20482528+ a5 FreeBSD
Partition 1 does not end on cylinder boundary.
/dev/sda2 2551 5100 20482875 6 FAT16
/dev/sda3 5101 9689 36861142+ 6 FAT16
/dev/sda4 9690 10011 2586465 6 FAT16

Disk /dev/sdb: 400.0 GB, 400088457216 bytes
240 heads, 63 sectors/track, 51681 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13545 102400168+ 7 HPFS/NTFS
/dev/sdb2 13546 46053 245760480 7 HPFS/NTFS
/dev/sdb3 46054 48627 19459440 83 Linux
/dev/sdb4 48628 51681 23088209 f W95 Ext'd (LBA)
/dev/sdb5 48628 51404 20994088+ 6 FAT16
/dev/sdb6 51405 51681 2094088+ 82 Linux swap / Solaris

And this is grub's config file:

title Ubuntu, kernel 2.6.20-16-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=7b09c105-9ad5-4e2d-b90d-1ffc113f4344 ro quiet splash noapic nolapic pci=assign-busses
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=7b09c105-9ad5-4e2d-b90d-1ffc113f4344 ro single
initrd /boot/initrd.img-2.6.20-16-generic

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=7b09c105-9ad5-4e2d-b90d-1ffc113f4344 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=7b09c105-9ad5-4e2d-b90d-1ffc113f4344 ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1

Thanks.
Reply With Quote
  #2  
Old 09-02-2007, 11:13 PM
angryfirelord angryfirelord is offline
Senior Member
 
Join Date: Mar 2007
Posts: 122
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Try looking at this:
http://faqs.pcbsd.org/16_10_en.html?highlight=
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
Grub boot problems dpephd Installing PC-BSD 19 11-14-2009 05:13 AM
GRUB error: The file /boot/grub/stage1 not read correctly LucaToni FreeBSD Help 0 06-16-2009 09:29 PM
Boot PC-BSD 7.1 with GRUB from external harddrive jpg Installing PC-BSD 0 04-28-2009 04:59 PM
Dual boot install and GRUB. globetrotterdk Installing PC-BSD 2 03-11-2009 05:34 PM
Boot Lilo or Grub? dw5437 General Questions 15 07-23-2008 06:39 PM


All times are GMT. The time now is 11:47 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, 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.