From owner-freebsd-hackers Fri Apr 6 0:19:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail2.resfeber.se (Resfeber-gw.customer.internet5.net [195.66.48.230]) by hub.freebsd.org (Postfix) with ESMTP id 5AD5937B505 for ; Fri, 6 Apr 2001 00:19:20 -0700 (PDT) (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 JAA28489 for ; Fri, 6 Apr 2001 09:10:55 +0200 Message-ID: <3ACD6E95.9AF73435@resfeber.se> Date: Fri, 06 Apr 2001 09:21:57 +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: freebsd-hackers@FreeBSD.ORG Subject: Adding a new drive Content-Type: multipart/mixed; boundary="------------F58B80570C635D2197114873" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------F58B80570C635D2197114873 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Before you just stopp reading with the thought 'duh, this question is for freebsd-newbie' please read it becouse i've asked it both at newbie and questions and haven't got any sullotion. What I'm trying to do is to simply add a new ide drive with only freebsd to get some more space and i can't do it. Fdisk doesn't seems to write the info to the drive. I've used it before so i know there's no problem with the drive itself, tried both fat32 and ext2fs and that works just fine. The kernel finds the drive: ad3: 6187MB [13410/15/63] at ata1-slave UDMA33 I've tried all the suggestions on http://www.freebsd.org/handbook/disks-adding.html without any result. I've attached an output from script when i try it. /jon --------------F58B80570C635D2197114873 Content-Type: text/plain; charset=us-ascii; name="fdisk.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fdisk.log" Script started on Fri Apr 6 09:17:09 2001 You have mail. jmo# dmesg|grep ad3 ad3: 6187MB [13410/15/63] at ata1-slave UDMA33 jmo# fdisk ad3 ******* 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 jmo# dd if=/dev/zero of=/dev/rda1 bs=1k count=111 [@a [@d [@3  1+0 records in 1+0 records out 1024 bytes transferred in 0.001942 secs (527313 bytes/sec) jmo# fdisk -BI ad3 ******* Working on device /dev/ad3 ******* fdisk: invalid fdisk partition table found jmo# fdisk ad3 ******* 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 jmo# exit exit Script done on Fri Apr 6 09:18:45 2001 --------------F58B80570C635D2197114873-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message