1: DRAGONFLY CDROM README FILE
3: This CDROM boots DragonFly BSD. Basically what you get is a full base
4: system on CD with certain critical directories, such as /tmp, remounted
5: read-write using MFS. Your existing hard drive is not effected by
6: booting this CDROM.
8: NOTE!!! DRAGONFLY IS UNDERGOING DEVELOPMENT AND CONSIDERED EXPERIMENTAL!
9: BSD RELATED EXPERIENCE IS REQUIRED TO USE THIS CDROM.
11: If you just want to play with DragonFly and not mess with your hard disk,
12: this CDROM boots into a fully operational console-based system, though
13: without swap it should be noted that you are limited by available memory.
15: AUTOMATIC INSTALLATION
17: We are currently developing automatic installation tools. There are none
18: on this CD.
20: MANUAL INSTALLATION
22: Manual installation of DragonFly onto an HD involve the following sequence
23: of commands. You must be familiar with BSD style UNIX systems to do
24: installations manually. The primary IDE hard drive is typically 'ad0'
25: and DragonFly is typically installed onto the first slice.
28: # This COMPLETE WIPES and repartitions your hard drive
29: fdisk -IB ad0
31: # This installs boot blocks onto the HD and verifies their
32: # installation.
33: boot0cfg -B ad0
34: boot0cfg -v ad0
36: # This creates an initial label on the first slice of the HD. If
37: # you have problems booting you could try wiping the first 32 blocks
38: # of the slice with dd and then reinstalling the label
40: # dd if=/dev/zero of=/dev/ad0s1 bs=32k count=16
41: disklabel -B -r -w ad0s1 auto
43: # Edit the label. Create various standard partitions. The typical
44: # configurations is:
46: # ad0s1a 256m This will be your /
47: # ad0s1b 1024m This will be your swap
48: # ad0s1c (leave alone)
49: # ad0s1d 256m This will be your /var
50: # ad0s1e 256m This will be your /tmp
51: # ad0s1f 8192m This will be your /usr (min 4096m)
52: # ad0s1g * All remaining space to yoru /home
54: disklabel -e ad0s1
56: # Newfs (format) the various filesystems. Softupdates is not
57: # normally enabled on the root filesystem.
59: newfs /dev/ad0s1a
60: newfs -U /dev/ad0s1d
61: newfs -U /dev/ad0s1e
62: newfs -U /dev/ad0s1f
63: newfs -U /dev/ad0s1g
65: # Mount the filesystems
67: mount /dev/ad0s1a /mnt
68: mkdir /mnt/var
69: mkdir /mnt/tmp
70: mkdir /mnt/usr
71: mkdir /mnt/home
72: mount /dev/ad0s1d /mnt/var
73: mount /dev/ad0s1e /mnt/tmp
74: mount /dev/ad0s1f /mnt/usr
75: mount /dev/ad0s1g /mnt/home
77: # Copy the CDRom onto the target. cpdup won't cross mount boundaries
78: # on the source (e.g. the MFS remounts) so it takes a few commands.
80: cpdup / /mnt
81: cpdup /var /mnt/var
82: cpdup /etc /mnt/etc
83: cpdup /dev /mnt/dev
84: cpdup /usr /mnt/usr
86: # Edit /mnt/etc/fstab to reflect the new mounts. An example fstab
87: # file based on the above parameters exists as /mnt/etc/fstab.example
88: # which you can rename to /mnt/etc/fstab.
90: mv /mnt/etc/fstab.example /mnt/etc/fstab
91: vi /mnt/etc/fstab
93: Once you've duplicated the CD onto your HD you have to make some edits
94: so the system boots properly from your HD. Primarily you must remove
95: or edit /mnt/boot/loader.conf
97: # Remove /mnt/boot/loader.conf so the kernel does not try to
98: # obtain the root filesystem from the CD.
100: rm /mnt/boot/loader.conf
102: At this point it should be possible to reboot. The CD may be locked
103: since it is currently mounted. Be careful of the CD drawer closing
104: on you when you open it during the reboot. Remove the CD and allow
105: the system to boot from the HD.
107: WARNING do not just hit reset, the kernel may not have written out
108: all the pending data to your HD. Either unmount the HD partitions
109: or type reboot.
111: # reboot
113: (remove CD when convenient, be careful of the CD drawer closing on you)
115: Once you have a working HD based system you can clean up /etc/rc.conf
116: to enable things like cron, sendmail, setup your networking, and so
117: forth. If 'ifconfig' does not show your networking device you could
118: try to kldload it from /modules. With a recognized network device
119: you can ifconfig its IP address or, if you have a DHCP server on your
120: network, use 'dhclient <interfacename>' to obtain an IP address from
121: the netweork.
123: This CD contains two pre-installed ports: cvsup and mkisofs. cvsup
124: can be used to obtain the DragonFly cvs repository, the FreeBSD ports
125: tree, and so on and so forth. 'man cvsup' for more information.
126: The cvsup example files are in /usr/share/examples/cvsup. You will
127: primarily be interested in the DragonFly CVS repository, DragonFly-supfile,
128: and the FreeBSD ports, FreeBSD-ports-supfile.
130: $DragonFly: src/nrelease/root/README,v 1.2 2003/12/01 23:19:16 dillon Exp $