DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th November 2009
vinnie_vinodh vinnie_vinodh is offline
absoluteBSD newbie
 
Join Date: Nov 2009
Posts: 1
Exclamation any possible way to make install46.iso boot from usb to install to a old laptop

Hello
I'm new to BSD and i want to install openbsd4.6 to my old laptop hp omnibookxe3 (PIII processor @ 800Mhz , 128mb ram and 20gb hdd).
The problem is my laptop has no cdrom or usb boot support but it has a floppy drive which is working . Installation from floppy is ok but my connection speed is very less takes hour or days i dont know .
Right now it has puppy linux in it but i want to install and use openbsd .
Before, i took out the hardisk and connected it to another system to install,but it is very difficult process (opening the laptop and all).So i've got the install46.iso from my friend .

>>Is there any way to make the install46.iso boot from usb drive or any live openbsd's so that i can install it onto the laptop.
I use PLOP boot manager from floppy to boot from usb ports



Thanks In Advance
Reply With Quote
  #2   (View Single Post)  
Old 27th November 2009
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

When you run installer from the floppy disk you will have the option of choosing the location of installation sets. Just chose SCSI drive (which is how the kernel will recognize
your USB stick) and the directory in which installation sets are stored. Obviously you do not want to have iso image on USB you just want to have installation sets (bunch of .tgz files as you know).
Reply With Quote
  #3   (View Single Post)  
Old 27th November 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

To elaborate on Oko's comments: have both the installation sets and kernel(s) on the external drive. For i386, the external drive should be in FAT format. I'm not sure if amd64's ramdisk kernel supports FAT.
Reply With Quote
  #4   (View Single Post)  
Old 27th November 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

The way described by Oko is the best way, install OpenBSD onto the USB drive (..including bsd.rd) and you should be able to boot the device on any other system, baring any unforeseen problems.. USB booting isn't perfect.

If you already have an existing installing, you can prepare the device using fdisk(8)/disklabel(8), newfs(8) and installboot(8).

Vague example, do not copy paste.. you risk all your drives.. read the manuals.
$ sudo fdisk -e /dev/rsd?c
[...]
$ sudo disklabel -E /dev/rsd?c
[...]
$ sudo newfs /dev/rsd?a
$ sudo mount /dev/sd?a /mnt
$ sudo cp /boot /mnt; sudo cp /bsd.rd /mnt/bsd

This would be a good time to make a directory on the device for the installations sets, kernels and perhaps a few packages.

Finally,
$ sudo /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot /dev/rsd?c

Have fun.
Reply With Quote
  #5   (View Single Post)  
Old 27th November 2009
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

If you have floppy you can use the the USBmediazine® method I described in http://www.daemonforums.org/showthread.php?t=1588
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #6   (View Single Post)  
Old 5th February 2010
junfengfan junfengfan is offline
New User
 
Join Date: Feb 2010
Posts: 2
Default

Quote:
Originally Posted by BSDfan666 View Post
The way described by Oko is the best way, install OpenBSD onto the USB drive (..including bsd.rd) and you should be able to boot the device on any other system, baring any unforeseen problems.. USB booting isn't perfect.

If you already have an existing installing, you can prepare the device using fdisk(8)/disklabel(8), newfs(8) and installboot(8).

Vague example, do not copy paste.. you risk all your drives.. read the manuals.
$ sudo fdisk -e /dev/rsd?c
[...]
$ sudo disklabel -E /dev/rsd?c
[...]
$ sudo newfs /dev/rsd?a
$ sudo mount /dev/sd?a /mnt
$ sudo cp /boot /mnt; sudo cp /bsd.rd /mnt/bsd

This would be a good time to make a directory on the device for the installations sets, kernels and perhaps a few packages.

Finally,
$ sudo /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot /dev/rsd?c

Have fun.
i have done "openbsd usb boot", it can install ,but computer reboot ,show pictures:
~~~~~~~~~~
Welcome to the OpenBSD/i386 4.6 installation program.
(I)nstall,(U)pgrade or (S)hell?

computer can't go !

of course ,i unplug usb!
please this is what reason?

Last edited by ocicat; 5th February 2010 at 11:45 AM. Reason: Your email address has been removed. Spammers will harvest them from these forums & flood your inbox.
Reply With Quote
  #7   (View Single Post)  
Old 5th February 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by junfengfan View Post
computer can't go !

of course ,i unplug usb!
please this is what reason?
The reason is because you used bsd.rd which is the kernel designed & tuned specifically for installation.

The solution is to use the GENERIC kernel bsd instead.

Another solution would be to simply install OpenBSD directly to the USB drive.
Reply With Quote
  #8   (View Single Post)  
Old 7th February 2010
junfengfan junfengfan is offline
New User
 
Join Date: Feb 2010
Posts: 2
Default how to copy bsd to new machine's openbsd

how to copy bsd to new machine's openbsd?
please write down setups,thanks
Reply With Quote
  #9   (View Single Post)  
Old 7th February 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by junfengfan View Post
how to copy bsd to new machine's openbsd?
Your question is asking how to upgrade. Study the Upgrade Guide:

http://openbsd.org/faq/upgrade46.html
Reply With Quote
Old 21st February 2010
comet--berkeley comet--berkeley is offline
Real Name: Richard
Package Pilot
 
Join Date: Apr 2009
Location: California
Posts: 163
Default any possible way to make install46.iso boot from usb to install to a old laptop

To recap, the first steps are to create an OpenBSD partition on the usb stick, format an ffs filesystem on the OpenBSD partition and then
setup the second stage boot program.

Assume that the usb stick is the /dev/sd1 device

Create an OpenBSD partition:
------------------------------------
$ sudo fdisk -e sd1
[...]
$ sudo disklabel -E sd1
[...]

Assuming that an sd1a OpenBSD partition was defined.

Create an ffs filesystem on the sd1a partition:
------------------------------------------------------
$ sudo newfs sd1a

Setup the second stage boot program
-----------------------------------------------
$ sudo mount /dev/sd1a /mnt
$ sudo cp /boot /mnt

$ sudo /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd1

After doing the above you will have a USB stick with a bootable OpenBSD partition on it.

Next you must copy the kernel images and the zipped install files.

And then you must point the boot to the bsd.rd kernel image.

Let's say that the install CD is mounted on /cdrom
and that the USB stick is mounted on /mnt

Copy the kernel images and the zipped install files.
---------------------------------------------------------------
$ mkdir /mnt/4.6
$ cp -pR /cdrom/4.6/i386 /mnt/4.6

Point the boot to the bsd.rd kernel image for i386 architecture:
-----------------------------------------------------------------------------
$ mkdir /mnt/etc
$ echo "set image /4.6/i386/bsd.rd" > /mnt/etc/boot.conf
Reply With Quote
Old 21st February 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

I can honestly say I've never seen an old laptop capable of booting from USB, while at the same time lacking a CD-ROM drive.

The instructions have been given countless times, in this thread alone.. a user should be able to figure out what they need to do by now.
Reply With Quote
Reply

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
bmake: don't know how to make install. Stop J05HYYY NetBSD Package System (pkgsrc) 5 10th October 2009 04:19 PM
NetBSD on a laptop: trying to make it work Mr-Biscuit NetBSD Installation and Upgrading 1 1st June 2009 01:43 AM
I can't make FreeBSD floppy/boot image disks under Windows with fdimage Turquoise88 FreeBSD Installation and Upgrading 4 12th November 2008 08:39 PM
Dual-boot laptop won't boot OpenBSD after upgrade to 4.3 kbeaucha OpenBSD Installation and Upgrading 17 30th May 2008 02:40 PM
slimserver make install *** Error code 1 alan79 FreeBSD Ports and Packages 15 28th May 2008 12:35 PM


All times are GMT. The time now is 06:10 AM.


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