Go Back   DaemonForums > NetBSD > NetBSD General

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

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 28th August 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
Join Date: May 2008
Posts: 464
Default Adding a separate /home


I just built a new computer and it has two hard drives in it. I was originally going to put them into RAID1, but since the onboard controller turned out to basically be a software controller and not a true hardware one, it was too much of a headache to configure right now. What I now want to do is use the second disk (partially) as a /home that I can maintain during upgrades, etc. I have one setup like this for Slackware already, but I'm trying to get this accomplished in NetBSD. Here is the setup:

disk 1:

sda1 - Slackware
sda2 - Linux swap
sda3 - NetBSD
sda4 - (probably) NetBSD-testing

disk 2:

sdb1 - Slackware /home
sdb2 - NetBSD /home

It is the sdb2 that I need to get configured. I need to format it (I assume that will be done using fdisk), and then configure NetBSD on sda3 to mount it as /home (edit fstab?).

I have an idea of how to accomplish this, but not entirely (especially the fine details - still learning BSD).

What I figure is format it with fdisk (not certain of the correct format and sequence of the switches) and then edit fstab to have it mount.

/dev/wd1b /home ffs rw 1 2

Is that the correct fstab entry?
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote

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
What are rules about adding commands to mfsroot? PeterSteele FreeBSD Installation and Upgrading 12 18th November 2008 04:21 PM
Adding drives annoys OpenBSD. diw OpenBSD General 4 4th September 2008 02:14 AM
Adding Additional Video Card JMJ_coder General software and network 0 19th July 2008 07:16 PM
Having trouble adding 7.0 to GRUB 0.97 Arenlor FreeBSD General 4 26th June 2008 01:02 AM
/etc on a separate partition DarkEnergy FreeBSD Installation and Upgrading 13 20th May 2008 04:24 AM

All times are GMT. The time now is 04:46 AM.

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