reinstall LILO .
i have reinstall LILO of mandrake 10.0. from SUSE9.1 .
SO PLS HELP me. linux:~ # chroot /mnt/linux/ chroot: cannot run command `/bin/bash': No such file or directory linux:~ # chroot /mnt/sysimage/ chroot: cannot run command `/bin/bash': No such file or directory linux:~ # fdisk -l Disk /dev/hda: 80.0 GB, 80060424192 bytes 255 heads, 63 sectors/track, 9733 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 1305 10482381 7 HPFS/NTFS /dev/hda2 1306 2610 10482412+ 83 Linux /dev/hda3 2611 9733 57215497+ 5 Extended /dev/hda5 2611 2740 1044193+ 82 Linux swap /dev/hda6 2741 4084 10795648+ 83 Linux /dev/hda7 5351 7960 20964793+ 7 HPFS/NTFS /dev/hda8 7961 9733 14241591 b W95 FAT32 /dev/hda9 4085 5350 10169113+ 83 Linux Partition table entries are not in disk order linux:~ # linux:~ # ll /bin/ba* -rwxr-xr-x 1 root root 17287 Apr 5 2004 /bin/basename -rwxr-xr-x 1 root root 447064 Apr 5 2004 /bin/bash linux:~ # chroot /mnt/sysimage/ /bin/bash chroot: cannot run command `/bin/bash': No such file or directory linux:~ # |
I don't have LILO installed anymore, but I remember doing what you're doing before from a live CD. LILO has a built-in command for what you're doing (-r), try it out (basically, it tells LILO to chroot to the directory before doing anything):
lilo -r /mnt/sysimage (or) lilo -r /mnt/linux Good luck. |
All times are GMT -5. The time now is 03:52 PM. |