Hatkirby on January 29th, 2008 at 2:54:56pm
Well, I updated KFM again. (Whew!) And got back from the vacation. But there's another thing going on. That's right! Remember Project Linux? No, of course you wouldn't! I never posted it on this site!
Project Linux was the idea to move some of my servers on to a dedicated server computer. And that is finally about to come true.
I've downloaded and burned a SLAX iso image. Now remember, this is just supposed to be a Live CD, not a distro, but I'm going with it because I know actually boots on the computer I'm trying (unlike Gentoo and Ubuntu), and doesn't installation sequences that may corrupt and fail (I'm lookinig at you, openSUSE). Here is how I did it:
Unmount the hard drive. I open fdisk within the prompt that SLAX gives you (before you run startx), and deleted all previous partitions. I then created a 1 GB partition, a 512 MB partition with the "Linux swap" type and another one that filled the rest of the drive. The first one is the boot partition, the second is the swap and the third is the filesystem. Run mke2fs for the boot partition, mkswap and swapon for the second and mke2fs -j for the third. CD to the place where the live cd is mounted. For me it was /mnt/live/mnt/hdd.
Oh wait! Be sure to unmount the boot partition before running this step!Run: "./make_disk.sh /dev/hda1" where /dev/hda1 is the /dev path to the boot partition. Now, this step will take a while. Then, when it is done, mount the boot partition and run "fileswap /mnt/hda1/swapfile.swap 512" where /mnt/hda1 is the mount point of the boot partition. That will also take a while.
Almost there! Now, open lilo.conf up in vi (there's no better one you can use just yet, sorry, I know emacs is soooo much better) and add " changes=/dev/hda3" to the "append=" line, right before the last quotation mark. /dev/hda3 should be replaced with the /dev path to the last partition. Replace the "/mnt/make_disk4372q84246" s with the mount point of your boot partition. I know this is getting complicated, but just bear with me. Next, run: "lilo -C /mnt/hda1/lilo.conf -m /mnt/hda1/lilo.map -s /mnt/hda1/origmbr
2>&1 grep -vi warning". Remember to replace /mnt/hda1 with the mount point of the boot partition. That will configure LILO to tell SLAX to save all changes not to memory, but to the second partition. There's only one thing left to do, and you need to restart the computer first.Horray, you're done! You can now reboot into the live system! Oh yes, remember to remove the CD from the drive or else your new system won't come up, the CD will.
Login and CD to /etc/rc.d. Open rc.local in vi and add "swapon /mnt/hda1/swapfile.swap" where the only argument there is the path to the swapfile on the boot partition you created with Swapfile. Now you can restart the computer again andRun "startx" to start KDE!
Well everyone, I hope that was an interesting tutorial that no one else really cares about! Thank you, and good morning!