eric@lucii.org on Wed, 18 Sep 2002 22:47:19 -0400


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

Re: [PLUG] Blew away my MBR and lilo<<Help needed!


If you boot from the CD ROM then you will have to mount your root
partition somewhere (like /mnt).  If you do that, you need to 
run lilo using the root directory command like this (as I recall):

lilo -C /mnt/etc/lilo.conf  -r /mnt

>From the lilo man page:
       -r root-directory
              Before doing anything else, do a chroot to the indicated directory.
              Used for repairing a setup from a boot floppy.

Best of luck.

Eric

On Wed, Sep 18, 2002 at 10:03:48PM -0400, zeek@sparklehouse.com wrote:
> 
> 
> Double check your settings in /etc/lilo.conf and run "lilo" 
> 
> 
> -zeek
> 
> > Thanks!
> > But once I boot the Linux..what next??  How do I get lilo to go back into the MBR?
> > 
> > Dan
> > 
> > zeek@sparklehouse.com wrote:
> > 
> > > Use a boot floppy or the install cdrom and do:
> > >
> > > boot: boot vmlinuz /dev/hda4    # or something like that
> > >
> > > or...
> > >
> > > go into rescue mode, mount /dev/hda4 ; /mnt/myroot ;
> > > chroot /mnt/myroot
> > >
> > > This is just from memory so you'll have to sort out
> > > the specifics.
> > >
> > > Hope it helps. Oh, and hopefully this helps too:
> > >
> > > This (should) happen(s) to everyone at least once.
> > >
> > > -zeek
> > >
> > >
> > > > Hello All
> > > >
> > > > I have a triple boot disk and I jsut plastered my lilo.. How do I recreate it?
> > > > Here are some details>
> > > > Partition 1 /boot
> > > > Partition 2 Win98
> > > > Partition 3 Win2K
> > > > Partition 4 /SUSE8
> > > >
> > > > so up until one hour ago I would boot the system and up would pop lilo.
> > > > I happened to have run SpeedDisk on my WIn98 partition and upon reboot I couldn't
> > > > reboot into win98 after lilo.. I got something along the lines of invalid system.
> > > > So being tired I boot a DOS floppy and did an FDISK /MBR  and of course when I
> > > > rebooted again I got the missing operating system note..
> > > > So I rebooted the floppy and did an sys c: and at least I can now see the Win98
> > > > stuff..but with no lilo
> > > >
> > > > So question is>
> > > > How do I boot my SUSE8 partition and restore lilo as it was before this mess?
> > > >
> > > > Thanks for any help!
> > > > Sincerely
> > > > Dan Roberts
> > > >
> > > > _________________________________________________________________________
> > > > Philadelphia Linux Users Group        --       http://www.phillylinux.org
> > > > Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
> > > > General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug
> > > >
> > >
> > > _________________________________________________________________________
> > > Philadelphia Linux Users Group        --       http://www.phillylinux.org
> > > Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
> > > General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug
> > 
> > _________________________________________________________________________
> > Philadelphia Linux Users Group        --       http://www.phillylinux.org
> > Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
> > General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug
> > 
> 
> _________________________________________________________________________
> Philadelphia Linux Users Group        --       http://www.phillylinux.org
> Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug

-- 
# Eric Allan Lucas 
#------------------------------------------------------------------------
#   Support Ken Krawchuk - Libertarian for Governor of Pennsylvania!
# Find out how YOU can help!   ->                     http://www.kenk.org
# Support liberty              -> http://www.lppa.org + http://www.lp.org
# Learn how to speak out       ->  http://www.libertariantoastmasters.org
#------------------------------------------------------------------------
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug