Subject: Invalid partition table
To: None <port-i386@netbsd.org>
From: Hans de Hartog <hans_de_hartog@hotmail.com>
List: port-i386
Date: 05/04/2000 08:33:20
Just installed NetBSD 1.4.2 on my 9Gb Linux-disk........
As the install.html told me (because the disk had LILO on it),
I did an fdisk -i after the install and before reboot.
Now BIOS says "Invalid partition table" and the machine is dead.
However, I CAN boot it by booting from CD, stop the count-down
and type "boot sd0a:netbsd".
How do I fix the partition table???

Here's the output of "fdisk sd0":
NetBSD disklabel disk geometry:
cylinders: 8387 heads: 10 sectors/track: 212 (2120 sectors/cylinder)

BIOS disk geometry:
cylinders: 1024 heads: 255 sectors/track: 63 (16065 sectors/cylinder)

Partition table:
0: <UNUSED>
1: <UNUSED>
2: <UNUSED>
3: sysid 169 (NetBSD)
    start 63, size 17849937 (8715 MB), flag 0x80
        beg: cylinder    0, head   1, sector  1
        end: cylinder 1023, head 255, sector 63

and here's the output of "disklabel -r sd0":
# /dev/rsd0d:
type: unknown
disk: mydisk
label:
flags:
bytes/sector: 512
sectors/track: 212
tracks/cylinder: 10
sectors/cylinder: 2120
cylinders: 8387
total sectors: 17850000
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:   205577       63     4.2BSD     1024  8192    16   # (Cyl.    0*- 96)
  b:  1946160   205640       swap                        # (Cyl.   97 - 
1014)
  c: 17849937       63     unused        0     0         # (Cyl.    0*- 
8419*)
  d: 17850000        0     unused        0     0         # (Cyl.    0 - 
8419*)
  e:  1946160  2151800     4.2BSD     1024  8192    16   # (Cyl. 1015 - 
1932)
  f: 13752040  4097960     4.2BSD     1024  8192    16   # (Cyl. 1933 - 
8419*)


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com