You are not logged in.
Also I've reinstalled linux kernel twice. so initrd images of both fallback and current system have lost these important hooks.
Is there any chance I can repair my system to boot now without reinstalling?
I have arch linux and ubuntu CDs (if they can be helpful).
I have this in my kernel line
root=/dev/sda3 rootfstype=ext4and the error it shows is that it can't find '/dev/sda3'
Last edited by ebshankar (2012-06-24 08:31:34)
Offline
Boot from a live environment, chroot and restore the hooks, then rebuild your initramfs.
Offline
Boot from a live environment, chroot and restore the hooks, then rebuild your initramfs.
yea I'm trying this but its giving an error when I try to reinstall kernel to rebuild initrams image after chroot:
ERROR!
/proc must be mounted
Offline
spoiler (to be done after mounting your root on /mnt/arch and before the chroot):
cd /mnt/arch
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
mount -t devpts pts dev/pts/Last edited by Terminator (2012-06-23 22:29:18)
Offline
When you chroot in you need to create the /proc dir for the chroot. Look at the chroot instructions on the wiki, they describe how to mount proc system. https://wiki.archlinux.org/index.php/Ch … nging_Root
Offline
spoiler (to be done after mounting your root on /mnt/arch and before the chroot):
cd /mnt/arch mount -t proc proc proc/ mount -t sysfs sys sys/ mount -o bind /dev dev/ mount -t devpts pts dev/pts/
yeah it works and I successfully repaired initrams
Offline
Quick tip if you're going to experiment more: rename your working initrd and add a new entry to your bootloader for it. Then you can always use the old initrd if something goes wrong with the new one.
Offline
Quick tip if you're going to experiment more: rename your working initrd and add a new entry to your bootloader for it. Then you can always use the old initrd if something goes wrong with the new one.
Yea thats a very good idea!
Offline