reorganized Config file
[hdw-linux/hdw-linux.git] / doc / INSTALL
index 5212797..08c23dc 100644 (file)
@@ -15,6 +15,8 @@ offer the binaries of the latest stable release on hackdaworld.dyndns.org,
 mirrors appreciated! finally some configuration issues are discussed and the
 system is prepared for reboot.
 
 mirrors appreciated! finally some configuration issues are discussed and the
 system is prepared for reboot.
 
+for both ways you will need kernel 2.6 running to do the chroot later on!
+
 here we go ...
 
 1. way - hdw-distro ready @ $hdw_build_dir
 here we go ...
 
 1. way - hdw-distro ready @ $hdw_build_dir
@@ -86,7 +88,7 @@ in the ./misc/hdw-tools directory.
        EOF
 
        ./scripts/Helper -create_dist_file
        EOF
 
        ./scripts/Helper -create_dist_file
-       . misc/hdw-tools/hdw-get dist-install /mnt/hdw-target \
+       ./misc/hdw-tools/hdw-get dist-install /mnt/hdw-target \
                                                ./distro/<target name>
 
        you may edit the distribution file, hdw-get should actually warn you
                                                ./distro/<target name>
 
        you may edit the distribution file, hdw-get should actually warn you
@@ -107,7 +109,13 @@ in the ./misc/hdw-tools directory.
 final steps
 -----------
 
 final steps
 -----------
 
+|--------------------------------------------------------------------------|
+| you may want/need to mount proc/sysfs somewhere in tis steps, simply do: |
+| mount /proc ; mount /sys  (when you think its needed)                    | 
+|--------------------------------------------------------------------------|
+
 - chroot to your new build system and compile a new kernel
 - chroot to your new build system and compile a new kernel
+  (you have to do this if you are not booting via nfsroot!)
        
        example:
        
        
        example:
        
@@ -115,6 +123,7 @@ final steps
                PATH="/sbin:/bin:/usr/sbin:/usr/bin" --login
        cd /usr/src/linux
        make menuconfig
                PATH="/sbin:/bin:/usr/sbin:/usr/bin" --login
        cd /usr/src/linux
        make menuconfig
+       (disable CONFIG_ROOT_NFS, if you are not booting via nfsroot!)
        make dep bzImage modules modules_install
 
 - yo may want to set a root password (default is 'hdw' iirc)
        make dep bzImage modules modules_install
 
 - yo may want to set a root password (default is 'hdw' iirc)
@@ -135,7 +144,16 @@ final steps
        vi /etc/lilo.conf
        (add vmlinuz_hdw)
        lilo
        vi /etc/lilo.conf
        (add vmlinuz_hdw)
        lilo
+
+- create essential console and null nodes (!important!)
+
+       example:
        
        
+       mknod -m 0666 /mnt/hdw-target/dev/null c 1 3
+       mknod -m 0600 /mnt/hdw-target/dev/console c 5 1
+
+       [ WARNING : your system will not start up without these nodes ]
+
 - have a look at the config files in /mnt/hdw-target/etc/* and adjust to your 
   needs. reboot then - good luck! ;)
        
 - have a look at the config files in /mnt/hdw-target/etc/* and adjust to your 
   needs. reboot then - good luck! ;)