Re: Multiboot Windows XP + OpenBSD doesnt work

2008-07-30 Thread thacrazze
Thank you, that works!

I follow your tips, but I reformatted my windows partition with FAT32
and then I made the openbsd.pbr and put it in C: and made an entry in
the boot.ini and now it works

--thacrazze (is happy)

On Wed, Jul 30, 2008 at 3:51 AM, Andrew Dalgleish [EMAIL PROTECTED] wrote:
 On Wed, Jul 30, 2008 at 9:15 AM, thacrazze [EMAIL PROTECTED] wrote:
 I put the openbsd.pbr to C: and made an entry in the C:/boot.ini

 After a reboot I can select the OpenBSD boot entry, but it doesn't starts
 I get only a black screen with some cryptical characters/symbols

 Then I testet in Windows BootPart, which was recommended in the FAQ
 and that says:

 Physical numer of disk 0 : 33fa33f9
  0 : C:* type=7 HPFS/NTFS, size=10241406 KB, Lba Pos=63
  1: C:   type=a6 , size= 21213832 KB, Lba Pos=20482875

 Can someone help me how to start OpenBSD correctly?


 The first thing is to check your install actually boots.
 Boot from an OpenBSD floppy or CD, and at the boot prompt type:
 boot hd0a:/bsd


 If that boots ok:
 Use fdisk to set the OpenBSD partition active and try booting from the
 hard disk.


 If the hard disk boots ok
 Use dd to copy the OpenBSD partition boot record onto a fat format usb
 stick (your main drive is NTFS)
 Use fdisk to set the windows partition active.
 Reboot into windows.
 Copy the PBR from your USB stick
 Edit boot.ini

 If that fails, post your full dmesg, disklabel and fdisk of wd0.
 (I'm guessing that your wd0a is not at the start of the partition)


 You do NOT need grub
 You do NOT need gag
 You do NOT need wunderboot-of-the-week.
 The OpenBSD partition should NOT be marked active if you are trying to
 use the NT boot loader.
 Make sure the line-endings in boot.ini are all CR-LF.

 You can set up OpenBSD to dual-boot with XP or Vista without any extra tools.
 (Vista is not as simple as editing boot.ini, it is not particularly
 hard either.)



Re: Multiboot Windows XP + OpenBSD doesnt work

2008-07-30 Thread Nick Guenther
On Tue, Jul 29, 2008 at 7:47 PM, Francisco Valladolid Hdez.
[EMAIL PROTECTED] wrote:
 --- thacrazze [EMAIL PROTECTED] wrote:

 I put the openbsd.pbr to C: and made an entry in the
 C:/boot.ini

 Can someone help me how to start OpenBSD correctly?

 OpenBSD partition must be active (flag) and try using
 GAG software.

 http://gag.sourceforge.net

 I'm using OpenBSD 4.4 Beta and XP together.


No, this is a lie! -Windows- must be the active partition for the
setup he is going for (using NTLDR to boot).
You set Windows to be active so that the BIOS boots Window's
bootloader (NTLDR), and then that reads C:\boot.ini and sees the
options for the second stage bootloader:
Windows
OpenBSD.pbr
and then it jumps into one of those.
It's true, you could use GAG or GRUB or LILO or something else, but
doesn't it seem more elegant to just rely on the base systems?

The hardest part about doing this is using dd properly to slice out
openbsd.pbr because it's one of those cases where if you get almost
any character wrong then it'll seem to work until you paste it into
Windows and try to use it and at best it mysteriously hangs, at worst
it sings the death chant of kalla-kern and zombies rise from under
your server room tiles.

-Nick



Multiboot Windows XP + OpenBSD doesnt work

2008-07-29 Thread thacrazze
I want a dualboot with windows xp, and for this I used the FAQ
http://www.openbsd.org/faq/faq4.html#Multibooting, but when I run the
command installboot i get only ksh: installboot: not found and
when I execute dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1 I get
only dd: /dev/rsd0a: Device not configured

can someone help me?

--thacrazze



Re: Multiboot Windows XP + OpenBSD doesnt work

2008-07-29 Thread thacrazze
My /etc/fstab
/dev/wd0a / ffs rw 1 1
/dev/wd0h /home ffs rw,nodev,nosuid 1 2
/dev/wd0d /tmp ffs rw,nodev,nosuid 1 2
/dev/wd0g /usr ffs rw,nodev 1 2
/dev/wd0e /var ffs rw,nodev,nosuid 1 2

# fdisk wd0
Disk: wd0   geometry: 3916/255/63 [62914560 Sectors]
Offset: 0   Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
 0: 07  0   1   1 -   1274 254  63 [  63:20482812 ] HPFS/QNX/AUX
*1: A6   1275   0   1 -   3915 254  63 [20482875:42427665 ] OpenBSD
 2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
 3: 00  0   0   0 -  0   0   0 [   0:   0 ] unused

On 7/29/08, thacrazze [EMAIL PROTECTED] wrote:
 I want a dualboot with windows xp, and for this I used the FAQ
 http://www.openbsd.org/faq/faq4.html#Multibooting, but when I run the
 command installboot i get only ksh: installboot: not found and
 when I execute dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1 I get
 only dd: /dev/rsd0a: Device not configured

 can someone help me?

 --thacrazze



Re: Multiboot Windows XP + OpenBSD doesnt work

2008-07-29 Thread Ted Unangst
On 7/29/08, thacrazze [EMAIL PROTECTED] wrote:
 I want a dualboot with windows xp, and for this I used the FAQ
  http://www.openbsd.org/faq/faq4.html#Multibooting, but when I run the
  command installboot i get only ksh: installboot: not found and
  when I execute dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1 I get
  only dd: /dev/rsd0a: Device not configured

  can someone help me?

don't copy commands from a web page and run them without thinking.
first off, installboot probably already ran, but installboot is
definitely not the right way to run it.  second, you need to figure
out what kind of disk you installed on.  if you included dmesg,
somebody could tell you, but it's going to be wd.



Re: Multiboot Windows XP + OpenBSD doesnt work

2008-07-29 Thread Alicornio
2008/7/29, Ted Unangst [EMAIL PROTECTED]:
 On 7/29/08, thacrazze [EMAIL PROTECTED] wrote:

  I want a dualboot with windows xp, and for this I used the FAQ
http://www.openbsd.org/faq/faq4.html#Multibooting, but when I run the
command installboot i get only ksh: installboot: not found and
when I execute dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1 I get
only dd: /dev/rsd0a: Device not configured
  
can someone help me?


 don't copy commands from a web page and run them without thinking.
  first off, installboot probably already ran, but installboot is
  definitely not the right way to run it.  second, you need to figure
  out what kind of disk you installed on.  if you included dmesg,
  somebody could tell you, but it's going to be wd.


Note: this is a really good time to remind you that blindly typing
commands in you don't understand is a really bad idea. This line will
not work directly on most computers. It is left to the reader to adapt
it to their machine.

from: http://www.openbsd.org/faq/faq4.html#Multibooting

try: dd if=/dev/rwd0a of=openbsd.pbr bs=512 count=1



Re: Multiboot Windows XP + OpenBSD doesnt work

2008-07-29 Thread thacrazze
Thanks! That works!

--thacrazze

On 7/30/08, Alicornio [EMAIL PROTECTED] wrote:
 2008/7/29, Ted Unangst [EMAIL PROTECTED]:
 On 7/29/08, thacrazze [EMAIL PROTECTED] wrote:

  I want a dualboot with windows xp, and for this I used the FAQ
http://www.openbsd.org/faq/faq4.html#Multibooting, but when I run the
command installboot i get only ksh: installboot: not found and
when I execute dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1 I get
only dd: /dev/rsd0a: Device not configured
  
can someone help me?


 don't copy commands from a web page and run them without thinking.
  first off, installboot probably already ran, but installboot is
  definitely not the right way to run it.  second, you need to figure
  out what kind of disk you installed on.  if you included dmesg,
  somebody could tell you, but it's going to be wd.


 Note: this is a really good time to remind you that blindly typing
 commands in you don't understand is a really bad idea. This line will
 not work directly on most computers. It is left to the reader to adapt
 it to their machine.

 from: http://www.openbsd.org/faq/faq4.html#Multibooting

 try: dd if=/dev/rwd0a of=openbsd.pbr bs=512 count=1



Re: Multiboot Windows XP + OpenBSD doesnt work

2008-07-29 Thread thacrazze
OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz (GenuineIntel 686-class) 2.14 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,PGE,CMOV,CFLUSH,MMX,FXSR,SSE,SSE2,
MWAIT
real mem  = 536375296 (511MB)
avail mem = 510599168 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xfad60
apm0 at bios0: Power Management spec V1.2
apm0: APM engage (device 1): unknown error code? (83)
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0x0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfb0a0/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:01:0 (Intel 82371SB ISA rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0x8e00 0xe2000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00
pciide0 at pci0 dev 1 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 co
nfigured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: VBOX HARDDISK
wd0: 128-sector PIO, LBA, 30720MB, 62914560 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: VBOX, CD-ROM, 1.0 SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
vga1 at pci0 dev 2 function 0 InnoTek VirtualBox Graphics Adapter rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcn0 at pci0 dev 3 function 0 AMD 79c970 PCnet-PCI rev 0x40, Am79c973, rev 0:
irq 11, address 08:00:27:d6:f2:cc
acphy0 at pcn0 phy 0: AC101 10/100 PHY, rev. 11
ifmedia_set: no match for 0x20/0x
InnoTek VirtualBox Guest Service rev 0x00 at pci0 dev 4 function 0 not configu
red
auich0 at pci0 dev 5 function 0 Intel 82801AA AC97 rev 0x01: irq 9, ICH AC97
ac97: codec id 0x83847600 (SigmaTel STAC9700)
audio0 at auich0
ohci0 at pci0 dev 6 function 0 Apple Intrepid USB rev 0x00: irq 5, version 1.0
piixpm0 at pci0 dev 7 function 0 Intel 82371AB Power rev 0x08: SMBus disabled
ehci0 at pci0 dev 11 function 0 Intel 82801FB USB rev 0x00: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
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
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
fd1 at fdc0 drive 1: density unknown
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 Apple OHCI root hub rev 1.00/1.00 addr 1
biomask edfd netmask edfd ttymask fdff
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
auich0: measured ac97 link rate at 22020 Hz, will use 48000 Hz

On 7/30/08, Alicornio [EMAIL PROTECTED] wrote:
 2008/7/29, Ted Unangst [EMAIL PROTECTED]:
 On 7/29/08, thacrazze [EMAIL PROTECTED] wrote:

  I want a dualboot with windows xp, and for this I used the FAQ
http://www.openbsd.org/faq/faq4.html#Multibooting, but when I run the
command installboot i get only ksh: installboot: not found and
when I execute dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1 I get
only dd: /dev/rsd0a: Device not configured
  
can someone help me?


 don't copy commands from a web page and run them without thinking.
  first off, installboot probably already ran, but installboot is
  definitely not the right way to run it.  second, you need to figure
  out what kind of disk you installed on.  if you included dmesg,
  somebody could tell you, but it's going to be wd.


 Note: this is a really good time to remind you that blindly typing
 commands in you don't understand is a really bad idea. This line will
 not work directly on most computers. It is left to the reader to adapt
 it to their machine.

 from: http://www.openbsd.org/faq/faq4.html#Multibooting

 try: dd if=/dev/rwd0a of=openbsd.pbr bs=512 count=1



Re: Multiboot Windows XP + OpenBSD doesnt work

2008-07-29 Thread thacrazze
I put the openbsd.pbr to C: and made an entry in the C:/boot.ini

After a reboot I can select the OpenBSD boot entry, but it doesn't starts
I get only a black screen with some cryptical characters/symbols

Then I testet in Windows BootPart, which was recommended in the FAQ
and that says:

Physical numer of disk 0 : 33fa33f9
 0 : C:* type=7 HPFS/NTFS, size=10241406 KB, Lba Pos=63
 1: C:   type=a6 , size= 21213832 KB, Lba Pos=20482875

Can someone help me how to start OpenBSD correctly?

--thacrazze

On Wed, Jul 30, 2008 at 12:30 AM, thacrazze [EMAIL PROTECTED] wrote:
 Thanks! That works!

 --thacrazze

 On 7/30/08, Alicornio [EMAIL PROTECTED] wrote:
 2008/7/29, Ted Unangst [EMAIL PROTECTED]:
 On 7/29/08, thacrazze [EMAIL PROTECTED] wrote:

  I want a dualboot with windows xp, and for this I used the FAQ
http://www.openbsd.org/faq/faq4.html#Multibooting, but when I run the
command installboot i get only ksh: installboot: not found and
when I execute dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1 I get
only dd: /dev/rsd0a: Device not configured
  
can someone help me?


 don't copy commands from a web page and run them without thinking.
  first off, installboot probably already ran, but installboot is
  definitely not the right way to run it.  second, you need to figure
  out what kind of disk you installed on.  if you included dmesg,
  somebody could tell you, but it's going to be wd.


 Note: this is a really good time to remind you that blindly typing
 commands in you don't understand is a really bad idea. This line will
 not work directly on most computers. It is left to the reader to adapt
 it to their machine.

 from: http://www.openbsd.org/faq/faq4.html#Multibooting

 try: dd if=/dev/rwd0a of=openbsd.pbr bs=512 count=1



Re: Multiboot Windows XP + OpenBSD doesnt work

2008-07-29 Thread Francisco Valladolid Hdez.
--- thacrazze [EMAIL PROTECTED] wrote:

 I put the openbsd.pbr to C: and made an entry in the
 C:/boot.ini
 
 After a reboot I can select the OpenBSD boot entry,
 but it doesn't starts
 I get only a black screen with some cryptical
 characters/symbols
 
 Then I testet in Windows BootPart, which was
 recommended in the FAQ
 and that says:
 
 Physical numer of disk 0 : 33fa33f9
  0 : C:* type=7 HPFS/NTFS, size=10241406 KB, Lba
 Pos=63
  1: C:   type=a6 , size= 21213832 KB, Lba
 Pos=20482875
 
 Can someone help me how to start OpenBSD correctly?

OpenBSD partition must be active (flag) and try using 
GAG software.

http://gag.sourceforge.net

I'm using OpenBSD 4.4 Beta and XP together.

Regards. 

 
 --thacrazze
 
 On Wed, Jul 30, 2008 at 12:30 AM, thacrazze
 [EMAIL PROTECTED] wrote:
  Thanks! That works!
 
  --thacrazze
 
  On 7/30/08, Alicornio [EMAIL PROTECTED] wrote:
  2008/7/29, Ted Unangst [EMAIL PROTECTED]:
  On 7/29/08, thacrazze [EMAIL PROTECTED]
 wrote:
 
   I want a dualboot with windows xp, and for
 this I used the FAQ

 http://www.openbsd.org/faq/faq4.html#Multibooting,
 but when I run the
 command installboot i get only ksh:
 installboot: not found and
 when I execute dd if=/dev/rsd0a
 of=openbsd.pbr bs=512 count=1 I get
 only dd: /dev/rsd0a: Device not configured
   
 can someone help me?
 
 
  don't copy commands from a web page and run them
 without thinking.
   first off, installboot probably already ran,
 but installboot is
   definitely not the right way to run it. 
 second, you need to figure
   out what kind of disk you installed on.  if you
 included dmesg,
   somebody could tell you, but it's going to be
 wd.
 
 
  Note: this is a really good time to remind you
 that blindly typing
  commands in you don't understand is a really bad
 idea. This line will
  not work directly on most computers. It is left
 to the reader to adapt
  it to their machine.
 
  from:
 http://www.openbsd.org/faq/faq4.html#Multibooting
 
  try: dd if=/dev/rwd0a of=openbsd.pbr bs=512
 count=1
 
 


--- 
Therefore, if anyone is in Christ, he is a new creation; the old has gone, the 
new has come! - 2 Corinthians 5:17 (NIV)
---
Francisco Valladolid Hdez.
http://blog.bsdguy.net - http://flickr.com/photos/sigueme/