How to install lilo to the MBR?

Eric "Shubes" plug at shubes.net
Mon Jul 31 13:01:16 MST 2006


joe wrote:
> .
> joe wrote:
>>> Lilo is installed on my system, but it is not working. 
>>> When I cold boot, it boots into an old Windows 98 partition 
>>> (hda1) that I no longer use. 
>>>
>>> So, what is the procedure and syntax to install lilo to 
>>> the Master boot Record? 
> 
> Eric Shubes wrote: 
>> Boot a rescue cd to the command prompt, then
>> # /sbin/lilo -v
>> That should write your lilo.conf to the MBR
> 
> Following the above instructions: 
> /sbin/lilo -v 
> 
> Produced this response: 
> "bash: /sbin/lilo: No such file or directory" 
> 
> So, I searched around and found lilo here: /mnt/sbin/lilo 
> Then I tried /mnt/sbin/lilo -v 
> and lilo ran, but gave this response: 
> 
> "/etc/lilo.conf: No such file or directory. 
> 
> the desired file is here: /mnt/etc/lilo.conf 
> 
> but what syntax must I use to get this to work? 
> 
> 
Ok, so your filesystem is mounted at /mnt.
Just do a "# chroot /mnt" first, then "exit".


-- 
-Eric 'shubes'


More information about the PLUG-discuss mailing list