From owner-freebsd-stable Fri Jun 28 13:03:00 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA25473 for stable-outgoing; Fri, 28 Jun 1996 13:03:00 -0700 (PDT) Received: from dub-img-4.compuserve.com (dub-img-4.compuserve.com [149.174.206.134]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA25462 for ; Fri, 28 Jun 1996 13:02:56 -0700 (PDT) Received: by dub-img-4.compuserve.com (8.6.10/5.950515) id QAA24090; Fri, 28 Jun 1996 16:02:24 -0400 Date: 28 Jun 96 16:01:12 EDT From: Berend de Boer <100120.3121@CompuServe.COM> To: FreeBSD stable Subject: Help with fdisk Message-ID: <960628200112_100120.3121_EHQ55-1@CompuServe.COM> Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello All, I have a harddisk with a loose partition at the end. I like to make this available to FreeBSD, however I cannot get fdisk to work. Maybe someone can help? I'm not sure if this is the right list to post, so if I'm wrong please direct me to the correct one (but I couldn't find a more appropriate list). Here the output of fdisk: ---------------------------fdisk start---------------------------------------- ******* Working on device /dev/rwd0 ******* parameters extracted from in-core disklabel are: cylinders=1647 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1647 heads=16 sectors/track=63 (1008 blks/cyl) Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 0 is: sysid 4,(Primary DOS with 16 bit FAT) start 63, size 41265 (20 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 40/ sector 63/ head 15 The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 41328, size 1023120 (499 Meg), flag 80 beg: cyl 41/ sector 1/ head 0; end: cyl 1023/ sector 63/ head 15 The data for partition 2 is: The data for partition 3 is: ---------------------------fdisk end---------------------------------------- I like to turn the 2nd partion to the 306MB I should have availabe. Using a calculator (..., anyone used NT's DiskManager?) I determined the startaddress and size, however I coudn't get fdisk to let this partition start at cilinder 1024, even when explicitly specifiying the beginaddress: ---------------------------fdisk start--------------------------------------- The data for partition 2 is: Do you want to change it? [n] y Supply a decimal value for "sysid" [0] 165 Supply a decimal value for "start" [0] 1032192 Supply a decimal value for "size" [0] 627984 Explicitly specifiy beg/end address ? [n] sysid 165,(FreeBSD/NetBSD/386BSD) start 1032192, size 627984 (306 Meg), flag 0 beg: cyl 0/ sector 1/ head 0; end: cyl 622/ sector 63/ head 15 Are we happy with this entry? [n] ---------------------------fdisk end---------------------------------------- With explicit beginaddress: ---------------------------fdisk start---------------------------------------- Supply a decimal value for "sysid" [0] 165 Supply a decimal value for "start" [0] 1032192 Supply a decimal value for "size" [0] 627984 Explicitly specifiy beg/end address ? [n] sysid 165,(FreeBSD/NetBSD/386BSD) start 1032192, size 627984 (306 Meg), flag 0 beg: cyl 0/ sector 1/ head 0; end: cyl 622/ sector 63/ head 15 Are we happy with this entry? [n] Supply a decimal value for "sysid" [165] Supply a decimal value for "start" [1032192] Supply a decimal value for "size" [627984] Explicitly specifiy beg/end address ? [n] y Supply a decimal value for "beginning cylinder" [0] 1024 Supply a decimal value for "beginning head" [0] 0 Supply a decimal value for "beginning sector" [1] Supply a decimal value for "ending cylinder" [622] 1646 Supply a decimal value for "ending head" [15] Supply a decimal value for "ending sector" [63] sysid 165,(FreeBSD/NetBSD/386BSD) start 1032192, size 627984 (306 Meg), flag 0 beg: cyl 0/ sector 1/ head 0; end: cyl 622/ sector 63/ head 15 Are we happy with this entry? [n] ---------------------------fdisk end---------------------------------------- What to do? Something simple I assume :-( Some notes on this machine: a 486DX/33Mhz, ISA bus only. BIOS does not understand harddisks greaters as 500MB (no large or LBA modes), but that's no problem I assume as I don't run Dos. FreeBSD correctly identifies the harddisk as a 810MB one. Thanks, Berend.