Booting from an IDE device

To install Bering on an IDE device, proceed as follow:

Make sure your IDE device has a first bootable partition and is DOS formatted. With the Windows rescue disk you will have the fdisk and the format utilities to help you doing that. With a linux rescue floppy disk, fdisk and mkfsdos will be your friends.

Warning

Be careful: you will be destroying any pre-existing data !

Once you hard disk is formatted install syslinux. You can install syslinux either from a windows or a linux rescue floppy. Boot your floppy then issue the following command:

syslinux [-s] /dev/hda1

The -s flag might be required for syslinux to work with old buggy BIOSes. See the syslinux web site for more instructions.

Boot a Bering floppy. Install on the /boot/lib/modules the ide-mod.o, ide-disk.o and the ide-probe-mod.o modules. Then declare those modules in /boot/etc/modules through the initrd package configuration menu in this order. Then backup the initrd.lrp package. Once this is done, edit the syslinux.cfg file which will look like:

display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 boot=/dev/hda1:msdos PKGPATH=/dev/hda1
   LRP=root,etc,local,modules,iptables,pump,keyboard,shorwall,ulogd,dnscache,sshd,ipsec,weblet

Once you have finished with your floppy preparation, copy all the files from it EXCEPT ldlinux.sys (which is created by syslinux) to the IDE device that you prepared earlier. You should now be able to boot from the IDE device. Once again be careful not to copy ldlinux.sys from the floppy otherwise your disk won't be bootable and you will have to go over the installation of syslinux on your hard disk again.