Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2001 17:41:37 +0200
From:      Jon Molin <jon.molin@resfeber.se>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Adding a new drive (repost)
Message-ID:  <3ABF6331.83C1FEBA@resfeber.se>

next in thread | raw e-mail | index | archive | help
hi all

im haveing 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 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:
<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/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:
<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
ad1: 6187MB <FUJITSU MPB3064ATU> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ABF6331.83C1FEBA>