Fix bug preventing clean unmounting of rootfs
[hvlinux.git] / stage2 / INSTALL
index 5252117..ced5ba9 100644 (file)
@@ -6,20 +6,29 @@ Installation
 1. Type:
    $> sudo make
 
-2. Compile new kernel (enable loadable modules support)
+2. Type 'exit'
 
-3. Type 'exit'
+3. Reboot.
 
-4. Reboot.
+4. Run script /usr/local/bin/udev-create-persistent-net.sh
 
-5. Run script /usr/local/bin/udev-create-persistent-net.sh
-
-6. Optional. To install GRUB, launch 'grub'. When the GRUB prompt appears,
+5. 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
 
-7. Login as root, and create the password for the regular user:
+6. Login as root, and create the password for the regular user:
     >$ passwd reguser
+
+
+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