X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2FINSTALL;h=01941b4037c0e14db7dcb2105b22e8db21928f4e;hb=4e78d26dd7f5e46a21cdc916e031f1b4a68578c0;hp=d009cd450d0689ed86ec1ac574c098dd094b1a13;hpb=907fcfdccdd0ddd33accef87490f9e0b750797ad;p=hvlinux.git diff --git a/stage2/INSTALL b/stage2/INSTALL index d009cd4..01941b4 100644 --- a/stage2/INSTALL +++ b/stage2/INSTALL @@ -1,57 +1,32 @@ +stage2: Installing basic system software -Installation instructions -------------------------- +Installation +------------ -Note: In this example, the destination partition is /dev/hda6, and - the sources partition is /dev/hda10. +1. Type: + $> sudo make -1. Create and/or format the destination partition: - >$ mkreiserfs /dev/hda6 +2. Type 'exit' -2. Mount the partition: - >$ mount -t reiserfs /dev/hda6 /mnt/linux +3. Reboot. -3. In the destination partition root, create a directory that will - be used to mount the CD or hard disk partition containing the sources: - >$ cd /mnt/linux - >$ mkdir -p mnt/hvlinux - -4. Mount the sources partition: - >$ mount -t reiserfs /dev/hda10 /mnt/linux/mnt/hvlinux - -5. Copy the tools directory to the LFS (/mnt/linux) partition: - >$ cp -a /mnt/linux/mnt/hvlinux/tools /mnt/linux - This is needed only if you did not run stage1 installation - -6. Modify the "/mnt/linux/mnt/hvlinux/scripts/sysinfos" file to - reflect your configuration. - -7. If you want a separate boot partition, make sure it is mounted - under ${LFS}/boot. - -8. Launch the installation of stage 2: - >$ /mnt/linux/mnt/hvlinux/scripts/stage2/install-1 - -9. After that, compile a fresh kernel. - (réactiver support pour les modules) - -10. type 'exit' - -11. You can now remove the /mnt/linux/tools directory. - -12. Reboot. - -13. When the GRUB prompt appears, install grub on the MBR with: +4. Optional. To install GRUB, launch 'grub'. When the GRUB prompt appears, + install grub on the MBR with (example with boot partition on first partition + of first disk): grub> root (hd0,0) grub> setup (hd0) grub> reboot -14. login as root, and create the password for the regular user: +5. Login as root, and create the password for the regular user: >$ passwd reguser -Post-install guide ------------------- - 1. Compiler nouveau kernel - 2. Ajouter une entrée à /boot/grub/menu.lst - 3. Effacer le répertoire /tools et /cross-tools - 4. Rouler le script /usr/local/bin/udev-create-persistent-net.sh + +Re-installation +--------------- + +1. You need the /tools directory in order to build stage2. If it is not + present, it means it was previously and automatically backed up at + the end of stage2 to /usr/src: + $> cp -a /usr/src/tools / + +2. Follow instructions above for stage2 installation