[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Booting 2 Linuxes with LILO



On Wed, Dec 04, 2002 at 11:06:49AM -0800, alberto wrote:
> 
> Thanks so much. 
> I  have a couple of questions: 
> 
> Can I follow a similar procedure while I have the root mounted? 
> 
> I booted into woody and had /dev/hda1 mounted as root
> I then mounted potato on /mnt/potato, as you suggest. 
>      woody: $ lilo -C /mnt/woody/lilo.conf.mbr
> went OK 
> 
>      woody: $ lilo -r /mnt/potato
> told me it was expecting a different version of LILO
> 
>      woody: $ lilo 
> issued a fatal error. 
> Then I tried mounting /dev/hda1 under /mnt/woody and did: 
>      woody: $ lilo -r /mnt/woody 
> It was OK. 
> 
> Still, I can boot Potato, despite the error message. 
> It won't bood woody, though! 
> 
> Could I maybe just have the woody's lilo.conf handle all, without the need of 
> the mbr lilo? 


You should be able to 

 chroot /mnt/potato
 /sbin/lilo

That should take care of the version differences.

That said, I would also recommend running grub rather than lilo, since it
gives you much more flexibility, including editing the command line  at
boot time. 
-- 
--Brad
============================================================================
Bradley M. Alexander                |
Debian Developer, Security Engineer |   storm [at] tux.org
Debian/GNU Linux Developer          |   storm [at] debian.org
============================================================================
Key fingerprints:
DSA 0x54434E65: 37F6 BCA6 621D 920C E02E  E3C8 73B2 C019 5443 4E65
RSA 0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A  C8 9C F0 93 75 A0 01 34
============================================================================
Keep looking around. There's always something you've missed.
					--Rules of the Air, #22



Reply to: