Some Random Linux Stuff
 
I was buggering about last night with my Acer Aspire 1300 laptop, which is running Fedora Core 3, and I managed to blat the initrd image file which made the thing unbootable.

Not knowing anything about mkinitrd, or even of its existence didn't help. So, in the hope that this might help someone else out there, here's how I fixed it...

1. Stick in the Fedora Core 3 installation disk 1, and reboot the machine
2. At the prompt type linux rescue and hit <Return>
3. Answer the prompts about language and keyboard, and enable networking
4. Answer the prompt that appears when it finds your Linux installation (I think it says continue, it's the default anyway)
5. At the command prompt which follows issue the command chroot /mnt/sysimage
6. Use ftp from the command line, and go to your local, friendly Fedora Mirror site (I used ftp.mirror.ac.uk)
7. Follow the directory path through to Fedora updates and download the latest kernel rpm file
8. Once the download has finished quit ftp
9. Issue the command rpm --force -Uvh [name of the kernel rpm goes here - no square brackets]
10. Ensure that your /etc/grub.conf file points to your new kernel - change it if necessary using vi
(if you don't know how to use vi either learn or find someone who does. It can be very useful in these situations)
11. Remove the Fedora boot disk and exit twice from the command prompt. This will reboot the machine, and you will now have a nice clean new kernel and initrd image file. Well, it worked for me!
Well, if you think you might need my public key it is HERE
Back to Home Page