X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=doc%2FINSTALL;h=c855d9ac2348051dfcb86272b521a9521405dfd0;hb=61fc33132816781779b9519523cf1e7401f6cfc2;hp=521279756bcb0fe06118af8277c4ecc50403a139;hpb=4f52617059a69365cd4b7f26e2bd9b9385a7cfd4;p=hdw-linux%2Fhdw-linux.git diff --git a/doc/INSTALL b/doc/INSTALL index 5212797..c855d9a 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -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. +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 @@ -86,7 +88,7 @@ in the ./misc/hdw-tools directory. 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/ you may edit the distribution file, hdw-get should actually warn you @@ -107,7 +109,13 @@ in the ./misc/hdw-tools directory. final steps ----------- -- chroot to your new build system and compile a new kernel +|--------------------------------------------------------------------------| +| 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. + (you have to do this if you are not booting via nfsroot!) example: @@ -115,6 +123,7 @@ final steps 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) @@ -135,7 +144,16 @@ final steps 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! ;) @@ -151,5 +169,4 @@ troubleshooting: - visit: http://www.hackdaworld.dyndns.org/contents/mailing-list/ - visit: www.linuxfromscratch.org, www.linuxdoc.org, www.rocklinux.org ;) - regards hackbard