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
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
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:
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)
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! ;)