X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-linux%2Fhdw-linux.git;a=blobdiff_plain;f=doc%2FINSTALL;h=08c23dc4026ee41c70fad3d92cdbf8d796dbc07d;hp=521279756bcb0fe06118af8277c4ecc50403a139;hb=4dfe4bc90c6670e31d52449b3294467e879eda28;hpb=4f52617059a69365cd4b7f26e2bd9b9385a7cfd4 diff --git a/doc/INSTALL b/doc/INSTALL index 5212797..08c23dc 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 ----------- +|--------------------------------------------------------------------------| +| 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! ;)