Invalid partition table after sysinstall modifications

Doug Poland doug at polands.org
Mon May 24 20:01:05 PDT 2004


Warren Block said:
>> >> Doug complained:
>> >>
>> >>    "Invalid partition table"
>> >
>> The data for partition 2 is:
>> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
>>     start 4096575, size 20964825 (10236 Meg), flag 80 (active)
>>         beg: cyl 255/ head 0/ sector 1;
>>         end: cyl 1023/ head 254/ sector 63
>> The data for partition 3 is:
>> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
>>     start 25061400, size 95040540 (46406 Meg), flag 80 (active)
>>         beg: cyl 1023/ head 255/ sector 63;
>>         end: cyl 1023/ head 254/ sector 63
>> The data for partition 4 is:
>> <UNUSED>
>>
>
> You have two active partitions, 2 and 3.  The stock MBR doesn't like
> having more than one active (bootable), and gives the "Invalid partition
> table" message.  So either clear the active flag on one, or use boot0cfg
> to install the multi-boot loader.  (At least I think this is what is
> going on, based on the source for mbr.)
>

Well I'll be...  I used fdisk to set partition 2 active, rebooted the box and it came up
fine.  Many thanks for your assistance.

-- 
Regards,
Doug


More information about the freebsd-questions mailing list