DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th June 2018
yetoo yetoo is offline
Port Guard
 
Join Date: Jun 2018
Posts: 17
Default Proper way to make an OpenBSD floppy?

I used dd to copy an amd64 floppy63.fs to a 1.44 MB 3.5 inch floppy, but when I try to boot from floppy on two tested systems, one of them confirmed to be amd64, I get a No OS error. Is there a proper way of copying the filesystem or should I look a little closer on how I boot?
Reply With Quote
  #2   (View Single Post)  
Old 18th June 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,052
Default

dd(1) is one of the tools used to create a diskette. But you should follow the instructions in INSTALL.amd64, cited here. In particular, check that the image has been written correctly.
Code:
Creating a bootable floppy disk using a Un*x-like system:

        First, you will need to obtain a local copy of the bootable filesystem
        image as described above.  You should use the signify(1) and sha256(1)
        commands to verify the integrity of the images with the SHA256.sig file
        on the mirror site.

        Next, use the dd(1) utility to copy the file to the floppy drive.
        The command would likely be, under OpenBSD:
                dd if=floppy63.fs of=/dev/rfd0c bs=36b

        If you are using another operating system, you may have to adapt
        this to conform to local naming conventions for the floppy and
        options suitable for copying to a "raw" floppy image.  The key
        issue is that the device name used for the floppy *must* be one
        that refers to the correct block device, not a partition or
        compatibility mode, and the copy command needs to be compatible
        with the requirement that writes to a raw device must be in
        multiples of 512-byte blocks.  The variations are endless and
        beyond the scope of this document.

        If you're doing this on the system you intend to boot the floppy on,
        copying the floppy back to a file and doing a compare or checksum
        is a good way to verify that the floppy is readable and free of
        read/write errors.

        Note that, when installing, the boot floppy can be write-protected
        (i.e. read-only).
Reply With Quote
  #3   (View Single Post)  
Old 19th June 2018
yetoo yetoo is offline
Port Guard
 
Join Date: Jun 2018
Posts: 17
Default

When I tried that command, I got this:
Code:
dd: /dev/rfd0c: Input/output error
1+0 records in
0+0 records out
0 bytes transferred in 0.230 secs (0 bytes/sec)

Last edited by ocicat; 19th June 2018 at 05:15 AM. Reason: Please use [code] & [/code] tags when posting command output.
Reply With Quote
  #4   (View Single Post)  
Old 19th June 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,052
Default

The command in the documentation is for OpenBSD systems. Do you have OpenBSD installed?
Reply With Quote
  #5   (View Single Post)  
Old 19th June 2018
yetoo yetoo is offline
Port Guard
 
Join Date: Jun 2018
Posts: 17
Default

Yes. Also, the command was executed on an OpenBSD system.
Reply With Quote
  #6   (View Single Post)  
Old 19th June 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,052
Default

Then your diskette drive reports an error on write when attempting to write the first sector of the media.

If your installed OpenBSD system can be LAN-connected to the system you are struggling to install to, and ... that system is PXE boot-capable, then you will find guidance for establishing PXE boot via an OpenBSD server in the pxeboot(8) man page.
Reply With Quote
  #7   (View Single Post)  
Old 19th June 2018
Beastie Beastie is offline
Daemonology student
 
Join Date: Jan 2009
Location: /dev/earth0
Posts: 335
Default

You don't have the sliding tab switched to write-protected by any chance?

Also try to eject and insert it again once or twice.
__________________
May the source be with you!
Reply With Quote
  #8   (View Single Post)  
Old 19th June 2018
yetoo yetoo is offline
Port Guard
 
Join Date: Jun 2018
Posts: 17
Default

I got the same output with both read and write and read only switched respectively.
Reply With Quote
  #9   (View Single Post)  
Old 19th June 2018
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,519
Default

Another thought is the bios on the non-booting system.

Usually the bios will report a recognized drive - is the floppy drive recognized? If yes, is it a UEFI bios capable of CMS/legacy booting? Most of what I have seen regarding OpenBSD/GPT/UEFI uses flash images - does floppy63.fs contain a UEFI boot partition?
https://blog.jasper.la/openbsd-uefi-...der-howto.html
Reply With Quote
Old 20th June 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,052
Default

floppy63.fs does not contain anything other than a single FAT filesystem and two files: /usr/mdec/fdboot saved as "boot" and a RAMDISK kernel saved as "bsd" -- but the contains are likely immaterial, because yetoo has not been able to successfully store this image on a diskette.
Reply With Quote
Reply

Tags
floppy, images

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
OpenBSD with proper encoding beiroot OpenBSD General 2 3rd May 2017 02:23 PM
httrack-3.46.1 make fails on OpenBSD current daemonfowl OpenBSD Packages and Ports 17 7th September 2012 12:41 AM
OpenBSD Loongson port about to make OpenBSD 4.7 J65nko News 0 26th February 2010 12:47 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
Proper display of accents in mails sent by PERL stukov Programming 5 15th May 2008 04:03 AM


All times are GMT. The time now is 04:20 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