|
Personal tools |
|
|
/User Guide/QuickInstall
From AnnvixAnnvix Quick Install Reference This is an overview of how to install Annvix 2.0. For a more detailed break-down of the various steps, read the Installing Annvix document. The first step is to download the install ISO and boot from it. You will eventually receive a prompt. To begin the install: # loadkeys [keymap] (load non-english keymap, if required) # date (make sure date is correct) # modprobe [module_name] (load additional modules) # fdisk /dev/hda (partition harddisk) If the date is incorrect, use the command date MMDDhhmmCCYY to set it (ie. 052915362004 for May 29th, 3:36pm, 2004). Create the desired partitions on your drive; we recommend a 50-100MB /boot partition (ext2), a 512MB-1GB swap partition (don't follow the age-old rule of doubling your physical RAM if you have more than 512MB of RAM), and the rest laid out however you prefer (ie. perhaps 800MB for / and the rest for /home or /srv). Format your partitions using mke2fs (ext2), mke2fs -j (ext3), mkfs.xfs (XFS), and mkswap (swap) with the device name as the sole argument (ie. mkfs.xfs /dev/hda2). NOTE: Although Annvix comes with the reiserfs tools, we highly recommend using XFS or ext3 instead. Now mount the partitions under /mnt/annvix. # swapon /dev/hda? (activate swap partition) # mount /dev/hda? /mnt/annvix (mount root partition) # mkdir /mnt/annvix/boot (create boot and other directories) # mount /dev/hda? /mnt/annvix/boot (mount boot partition) # install-pkgs (install base files) The install-pkgs script is quite comprehensive and takes care of installing packages, setting up GRUB, setting up default services, setting root's password and optionally installing an initial admin user, and setting up time configuration. It also configures the network; if you need the network configured prior to the install, use net-setup directly. Once the script is complete, it dumps into the installed system via chroot. Double-check the /etc/fstab file inside the chrooted install: [chroot /]$ vim /etc/fstab Also double-check the /etc/modprobe.conf file inside the chrooted install; make sure that any required drivers for boot are there (network drivers, disk drivers, etc.): [chroot /]$ vim /etc/modules.conf The install-pkgs command sets up a best-guess /etc/fstab for you. You will need to edit it to add any removable media or any other mount points that were not mounted at the time of the install. A functional /etc/fstab may look something like this: # filesystem mountpoint type options dump/pass /dev/hda? /boot ext2 noatime 1 2 /dev/hda? / xfs defaults 1 1 /dev/hda? swap swap defaults 0 0 /dev/hda? /home xfs defaults 1 2 /dev/fd0 /media/floppy auto iocharset=iso8859-1,noauto,unhide,nosuid,sync,nodev,codepage=850 0 0 /dev/hdc /media/cdrom auto iocharset=iso8859-1,noauto,ro,nosuid,nodev 0 0 none /proc proc defaults 0 0 none /dev/pts devpts mode=0620 0 0 The install-pkgs script tries to intelligently setup GRUB as much as possible but in some situations (such as RAID devices), it can't do it. If this is the case, edit /boot/grub/grub.conf to suit your needs and then execute: [chroot /]$ grub --device-map=/boot/grub/device.map grub> root (hd0,0) grub> setup (hd0) grub> quit Once this is complete, exit the chroot and let install-pkgs reboot the system: [chroot /]$ exit (exit the chroot) For more detailed information, read the full Installing Annvix documentation. |
![]() |
|
| ||