LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 03-14-2006, 11:28 AM   #1
DiSGuiZ
LQ Newbie
 
Registered: Jan 2004
Location: Oklahoma
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
Angry Adding a second Fricken hard drive questions


Ok I have been following the guide on netbsd about adding a harddrive. I am following the guide step by step and this is what I run into.
Here is the text as copied directly from the guide.

Now it's time to create the disklabel for the NetBSD partition. The correct steps to do this are:

# disklabel sd0 > tempfile
# vi tempfile
# disklabel -R -r sd0 tempfile

If you try to create the disklabel directly with

# disklabel -e sd0

you get the following message

disklabel: ioctl DIOCWDINFO: No disk label on disk;

Ok I do # disklabel sd0 (wd1 in my case) > tempfile

then # vi tempfile (this is where I start getting confused)
Ok How in the heck am I supposed to do # disklabel -R -r sdo (wd1) tempfile when I am in vi. I exit out of vi and do that it makes the tempfile Read only. The only thing I want to do is add more space to my /usr and /home directories. If any one has an easier way I would love to here from you.


B
 
Old 03-14-2006, 04:14 PM   #2
Gkarfield
Member
 
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123

Rep: Reputation: 15
ehm
why wd1? western digital?
[just curious, i havent add a new disk at my pc, but i have FreeBSD, and i think da0 means the type of the disk [scsi]..

Last edited by Gkarfield; 03-14-2006 at 04:21 PM.
 
Old 03-14-2006, 08:59 PM   #3
DiSGuiZ
LQ Newbie
 
Registered: Jan 2004
Location: Oklahoma
Distribution: Mandrake
Posts: 11

Original Poster
Rep: Reputation: 0
Interesting!

The tutorial was using a scsi drive as an example. I am on NetBSD and wd0, wd1, etc. is the way my drives are listed. I installed on wd0 when I did the fresh install. I am just haveing mega trouble but am WAY to stubborn to give up. I will keep trying and post when I figure it out.

Thx
B
 
Old 03-15-2006, 03:33 AM   #4
Gkarfield
Member
 
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123

Rep: Reputation: 15
hi,

short difference it time, no problem[abour 8 hr].

its a scsi drive????
if you format it in ext2 format, you can recognize it [i supose]

when it starts, it writes some messages about hardware that were
detected its over /var/run/dmesg.log [or something like that]

what are u trying to do? mandrake one disk, NetBSD the other?
 
Old 03-15-2006, 09:13 AM   #5
DiSGuiZ
LQ Newbie
 
Registered: Jan 2004
Location: Oklahoma
Distribution: Mandrake
Posts: 11

Original Poster
Rep: Reputation: 0
Not a scsi

No. The example that the tutorial is using is a scsi drive. THe tutorial specifies that if you were useing IDE you would put your drive in place of the SD0 (WD1) in my case.

ON the Mandrake bsd question. I am trying to add some space to my / directory. Anyway I think I have it figured out. Stand by for post on conclusion.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding hard drive questions Gortex Linux - Hardware 8 02-23-2006 05:36 PM
Adding Hard Drive Cynthia Blue Linux - Hardware 3 12-19-2004 01:06 PM
Adding a Hard Drive texmansru47 Slackware 2 12-13-2004 11:19 AM
Adding a hard drive Mack_T Linux - Hardware 10 09-21-2003 11:46 AM
adding hard drive jmarsh Linux - Hardware 3 02-27-2003 03:44 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 04:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration