Heyya,I've been thinking about some sort of installation method without using CDs. As OpenBSD release new version every 6 month, burning CDs for new ISO is just wasting CD. Currently I still hang on with my 5.0 installation CD and have all the installation files of 5.1 to 5.3 in an external drive. So, if my X200 went crazy, I need to install 5.0 then upgrade all the way to 5.3.I thought of creating another partition in my X200, just to hold installation files. It will be something like an OS Recovery partition. It's a nice idea to play with, but then Recovery Partition is useless if my hard disk have hardware issue.So I thought of using a thumbdrive as OpenBSD installation media. Good thing is, I can just update the OpenBSD version on the thumbdrive when new version is released.I have a Kingston DataTraveler 2.0 USB thumbdrive, 2Gb capacity.
![](/uploads/1/2/6/6/126681694/709422703.jpg)
![Prepaid Prepaid](http://2.bp.blogspot.com/-Chkw8YXa45I/VJYhvdZ_FVI/AAAAAAAAAFI/fY9OoL_3RJY/s1600/mario3psp.png)
This video tells you how you can install your Celcom Home Wireless, so you can play all day with Celcom Home Wireless! This video tells you how you can install your Celcom Home Wireless, so you. ZTE MF190 Unlocked 3G GSM 7.2 Mbps USB Mobile Broadband Aircard Modem 3G modem from China. QUOTE(chuahcs79 @ Sep 22 2012, 02:47 PM). I found ZTE MF190 maxis dashboard, but i cannot find any celcom one though, i think all dashboard is quite the same, with similar drivers. Celcom MF190 is my friends device and I'm helping him to unlock.
2Gb for OpenBSD installation media is too much, so I think of creating 2 partition on it, 600Mb for OpenBSD installer + all the installation files and the rest for normal thumbdrive usage (FAT32 filesystem).After searching for relevant informations, this is how I did it. First, I need to clear the thumbdrive. The thumbdrive I want to use is identified as sd1 so yours might be different. Do take note as you don't want to wipe the wrong drive. So I booted my X200 into 5.3, then get to the console. I plugged in my thumbdrive and proceed with this command (bold is my input):$ sudo fdisk -iy sd1Writing MBR at offset 0.Then I proceed to edit the thumbdrive's slice (partition) using fdisk.$ sudo fdisk -e sd1Enter 'help' for informationYou can check your thumbdrive's slice but mine have 4 (0 to 3) with number 3 for OpenBSD.
So I edit the slice's information for OpenBSD part.fdisk: 1 e 3Starting Ending LBA Info:#: id C H S - C H S start: size -.3: A6 0 1 2 - 241 254 63 64: 3887666 OpenBSD Partition id ('0' to disable) 0 - FF: A6 (? For help) ENTERDo you wish to edit in CHS mode?
n ENTERPartition offset: 64 ENTERPartition size: 3887666 600mTake note that I didn't use the CHS mode. For the OpenBSD slice, it's ok.
But I need to use the CHS mode for the FAT32 slice or else I won't get the 2 partitions I needed.fdisk: 1 e 0Starting Ending LBA Info:#: id C H S - C H S start: size -0: 00 0 0 0 - 0 0 0 0: 0 unusedPartition id ('0' to disable) 0 - FF: 0 (? For help) 0BDo you wish to edit in CHS mode? n yBIOS Starting cylinder 0 - 241: 0 76BIOS Starting head 0 - 254: 0 125BIOS Starting sector 1 - 63: 1 49BIOS Ending cylinder 0 - 241: 0 241BIOS Ending head 0 - 254: 0 254BIOS Ending sector 1 - 63: 1 63As you can see, slicing the FAT32 part is a bit tricky. I need to verify my OpenBSD's slice CHS information (Ending) and adjust the FAT32 CHS informations (Starting - Ending) accordingly. As you can see, my OpenBSD's CHS ended at 241 - 254 - 63 so I used that info as Starting CHS detail for the FAT32 slice. The Ending part should be the maximum of the CHS available.Now I flag the OpenBSD slice to make it active.fdisk:.1 flag 3Partition 3 marked active.Then quit and save changes.fdisk:.1 quitThat was only the slicing part.
In Window's world it's called partitioning. But now I need to partition the OpenBSD slice created.
For this I need to use disklabel.$ sudo disklabel -E sd1Label editor (enter '?' For help at any prompt) apartition: a ENTERoffset: 64 ENTERsize: 1228799.FS type: 4.2BSD ENTERRounding size to bsize (32 sectors): 1228768As the thumbdrive will just be an installation media, no need to create SWAP or any other partition.
To confirm, I need the partition info. p mOpenBSD area:; size: 600.0M; free: 0.0M# size offset fstype fsize bsize cpga: 600.0M 64 4.2BSD 2048 16384 1c: 1906.0M 0 unusedi: 1298.3M 1228863 MSDOSLooks good. Remember that sd1a is the a (OpenBSD) partition and sd1i is for the FAT32.
Now quit and save changes. qWrite new label?: y ENTERSliced and partitioned, the thumbdrive is ready to be formatted. I use newfs.$ sudo newfs /dev/rsd1a$ sudo newfs /dev/rsd1iIt might take a while depending on how big your thumbdrive's capacity is. When done, I mount the OpenBSD's slice sd1a.$ sudo mount /dev/sd1a /mntThen I copy my X200's /boot file to that thumbdrive.$ sudo cp /boot /mntAfter that I make the slice bootable.$ sudo /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd1Then I need to create a folder named 5.3 and copy all 5.3 installation files (bsd.
&.tgz) into it.$ sudo mkdir /mnt/5.3Then I need to create an etc folder, create a boot.conf file inside it.$ sudo mkdir /mnt/etc$ sudo touch /mnt/etc/boot.confEdit /mnt/etc/boot.conf and add:set image /5.3/bsd.rdFinally, I unmount the thumbdrive, reboot to test. The bsd.rd got booted nicely but I haven't tested the installation or upgrade procedure. Didn't want to mess with my current installation. If you tried this, do comment on how it goes. Later.Update: Here's my experience on that I've created above.
![](/uploads/1/2/6/6/126681694/709422703.jpg)