Results 1 to 7 of 7
|
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
12-24-2008 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 34
[SOLVED] Booting freebsd with grub
Hello all and merry christmas,
I just installed PC-BSD 1.5.1 (FreeBSD 6.3) and i havent been able to boot into it at all. I opted not to use the pcbsd bootloader, instead hoping to setup grub to work with it. however, i have yet to be able to get it to boot; I consistantly getThe partition in question is formatted in UFS, and grub recognizes that as it tags the partition as 0xa5(freebsd).Code:Error 17 - Cannot mount selected partition
My grub entry looks like this:
I have tried with and without those last 2 lines. Any ideas?Code:title PC-BSD 1.5.1 root (hd0,3,a) kernel /boot/loader makeactive chainloader +1
-
12-24-2008 #2
Are you sure you have setup the correct parttions for your FreeBSD entry? What is the output of running "fdisk -l" whilst logged into Linux?
-
12-24-2008 #3Just Joined!
- Join Date
- Feb 2008
- Posts
- 34
sdb is my windows hard drive. sda2 is my logical partition containing my linux root directories. sda3 is my /home partition. sda4 is my Freebsd partition. sda1 is a storage partition.Code:Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0003afb6 Device Boot Start End Blocks Id System /dev/sda1 19076 19457 3068415 83 Linux /dev/sda2 1 3454 27744223+ 5 Extended /dev/sda3 4730 19075 115234245 83 Linux /dev/sda4 3455 4729 10241217 a5 FreeBSD Partition 4 does not end on cylinder boundary. /dev/sda5 1 1301 10450219+ 83 Linux /dev/sda6 1302 2304 8056566 83 Linux Partition table entries are not in disk order Disk /dev/sdb: 80.0 GB, 80000000000 bytes 255 heads, 63 sectors/track, 9726 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000b8a3b Device Boot Start End Blocks Id System /dev/sdb1 * 1 4844 38909398+ 7 HPFS/NTFS /dev/sdb2 4845 9725 39206632+ 7 HPFS/NTFS
what exactly does it take to setup a partition correctly? I freed up some space on my disk, and created an unformatted 10GB primary partition on which i installed freebsd.
-
12-24-2008 #4
Try the GRUB entry below
Code:title PCBSD root (hd0,3,a) kernel /boot/loader
-
12-25-2008 #5Just Joined!
- Join Date
- Feb 2008
- Posts
- 34
That doesn't work. I still get an Error 17. Could there be something wrong with my install of grub?
-
12-26-2008 #6
Try this
Code:title PC-BSD rootnoverify (hd0,3) makeactive chainloader +1
-
12-26-2008 #7Just Joined!
- Join Date
- Feb 2008
- Posts
- 34
Thanks! that did it. Now i have a problem with a kernel panic of some sort. well at least i will be able to fix it now that i can boot into it!
Thanks for everything


