From owner-freebsd-questions Mon Mar 26 7:39:14 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 715D437B71A for ; Mon, 26 Mar 2001 07:39:07 -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 RAA18654 for ; Mon, 26 Mar 2001 17:30:42 +0200 Message-ID: <3ABF6331.83C1FEBA@resfeber.se> Date: Mon, 26 Mar 2001 17:41:37 +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-questions@FreeBSD.ORG Subject: Adding a new drive (repost) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi all im haveing similiar problems as "sdjayna" (Problems Installing FreeBSD on Slave Harddisk). I've been trying to add a new drive with no luck whatsoever. here's what i've tried: i followed the handbook (http://www.freebsd.org/handbook/disks-adding.html) both using sysinstall and 'manually'. I also tried booting slackware floppy and use fdisk from there but everytime i've made it a bsd partition it has been corrupted. It was windwos on the drive when i bought it so i know it's working and i've also succeded makeing it ext2... Here's how it looks now, with ext2fs: jmo# fdisk ad1 ******* Working on device /dev/ad1 ******* parameters extracted from in-core disklabel are: cylinders=788 heads=255 sectors/track=63 (16065 blks/cyl) parameters to be used for BIOS calculations are: cylinders=788 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 131,(Linux filesystem) start 63, size 12659157 (6181 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 787/ sector 63/ head 254 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: And when i try to make it bsd: 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 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 dmesg output: ad0: 19092MB [38792/16/63] at ata0-master UDMA33 ad1: 6187MB [13410/15/63] at ata0-slave UDMA33 /jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message