Click to See Complete Forum and Search --> : How to install CollegeLinux with a <2.5GB drive


o0zi
08-11-2003, 01:19 AM
I was on an old 200Mhz, which had two 850MB drives. I popped the CollegeLinux CD in, and got to the installer. It only allowed me to install if there was 2.5GB, because CollegeLinux doesn't offer any choice of packages - it installs everything. Well, I couldn't have that :)

Ctrl-C got me to the console, and I created my partitions with cfdisk. Then, I typed "setup" to see what would happen. Miraculously, the Slackware installer came up (CollegeLinux is a modified version of Slack). I selected my partitions, and it created a reiserfs filesystem on both. Unfortunately, once I got to installing, it was looking in the /var/mount/slackware directory instead of the /var/mount/college directory.

So I got back to the console, went to /var/mount/college and saw all the usual Slackware disk set directories. Once I'd mounted my first hard drive on /mnt and my second on /mnt/usr, I installed everything in the "a" and the "ap" disksets:

installpkg -root /mnt a/*.tgz
installpkg -root /mnt ap/*.tgz

Once I'd done that, my system was ready to go (or so I thought) except for LILO. So I went into the Slackware installer again, and went into the Configure sub-section. I told LILO to boot from the MBR, and then I rebooted.

LILO worked fine, but once I got a little further it asked me for a root disk. Oops. I rebooted again and typed "linux root=/dev/hda2" into LILO to fix that problem, but then I hit another snag - the hard drive couldn't be found.

I rebooted the CollegeLinux CD, mounted my drives on /mnt and /mnt/usr and chrooted to /mnt. From there I copied the /etc/fstab off the CD to the hard drive, as it didn't have one. I then edited the /etc/fstab for my drives, and rebooted.

After typing "linux root=/dev/hda2" again, I had a working CollegeLinux system in under 2.5GB (and I fixed having to type that in the LILO prompt by editing /etc/lilo.conf)!

EDIT: Only bug I've found is that pkgtool doesn't work - installpkg, removepkg and the rest still do.