Subject: Re: Error No NetBSD partition
To: None <netbsd-help@NetBSD.org>
From: David Lord <david@lordynet.org>
List: netbsd-help
Date: 11/27/2006 12:53:39
On 27 Nov 2006, at 12:54, Henry Nelson wrote:

> On Sun, Nov 26, 2006 at 09:21:04PM +0000, David Laight wrote:
> > I suspect that you haven't set the partition type to 169 in fdisk.
> 
> How is this done?
> 
> I've read the manual for fdisk over and over and cannot see what option
> is used to set the "partition type".  What other types of partitions are
> there besides 169?

'fdisk -l' gives list of possible types

Try 'fdisk -u wd0' which should take you through interactive mode, one of options stepped through is to set partition type. Last question is to confirm or otherwise if you want changes written to disk so safe to go through a few times so long as you answer N(o).


I've just had a nightmare upgrade of notebook from 30G to 80G hdd and 
find none of OS (Novell Dos, Ubuntu, XP, NetBSD), to be consistent in 
partitioning, apart from need to use 255c x 63s to allow use of 
Novell Dos 7. Worse is that mbr is changed by several utilities even 
though option to leave mbr unchanged was selected. Ububtu also now by 
default attempts to mount all partitions then on bootup misidentifies 
type 169 (netbsd) as type 6 (dos) and after fsck proudly announced it 
has corrected the errors it found :-(.

Anyway now just left with reinstall of NetBSD 3.0rc1 from the vfat 
partition that holds the Acronis backup of XP and dumps of NetBSD 
system. Currently NetBSD-4-beta is installed to see what extra 
hardware is usable but original has lots of packages installed and 
working nicely.

David