OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: cal on September 11, 2006, 08:42:04 pm
-
Edit: First post was rambling, here's what works so far
Prepareing the installation:
1.
fdisk cf card
Stops an error that sometimes happens when the card is not unmounted properly.
2.
copy the following files to /home/root/
bsd
bsd.rd
zboot
zbsdmod.o
Start BSD Installation
Run the following:
cd /home/root/
su
insmod zbsdmod.o
cp bsd.rd /proc/zboot
You are on your own from here. I cannot get a network adapter running, and my SD carder reader won't mount. Hope this helps. I'll post more when I figure it out.
-
9/12
6:37A
New day...
Did a ctrl Z and paused the installation, and droped to a comandline. The mount showed there was no /dev/sda0 mounted.
mount -t /dev/sda0 /mnt2 errors with "device not configured"
I'm going to drop to linux and see if I can copy the 3.9 directory from the sd card to the CF card. Maybe I can skip labeling thing this time.
6:49A
No dice, cacko can't read bsd filesystems.
-
What partitions are you creating on the CF card? What device is the CF card reported as? Where are you installing zboot zbsdmod.o? They should be located in /bsd on /dev/mtdblock2. Why can't you use your USB wifi adapter with a powered usb hub to access an FTP server to aquire the bsd distribution sets? Does the C1000 have an emergeny boot linux you can access? (On the C3200 you can access sharps emergency boot linux by holding down D+B during a reboot) If so why are you doing this from within cacko? The first step is to get OpenBSD installed onto the CF card.
9/12
6:37A
New day...
Did a ctrl Z and paused the installation, and droped to a comandline. The mount showed there was no /dev/sda0 mounted.
mount -t /dev/sda0 /mnt2 errors with "device not configured"
I'm going to drop to linux and see if I can copy the 3.9 directory from the sd card to the CF card. Maybe I can skip labeling thing this time.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141211\"][{POST_SNAPBACK}][/a][/div]
-
What partitions are you creating on the CF card? What device is the CF card reported as? Where are you installing zboot zbsdmod.o? They should be located in /bsd on /dev/mtdblock2. Why can't you use your USB wifi adapter with a powered usb hub to access an FTP server to aquire the bsd distribution sets? Does the C1000 have an emergeny boot linux you can access? (On the C3200 you can access sharps emergency boot linux by holding down D+B during a reboot) If so why are you doing this from within cacko? The first step is to get OpenBSD installed onto the CF card.
D+B doesn't bring up an emergency linux.
Wifi works on my laptop, but gives "can't write" errors. The drivers may have been added in 4.0 as it uses a relatively new chipset if I recall. Actually, I don't have the adapter here at the office but, it might be usb2. Duh, forgot to check.
In BSD the CF is reported as wd0 .
There is only one partition on the CF now, but I'm thinking of adding a 250m second partition to hold the installation sets.
The SD card in a usbreader is sd0
I have zboot and zbdsmod.o in /home/root/ .
in cacko / is readonly so "mkdir /bsd" give "Cannot create directory '/bsd': Read-only file system
-
Leaving zboot, and zbsdmod.o where they are located in your cacko install( /home/root ) you will need to rename and then copy this file to the directory stated below:
[ You are not allowed to view attachments ]
(MAKE SURE YOU MAKE A BACKUP OF YOUR ORIGINAL FILE rc.rofilesys FIRST!) Rename the file rc.rofilesys.txt to rc.rofilesys and copy it to to /root/etc/rc.d/ . This has been edited to look for and load zboot and zbsdmod.o in /home/root. If you can install OpenBSD on the CF then you should be good to go using your current cacko installation.
You might also want to check out some of the other files found in this post: https://www.oesf.org/forums/index.php?showtopic=21249 (https://www.oesf.org/forums/index.php?showtopic=21249)
D+B doesn't bring up an emergency linux.
Wifi works on my laptop, but gives "can't write" errors. The drivers may have been added in 4.0 as it uses a relatively new chipset if I recall. Actually, I don't have the adapter here at the office but, it might be usb2. Duh, forgot to check.
In BSD the CF is reported as wd0 .
There is only one partition on the CF now, but I'm thinking of adding a 250m second partition to hold the installation sets.
The SD card in a usbreader is sd0
I have zboot and zbdsmod.o in /home/root/ .
in cacko / is readonly so "mkdir /bsd" give "Cannot create directory '/bsd': Read-only file system
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141213\"][{POST_SNAPBACK}][/a][/div]
-
Thanks, hope I get far enought to use it...
Unfortunately, the problem now is installing BSD to the CF... I cant mount the usb sd reader, so I can't install the installation sets. I'm going to try copying the files to a second partition on the cf card. that might work. Does the bsd labeling change when you have second partition on a disk?
-
Your best bet is to use a OpenBSD supported network adapter to download the distribution sets during the installation process. Also you should try and use the latest 4.0 snapshot. I thought you had managed to get the SD card mounted earlier during the OpenBSD install?
Thanks, hope I get far enought to use it...
Unfortunately, the problem now is installing BSD to the CF... I cant mount the usb sd reader, so I can't install the installation sets. I'm going to try copying the files to a second partition on the cf card. that might work. Does the bsd labeling change when you have second partition on a disk?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141218\"][{POST_SNAPBACK}][/a][/div]
-
Nope the sd card is recognised, but will not mount. I'll try a network install after work.
-
This isn't going to work. zboot only looks at CF.
-
Figured it out... Sort of. Did have a few problems though. FTP installs stalled everytime for every mirror. HTTP worked perfectly first time. I don't know why but it may have something to do with my usb ethernet adapter.
-
Found a japanese site with detailed guide on setting up OpenBSD on C1000:
http://www10.ocn.ne.jp/~a.koba/openbsd/zaurus.html (http://www10.ocn.ne.jp/~a.koba/openbsd/zaurus.html)
But it's all in Japanese, so no use to me for now.
-
I actually got it to work fine... I guess I should have posted that. I'm not an OpenBSD expert yet so I was better off using linux, which of course we all knew from the beginning. I did however, get everything set up the way I liked it and was able to use OBSD for a week or so before I had some sort of crash. I had to shut down without running a halt, and I could never get my installation to boot again. About that time the announcement was made that SD actually working, so I looked into that for awhile and ultimately decided to wait until a official release was made. In the mean time I'm using pdaXrom
-
Oh that sounds scary enough.
May i ask what has actually happened?
But anyhow i will surely use my 3200 with OpenBSD on the microdrive once it arrives.
-
Found a japanese site with detailed guide on setting up OpenBSD on C1000:
http://www10.ocn.ne.jp/~a.koba/openbsd/zaurus.html (http://www10.ocn.ne.jp/~a.koba/openbsd/zaurus.html)
But it's all in Japanese, so no use to me for now.
Here's a translated version of the page: Translated Installing OpenBSD/Zaurus on the C1000 (http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=ja_en&url=http%3A%2F%2Fwww10.ocn.ne.jp%2F%7Ea.koba%2Fopenbsd%2Fzaurus.html)
But look at the section near the end titled "Trying installing to SL-C1000." He seems to be stating what you would see during the OBSD installation process if you could get the OBSD kernel to boot on the C1000.