|
|||
FreeBSD Install Without Sysinstall
I was bored and thought i'd do a freebsd installation without the "aid" of sysinstall. Here's some instructions if anyone else wishes to do it
Here's how to do it: Required materials : FreeBSD install ISO A hard drive A current install of FreeBSD ( or a live cd ) 1. Boot you freebsd installation 2. mount the ISO image Code:
# mkdir /mnt/iso # mdconfig -a -t vnode -f /path/to/iso -u 0 # mount -r /dev/md0 /mnt/iso Code:
# sudo fdisk -i /dev/da0 4. Create the partitions with bsdlabel. It's easier to use your current partition table and just edit. Here is the bsdlabel file i made Quote:
Code:
# newfs /dev/da0s1a .... Code:
# mkdir /mnt/install # mount /dev/da0s1a /mnt/install # cd /mnt/install # mkdir usr var tmp # mount /dev/da0s1d /usr # mount /dev/da0s1e /tmp # mount /dev/da0s1f /var Code:
# cd /mnt/iso # ls 7.0-RELEASE HARDWARE.HTM README.TXT boot docbook.css ERRATA.HTM HARDWARE.TXT RELNOTES.HTM boot.catalog floppies ERRATA.TXT README.HTM RELNOTES.TXT cdrom.inf packages # cd 7.0-RELEASE # ls base doc kernels ports catpages games lib32 proflibs dict info manpages src Code:
# export DESTDIR=/mnt/install If you are really lazy you can do the following: Code:
# for i in `ls | grep -v kernel | grep -v src`; do cd $i; ./install.sh; cd ..; done 7. That's it !
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison Forum Netiquette |
|
||||
It's really come a long way since 4.4BSD eh?
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
You don't even need the CD, you can get the files from:
ftp://ftp.freebsd.org/pub/FreeBSD/re...6/7.0-RELEASE/ You'll need at least the kernels/ and base/ directories, the others are optional. Or you can make your own stuff by running ``make release'' in /usr/src/release/, useful if you want to make a CD for STABLE or CURRENT. |
|
|||
Putting FreeBSD's simplicity and minimalism in practice. Well done!
I have 3 comments if that's okay with you. The generic kernel will be extracted somewhere like /mnt/install/boot/GENERIC/ (IIRC) so you have to # mv /mnt/install/boot/GENERIC/* /mnt/install/boot/kernel/ and remove the GENERIC directory.Creating a valid /etc/fstab file or copying one from a similar setup may avoid an unpleasant system startup. Optional: /cdrom.../cdromN directories are created by sysinstall(8) and should therefore be created manually if needed.
__________________
May the source be with you! |
|
|||
A manual ZFS setup is a tedious process without proper support in sysinstall, so I can see how mfsBSD can be useful (zfsinstall script).
But for simple UFS setups I prefer a manual livefs way. It's more fun.
__________________
May the source be with you! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FreeBSD 7.1 Rel install on 1TB won't load | bsdme2 | FreeBSD General | 2 | 2nd November 2023 08:19 AM |
Can gmirror be configured during sysinstall? | PeterSteele | FreeBSD Installation and Upgrading | 3 | 13th November 2008 12:46 AM |
New Guy trying to install FreeBSD | chainofcommand02 | FreeBSD Installation and Upgrading | 2 | 28th October 2008 02:29 PM |
minimal jail install with sysinstall | daemon-dd | FreeBSD General | 3 | 16th September 2008 08:28 AM |
Tried to create new partition using sysinstall but change is not permanent | disappearedng | FreeBSD General | 7 | 6th July 2008 10:00 PM |