So, cool, I have OpenBSD 4.7 installed and booted on my Gdium laptop.

Now, here are the small problem I faced and am facing.


Wireless network didn't work during setup. I used wireless.
The device was recognized. ifconfig let me fiddle with it.
It gets a DHCP address, but that's it.
Maybe my local network. I have OpenBSD/macppc
working wireless, but maybe I forgot how.
Anyway, ok, move on.


The instructions are a bit lacking if you have a completely
empty USB key. The installer doesn't seem to handle this well.
 It seemed to create an ext2 partition, but it was too small I think.
 
 
I couldn't figure out how to create the ext2 partition and file
system in OpenBSD.


So what I did is I partitioned the key under Linux.
I made a 100MB ext2 partition and the rest OpenBSD.


I put bsd, boot, and bsd.rd all on the ext2 partition.
>From here:
http://ftp5.usa.openbsd.org/pub/OpenBSD/4.7/loongson/


I booted bsd.rd with pmon.
 This part of the instructions worked well.
 

I had tried the miniroot.fs approach.
It didn't work, but I'm just slightly out of realm here
and probably messed up.


Now, the real problems.

At the end of setup, I get an error:
  mkdir /mnt2/boot failed
  Won't be able to boot from sd1.

 
 /mnt2/boot is a file.
 
 
 And then these instructions:
 
 ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/loongson/INSTALL.loongson
 
 
 Gdium systems final steps:

    Gdium systems do not have a boot menu, and directly boot the system
    (Linux, by default). Unfortunately, the OpenBSD bootloader operation
    is very limited on this machine, as it can not access USB devices
    (which means no keyboard input as well).

    To overcome this and be able to boot OpenBSD nevertheless, the
    bootloader relies upon PMON's ability to load a Linux so-called
    ``initrd'' image. By making PMON load the kernel as the ``initrd''i
    image, and then run the bootloader, the bootloader will be able to
    ``load'' the OpenBSD kernel correctly.

    The path to the file booted by default is set in the `al' environment
    variable, and the path to the initrd image is set in the `rd'
    environment variable.

    To boot the bsd kernel on the G-Key by default, assuming it has been
    copied to /boot/bsd on the first ext3 partition, and the bootloader
    has been copied to /boot/boot on the same filesystem, the settings
    are:

        PMON> set al /dev/fs/e...@usbg0/boot/boot
        PMON> set rd /dev/fs/e...@usbg0/boot/bsd


are a bit confusing and unclear to me.

After I set the variables, then what?
Power cycle and it should autoboot?


That didn't work for me at first.


What worked I think:

load /dev/fs/e...@usb0/bsd
g


Ok, I rebooted, and it autobooted, then I am prompted
for root device, I type sd1, and swap device (I have no swap).


Hm, there is no /boot, even though there was /mnt2/boot.
So let's try cp /usr/mdec/boot /
 Nope, didn't help.
 

Well, as long as I don't reboot, it is looking good.
I'll try to fiddle around more with booting.


There's apparently no installboot here.


Thanks,
 - Jay

Reply via email to