LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Slack 2.6.7 upgrade w/ lilo for diskette users (https://www.linuxquestions.org/questions/linux-newbie-8/slack-2-6-7-upgrade-w-lilo-for-diskette-users-266434/)

H2O-linux 12-14-2004 05:34 PM

Slack 2.6.7 upgrade w/ lilo for diskette users
 
If your a noob like myself you might find this usefull if your using a boot diskette or the recovery CD2.

When installing Slackware 10.0 for the first "couple" of times due to hosing my system with haste I was not able to get lilo to install to the mbr. One reason was a partition of XP and my inexperience telling me to stay away from lilo expert configuration at install.

The other problem was getting the right configuration in lilo after converting the former XP partition to a linux ext3 partition. If your ready to drop that windows partition then use this line " mkfs -t ext3 /dev/hda5 " at the command prompt substituting hdc5 for your windows partition. Remember that all data on this partition will be lost so back it up if you need to.

link to ext3 conversion thread

Installing the files for the 2.6.7 kernel is very straight forward. On Slackware CD2 there is a directory called testing/packages/linux-2.6.7, from that directory install all the packages ending in .tgz . If your not using alsa for sound then skip that package.

Next you need to install the initrd file, if you need an expalnation read the "readme" file in test/packages/linux-2.6.7 . After this is done you need to rename a few file in /boot . Change the files config to configold, system.map to system.mapold, and vmlinuz to vmlinuzold. Next rename System.map-ide-2.6.7 to system.map, config-ide-2.6.7 to config, and vmlinuz-ide-2.6.7 to vmlinuz.

Next run liloconfig in a terminal and select expert mode and answere each section to creat a lilo.conf file that slackware will use in place of your boot diskette. I installed lilo to the MBR and selected linux as the boot promt.

Reboot and do not hate me if you hose your system:)

There may be simpler and easier ways to accomplish the same however this is what worked for me.


All times are GMT -5. The time now is 11:29 AM.