As I am a Network Consultant I have seen {and made my share} of administrative blunders. I hope to use this section to build up an extensive collection of usefull tips and helpfull information to help others avoid simillar.
As obviously a large amount of the paid work i do is correctly and securely configuring linux servers. I cannot offer free support or assistance to users or other consultants experiencing these problem, or attempting to recover from the results. Also the information given here is not neccissarily true for every version of linux and I accept no responsibility for damage caused by someones mis-use of this freely offered advice. If you require help feel free to contact me, but only if you realize you will be charged for this consultancy
most of these have been observed in troubleshooting RedHat linux from 5.2-7.3
1 change to the [empty] destination directory pull down all the rpm's via [ncftp -R ftp://ftp.redhat.com/pub/redhat/linux/updates/{ver}/en/os/*] or [ncftp -R ftp://ftp.esat.net/mirrors/ftp.redhat.com/redhat/linux/updates/{ver}/en/os/i*].
2 Enter the i{4/5/6}86 directory {depends on your processor}
take note of the processor specific rpms and purge these rpms from the i386 directory otherwise nastyness may happen.
Now you can fairly safely update/check for dependency issues via
rpm -Fvh i{4/5/6}86/*.rpm i386/*.rpm noarch/*.rpm
3 After solving all dependency issues and updating the rpms remember if any kernel rpms have been updated you will have to re-configure and re-run lilo
4 {if kernel not updated stop here} to update lilo [ls /boot/vmlinuz*] take note of the new kernel filename
5 [vi /etc/lilo.conf] change filenames appropriatly
6 [lilo] to apply changes to boot sector
7 {dual boot systems using ntloader only} [dd if=/dev/{linux_boot_device} bs=512 count=1 of=/mnt/{mount_point_of_partition_with_ntloader}/bootsect.lin]
these tips should help you avoid having to use either boot floppy or cdrom-rescue.
step 7 assumes that your dual boot system mounts the partition holding ntloader, if not the file can be written to floppy and manually copied to the ntloader partition
step 7 also assumes that your dual boot systems boot.ini file has a linux entry in the form 'C:\bootsect.lin="Redhat Linux"' if not the filename can be altered in the 'dd' command or you can alter the entry in win.ini
Back to main alandoherty.net site