Invalid partition table after sysinstall modifications

Warren Block wblock at wonkity.com
Sat May 22 19:29:53 PDT 2004


On Sat, 22 May 2004, Doug Poland wrote:

> I've got a 4.9-STABLE system that was dual-booted between FBSD and
> Win2K.  I had no further need for the windows slice so I used sysinstall
> to delete the NTFS slice, write it as type 165, newfs'd it, mounted it,
> and wrote a bunch of data to the new ufs slice.  So far so good...
> About 8 hours after this procedure the system hung, I rebooted and
> received the message,
>
>    "Invalid partition table"
>
> I was able to boot the system with a FreeSBIE live bootable CDROM and
> fsck all the ufs slices.  The data on all slices appear to be good, but
> I cannot figure out how to get this box to boot again.  I've google'd
> and read the appropriate handbook sections.

Hmm.  It looks like that error comes from the plain mbr code
(/boot/mbr), not the boot-selector loader (/boot/boot0).  The plain mbr
only wants one partition (slice) to be active.

See what fdisk has to say about your partitions.

-Warren Block * Rapid City, South Dakota USA


More information about the freebsd-questions mailing list