initrd and rescue mode Centos
Hi there,
I have a problem booting my Centos installation for testing.
I've edit the grub.conf file and edit the line root=LABEL/ to root=/dev/sda4.
I also edit my fstab to point de / partition to /dev/sda4.
then I also renamed my initrd in /boot to initrd-<kernel-version>.img.org.
I would like to fix this problem, so i boot in rescue mode.
Linux cannot mount my image, so the only directories i have in /mnt/sysimage is boot, proc and sys.
I am able to modify the grub.conf, but not my fstab. Also I cannot make a new initrd with mkinitrd command (command not found).
How can i make a new initrd file again to be able to boot my pc?
thanks
|