LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Really dumb mistake - need a MDK 9.2 boot disk (http://www.linuxquestions.org/questions/linux-newbie-8/really-dumb-mistake-need-a-mdk-9-2-boot-disk-159536/)

Delmarc 03-18-2004 04:02 PM

Really dumb mistake - need a MDK 9.2 boot disk
 
I was fiddling with Mandrake 9.2's boot loader and made a bit of a goofup - I set the time delay in Lilo to 0 and Windows the default choice, so now I can't boot into Linux - it doesn't give me a chance. I didn't make a boot disk - yes I know I was stupid - so does anyone know where I could maybe get a Mandrake Linux 9.2 boot disk image somewhere off the net? Or do I have to reinstall? :p

rootyard 03-18-2004 04:07 PM

Just use your rescue disk (usually disk 2 of a mdk set) and log in and change your setting in lilo.conf. Don't foget to run 'lilo' as root to make the changes official.

Khabi 03-18-2004 04:08 PM

well, off the top of my head I would say get a floppy distro http://www.linuxlinks.com/Distributions/Floppy/ and use that to mount you linux partition and edit the conf file again.

Delmarc 03-18-2004 04:17 PM

The 2nd CD?

forrestt 03-18-2004 04:39 PM

You should be able to fix this by booting off the CD.

Not totally sure about Mandrake, haven't used it for some time, but you should be able to do the following:
At the boot prompt, type "linux rescue" and hit return.

boot: linux rescue

Once you get to a command prompt, you can chroot to wherever your system is mounted
(on RedHat and Fedora it is /mnt/sysimage) type 'chroot /mnt/sysimage'

% chroot /mnt/sysimage

Now, edit your lilo.conf file (Hope you can use vi)

% vi /etc/lilo.conf

Note: If you just need to increase the value of the timeout from 0 to 50, then use
the 'H', 'J', 'K', and 'L' keys to move your cursor overtop of the 0 after timeout=.
Just play around with those four keys until you are where you need to be.
Now hit the 'I' (that is I as in EYE) key and then the '5' key. Now hit 'Esc'. Now
hit ':' (that is 'Shift-;' ) then 'w' and 'q' and 'Enter'. You should now be back at a
command prompt.

After your vi session, you are ready to write the lilo

% /sbin/lilo

If you get something like:
Added DOS *
Added Linux

You did it right. Reboot.

/sbin/init 6


Hope this helps,

Forrest


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