Windows DatabaseebooksStatistical Information

LLE10149 : Howto install a package into an unbootable system

Symptom:

You have booted from a CD and need to install a package on the unbootable system

Cause:

none

Solution:

Boot into Linux using a Debian rescue floppy/CD or an alternative partition in a multiboot Linux system. Mount the unbootable system on /mysystem and use the chroot install mode of dpkg.

     # dpkg --root /mysystem -i packagefile.deb

Now you can try to configure and fix problems.

By the way, if a broken lilo is all that prevents booting, you can boot using a standard Debian rescue disk. At boot prompt, assuming the root partition of your Linux installation is in /dev/hda1 and you want runlevel 3, enter:

     boot: rescue root=/dev/hda1 3

Then you are booted into an almost fully functional system with the kernel on floppy disk. (There may be minor glitches due to lack of kernel features or modules.)

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics