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 18th July 2009
knasbas knasbas is offline
Port Guard
 
Join Date: May 2008
Posts: 25
Default which drive is what?

Im just wondering what the easy way would be solve this.
I got 6 hdds in my box and 5 of them contains data. In the beginning of installation i get the following:
Quote:
Cool! Let's get to it.

You will now initialize the disk(s) that OpenBSD will use. To enable all
available security features you should configure the disk(s) to allow the
creation of separate filesystems for /, /tmp, /var, /usr, and /home.

Available disks are: wd0 wd1 wd2 wd3 wd4 wd5
Which one is the root disk? (or done) [done]
Isnt there a simple way to "list/see" what the disks contains?
Reply With Quote
  #2   (View Single Post)  
Old 18th July 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Sure.

Step 1 is to "!" to escape to a shell.

An optional Step 2 is to examine your dmesg, which will give you make/model information about the drives; this may indicate physical differences between the drives. Obviously, this won't help if all five are identical hardware. e.g.:
#dmesg | grep wd
Step 3 is to use fdisk(8) to see the MBR partitions assigned to each drive, e.g.:
# fdisk wd0
# fdisk wd1
.
.
If you actually need to mount any of these foreign partitions while running the ramdisk kernel, which you are using for the install, it will depend on the particular filesystem type as well as the specific architecture of your OpenBSD machine -- capabilities of the ramdisk kernel vary by architecture.

Last edited by jggimi; 18th July 2009 at 02:32 AM.
Reply With Quote
  #3   (View Single Post)  
Old 20th July 2009
knasbas knasbas is offline
Port Guard
 
Join Date: May 2008
Posts: 25
Default

oh.. i forgot to thank you for this exact and great answer!
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
looking for external drive buy suggestions gosha General Hardware 20 5th September 2009 05:32 AM
Did I fry my hard drive? JMJ_coder General Hardware 7 23rd December 2008 10:38 PM
How can I tell if my USB drive is bad? JMJ_coder General Hardware 4 3rd November 2008 04:12 AM
CF as a *BSD hard drive? JMJ_coder General Hardware 26 31st July 2008 05:13 PM
USB flash drive criglerj NetBSD General 1 26th July 2008 01:25 AM


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