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 28th October 2009
IronForge IronForge is offline
Fdisk Soldier
 
Join Date: Jul 2009
Location: SoCal - "have skills, will travel for projects"
Posts: 55
Thanked 0 Times in 0 Posts
Default Second Hard Drive

Greetings:

I've a second hard drive (internal) that I couldn't set up during the install program.

It's a larger drive; and I'm already beginning to peg my /home directory limits of my original HDD.

Reading up on Section 14, I'd like to start using that disk. It talks about copying/xfering the usr/local directory. I need to copy /home over; but would like to know if the new disk can be used/integrated better.

(thinking of splitting the disk to two partitions - usr and home - or using some of it for Virtualbox(if I can get it running under emul/linux) or KQEMU virtual images of Windoze and/or Linux)

Q1: With about 100GB available; what would be a good way to partition the second drive? Do people use GParted here, or are there better tools used here in OBSD?

Any suggestions and tips would be appreciated.


Thanks.

Last edited by IronForge; 28th October 2009 at 11:02 PM. Reason: terminology & typo
Reply With Quote
  #2   (View Single Post)  
Old 28th October 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

VirtualBox requires a kernel module that is not available for OpenBSD, it also has a lot of other dependencies.. you will not be able to use it on OpenBSD.

QEMU (..currently outdated) with kqemu may work, although there have been issues with kqemu on MP kernels.. and possibly amd64.

Theo has also stated that the emulator has several bugs preventing OpenBSD from running properly inside it as well.

As for the new disk, it is very easy to use it the way you want.. prepare the disk using fdisk(8)+disklabel(8) and newfs(8) as normal, copy over any existing data using cp(1) or dump(8)/restore(8) and then alter your /etc/fstab file accordingly.

After you've done that, just reboot.
Reply With Quote
  #3   (View Single Post)  
Old 28th October 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,796
Thanked 214 Times in 189 Posts
Default

As mentioned in FAQ 14, disk management tools here are fdisk(8) and disklabel(8), then newfs(8) for formatting.

You use fdisk to manipulate MBR partitions, and you use disklabel to manage OpenBSD partitions.

Your second disk can be used for whatever you like. If you wish to -dedicate- it to OpenBSD, you would still use fdisk, and create a single large partition. The -i option should be investigated. If you share the disk with another OS, then you will need to create an MBR partition for OpenBSD partititions to live within.

What specific part of FAQ 14 are you confused about? You could, for instance, move /home to the second drive. You could, instead, move /usr/local there. But as every user's environment is -unique- to them, either you must make your own decisions, or share significantly more about your environment.

For the latter, show the fdisk and disklabel configuration of your first drive, the output of df -h, and the fdisk configuration of the second drive.
Reply With Quote
  #4   (View Single Post)  
Old 28th October 2009
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,902
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by IronForge View Post
Do people use GParted here, or are there better tools used here in OBSD?
  • Using tools from one operating system with another may lead to problems as it is not infrequent that subtle differences in interpreting the "standards" may be manifested in the tools.
  • Likewise, Linux tools are vetted on & for Linux environments; using them on OpenBSD may or may not be as safe/stable/prudent, etc.
In general, it is best to stay with the tools written specifically for an operating system.
Reply With Quote
  #5   (View Single Post)  
Old 2nd November 2009
gbechis gbechis is offline
Port Guard
 
Join Date: Oct 2009
Posts: 13
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
QEMU (..currently outdated) with kqemu may work, although there have been issues with kqemu on MP kernels.. and possibly amd64.

Theo has also stated that the emulator has several bugs preventing OpenBSD from running properly inside it as well.
Kqemu has issues with bsd.mp and amd64, works well with (at least) Ubuntu, Windows XP and OpenBSD i386 as guests.
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
AMD64 - Hard Drive Partitioning Turquoise88 General software and network 8 11th September 2009 05:58 AM
Did I fry my hard drive? JMJ_coder General Hardware 7 23rd December 2008 10:38 PM
CF as a *BSD hard drive? JMJ_coder General Hardware 26 31st July 2008 05:13 PM
FreeBSD 7.0 hard drive problems. Errinok FreeBSD Installation and Upgrading 8 13th June 2008 03:24 PM
Encrypting hard drive? ViperChief FreeBSD Installation and Upgrading 5 31st May 2008 03:42 PM


All times are GMT. The time now is 09:07 AM.


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