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 31st January 2021
Omphalotus_japonicus Omphalotus_japonicus is offline
New User
 
Join Date: Jan 2021
Posts: 9
Default I am having trouble mounting a partition on a bootable USB drive.

I have a USB drive with the OpenBSD 6.8 installation medium flashed onto it along with one other fat16 formatted partition which has a piece of firmware on it. Despite my best attempts, I've not yet been able to mount this partition despite me knowing the label for it (sd2j in my case); it results in the error "mount ffs: /dev/sd2j on /mnt: Device not configured" every time I've tried as if it doesn't exist.

My one and only clue might be that doing the command "disklabel sd2" only shows the flashed installation medium partitions of the USB drive and not my other partition with the piece of firmware on it; the only way I can get my other partition to display is if I use the "-d" argument in the command.
Reply With Quote
  #2   (View Single Post)  
Old 31st January 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

Hello, and welcome!

If a disk drive already has a disklabel on disk, the OS will not scan an MBR or GPT partition table to look for any foreign filesystems. You will need to edit the disklabel to add your additional filesystem manually. The fdisk(8) command can be used to determine starting sector (LBA) and length of the new partition, and those values can be added interactively with the disklabel(8) command's built-in editor (# disklabel -E sd2). Add the FAT filesystem as type "msdos" in the built-in editor when prompted for the filesystem type.
Reply With Quote
Reply

Tags
drive, fat16, issue, partition, usb


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
problem with mounting windows partition Ondrej NetBSD General 4 2nd December 2016 03:26 PM
Mounting a NetBSD partition from OpenBSD daemonfowl OpenBSD General 4 19th July 2012 12:03 PM
trouble creating freeBSD bootable usb aenimansot FreeBSD Installation and Upgrading 1 11th September 2011 03:12 AM
Trouble booting if USB drive attached map7 FreeBSD General 1 22nd December 2008 04:51 PM
Mounting a FreeBSD UFS partition roddierod Solaris 1 7th August 2008 02:02 PM


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