nerdexam
Red_Hat

RH302 · Question #38

Boot your System Successfully on runlevel 3. First When you restart the system you will get the Error: File Not Found mount: error 15 mounting ext3 mount: error 2 mounting none switchroot: mount…

If you encounter errors like 'File Not Found', 'mount: error 15 mounting ext3', 'mount: error 2 mounting none', 'switchroot: mount failed: 22', 'umount /initrd/dev/: 2', 'Kernel Panic: no syncing: Attempted to kill init !', follow these steps: 1. Restart the System and Check…

Troubleshooting

Question

Boot your System Successfully on runlevel 3. First When you restart the system you will get the Error: File Not Found mount: error 15 mounting ext3 mount: error 2 mounting none switchroot: mount failed: 22 umount /initrd/dev/: 2 Kernel Panic: no syncing: Attempted to kill init ! Restart the System Check the grub boot loader configuration by pressing e shortcut key.

Explanation

If you encounter errors like 'File Not Found', 'mount: error 15 mounting ext3', 'mount: error 2 mounting none', 'switchroot: mount failed: 22', 'umount /initrd/dev/: 2', 'Kernel Panic: no syncing: Attempted to kill init !', follow these steps:

  1. Restart the System and Check the grub boot loader configuration by pressing 'e' shortcut key. The desired GRUB entries should look like: root (hd0,0) kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/root rhgb quiet initrd /initrd-2.6.9-5.EL.img Edit all lines to match this. Press 'b' to boot the system.
  2. After booting the system, correct the /etc/grub.conf file permanently.
  3. If still you are getting Error like 'File not found', it seems that either the kernel file or initrd file is missing. To troubleshoot these problems, boot the system on rescue mode: i. linux rescue ii. chroot /mnt/sysimage iii. Check the files on /boot. If not available, install the kernel package from an ftp or nfs server. iv. Create the initrd image file on boot using: mkinitrd initrd-2.6.9-5.EL.img and 'uname -r'

Topics

#grub#kernel path#initrd#boot loader configuration

Community Discussion

No community discussion yet for this question.

Full RH302 Practice