hi,
I first installed debian on my hard drive /dev/sda1, then I installed freebsd on /dev/sda4 on disk, when it ask me for selectiong boot mananger, I selected none, is this ok? later on, I login to debian OS, I updated grub to grub2, and I want to set grub2 to boot freebsd. I followed this method mentioned here:
edit /etc/grub.d/40_custom,
and do update-grub2.
then I reboot and select my desired boot freebsd OS, but I can’t boot.
my freebsd os is installed on my disk partition four, on debian its partitions show like below:
what’s wrong with my daulboot system? how can I boot freebsd from grub2?
thanks
I first installed debian on my hard drive /dev/sda1, then I installed freebsd on /dev/sda4 on disk, when it ask me for selectiong boot mananger, I selected none, is this ok? later on, I login to debian OS, I updated grub to grub2, and I want to set grub2 to boot freebsd. I followed this method mentioned here:
edit /etc/grub.d/40_custom,
Code:
menuentry "FreeBSD" {
set root=(hd0,4,a)
chainloader +1
}
and do update-grub2.
then I reboot and select my desired boot freebsd OS, but I can’t boot.
my freebsd os is installed on my disk partition four, on debian its partitions show like below:
Code:
debian:/home/user# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0×00014522
Device Boot Start End Blocks Id System
/dev/sda1 1 1216 9767488+ 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 1217 1398 1461915 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3 1399 6079 37600132+ 83 Linux
Partition 3 does not end on cylinder boundary.
/dev/sda4 * 6080 9730 29321176+ a5 FreeBSD
Partition 4 does not end on cylinder boundary.
what’s wrong with my daulboot system? how can I boot freebsd from grub2?
thanks