|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
Installing from LiveUSB
Hi all,
I'm newbie on OpenBSD, and I want to install OpenBSD having a liveUSB (I haven't CD on the server) but I can't manage to boot the image! I followed this howto: liveusb-openbsd.sourceforge.net/#Usbinst Downloading install51.iso, format the usb device with fat16, and copy the image with dd. Qemu boot the image, but any computer does. Also, I tried downloading the liveusb-mini.vdi, but I'm not sure copying this directly to the pendrive, would work. What I'm doing wrong? Thanks in advance, Laura |
|
|||
Welcome!
It will be far simpler to just install OpenBSD 5.1 directly to the USB drive as outlined in Section 14.17.3 & Section 4 of the FAQ. Instead of installing to a hard drive which may already be mounted, specify the USB drive (which will appear as either device sd0 or sd1 when plugged in...), & install directly to it. Yes, you could continue with the image provided on the Gayatri Hitech page, but the end result will be the same as just installing directly to the USB drive. |
|
|||
Quote:
Thanks! I have now the USB with OpenBSD, but when I boot this liveUSB I can't see the option to install the SO into the server. Have I to deploy the content of the USB into the server HD? Greetings, Laura |
|
|||
Quote:
Assuming you installed OpenBSD 5.1 as I recommended earlier, the default kernel booted is /bsd. The kernel used for installation is also included in the root directory as /bsd.rd. When prompted during boot: Code:
probing: pc0 com0 com1 apm mem[636k 190M a20=on] disk: fd0 hd0+ >> OpenBSD/i386 BOOT 3.17 boot> Note that the filesets are not present in this configuration. I don't believe the Gayatri Hitech project includes them either. However, once /bsd.rd is booted, you can access the file sets over the Internet as specified in Section 4 of the FAQ. You can also access them USB (the same device or another USB device...) or CD if you have prepared these media. Last edited by ocicat; 22nd May 2012 at 07:32 PM. Reason: clarify USB sources... |
|
|||
Quote:
Hi all! I'm on the right way, I guess =). I'm going to explain a little further of my scenario: The server has a old OpenBSD Installation, 4.9 I think, and I have to reinstall 5.1, with softraid. The previous sysadmin left the company sudenly and $boss wants a fresh install. So, I followed ocicat recommendations and: · When the server boot up: =========== Using drive 0, partition 3. Loading... probing: pc0 com0 mem[629K 2045M a20=on] disk: fd0 fd1 hd0+ hd1+ hd2 >> OpenBSD/amd64 BOOT 3.18 boot> =========== At this point I type /bsd.rd and I can choose installing OpenBSD. I follow the process but at this part of the installation: =========== Available disks are: sd0 sd1 sd2 Which one is the root disk? (or 'done') [sd0] =========== I haven't option to select HD devices, but when it's beginning the startup, I see hd0, 1 and 2, as you can see in the previous 'screenshot'. Why can't I select the HD and not the USB :?? Thanks in advance, Laura |
|
|||
Quote:
Note that all USB devices will be identified as sd(4) devices. The kernel will also assign a number to each IDE/SCSI device. Upon insertion of USB devices, you will see what the kernel assigns on the login console. As an example, if you have one SCSI drive installed in the system, (which would be found in dmesg(8) output as sd0...), inserting a USB device would be assigned the device name sd1. This information would be displayed and placed into the dmesg(8) buffer. Quote:
|
|
|||
Hi Laura ! wecome to Daemonforums ! at last I'm not the only newbie here :-)
Quote:
|
|
|||
Quote:
Yes, it is possible to create a custom script which will create a very specific installation of OpenBSD where one would in turn simply insert into a USB port, boot the computer, & if the BIOS supports booting from USB devices, execution would immediately launch into OpenBSD's installation script. On the i386/amd64 platforms, this would require sufficient knowledge & skill to navigate through the biosboot(8), installboot(8), boot(8), & fdisk(8) manpages. There are primarily three main ingredients to creating such a bootable USB device:
This leaves the question as to where to find the filesets needed to install OpenBSD onto another system. As discussed in Section 4.5.4 of the FAQ, bsd.rd can install the needed filesets from a number of locations as can be seen in the relevant question answered during installation: Code:
Location of sets? (cd disk ftp http or 'done') [cd] _ So daemonfowl, you should see now that a default installation to USB can be used to install OpenBSD onto other systems as long as the system's BIOS supports booting from USB devices. In fact, this is the simplest method possible, plus, it is supported by the OpenBSD project. Last edited by ocicat; 23rd May 2012 at 05:33 AM. |
|
||||
@lunita,
Disclaimer: I know nothing about "LiveUSB", a third party offering. I recommend that if you are determined to use it, you contact the author directly for support. -- The OpenBSD Project's only official, supported methods for installing are via booting from install media developed for the particular architecture. The media choices vary. For the two most popular architectures, i386 or amd64, the choices are the same: booting a diskette, booting a CD/DVD, or booting from a network using a PXE capable NIC and and a PXE configured LAN. (PXE booting requirements and configuration are described in the pxeboot(8) man page.) If none of these are available on the platform you wish to install onto, the Project recommends either: A) From a platform that has appropriate media, install onto a bootable, removable external drive, attachable via external channels such as eSATA, USB, or SCSI.Both of these recommended methods require at least one additional system of the same architecture which can boot installation media. That system may be virtual (e.g.: qemu) if convenient. Most common alternative methods -- such as manually creating a bootable USB stick containing just the install kernel and installation filesets -- require the admin have prior knowledge of OpenBSD boot block installation/configuration for the particular architecture. |
|
|||
I must thank jgimmi and ocicat for the quite interesting info, tips and guidelines.
One thing is sure : I LLLLLLove Daemonforums !!!!!!!!! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
non-journaled filesystems on liveusb media | daemonfowl | OpenBSD Security | 11 | 25th February 2012 04:30 AM |
OpenBSD livecd/liveusb/combo persistent? | Noobification | OpenBSD General | 5 | 28th October 2010 12:22 PM |
Partitioning the LiveUSB drives. | IronForge | OpenBSD Installation and Upgrading | 6 | 29th August 2010 10:27 PM |
Installing KDE | EverydayDiesel | FreeBSD Installation and Upgrading | 7 | 27th August 2010 04:27 AM |
OpenBSD LiveUSB | Oko | OpenBSD Installation and Upgrading | 3 | 12th May 2009 03:24 AM |