Re: Booting problem of my OpenBSD 5.7 road warrior
On Sun, Aug 23, 2015 at 03:06:40PM +0800, Zhi-Qiang Lei wrote: My road warrior has a PPPoE external connection and a tunnel connection, established with OpenVPN, which would encrypt the packets from some special devices. It works so well so far with the help with these rules in /etc/pf.conf: pass in quick on $int_if from $arch to !internal_addresses route-to $tun_if pass in quick on $int_if from $raspbmc to external_addresses route-to $tun_if pass out quick on $tun_if from any to any nat-to ($tun_if) However, every time when I reboot the machine, pf fails to load the rules because the tunnel is not ready. The tunnel generally would take some minutes to establish. Is it possible to defer the loading of pf rules until all interfaces are ready? I also tried to parenthesize $tun_if, but it failed due to syntax errors. pass in quick on $int_if from $arch to !internal_addresses route-to ($tun_if) pass in quick on $int_if from $raspbmc to external_addresses route-to ($tun_if) pass out quick on $tun_if from any to any nat-to ($tun_if) Best regards and thanks, Zhi-Qiang Lei If your local tun_if IP is static, you can set it in /etc/hostname.tun0 and then use persist-local-ip in openvpn's config file. That will allow your pf rules to load on boot. OpenVPN will use the existing local IP. If your local tun_if IP is dynamic, you could put an anchor in your pf rule set: anchor openvpn/* and then add rules to this anchor when openvpn comes up (e.g. from openvpn's up script): printf 'pass in quick on $int_if from $arch to !internal_addresses route-to $tun_if\npass in quick on $int_if from $raspbmc to external_addresses route-to\n$tun_if\npass out quick on $tun_if from any to any nat-to ($tun_if)\n' | pfctl -a openvpn/up -f - Note the use of single quotes to prevent the shell from expanding $int_if etc.
Re: Booting problem
On 21:53 Fri 25 Sep , Stuart Henderson wrote: On 2009-09-25, Anatoly V. Beregovoy avberego...@gmail.com wrote: Do not treat me as an expert but I suggest you to try to enable ACPI in UKC (boot -c). Thak you for advice. I played with disable / enable command. I tried to diable /enable ACPI, vga0, vga1, and some other devices, but nothing helped. BTW, ACPI is enabled automatically. ACPI is enabled by default, but under some conditions (certain SMBIOS versions with single cpu) APM takes priority and knocks it out. You can try disable apm to force acpi to be used, I don't know if it's likely to help though. I solved my problem. It was simple. I have Bus Clock frequency jumpers on momboard wrong configured. Sorry for disturbing.
Re: Booting problem
On 21:53 Fri 25 Sep , Stuart Henderson wrote: On 2009-09-25, Anatoly V. Beregovoy avberego...@gmail.com wrote: Do not treat me as an expert but I suggest you to try to enable ACPI in UKC (boot -c). Thak you for advice. I played with disable / enable command. I tried to diable /enable ACPI, vga0, vga1, and some other devices, but nothing helped. BTW, ACPI is enabled automatically. ACPI is enabled by default, but under some conditions (certain SMBIOS versions with single cpu) APM takes priority and knocks it out. You can try disable apm to force acpi to be used, I don't know if it's likely to help though. I tried to disable apm and both apm and acpi. It didn't help. I think my problem is because of my hardware bug :(
Re: Booting problem
Hi all! First of all, I'm sorry about my English. I have a problem with booting OpenBSD 4.5 on my computer. It has internal and external video adapters. With only internal one the system boots without any problem. dmesg output (using only internal card) is attached to the message. When I plug an external video card OpenBSD refuses to boot. It doesn't matter what a video adapter I use (I tried with three cards). The system stops booting with the following: ... ... pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x17 lm1 at wbsio0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 biomask ef65 netmask ef65 ttymask mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b Keyboard isn't working after that - the system is froze. OpenBSD is the only system on PC. Windows (r) works fine on this computer. I need to use an external adapter. What have I tried? I've tried to boot with turned on or off following options in BIOS (I tried various combinations): - Assign IRQ to VGA; - Video BIOS cacheable; - Enable Internal Video; - AGP Data Transfer Rate; - Init Display First; - PCI/VGA Palette Snoop. Also I tried to boot with minimal hardware (only M/B, cpu, memory, HDD, video card). I looked boot(1) but found nothing useful. My hardware: Motherboard Abit SL30 with the newest BIOS update, CPU Pentium 3 733, 128Mb RAM. I'm sure that the hardware is good. It works fine. Thank you! OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 549 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 6,MMX,FXSR,SSE real mem = 132673536 (126MB) avail mem = 119992320 (114MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/02/02, BIOS32 rev. 0 @ 0xfb0d0, SMBIOS rev. 2.2 @ 0xf0800 (35 entries) bios0: vendor Award Software International, Inc. version 6.00 PG date 04/02/2002 bios0: ABIT i815E-W83627HF apm0 at bios0: Power Management spec V1.2 (slowidle) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured Do not treat me as an expert but I suggest you to try to enable ACPI in UKC (boot -c). -- Best wishes, Vadim Zhukov Thak you for advice. I played with disable / enable command. I tried to diable /enable ACPI, vga0, vga1, and some other devices, but nothing helped. BTW, ACPI is enabled automatically.
Re: Booting problem
Out of curiosity, can you SSH into the box after waiting a few minutes? -B On Fri, Sep 25, 2009 at 10:17 AM, Anatoly V. Beregovoy avberego...@gmail.com wrote: Hi all! First of all, I'm sorry about my English. I have a problem with booting OpenBSD 4.5 on my computer. It has internal and external video adapters. With only internal one the system boots without any problem. dmesg output (using only internal card) is attached to the message. When I plug an external video card OpenBSD refuses to boot. It doesn't matter what a video adapter I use (I tried with three cards). The system stops booting with the following: ... ... pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x17 lm1 at wbsio0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 biomask ef65 netmask ef65 ttymask mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b Keyboard isn't working after that - the system is froze. OpenBSD is the only system on PC. Windows (r) works fine on this computer. I need to use an external adapter. What have I tried? I've tried to boot with turned on or off following options in BIOS (I tried various combinations): - Assign IRQ to VGA; - Video BIOS cacheable; - Enable Internal Video; - AGP Data Transfer Rate; - Init Display First; - PCI/VGA Palette Snoop. Also I tried to boot with minimal hardware (only M/B, cpu, memory, HDD, video card). I looked boot(1) but found nothing useful. My hardware: Motherboard Abit SL30 with the newest BIOS update, CPU Pentium 3 733, 128Mb RAM. I'm sure that the hardware is good. It works fine. Thank you! OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 549 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 6,MMX,FXSR,SSE real mem = 132673536 (126MB) avail mem = 119992320 (114MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/02/02, BIOS32 rev. 0 @ 0xfb0d0, SMBIOS rev. 2.2 @ 0xf0800 (35 entries) bios0: vendor Award Software International, Inc. version 6.00 PG date 04/02/2002 bios0: ABIT i815E-W83627HF apm0 at bios0: Power Management spec V1.2 (slowidle) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured Do not treat me as an expert but I suggest you to try to enable ACPI in UKC (boot -c). -- Best wishes, Vadim Zhukov Thak you for advice. I played with disable / enable command. I tried to diable /enable ACPI, vga0, vga1, and some other devices, but nothing helped. BTW, ACPI is enabled automatically.
Re: Booting problem
On 11:03 Fri 25 Sep , Bryan Irvine wrote: Out of curiosity, can you SSH into the box after waiting a few minutes? -B Of course no. It can't even mount filesystems, and therefore can't start /etc/netstart. I checked it. The system just freezes after showindg root on wd0a swap on wd0b dump on wd0b kernel message.
Re: Booting problem
On 2009-09-25, Anatoly V. Beregovoy avberego...@gmail.com wrote: Do not treat me as an expert but I suggest you to try to enable ACPI in UKC (boot -c). Thak you for advice. I played with disable / enable command. I tried to diable /enable ACPI, vga0, vga1, and some other devices, but nothing helped. BTW, ACPI is enabled automatically. ACPI is enabled by default, but under some conditions (certain SMBIOS versions with single cpu) APM takes priority and knocks it out. You can try disable apm to force acpi to be used, I don't know if it's likely to help though.
Re: Booting problem
On 19 September 2009 c. 18:57:26 Anatoly V. Beregovoy wrote: Hi all! First of all, I'm sorry about my English. I have a problem with booting OpenBSD 4.5 on my computer. It has internal and external video adapters. With only internal one the system boots without any problem. dmesg output (using only internal card) is attached to the message. When I plug an external video card OpenBSD refuses to boot. It doesn't matter what a video adapter I use (I tried with three cards). The system stops booting with the following: ... ... pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x17 lm1 at wbsio0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 biomask ef65 netmask ef65 ttymask mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b Keyboard isn't working after that - the system is froze. OpenBSD is the only system on PC. Windows (r) works fine on this computer. I need to use an external adapter. What have I tried? I've tried to boot with turned on or off following options in BIOS (I tried various combinations): - Assign IRQ to VGA; - Video BIOS cacheable; - Enable Internal Video; - AGP Data Transfer Rate; - Init Display First; - PCI/VGA Palette Snoop. Also I tried to boot with minimal hardware (only M/B, cpu, memory, HDD, video card). I looked boot(1) but found nothing useful. My hardware: Motherboard Abit SL30 with the newest BIOS update, CPU Pentium 3 733, 128Mb RAM. I'm sure that the hardware is good. It works fine. Thank you! OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 549 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 6,MMX,FXSR,SSE real mem = 132673536 (126MB) avail mem = 119992320 (114MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/02/02, BIOS32 rev. 0 @ 0xfb0d0, SMBIOS rev. 2.2 @ 0xf0800 (35 entries) bios0: vendor Award Software International, Inc. version 6.00 PG date 04/02/2002 bios0: ABIT i815E-W83627HF apm0 at bios0: Power Management spec V1.2 (slowidle) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured Do not treat me as an expert but I suggest you to try to enable ACPI in UKC (boot -c). -- Best wishes, Vadim Zhukov A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: booting problem
On 5/12/07, alicornio [EMAIL PROTECTED] wrote: Hi guys Problems with my webmail. I'm sorry. Hi all I can't boot my system after the instalation. My OS can't be finded. I follow the faq (4.12.2 - My i386 won't boot after install) and nothing change. But I can boot with CD typing b hd0a:\bsd. When I tried install again I saw a warning in disklabel stage: WARNING: inode blocks/cyl group (155) = data blocks (5) in last cylinder group. This implies 188 sector(s) cannot be allocated. What's happening? How I can solve this problem? thx all Thiago If you post at least output of fdisk wd0 and disklabel wd0 commands... My disk: [WIN(ntfs)][DATA(ntfs)][OpenBSD] 1- Booting from frist partition (my webmail can't print lines with '*' in the begin) 2- I jump 1 cylinder between partition 1 and 2. #fdisk -e wd0 Enter 'help' for information fdisk: 1 p m Disk: wd0 geometry: 9729/255/63 [76317 Megabytes] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] - 0: 070 1 1 - 2549 254 63 [ 63: 20003M]HPFS/QNX/AUX 1: 07 2550 0 1 - 7649 254 63 [ 40965750: 40006M] HPFS/QNX/AUX 2: A6 7651 0 1 - 9728 254 63 [ 122913315: 16300M] OpenBSD 3: 00 0 0 0 - 0 0 0 [ 0: 0M] unused fdisk: 1 +++ fdisk: 1 p Disk: wd0 geometry: 9729/255/63 [156296385 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] - 0: 070 1 1 - 2549 254 63 [ 63: 40965687] HPFS/QNX/AUX 1: 07 2550 0 1 - 7649 254 63 [ 40965750: 81931500] HPFS/QNX/AUX 2: A6 7651 0 1 - 9728 254 63 [ 122913315: 33383070] OpenBSD 3: 00 0 0 0 - 0 0 0 [ 0: 0] unused fdisk: 1 +++ a = /, d = /tmp, e = /var, g = /usr, h = /home i = Windows, j = data # disklabel wd0 # Inside MBR partition 2: type A6 start 122913315 size 33383070 # /dev/rwd0c: type: ESDI disk: ESDI/IDE disk label: ST380817AS falgs: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 156301488 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] a: 306621 122913315 4.2BSD 2048 16384 304 # Cyl 121937*-122241 b: 524160 123219936 swap # Cyl 122242 -122761 c: 156301488 0 unused 0 0 # Cyl 0 -155060 d: 1536192 123744096 4.2BSD 2048 16384 328 # Cyl 122762 -124285 e: 307440 125280288 4.2BSD 2048 16384 306 # Cyl 124286 -124590 g: 14335776 125587728 4.2BSD 2048 16384 328 # Cyl 124591 -138812 h: 16372881 139923504 4.2BSD 2048 16384 328 # Cyl 138813 -155055* i: 40965687 63 unknown # Cyl 0*- 40640* j: 81931500 40965750 unknown # Cyl 40640*-121921* # Need more information? What's happening? How I can solve this problem? thanks thiago I jump 1 cylinder between partition 1 and 2. 1. What do you mean by this? 2. If your active partition is a Windows one how do you intend to boot OpenBSD? Do you have a boot manager? Do you use ntldr and boot.ini? 3. What happens when you try to boot? Do you have any error messages? Andrey
Re: booting problem
On 5/11/07, alicornio [EMAIL PROTECTED] wrote: Hi all I can't boot my system after the instalation. My OS can't be finded. I follow the faq (4.12.2 - My i386 won't boot after install) and nothing change. But I can boot with CD typing b hd0a:\bsd. When I tried install again I saw a warning in disklabel stage: WARNING: inode blocks/cyl group (155) = data blocks (5) in last cylinder group. This implies 188 sector(s) cannot be allocated. What's happening? How I can solve this problem? Did you leave 63 sectors free at the start of the disk? This seems like something is getting overwritten poorly. -Nick
Re: booting problem
On Fri, 11 May 2007, alicornio wrote: Hi all I can't boot my system after the instalation. My OS can't be finded. I follow the faq (4.12.2 - My i386 won't boot after install) and nothing change. But I can boot with CD typing b hd0a:\bsd. When I tried install again I saw a warning in disklabel stage: WARNING: inode blocks/cyl group (155) = data blocks (5) in last cylinder group. This implies 188 sector(s) cannot be allocated. This is not a problem. It's just that a very small part o f your disk is not being used. What's happening? How I can solve this problem? Since you left out any details about your setup, we cannot help you with the booting problem. -Otto
Re: booting problem
On 5/11/07, alicornio [EMAIL PROTECTED] wrote: Hi all I can't boot my system after the instalation. My OS can't be finded. I follow the faq (4.12.2 - My i386 won't boot after install) and nothing change. But I can boot with CD typing b hd0a:\bsd. When I tried install again I saw a warning in disklabel stage: WARNING: inode blocks/cyl group (155) = data blocks (5) in last cylinder group. This implies 188 sector(s) cannot be allocated. What's happening? How I can solve this problem? thx all Thiago If you post at least output of fdisk wd0 and disklabel wd0 commands...
Re: booting problem
Hi guys Hi all I can't boot my system after the instalation. My OS can't be finded. I follow the faq (4.12.2 - My i386 won't boot after install) and nothing change. But I can boot with CD typing b hd0a:\bsd. When I tried install again I saw a warning in disklabel stage: WARNING: inode blocks/cyl group (155) = data blocks (5) in last cylinder group. This implies 188 sector(s) cannot be allocated. What's happening? How I can solve this problem? thx all Thiago If you post at least output of fdisk wd0 and disklabel wd0 commands... My disk: [WIN(ntfs)][DATA(ntfs)][OpenBSD] 1- I know, it's flaged to my Windows partition 2- I jump 1 cylinder between partition 1 and 2. #fdisk -e wd0 Enter 'help' for information fdisk: 1 p m Disk: wd0 geometry: 9729/255/63 [76317 Megabytes] Offset: 0 Signature: 0xAA55 StartingEnding LBA Info: #: idC H S -C H S [ start: size ] - *0: 070 1 1 - 2549 254 63 [63: 20003M] HPFS/QNX/AUX 1: 07 2550 0 1 - 7649 254 63 [ 40965750: 40006M] HPFS/QNX/AUX 2: A6 7651 0 1 - 9728 254 63 [ 122913315: 16300M] OpenBSD 3: 000 0 0 -0 0 0 [ 0: 0M] unused fdisk: 1 +++ fdisk: 1 p Disk: wd0 geometry: 9729/255/63 [156296385 Sectors] Offset: 0 Signature: 0xAA55 StartingEnding LBA Info: #: idC H S -C H S [ start: size ] - *0: 070 1 1 - 2549 254 63 [63: 40965687] HPFS/QNX/AUX 1: 07 2550 0 1 - 7649 254 63 [ 40965750: 81931500] HPFS/QNX/AUX 2: A6 7651 0 1 - 9728 254 63 [ 122913315: 33383070] OpenBSD 3: 000 0 0 -0 0 0 [ 0: 0] unused fdisk: 1 +++ a = /, d = /tmp, e = /var, g = /usr, h = /home i = Windows, j = data # disklabel wd0 # Inside MBR partition 2: type A6 start 122913315 size 33383070 # /dev/rwd0c: type: ESDI disk: ESDI/IDE disk label: ST380817AS falgs: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 156301488 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] a:306621 122913315 4.2BSD2048 16384 304 # Cyl 121937*-122241 b:524160 123219936 swap # Cyl 122242 -122761 c: 156301488 0 unused 0 0 # Cyl 0 -155060 d: 1536192 123744096 4.2BSD2048 16384 328 # Cyl 122762 -124285 e:307440 125280288 4.2BSD2048 16384 306 # Cyl 124286 -124590 g: 14335776 125587728 4.2BSD2048 16384 328 # Cyl 124591 -138812 h: 16372881 139923504 4.2BSD2048 16384 328 # Cyl 138813 -155055* i: 40965687 63 unknown # Cyl 0*- 40640* j: 81931500 40965750 unknown # Cyl 40640*-121921* # Need more information? What's happening? How I can solve this problem? thanks thiago
Re: booting problem
Hi guys Problems with my webmail. I'm sorry. Hi all I can't boot my system after the instalation. My OS can't be finded. I follow the faq (4.12.2 - My i386 won't boot after install) and nothing change. But I can boot with CD typing b hd0a:\bsd. When I tried install again I saw a warning in disklabel stage: WARNING: inode blocks/cyl group (155) = data blocks (5) in last cylinder group. This implies 188 sector(s) cannot be allocated. What's happening? How I can solve this problem? thx all Thiago If you post at least output of fdisk wd0 and disklabel wd0 commands... My disk: [WIN(ntfs)][DATA(ntfs)][OpenBSD] 1- Booting from frist partition (my webmail can't print lines with '*' in the begin) 2- I jump 1 cylinder between partition 1 and 2. #fdisk -e wd0 Enter 'help' for information fdisk: 1 p m Disk: wd0 geometry: 9729/255/63 [76317 Megabytes] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] - 0: 070 1 1 - 2549 254 63 [ 63: 20003M]HPFS/QNX/AUX 1: 07 2550 0 1 - 7649 254 63 [ 40965750: 40006M] HPFS/QNX/AUX 2: A6 7651 0 1 - 9728 254 63 [ 122913315: 16300M] OpenBSD 3: 00 0 0 0 - 0 0 0 [ 0: 0M] unused fdisk: 1 +++ fdisk: 1 p Disk: wd0 geometry: 9729/255/63 [156296385 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] - 0: 070 1 1 - 2549 254 63 [ 63: 40965687] HPFS/QNX/AUX 1: 07 2550 0 1 - 7649 254 63 [ 40965750: 81931500] HPFS/QNX/AUX 2: A6 7651 0 1 - 9728 254 63 [ 122913315: 33383070] OpenBSD 3: 00 0 0 0 - 0 0 0 [ 0: 0] unused fdisk: 1 +++ a = /, d = /tmp, e = /var, g = /usr, h = /home i = Windows, j = data # disklabel wd0 # Inside MBR partition 2: type A6 start 122913315 size 33383070 # /dev/rwd0c: type: ESDI disk: ESDI/IDE disk label: ST380817AS falgs: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 156301488 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] a: 306621 122913315 4.2BSD 2048 16384 304 # Cyl 121937*-122241 b: 524160 123219936 swap # Cyl 122242 -122761 c: 156301488 0 unused 0 0 # Cyl 0 -155060 d: 1536192 123744096 4.2BSD 2048 16384 328 # Cyl 122762 -124285 e: 307440 125280288 4.2BSD 2048 16384 306 # Cyl 124286 -124590 g: 14335776 125587728 4.2BSD 2048 16384 328 # Cyl 124591 -138812 h: 16372881 139923504 4.2BSD 2048 16384 328 # Cyl 138813 -155055* i: 40965687 63 unknown # Cyl 0*- 40640* j: 81931500 40965750 unknown # Cyl 40640*-121921* # Need more information? What's happening? How I can solve this problem? thanks thiago