I have a dual boot set up with Arch linux. My disk setup is MBR/BIOS with the following scheme:
/dev/sda1 >> /boot (ext2, Arch Linux)
/dev/sda5 >> / (ext4, Arch Linux)
/dev/sda6 >> SWAP (Arch Linux)
/dev/sda2 >> extended partition (Arch Linux)
Because I am using MBR/BIOS, I can only have 4 primary partitions. This is "important" because I am later going to triple-boot with Windows7 for gaming. Anyway, I want to get FreeBSD 9.0-STABLE amd64 installed, but I'm having some issues.
When I install FreeBSD I create a new slice (something like ad0s3a for / and ad0s3b for swap). Once I reboot, I can see that the FreeBSD (BSD label) is seen by Arch as /dev/sda3 so I have edited my GRUB2 .cfg file as such:
As far as I can tell, this is correct. GRUB2 recognizes the slice and even realizes that this is a UFS2 filesystem (I don't need to add "insmod UFS2") and it begins to boot the entry. However, once it hands control over to the BTX loader (FreeBSD/x86 bootstrap loader) I get the following error:
The output of lsdev is:
Output of ls is:
Anyone thoughts on this? By the way, I cannot use EFI because my board is BIOS and I cannot even use BIOS/GPT because Windows7 x64 will only support GPT with EFI.
/dev/sda1 >> /boot (ext2, Arch Linux)
/dev/sda5 >> / (ext4, Arch Linux)
/dev/sda6 >> SWAP (Arch Linux)
/dev/sda2 >> extended partition (Arch Linux)
Because I am using MBR/BIOS, I can only have 4 primary partitions. This is "important" because I am later going to triple-boot with Windows7 for gaming. Anyway, I want to get FreeBSD 9.0-STABLE amd64 installed, but I'm having some issues.
When I install FreeBSD I create a new slice (something like ad0s3a for / and ad0s3b for swap). Once I reboot, I can see that the FreeBSD (BSD label) is seen by Arch as /dev/sda3 so I have edited my GRUB2 .cfg file as such:
Code:
menuentry "FreeBSD 9.0-STABLE" {
set root=(hd0,3)
chainloader +1
}
As far as I can tell, this is correct. GRUB2 recognizes the slice and even realizes that this is a UFS2 filesystem (I don't need to add "insmod UFS2") and it begins to boot the entry. However, once it hands control over to the BTX loader (FreeBSD/x86 bootstrap loader) I get the following error:
Code:
can't load 'kernel'
Type '?' for a list of commands, 'help' for more detailed help.
The output of lsdev is:
Code:
OK lsdev
cd devices:
disk devices:
disk0: BIOS drive C:
disk0s1: ext2fs
disk0s3a: FFS
disk0s3b: swap
disk0s5: ext2fs
disk0s7: Linux swap
pxe devices:
Output of ls is:
Code:
OK ls
open '/' failed: input/output error
Anyone thoughts on this? By the way, I cannot use EFI because my board is BIOS and I cannot even use BIOS/GPT because Windows7 x64 will only support GPT with EFI.