Subject: Re: Booting an extended partition using NetBSD
To: Rakhesh Sasidharan <rakheshster@gmail.com>
From: David Laight <david@l8s.co.uk>
List: port-i386
Date: 06/03/2006 15:33:01
On Sat, Jun 03, 2006 at 07:13:19AM +0400, Rakhesh Sasidharan wrote:
>
> When does it happen that fdisk shows a bootmenu entry but that entry
> does not show up in the bootloader menu while booting?
Probably when the disk layout doesn't match that which the mbr code expects.
(and possibly fdisk is confused as well...)
Can you send the output of
fdisk -vvv wd0
and that of
dd if=/dev/rwd0d skip=<start> count=1 | hexdump -C
for <start> being the start sector number of extended partition and
each of the 'link' partitions.
The latter should look something like:
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000190 00 00 00 00 6e 65 74 62 73 64 20 33 00 00 00 00 |....netbsd 3....|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 e1 b5 00 01 |................|
000001c0 01 00 a9 fe bf 7d 3f 00 00 00 bf 64 9c 00 00 00 |.....}?....d....|
000001d0 81 7e 05 fe ff ff fe 64 9c 00 fe 64 9c 00 00 00 |.~.....d...d....|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
David
--
David Laight: david@l8s.co.uk