From owner-freebsd-questions Thu Mar 29 7: 5:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.resfeber.se (Resfeber-gw.customer.internet5.net [195.66.48.230]) by hub.freebsd.org (Postfix) with ESMTP id 5A49C37B719 for ; Thu, 29 Mar 2001 07:05:26 -0800 (PST) (envelope-from jon.molin@resfeber.se) Received: from resfeber.se ([212.75.72.9]) by mail2.resfeber.se (8.9.3/8.9.3) with ESMTP id QAA01189; Thu, 29 Mar 2001 16:56:55 +0200 Message-ID: <3AC34FC7.F53209CC@resfeber.se> Date: Thu, 29 Mar 2001 17:07:51 +0200 From: Jon Molin X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Stijn Hoop Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Adding a new drive References: <200103290938.f2T9c1l00499@bluebox.naken.cc> <3AC347D6.1ED5F0A2@resfeber.se> <20010329165129.A60101@pcwin002.win.tue.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi again... Thanks for the help Stijn but I've tried what you said allready, did it again now following your instructions but it doesn't help, it says Error mounting /dev/ad3s1e on /usr/local/drive2 : Device not configure when i do write in disklabel. Here's how fdisk ad3 looks now: ******* Working on device /dev/ad3 ******* parameters extracted from in-core disklabel are: cylinders=13410 heads=15 sectors/track=63 (945 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=13410 heads=15 sectors/track=63 (945 blks/cyl) fdisk: invalid fdisk partition table found Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 12672387 (6187 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 97/ sector 63/ head 14 /jon Stijn Hoop wrote: > > Hi, > > On Thu, Mar 29, 2001 at 04:33:58PM +0200, Jon Molin wrote: > > Goran Milsson wrote: > > > > > > Hejsan... > > > > > > I had this problem before also. After further research I found > > > out it is impossible to add another harddrive to your computer > > > if you are running FreeBSD. If you want to add a drive you're > > > going to have to re-install the OS. This is why no one responded > > > to your question. Because there is no solution. > > > > > > The only suggestion I can make is to install linux. Linux allows > > > you to add drives after an install. > > > > > > /Goran Milsson > > > > > > Is this really true!? > > No, but in my experience, it *is* hard to add a drive in FreeBSD; at least > it isn't documented very well. > > The easiest option is to run /stand/sysinstall as root, and then > do the following steps: > > - choose Configure -> Fdisk, and choose the new disk > (if the disk doesn't show up, your kernel doesn't recognize it; make > sure you compiled your kernel correctly). > - partition your disk the way you like it (ie, for an extra disk, choose > 'A' - Use Entire Disk) > - use 'Q' to exit the Fdisk configuration (do not 'W' yet) > - choose your boot manager (you can select none if its an extra disk) > - then choose cancel to get out of the drive selection screen for fdisk > - Now choose 'Label', select the right disk, and use the label editor to > create your 'partitions' > (yes this is confusing, but in *BSD speak, these are partitions and > what everyone else calls 'partitions' are 'slices') > - For an entire disk, choose 'C', then accept the default size (which is > the entire disk), choose FS for file system, and then enter your > new mountpoint (for example, /local2). > - Now press 'W' to both fdisk & label your new disk. > - Choose 'Q' to exit out of the label editor, Cancel twice to get to > the main sysinstall menu, and exit out of sysinstall. > > If this all went ok, you should have a shiny new disk mounted at your > specified mountpoint. > > Note that changing boot drives is more involved than this, and I can't > write a description off the top of my head. > > Hope this helps, > > --Stijn > > > > In article <99f5a6$14jb$1@FreeBSD.csie.NCTU.edu.tw> you wrote: > > > > I'm trying to add a new drive to my computer with no luck at all. I read > > > > http://www.freebsd.org/handbook/disks-adding.html and thought it looked really easy. I > > > > followed all it said in the guide using sysinstall and got error messages saying 'Error > > > > mounting /dev/ad1s1a on / : Device not configured' but didn't worry since the guide said > > > > there would be error messages when writing the label. But when i exit there's no info > > > > left. > > > > I've tried booting slackware and using cfdisk to make a bsd partition of it and it seemed > > > > to stay but when i boot up my freebsd there's no table left. I've tried doing it manualy > > > > with same result. > > > > > > > jmo# dd if=/dev/zero of=/dev/rad1 bs=1k count=1 > > > > 1+0 records in > > > > 1+0 records out > > > > 1024 bytes transferred in 0.000889 secs (1151775 bytes/sec) > > > > jmo# fdisk -BI ad1 > > > > ******* Working on device /dev/ad1 ******* > > > > fdisk: invalid fdisk partition table found > > > > > > > dmesg: > > > > ad0: 19092MB [38792/16/63] at ata0-master UDMA33 > > > > ad1: 6187MB [13410/15/63] at ata0-slave UDMA33 > > > > > > > fdisk output: > > > > jmo# fdisk ad1 > > > > ******* Working on device /dev/ad1 ******* > > > > parameters extracted from in-core disklabel are: > > > > cylinders=13410 heads=15 sectors/track=63 (945 blks/cyl) > > > > > > > Figures below won't work with BIOS for partitions not in cyl 1 > > > > parameters to be used for BIOS calculations are: > > > > cylinders=13410 heads=15 sectors/track=63 (945 blks/cyl) > > > > > > > fdisk: invalid fdisk partition table found > > > > Media sector size is 512 > > > > Warning: BIOS sector numbering starts with sector 1 > > > > Information from DOS bootblock is: > > > > The data for partition 1 is: > > > > > > > > The data for partition 2 is: > > > > > > > > The data for partition 3 is: > > > > > > > > The data for partition 4 is: > > > > sysid 165,(FreeBSD/NetBSD/386BSD) > > > > start 63, size 12672387 (6187 Meg), flag 80 (active) > > > > beg: cyl 0/ sector 1/ head 1; > > > > end: cyl 97/ sector 63/ head 14 > > > > > > > Anyone got a clue? > > > > > > > I've tried searching archives, asked friends and i asked it on the newbie list so i hope > > > > im not being redundant... > > > > > > > /jon > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > I wish there was a knob on the TV to turn up the intelligence. > There's a knob called `brightness', but it doesn't work." > -- Gallagher > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message