LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Boot help LILO GONE (https://www.linuxquestions.org/questions/linux-general-1/boot-help-lilo-gone-43922/)

wass29 02-03-2003 02:10 PM

Boot help LILO GONE
 
so I upgraded my Slack 7 machine to the new ver 8.1 went great. Then decided to use my two small dos partirions and install something my co-workers could handle like dos and maybe windows, this is where I messed things up. I had the linux working just fine configured my new mouse in Xwindows and everything was smooth. I booted of a dos disk formated the dos partition and then installed the os dos 6.22, Now when I boot the machine it takes me straight into dos and dosen't ask me about booting to slackware or anything just straight Dos. I know I didn't kill the slackware because I can boot off of a floppy and everything is still there. How can I get back to my LILO loader short of doing a reinstall....

Tks

Matt W

Machinegun 02-03-2003 02:39 PM

Enter with the floppy disk. Mount your Slackware partition in /mnt for example (if problem with PATH, make new directory and mount there). Edit (vi or pico) lilo.conf. Check you have Linux,

image=/boot/vmlinuz-2.4.20
label=RedHat
initrd=/boot/initrd-2.4.20.img
read-only

then to run linux make before chroot /mnt or what directory you mounted linux partition. Go to /mnt/bin and run ./lilo.


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