Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2001 15:56:40 +0200
From:      Jon Molin <jon.molin@resfeber.se>
To:        questions@FreeBSD.ORG
Subject:   adding a drive
Message-ID:  <3AC33F18.7D5ABB13@resfeber.se>

next in thread | raw e-mail | index | archive | help
Ok lads, last try to get a reply on this one. If no one knows the answer, has
anyone an idea of wheer/who i can ask about it?

i am having similiar problems as "sdjayna" <sdjayna@hotmail.com> (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 ad3
******* Working on device /dev/ad3 *******
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:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

And when i try to make it bsd:
jmo# dd if=/dev/zero of=/dev/rad3 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 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:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
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 <ST320413A> [38792/16/63] at ata0-master UDMA33
ad3: 6187MB <FUJITSU MPB3064ATU> [13410/15/63] at ata0-slave UDMA33

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AC33F18.7D5ABB13>