Subject: Re: Disklabelling
To: Paul Goyette <paul@whooppee.com>
From: Perry E. Metzger <perry@piermont.com>
List: port-i386
Date: 05/02/1998 19:47:33
Paul Goyette writes:
> 1. When I boot my system, it complains about "old BSD partition ID" a
>    few times.  I know this is because I've still got 165 (0xa5) instead
>    of 169 (0xa9), but how do I change it without losing any data?
> 
> I used ``pfdisk 0'' and then changed the definition of partition 2 from
> ``2 165 261 521'' to ``2 169 261 521'' and used the W command to write
> the results.  When I tried booting NetBSD, it told me that there was no
> bootable partition.

Because you never updated your boot loader. How do you expect your
old boot loader recognise the new partition number? It was written
long before we'd even picked the number.

I'd been expecting that you had already installed the boot loader --
otherwise I would have mentioned it.

Use "installboot" to put in a new bootloader, THEN change the
partition number and reboot.

Perry