LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   how to install lilo to MBR and no floppy booting (http://www.linuxquestions.org/questions/slackware-14/how-to-install-lilo-to-mbr-and-no-floppy-booting-288645/)

msalimane 02-10-2005 04:20 PM

how to install lilo to MBR and no floppy booting
 
i just install slackware but i allways use the floppy to boot otherwise i get some "99999999...." and also i couldnot install lilo in the MBR . i could not also get any sound amy be it's because of the floppy booting i dun know . Because until now i dun know exactly which kernel i'm booting , is it the kernel on my partition or the kernel on floppy?
help me out there

Shagrath239 02-10-2005 04:25 PM

First of all... you need a DOS boot disk, not hard to find :D

Then, boot in DOS, and make a fdisk /mbr.


When you are done with that, boot Slack from the CD, read carefully what it says to succesfully boot the partition where you got Slack installed (usually /dev/hda1), and when you got prompt, do a pkgtool.

In pkgtool, rerun the LILO script, and install it in the first option.



Add the partitions you want... and that should do it :D

__J 02-10-2005 04:26 PM

open up /etc/lilo.conf and change:

boot = /dev/fd0

to:

boot = /dev/hda (or whatever your primary harddrive is called)

then as root run:

lilo

sound is not affected by how you boot. With lilo it boots the kernel on the partition in your /boot folder.

NOTE: if you dual boot between windows and linux this WILL overwrite the windows bootloader ( there are ways to get it back (but none are guaranteed), just be sure you know this before you write lilo to the MBR.

rob0t 02-15-2005 04:28 PM

Hi, I have the same problem with Slackware 10.1. I tried reruning liloconfig but it doesn't work. From as far as I can see lilo.conf doesn't look mucked everything is ok. The hdd is /dev/hda and so is in lilo.conf and first partitions is windows /dev/hda1 and linux root is /dev/hda5 and when I boot all I get is L at the boot and then the only way to boot is to restore Windows MBR (which i have to do with Mandrake's rescue) or boot to linux using 1st Slack CD. Anybody know what would be happening?

Xeratul 01-28-2013 03:37 PM

Hi,
In the Howto here http://www.plop.at/en/ploplinux/full.html#l_usb, he recommends to install lilo on the pendrive. Would you know how to do this ? Since lilo is not in debian/ubuntu any more, could it be possible to copy a mbr lilo with windows xp on a pendrive?

regards

Code:

If the USB drive does not boot, maybe the program in the MBR is not ok. You can fix this with

lilo -M /dev/sdb

After those steps, you should be able to boot from USB with Plop Linux


volkerdi 01-28-2013 03:43 PM

There's also an MBR binary in /usr/share/syslinux/mbr.bin. If you cat or dd that to a drive it will restore a fresh MBR.

John VV 01-28-2013 08:21 PM

you two are aware that this post is from 2005 .At a time where 3.5 in floppies DID exist
and one could still buy a computer with a 3.5 floppy drive

volkerdi 01-28-2013 11:54 PM

Quote:

Originally Posted by John VV (Post 4879477)
you two are aware that this post is from 2005 .At a time where 3.5 in floppies DID exist
and one could still buy a computer with a 3.5 floppy drive

Oops, sorry. FWIW, I didn't resurrect the old thread.


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