[aclug-L] Re: Debian From Scratch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, May 27, 2004 at 08:58:03AM -0500, Carl Davis wrote:
>
> So, since for the third time I have messed up debian installation by trying
> to compile to 2.6, I can get this CD, boot and try to fix up my screwed up
> compiled system. right? Now if I only knew what to do to fix what I have
> broken.
Yes. In fact, you can even install one of the kernels that you boot
from on the CD.
You can, for instance, boot the CD and then:
mount /dev/hda1 /mnt
mount /dev/hda5 /mnt/usr
mount /dev/hda6 /mnt/var
mount -t proc none /mnt/proc
chroot /mnt
and you're in your regular environment.
Or, you can mount it and not do a chroot.
If your bootloader is toast, you can still boot your old Linux system
(or even a Windows partition). When you boot the CD and the blue Grub
screen appears, press c. Then, at the command line, use a command like:
root (hd0,0)
kernel /boot/vmlinuz-2.6.6 root=/dev/hd1
boot
Or you could boot Windows with:
root (hd0,0)
chainloader +1
boot
Grub is really slick and handy for repairing emergencies :-)
If you're really hosed, you've got all the tools to repair (or recreate)
your filesystems. The kernel source is also on the cd under /usr/src.
Untar that into a filesystem somewhere and you can build yourself a new
kernel.
-- John
-- This is the discussion@xxxxxxxxx list. To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
|
|