![]() ![]() ![]() You'll need about 4GB of hard disk space and the computer will be busy for hours. How to use Knoppix 6.2 and buildroot-dockstar-rescue_.tgz to compile your own kernel/initrd: (some Unix knowledge required) Then follow any debootstrap tutorial you like. Download the deb package to /tmp and extract it manually:Ĭd / mount -o remount,rw / ar p /tmp/debootstrap*.deb | tar xvz Debootstrap itself is not part of the rescue system. With microperl installed, debootstrap works without externally compiled package details. The only other change is that I added microperl to the selection of packages. ![]() The buildroot configuration now comes with a patch which must be applied to the buildroot environment to prevent it from overriding the initial ramdisk support in the kernel configuration. You should therefore not use this system when TCP port 22 on the Dockstar can be reached from a public network (the internet, open wireless LAN, etc.). Under these circumstances, SSH can not prevent man-in-the-middle attacks and anyone who can guess the root/root login can get full control over your Dockstar. The result is that the only user "root" always uses the password "root" and the host keys are always different, which triggers a security breach warning in the SSH client. This includes password changes and the autogenerated SSH host keys. Since the system runs completely in RAM, all changes are lost after a reboot. Replace these values with the ones which are right for your network. Where 10.0.0.3 is the IP address of the Dockstar, 10.0.0.2 is the IP address of the machine which displays the console output and 12:23:34:45:56:67 is the MAC address corresponding to that machine. Jeff's boot loader configuration will then load the rescue system like a normal USB-installed system. Setenv bootargs console=$console $mtdpartsĪnother option is to simply rename the files to uImage and uInitrd and place them in the root directory of an ext2 (or ext3) formatted USB stick. For example, the following sequence will load the rescue system from the root directory of an ext2 (or ext3) formatted USB stick (in position 1): It also contains the modified buildroot configuration and corresponding md5 hashes for file integrity verification.īooting the rescue system is accomplished by using uBoot to load the kernel and the root filesystem into RAM and calling bootm with the two addresses. The zip file contains the kernel "uImage-rescue" and the root filesystem "uInitrd-rescue". I've made a few small changes to the buildroot configuration to produce a rescue system which runs in RAM and can be loaded from USB or the network. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |