gohlip wrote:Right, I am not too clear about grub is now installed but kernel image not there to boot.
If you can boot into Mageia, but new kernel is not there, just go to Mageia Control center and install new kernel and don't forget to go to "boot --> set up boot" after that.
rpm -qa | grep kernel
urpmi --replacepkgs kernel_packages_to_install
urpmi --replacepkgs $(rpm -qa | grep kernel)
doktor5000 wrote:If i understood correctly, /boot was wiped, in that case there's no kernel to boot and mcc is not available.
doktor5000 wrote:gohlip wrote:Right, I am not too clear about grub is now installed but kernel image not there to boot.
If you can boot into Mageia, but new kernel is not there, just go to Mageia Control center and install new kernel and don't forget to go to "boot --> set up boot" after that.
If i understood correctly, /boot was wiped, in that case there's no kernel to boot and mcc is not available.
@magfan: You need to know which kernel packages were installed, e.g.and then just reinstall them via
- Code: Select all
rpm -qa | grep kernel
- Code: Select all
urpmi --replacepkgs kernel_packages_to_install
Should even be possible to do just that directly via substitution:
- Code: Select all
urpmi --replacepkgs $(rpm -qa | grep kernel)
urpmi --replacepkgs
rpm -qa
kernel-*-server-*
dracut -f -d st
initrd-*-desktop-*
magfan wrote:Yes, /boot was completely wiped. From where do I have to call? If I use Mageia-Rescue-System and do a chroot the required kernel packages are not found.
- Code: Select all
urpmi --replacepkgs
Thoughts.magfan wrote:
And there is still something strange with the kernel packages. According toI have only
- Code: Select all
rpm -qa
installed. But when I call
- Code: Select all
kernel-*-server-*
it creates an
- Code: Select all
dracut -f -d st
. Can I simply rename it? The module st (for tapes) is not loaded automatically. So I will have to use dracut.
- Code: Select all
initrd-*-desktop-*
dracut
1. a certain driver (r8169) was not loaded in rescue mode and I was unable to load it manually
2. mcc in console mode does not let me specify a proxy; so even with a working network card setting up an online repository would fail
1. resizing existing partitions with gparted on Knoppix to gain space for a new partition
2. installing Mageia 2 from DVD with the wiped /boot partition mounted as /boot, the rest in "/".
3. reboot once to see whether everything works (it did!)
4. reboot into Mageia-rescue-system to edit menu.lst to use the old root partition ("/") and reinstall boot loader
5. booting into my old Mageia installation
Users browsing this forum: No registered users and 1 guest