Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 7th January 2012
argv argv is offline
New User
Join Date: Mar 2009
Posts: 5
Default A brief comment about bootblocks

Imagine you want to install FreeBSD/NetBSD/OpenBSD and
1. you do not have a CDROM drive
2. you do not have an existing installation of the OS and
3. you do not have network access to one of the above (no PXE).

How would you do it?

FreeBSD and NetBSD each provide "memstick" images for their install sets. You could login to their ftp server, download the img, write it to your device and boot. Very simple.

You can even install either of them from... gasp... Windows using a small standalone program that can write images to physcial or logical devices. Amazing.

All BSD's provide such utilites; NetBSD has a good one. I believe future versions of Windows may even enable this to be done without using third party software. Things are getting easier.

What if you purchase a netbook that is loaded with Windows? What if your computer does not have a CD/DVD drive? Do you have to purchase an external one? Do you have to run a hefty virtual machine, just to make a bootable fs image? Not with NetBSD and FreeBSD. Your problems are solved because they provide imgs to download.

With the FreeBSD and NetBSD memstick images you can install BSD anywhere, assuming you know what you're doing, you can create live USB's, live CD's, whatever you want to do. You can run from RAM, on read-only USB, HDD, whatever. It's a great convenience.

But the real reason providing these images is such a great benefit is because without an existing BSD installation how do you install the appropriate BSD bootblocks?

To replicate the system, e.g., to make your own bootable "live" installation, you always need at least three things: bootblocks, a bootloader and a kernel. At least.

It would be nice if you could install OpenBSD biosboot to a device or fs image file using FreeBSD, or install FreeBSd's boot1 using NetBSD. Or maybe you could do it with some ad hoc Linux utility. Alas, all these OS's are subtly different in how they handle booting and so their code for the disk utilities differs as well. Is the code for FreeBSD's fdisk and Net/OpenBSD's installboot the same? Do they locate their bootblocks in the same place? I wish.

Once you have an existing installation of your target BSD, then this bootblock issue is no problem. You can replicate it at will.

But what if you do not have one?

OpenBSD still does not officially provide a memstick image.

My understanding is we have to get the memstick image from Sourceforge. Or run an iso in an emulator. Is this correct?

If so, why? There must be a good reason for this.

It's not a big deal. It can be worked around. But I'm just curious. Memstick images are an amazing service.

Thank you for your time.

Best wishes for 2012.

Last edited by argv; 7th January 2012 at 08:38 AM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comment: Mozilla does it their way J65nko News 0 4th June 2010 12:53 PM
Comment out '/etc/inetd.conf' and disable 'inetd' daemon J65nko Guides 0 24th January 2010 10:53 PM

All times are GMT. The time now is 09:31 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick