I think i done wrong, i have install openbsd in x86 machine have the linux 
partition.

Disk: wd0       geometry: 9729/255/63 [75 Gigabytes]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 00      0   0   0 -      0   0   0 [           0:           0G] unused      
 1: 00      0   0   0 -      0   0   0 [           0:           0G] unused      
 2: 83   2675   0   1 -   6929 254  63 [    42973875:          33G] Linux files*
 3: 05   6930   0   1 -   9728 254  63 [   111330450:          21G] Extended DOS


then i make openbsd partition here
fdisk: 1> e 0
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 00      0   0   0 -      0   0   0 [           0:           0 ] unused  
Partition id ('0' to disable)  [0 - FF]: [0] (? for help) A6
Do you wish to edit in CHS mode? [n] y
BIOS Starting cylinder [0 - 9728]: [0] 0
BIOS Starting head [0 - 254]: [0] 
BIOS Starting sector [1 - 63]: [0] 1
BIOS Ending cylinder [0 - 9728]: [0] 2674
BIOS Ending head [0 - 254]: [0] 254
BIOS Ending sector [1 - 63]: [0] 63


showing the partition i have make
fdisk:*1> p g
Disk: wd0       geometry: 9729/255/63 [75 Gigabytes]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: A6      0   0   1 -   2674 254  63 [           0:          20G] OpenBSD     
 1: 00      0   0   0 -      0   0   0 [           0:           0G] unused      
 2: 83   2675   0   1 -   6929 254  63 [    42973875:          33G] Linux files*
 3: 05   6930   0   1 -   9728 254  63 [   111330450:          21G] Extended DOS

my linux partition still showing

then i quit from fdisk and something weird happen here

fdisk:*1> quit
Writing current MBR to disk.
Here is the partition information you chose:

Disk: wd0       geometry: 9729/255/63 [156301488 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: A6      0   0   1 -   2674 254  63 [           0:    42973875 ] OpenBSD     
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 83   2675   0   1 -   6929 254  63 [    42973875:    68356575 ] Linux files*
 3: 05   6930   0   1 -   9728 254  63 [   111330450:    44965935 ] Extended DOS
Offset: 111330450       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 83   6930   1   1 -   9728 254  63 [   111330513:    44965872 ] Linux files*
 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  


after i make disklabel then i install and booting into openbsd, try to fdisk i 
got this

# fdisk -e wd0
Enter 'help' for information
fdisk: 1> p g
Disk: wd0       geometry: 383091/34/12 [75 Gigabytes]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: E8 604654  13  11 - 9045282  20   7 [   246698998:        1642G] <Unknown 
ID>
 1: 01      0   0   1 - 10526880  21   4 [           0:           0G] DOS FAT-12
 2: 00      0   0   0 -      0   0   0 [           0:           0G] unused
 3: 3F      0   0   1 - 10526880  21   4 [           0:           0G] <Unknown 
ID>



does it means my linux partition has gone and i can recover or fix it?


many2 thanks

Reply via email to