From owner-freebsd-questions Thu Dec 24 19:53:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA27228 for freebsd-questions-outgoing; Thu, 24 Dec 1998 19:53:31 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from relay.kacst.edu.sa (ns1.kacst.edu.sa [198.77.88.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA27222 for ; Thu, 24 Dec 1998 19:53:26 -0800 (PST) (envelope-from onur@ccse.kfupm.edu.sa) Received: from ns1.kfupm.edu.sa (ns1.kfupm.edu.sa [198.77.102.26]) by relay.kacst.edu.sa (8.9.1/8.9.1) with ESMTP id GAA28599; Fri, 25 Dec 1998 06:41:31 -0300 (GMT) Received: from dpc111.dpc.kfupm.edu.sa (dpc111.dpc.kfupm.edu.sa [196.15.32.11]) by ns1.kfupm.edu.sa (8.9.0/8.9.0) with ESMTP id GAA246270; Fri, 25 Dec 1998 06:33:50 +0300 Received: from dpc107.dpc.kfupm.edu.sa (dpc107.dpc.kfupm.edu.sa [196.15.32.8]) by dpc111.dpc.kfupm.edu.sa (8.7.5/8.7.3) with ESMTP id GAA17934; Fri, 25 Dec 1998 06:49:54 +0300 Received: from ccse.kfupm.edu.sa ([196.1.65.80]) by dpc107.dpc.kfupm.edu.sa (8.7.5/8.7.3) with ESMTP id GAA29087; Fri, 25 Dec 1998 06:46:30 +0300 Message-ID: <368360B5.EF128513@ccse.kfupm.edu.sa> Date: Fri, 25 Dec 1998 06:53:57 -0300 From: Onur Toker Organization: KFUPM X-Mailer: Mozilla 4.05 [en] (X11; I; SunOS 5.6 i86pc) MIME-Version: 1.0 To: george vagner , onur@ccse.kfupm.edu.sa, questions@FreeBSD.ORG Subject: Re: Harddisk > 2GB, what to do ? References: <004601be2fb7$e943ae00$0300a8c0@ginger> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg, First of thank you very much for your patience. I have /, /usr and /var already mounted on the first harddisk. I am trying to add a disk of size > 2.1GB. What should I do to do this manually without using /stand/sysinstall ? Onur george vagner wrote: > > where is your / partition and your /var and /usr? > > you need these.. > > -----Original Message----- > From: Onur Toker > To: Greg Lehey ; onur@ccse.kfupm.edu.sa > ; questions@FreeBSD.ORG > Date: Thursday, December 24, 1998 7:40 PM > Subject: Re: Harddisk > 2GB, what to do ? > > >Greg Lehey wrote: > >> > >> On Friday, 25 December 1998 at 2:01:43 -0300, Onur Toker wrote: > >> > Hello, > >> > > >> > I have a harddisk of size 4.3GB. Can you please tell me > >> > step by step what should I do to use it with my FreeBSD box ? > >> > >> No. > >> > >> > I tried to use /stand/sysinstall but it gave error messages. > >> > By the way, I am using 2.2.1. > >> > >> You haven't told us the error messages. How can we guess what's gone > >> wrong? There's no problem installing on disks of this size, though > >> you should consider installing a newer version of FreeBSD. > >> > > > > First of all my system recognize 2 harddisks, wd0 and wd2 (No CDROM > >attached, both harddisks are connected as master). > > > >wdc0 at 0x1f0-0x1f7 irq 14 on isa > >wdc0: unit 0 (wd0): > >wd0: 1907MB (3907008 sectors), 3876 cyls, 16 heads, 63 S/T, 512 B/S > >wdc1 at 0x170-0x177 irq 15 on isa > >wdc1: unit 0 (wd2): > >wd2: 4112MB (8421840 sectors), 8912 cyls, 15 heads, 63 S/T, 512 B/S > > > >Then I go to disk partition editor and generate 2 partitions of size > >2000M. > >They are wd2s1 and wd2s2. > > > >Disk name: wd2 FDISK Partition > >Editor > >DISK Geometry: 524 cyls/255 heads/63 sectors = 8418060 sectors > > > > Offset Size End Name PType Desc Subtype > >Flags > > > > 0 63 62 - 6 unused 0 > > 63 4080447 4080509 wd2s1 3 freebsd 165 > >C > > 4080510 4080510 8161019 wd2s2 3 freebsd 165 > > 8161020 260820 8421839 - 6 unused > >0 > > > > > > > >Then I write these changes and go to the disk label editor. > > > > I see two disks named wd2 with partition names wd2s1 and wd2s2. Then I > >create to file systems > > > > FreeBSD Disklabel Editor > > > >Disk: wd2 Partition name: wd2s1 Free: 0 blocks (0MB) > >Disk: wd2 Partition name: wd2s2 Free: 0 blocks (0MB) > > > >Part Mount Size Newfs Part Mount Size > >Newfs > >---- ----- ---- ----- ---- ----- ---- > >----- > >wd2s1e /usr/home 1992MB UFS Y > >wd2s2e /usr/WinHome 1992MB UFS Y > > > > > >When I choose write these changes, I got error > >messages. > > > > > > Message  > > Error mounting /dev/wd2s2e on /usr/WinHome : Invalid argument > > > > > >(100%) > >  [ OK ] > > > > [ Press enter to continue > >] > > > > > > > > > > > > Message  > > Error mounting /dev/wd2s1e on /usr/home : Invalid argument > > > > > >(100%) > >  [ OK ] > > > > [ Press enter to continue > >] > > > > > > > > > >So, what do you think ? In which step I am doing something wrong ? > > > > > >> Greg > >> -- > >> See complete headers for address, home page and phone numbers > >> finger grog@lemis.com for PGP public key > > > >Onur > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > -- Dr. Onur Toker College of Computer Science and Engineering King Fahd University of Petroleum and Minerals P.O. Box 14 Dhahran 31261 SAUDI ARABIA E-mail: onur@kfupm.edu.sa onur@ccse.kfupm.edu.sa WWW : http://www.ccse.kfupm.edu.sa/~onur Tel : 966-3-860-2689 Fax : 966-3-860-2965 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message