Difference between revisions of "Sun Netra t1 compact flash root"
(add devalias note) |
(add boot-device order notes) |
||
Line 26: | Line 26: | ||
<br /> | <br /> | ||
Maybe, however, it makes sense to setup a real devalias for this, and not have to type that crap:<br /> | Maybe, however, it makes sense to setup a real devalias for this, and not have to type that crap:<br /> | ||
+ | |||
nvalias cf /pci@1f,0/pci@1/pci@1/ide@e/disk@2:a | nvalias cf /pci@1f,0/pci@1/pci@1/ide@e/disk@2:a | ||
+ | |||
+ | Once all of your installation is finalized, maybe it also makes sense to fix the boot order:<br /> | ||
+ | |||
+ | setenv boot-device cf disk net |
Revision as of 11:10, 31 October 2007
Hardware
To make this work; you need a CF-->laptop IDE (44pin) adapter, and a short ribbon cable.
I had to trim the side-clips off the IDE cable because of the curious mechanism on the netra.
Installation
Boot into OpenBSD install media (I used 4.2, and a miniroot install because it was convenient),
and then realize that it won't work with your CF card(?)--at this point, reboot into the install
media but pass the '-c' flag so that you get into UKC (userconfig).
Once in UKC, it should eyeball kinda like this:
UKC> change wd* change? y channel: [-1] (hit enter) flags: [whatever]: 0xff0 UKC> quit
Now you'll be ready to install. After the installation finishes, you need to pass '-c' again, but
this time it gets waaaaay more stupid.. OpenBoot has no concept of this particular drive, so you need
to boot from a custom devalias:
boot /pci@1f,0/pci@1/pci@1/ide@e/disk@2:a -c
Follow the same procedure for UKC, and you can later hardcode it in the kernel with config(8).
Maybe, however, it makes sense to setup a real devalias for this, and not have to type that crap:
nvalias cf /pci@1f,0/pci@1/pci@1/ide@e/disk@2:a
Once all of your installation is finalized, maybe it also makes sense to fix the boot order:
setenv boot-device cf disk net