View Single Post
  #8   (View Single Post)  
Old 23rd September 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

The FreeBSD fdisk does not show extended partitions. The OpenBSD fdisk does though:
Code:
$ fdisk wd0
Disk: wd0       geometry: 38913/255/63 [625142448 Sectors]
Offset: 0       Signature: 0xAA55
          Starting         Ending        LBA Info:
 #: id      C   H  S -      C   H  S [       start:        size ]
------------------------------------------------------------------------
*0: A6      0   1  1 -   5098 254 63 [          63:    81915372 ] OpenBSD     
 1: A9   5099   0  1 -  10197 254 63 [    81915435:    81915435 ] NetBSD      
 2: A5  10198   0  1 -  22945 254 63 [   163830870:   204796620 ] FreeBSD     
 3: 05  22946   0  1 -  38912 254 63 [   368627490:   256509855 ] Extended DOS
Offset: 368627490       Signature: 0xAA55
          Starting         Ending        LBA Info:
 #: id      C   H  S -      C   H  S [       start:        size ]
------------------------------------------------------------------------
 0: 83  22946   1  1 -  38872 254 63 [   368627553:   255867192 ] Linux files*
 1: 05  38873   0  1 -  38912 254 63 [   624494745:      642600 ] Extended DOS
 2: 00      0   0  0 -      0   0  0 [           0:           0 ] unused      
 3: 00      0   0  0 -      0   0  0 [           0:           0 ] unused      
Offset: 624494745       Signature: 0xAA55
          Starting         Ending        LBA Info:
 #: id      C   H  S -      C   H  S [       start:        size ]
------------------------------------------------------------------------
 0: 82  38873   1  1 -  38912 254 63 [   624494808:      642537 ] Linux swap  
 1: 00      0   0  0 -      0   0  0 [           0:           0 ] unused      
 2: 00      0   0  0 -      0   0  0 [           0:           0 ] unused      
 3: 00      0   0  0 -      0   0  0 [           0:           0 ] unused
Maybe you could download an OpenBSD install floppy or CD image. The OpenBSD installer allows you to escape into a shell, so you can use the OBSD fdisk to check.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote