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 19th August 2010
Denzelii Denzelii is offline
New User
 
Join Date: Aug 2010
Posts: 3
Thanked 0 Times in 0 Posts
Default fdisk, kingston dt101 G2

Hi guys. I need 5 post before I can put my question in a new thread.

I have OpenBSD 4.5. I bought a Kingston DataTraveler 101 Generation 2 (G2) pendrive, and tried to use format with fdisk, but i got this:

fdisk: DIOCGDINFO: Input/output error
fdisk: Can't get disk geometry, please use [-chs] to specify.

I gave -c 1024 -h 63 -s 32 and tried others geometry, but always gave Input/output error when used write in fdisk.

Why? How can use this pendrive? (my collage formatted to ext4 with fdsik in ubuntu, but I want to deploy an openBSD to it).
Reply With Quote
  #2   (View Single Post)  
Old 19th August 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,906
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by Denzelii View Post
I have OpenBSD 4.5.
OpenBSD 4.5 is no longer officially supported as of May 2010. 4.7 is the current release.
Quote:
I bought a Kingston DataTraveler 101 Generation 2 (G2) pendrive, and tried to use format with fdisk, but i got this:

fdisk: DIOCGDINFO: Input/output error
fdisk: Can't get disk geometry, please use [-chs] to specify.

I gave -c 1024 -h 63 -s 32 and tried others geometry, but always gave Input/output error when used write in fdisk.
There was similar discussion on the official misc@ mailing list on this DIOCGDINFO ioctl over a year ago (when 4.5 had been released...). The developers have worked on a number of lower-level issues in the meantime. My recommendation would be to update to either 4.7 or install a snapshot of OpenBSD 4.8.

This is not a guarantee that a later version will fix the exact situation you describe, but reading through the discussion at that time, it was thorny, & resolution was not always obtained. Installing a newer version is a better bet, plus, 4.5 is no longer supported.
Reply With Quote
  #3   (View Single Post)  
Old 3rd September 2010
Denzelii Denzelii is offline
New User
 
Join Date: Aug 2010
Posts: 3
Thanked 0 Times in 0 Posts
Default

Thanks!

I tried with 4.7 but I have the same problem.
I will look with 4.8 later.
Reply With Quote
  #4   (View Single Post)  
Old 4th September 2010
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 612
Thanked 9 Times in 9 Posts
Default

Do you really want to reformat the pen drive? Most come formated out of the box with msdos (aka vfat in linux) which can be mounted by BSD, Linux, Windows and Mac. If you want to make a bootable OpenBSD system on the pen drive there is some information in the FAQ,

http://www.openbsd.org/faq/faq14.html#flashmemLive

on the Web.

http://www.magooswisewords.com/Magoo...nbsd-usb-1.htm

One OpenBSD contributor has even made *.img files that can be dd directly to the pen Drive

http://liveusb-openbsd.sourceforge.net/

Last edited by shep; 4th September 2010 at 03:15 AM.
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
Creating USB flash drive drive image from FreeBSD disc1.iso FBSD Guides 1 10th February 2010 04:42 PM
Installing packages from USB drive (OpenBSD 4.5) divadgnol67 OpenBSD Packages and Ports 26 30th July 2009 04:21 PM
no space left on drive while installing? knasbas OpenBSD Installation and Upgrading 2 20th July 2009 09:50 PM
Problem Installing From External DVD Drive jimnms OpenBSD Installation and Upgrading 8 16th July 2009 07:12 PM
How can I tell if my USB drive is bad? JMJ_coder General Hardware 4 3rd November 2008 04:12 AM


All times are GMT. The time now is 10:05 PM.


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