Subject: Re: install/25945: "Invalid partition table" on Dells (also #13310)
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martin S. Weber <Ephaeton@gmx.net>
List: netbsd-bugs
Date: 10/08/2006 08:10:03
The following reply was made to PR install/25945; it has been noted by GNATS.

From: "Martin S. Weber" <Ephaeton@gmx.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/25945: "Invalid partition table" on Dells (also #13310)
Date: Sun, 8 Oct 2006 10:06:26 +0200

 Moin,
 
 this PR can be closed.
 
 The problem came from sysinst creating a partition at the end of the
 partition table (i.e. slot 3) instead of the beginning (slot 0) if
 use whole disk was given and there were existing non-netbsd partitions
 on the disk. I think what is documented until now in 13310 and in this
 pr's followups is sufficient.
 
 Dell doesn't like that.
 
 Nowadays sysinst (this PR is from 1.6)doesn't do this anylonger. 
 I'm no expert but by code inspection of distrib/utils/sysinst/mbr.c 
 ISTM that it will use slot 0 no matter the previous contents of 
 the partition table, and thus dells will again happily boot with that.
 
 I don't have a dell at hand to *confirm* it fixed, but I suppose the
 above points out it can be closed.
 
 Regards,
 
 -Martin