On Mon, Nov 23, 2009 at 9:43 AM, Andrius V <[email protected]> wrote: > On Mon, Nov 23, 2009 at 9:25 AM, Nick Guenther <[email protected]> wrote: >> On Mon, Nov 23, 2009 at 1:43 AM, Andrius V <[email protected]> wrote: >>> >>> On Mon, Nov 23, 2009 at 5:56 AM, Robert Bronsdon <[email protected]> wrote: >>>> Don't forget booting from USB is a black art. Different USB keys will >>>> represent themselves in different ways, some keys represent themselves as >>>> USB Floppy drives, some as USB CD-ROM drives. >>>> >>>> Some motherboards see USB keys as valid boot media, not all motherboards. >>>> >>>> Given your problem is during POST I can't see this being an OpenBSD >>>> problem. One solution could be too install an OS designed to run from a >>>> USB key and test it on the machine then. If it boots you can at least >>>> eliminate the USB key itself as a problem. >>>> >>>> >> >>> Hello, >>> >>> Ok, If you need more information I can give it. I used this flash key >>> with other OSes successfully (NetBSD, for example). So it is not an >>> usb key problem. POST means "power on self test" which you see than >>> computer starts. Motherboard is Jetway JNF76-N1G-LF P (VIA Nano U2300 >>> 1GHz, VIA VX800), however, it hanged with all other my motherboards >>> (Intel X58, AMD 690G chipsets). I tried to disable SATA, AHCI but it >>> didn't help. It doesn't hang only when I disable usb media as storage >>> in BIOS (however it can't be bootable then). Installable OpenBSD CD >>> boots without problems. It appears that BIOS can't recognize USB key >>> with OpenBSD for some reason. >> >> >> Wait, do you mean you've installed NetBSD to the disk and had it boot >> fine on the same motherboard? In THAT case it's not hanging at POST, >> it's hanging just after POST. Are you sure the OpenBSD bootloader >> doesn't show itself -at all-? I'm pretty sure the first thing it does >> is print its banner, so if that's not even happening the BIOS must be >> loading the MBR in a way the OpenBSD MBR doesn't expect somehow. >> Perhaps you could try copying the MBR from a USB key with NetBSD over >> the USB key with OpenBSD, see if that makes a difference. >> >> Also please don't top post. >> >> -Nick >> > > Ok, sorry for a top post. NetBSD was installed into that usb key > earlier (and it booted succesfully). I formated it and installed > OpenBSD instead. At boot I see information about CPU and computer > hangs at this point. Hm, I can try to rewrite mbr with other boot > loader. I'll post the results later (after 8-10 hours). > > Regards, > Andrius V >
I tried to play with usb key yesterday. Yes, when I copied mbr from the other computer, computers didn't hang anymore. Of course, that mbr is not suitable to boot OpenBSD as it points to grub which doesn't exist in this usb key, however I successfully booted OS from CD (boot hd0a:/bsd). So, I have question. Can I install grub (with ffs support?) to openbsd from ports or I need to compile it and configure it manually? Grub manual points that booting method is the same as NetBSD (however, does it mean that I need to write --type=netbsd or --type=openbsd?). Thank you in advance. Regards, Andrius V

