Date: Wed, 06 May 1998 09:46:30 -0700 From: Tamiji Homma <thomma@BayNetworks.COM> To: wing@cc.nsysu.edu.tw Cc: freebsd-current@FreeBSD.ORG Subject: Re: How do I use IDE HD. more than 8G Message-ID: <19980506094630S.thomma@baynetworks.com> In-Reply-To: Your message of "Wed, 6 May 1998 12:54:39 %2B0800" <000d01bd78ab$13baec80$4d0c758c@wing.cc.nsysu.edu.tw> References: <000d01bd78ab$13baec80$4d0c758c@wing.cc.nsysu.edu.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980506094630S.thomma>
