|
|
发表于 2005-12-15 14:29:59
|
显示全部楼层
- boot with knoppix
- mount the root partition: mount /mnt/hda1
- mount the dev in the root partition: mount -o remount,dev /mnt/hda1
- chroot /mnt/hda1
- changed to /bin/bash
- mount /proc
- apt-get install initramfs-tools
- apt-get --purge remove yaird
- echo ide-generic >> /etc/mkinitramfs/modules
- echo ide-disk >> /etc/mkinitramfs/modules
- dpkg-reconfigure linux-image-2.6.14-2.686
- run lilo
Another way using yaird
- boot system with KNOPPIX
- mount the root partition
- remount the /dev into the root partition
- chroot into your root partition
- mount /proc
- mount /sys
- edit /etc/yaird/Default.cfg and add
MODULE ide-generic
MODULE ide-disk
right after the "MODULE evdev" line
- dpkg-reconfigure linux-image-2.6.14-2-686
- umount /sys
- umount /proc |
|