Rescure - Debian LILO failure after upgraded to 3.1

ttanski-iRg7kjdsKiH3fQ9qLvQP4Q at public.gmane.org ttanski-iRg7kjdsKiH3fQ9qLvQP4Q at public.gmane.org
Tue Jun 21 17:52:41 UTC 2005


On Tue, 21 Jun 2005, Phillip Qin wrote:

> To rescue my system, I boots from a knoppix CD. At boot prompt, knoppix
> root=/dev/hda2. knoppix boots from its own boot partition. It then mounts my
> /dev/hda2 (my /) on /mnt/hda2, my /dev/hda1 (my /boot) on /mnt/hda1 and its
> /dev/root (/boot and /) on /. I tried to use lilo.real to recreate the map
> using my lilo.conf to no avail.
> 
> lilo.real -C /mnt/hda2/etc/lilo.conf -m /mnt/hda1/boot/map
> Ignoring entry "map"
> FATAL: creat /mnt/hda1/boot/map~: No such file or directory

Could be a library issue. Try this...

- Use KNOPPIX to boot itself
- figure out what the dead systems mountpoints were
- mount them by hand into maybe /mnt/dead
- try 'chroot /mnt/dead /bin/bash' to get a shell on
  your dead system with all the libraries where they
  should be
- fix broken bits (in this case /etc/lilo.conf ...)
- 'exit' from chroot
- unmount manually-mounted filesystems
- reboot to see if things are better

Terry

-- 

  Terry Tanski, BSc RHCE            Phone: (416) 863-2126
  CNW Group Ltd.                    Fax: (416) 863-4825
  20 Bay Street, Suite 1500         Email: ttanski-BEj8/MhvOJIsA/PxXw9srA at public.gmane.org
  Toronto, ON  M5J 2N8              Web: http://www.newswire.ca

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list