You are not logged in.

#1 2010-04-30 22:08:33

khuongdp
Member
Registered: 2007-06-09
Posts: 1

Rebuild kernel from live cd. Not working

Alo

I have a problem once where I need to rebuild the kernel (mdadm in HOOKS has changed in mkinitcpio.conf). The startup failed. It couldn't load some modules. The first thing I do was loading a live cd (systemrescue) and mount the all endpoints:

modprobe raid1
mount /dev/mdx /mnt/gentoo
mount /dev/mdx /mnt/gentoo/boot
mount  -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
pacman -Suy kernel26

This is not working. Same error in the first place

But if i start i.e. systemrescue and set the root parameter to my existing root partition. When everything is loaded I did a pacman -Suy kernel26. Reboot. And it's working again.

What is is different between these 2 methods?

Thx in advance

Offline

Board footer

Powered by FluxBB