Sunday 11 May 2003

And Now We Compile

So I finally got started w/ the Linux From Scratch project for Dulcea. Last night I got to the point where I can chroot into the stuff I have compiled so far (the compiler and file utilities, basically). Its going mostly smoothly but it is a fairly long process. My SBU is around 1m20s.

Anyhow, there were a few hiccups with my hardware setup and configuration... Firstly since I was doing most of this stuff remotely from work, I had to make sure I set GRUB to boot Linux by default. Well, I tweaked my networks cards and rebooted to make sure they perform as expected on boot and, guess what, Dulcea booted to windows.

Go me!

So on the topic of network cards, Dulcea has three. eth0 is the on-board NIC which you may remember as being scragged. eth1 and eth2 are both SMC PCI Full-Duplex 100Mbps cards (the 1211TX and 1244TX). Since I need to diffrentiate between the two I wrote the MAC IDs on the back of them. Pretty clever, da? It would have been if I hadn't mixed the two MAC IDs up...

Well after getting that sorted out I now have eth1 set as my external interface. Nikita is statically allocating it 192.168.0.2 and thus Dulcea deserves an entry in the hosts file. eth2 is the internal interface which Dulcea statically sets to 192.168.1.1. Oooo, aahhh. Different subnets.

With the network cards sorted out I cranked open my fstab on Dulcea because the NFS mounts are always mis-behaving. After looking at my entries and reading the mount and fstab properties carefully, I finaly have entries that load nfs mounts consistently and correctly on startup:

nikita:/home /home nfs _netdev,rsize=8192,wsize=8192 0 3
nikita:/home/share /mnt/share nfs _netdev,rsize=8192,wsize=8192 0 3
nikita:/home/ftp /mnt/ftp nfs _netdev,rsize=8192,wsize=8192 0 3

With basic system config crap out of the way (and grub.conf edited to boot linux by default so I can reboot remotely) I started into compiling my 1337 warez for Linux From Scratch (lfs docs available from www.linuxfromscratch.org).

Talk about a lot of slogging. I followed the directions to the letter. It is going smoothly but I am only just through chapter 5 which is compiling the tools required to compile (and the first mess is compiled statically).

So today I hope to put all the commands in a script file so I can just fire and forget. And also so I have the script file for if/when I build another LFS system.

No comments:

Post a Comment

Popular Posts