Skip to main content.

2006-Jun-09

On a dual boot system, installing Ubuntu overwrote my boot loader without asking. So I edited the Linux system's /boot/grub/menu.lst to have:
title=NetBSD
root (hd0,0)
kernel /netbsd
But that failed to boot. It said:
Filesystem type unknown, partition type 0xa9
...
Error 17: Cannot mount selected partition
So at grub I got rid of the kernel part and used instead:
chainloader +1
That means grub will load one sector from the start of the partition.

Also a fix for this instead of using chainloader is to use

kernel --type=netbsd /netbsd
because grub couldn't detect the ELF /netbsd was "netbsd".

I wrote a quick webpage about NetBSD today. It is at http://bsd.phoenix.az.us/about/NetBSD. (Not my webpage, so I don't know how it will change.)