I'm trying to make a basic root/boot system on an empty partition.
Ext2 filesystem and the kernel I'll be compiling is 184.108.40.206.
As I make a huge mess of things repeatedly, I wanted to ask, can anyone point me to a guide on how to do this? Or give me the general outline
of what I should be doing.
I couldn't find such a guide after looking on google.
Also, how should I compile and install the kernel? Right now what I'm doing is mount the 'target' system on /mnt of my 'host' system, compile
the kernel on the host system, then issue the following:
sh arch/i386/boot/install.sh 220.127.116.11 arch/i386/boot/bzImage System.map "/mnt/boot"
Then, depending on whether I tried adding module support or not, I also
Proceeding to copy /lib/modules/18.104.22.168 to /mnt/lib/modules/22.214.171.124
And I always try making an initrd image when it fails using
mkinitramfs -r /mnt -o initrd.img
and putting it in /mnt/boot
What I'm doing feels wrong. Point me in the right direction please.