From owner-freebsd-current Wed May 6 09:48:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28432 for freebsd-current-outgoing; Wed, 6 May 1998 09:48:55 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp-gw.BayNetworks.COM (ns1.BayNetworks.COM [134.177.3.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28414 for ; Wed, 6 May 1998 09:48:50 -0700 (PDT) (envelope-from thomma@BayNetworks.COM) Received: from mailhost.BayNetworks.COM ([134.177.1.107]) by smtp-gw.BayNetworks.COM (8.8.8/8.8.8) with ESMTP id JAA03224; Wed, 6 May 1998 09:45:46 -0700 (PDT) Received: from fedex.engwest.baynetworks.com (fedex.engwest.baynetworks.com [134.177.110.46]) by mailhost.BayNetworks.COM (8.8.8/8.8.8) with SMTP id JAA22761; Wed, 6 May 1998 09:45:44 -0700 (PDT) Received: from carrera.engwest ([134.177.160.237]) by fedex.engwest.baynetworks.com (4.1/SMI-4.1) Received: from localhost by carrera.engwest (SMI-8.6/SMI-SVR4) id JAA00446; Wed, 6 May 1998 09:46:30 -0700 To: wing@cc.nsysu.edu.tw Cc: freebsd-current@FreeBSD.ORG Subject: Re: How do I use IDE HD. more than 8G In-Reply-To: Your message of "Wed, 6 May 1998 12:54:39 +0800" <000d01bd78ab$13baec80$4d0c758c@wing.cc.nsysu.edu.tw> References: <000d01bd78ab$13baec80$4d0c758c@wing.cc.nsysu.edu.tw> X-Mailer: Mew version 1.92 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19980506094630S.thomma@baynetworks.com> Date: Wed, 06 May 1998 09:46:30 -0700 From: Tamiji Homma X-Dispatcher: imput version 971024 Lines: 75 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tony, > So , what should I do to get the whole 12G work under CURRENT ? I have a Maxtor 11.5GB disk and am using a whole disk for -current. Assuming that you have another smaller disk that your BIOS can handle. In my case, I have IBM Deskstar 5 (6.4GB) for wd0. I have already installed 19980222-SNAP on the 6.4GB disk from SNAP CD. Following is what I did to use a whole 11.5GB with old BIOS, which doesn't know how to deal with 8GB beyond. I may have mistakes in detail since I didn't write it down exactly and my memory is not so good anymore :) wd0: Deskstar 5 (6.4GB) wd2: Maxtor 2880 (11.5GB) 0. Make sure you have all information handy cylinder, head, sector# etc and FreeBSD partition table calculated, offset, size of each file system. a: for root b: for swap c: for entire disk e: for /var f: for /usr 1. Bring up FreeBSD on 6.4GB (wd0) single user and mount /var, /usr manually. 2. dd if=/dev/zero of=/dev/wd2 bs=512 count=100 ; wipe out partition table. BE EXTRA CAREFUL.... wd2 not wd0 3. allocate entire disk(the first partition) for FreeBSD. (fdisk) 4. disklabel -e wd2 (I'm not sure of the exact options, manpage it yourself) enter what you have calculated for /, /var, /usr, and swap. 5. newfs /dev/wd2a, wd2e, wd2f ... 6. Mount newfs'ed file system like: mount /dev/wd2a /mnt/root mount /dev/wd2e /mnt/var mount /dev/wd2f /mnt/usr 7. copy all file systems to /mnt/root, /mnt/var, /mnt/usr 8. mkdir /mnt/root/dev, copy /dev/MAKEDEV /mnt/root/dev 9. cd /mnt/root/dev;sh MAKEDEV all 10. edit /mnt/etc/fstab to change the file system to be wd2 from wd0 11. disklabel -B wd2 (write boot code to wd2) You should be able to boot wd2 as SNAP since I copy SNAP on wd2. # reboot .... boot: wd(2,a)kernel -s # mount -u /dev/wd2a(or wd2s1a) / # mount /dev/wd2f /usr # mount /dev/wd2e /var # ^D Start multi-user. After I did the above, I cvsup'ed -current and then make world on the new 11.5GB disk. You might want to check "Complete FreeBSD Book". You can find out how you install FreeBSD hard way. I found it after I did the hardway myself.... If you are not comfortable with the procedure, I would recommend to wait(or find) for the new BIOS that can handle large disk like yours. Good luck. PS: You would learn how tidious the unix installation really is and appreciate what FreeBSD people made it easy for us. It was fun :) Tammy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message