Ajout Makefile stage0
[hvlinux.git] / stage2 / INSTALL
index d009cd4..bb329b6 100644 (file)
@@ -1,57 +1,24 @@
+stage2: Installing basic system software
+Installation
+------------
 
-Installation instructions
--------------------------
+1. Launch ./hv-install-1
 
-Note: In this example, the destination partition is /dev/hda6, and
-      the sources partition is /dev/hda10.
+2. Compile new kernel (enable loadable modules support)
 
-1. Create and/or format the destination partition:
-       >$ mkreiserfs /dev/hda6
+3. Type 'exit'
 
-2. Mount the partition:
-       >$ mount -t reiserfs /dev/hda6 /mnt/linux
+4. 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
+5. Run script /usr/local/bin/udev-create-persistent-net.sh
 
-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:
+6. 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:
+7. 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