How can i fix Grub loading Stage 2 errors in FC 6
i download linux-2.6.19 package.
I try to Recompile it. When i boot "new kernel" i got following errors "mounting root filesystem mount: could not found the file system '/dev/root' setting up other filesystems setting up new root fs setuproot: moving /dev failed: No such file or directory no fatab.sys, mounting internal defualts setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory switching to new root unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed : No such file or directory kernel panic - not syncing: attempted to kill init!" THIS IS MY GRUB.CONF file # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,4) # kernel /vmlinuz-version ro root=/dev/sda6 # initrd /initrd-version.img #boot=/dev/sda default=1 timeout=10 splashimage=(hd0,4)/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.18-1.2798.fc6) root (hd0,4) kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.18-1.2798.fc6.img title Other rootnoverify (hd0,0) chainloader +1 title Fedora Core (2.6.192.6.19-rc2-git4) root (hd0,4) kernel /vmlinuz-2.6.192.6.19-rc2-git4 ro root=/dev/sda6 initrd /initrd-2.6.192.6.19-rc2-git4.img Please send the solution |
Your default is the 'Other' and there is no 'Other'. See the stuff in red below. GRUB starts counting at 0, not 1. Change the default to 0 to use the old kernel or 2 to use the new kernel. Alternately, delete the 'Other' stuff (in red), then your new kernel will be the default kernel. Also, comment out the hiddenmenu line (put a # in front) so you can choose the kernel to use, not RedHat.
Quote:
|
Moved: This thread is more suitable in Fedora and has been moved accordingly to help your thread/question get the exposure it deserves.
|
I think "root=/dev/sda6" is probably wrong. When the grub screen comes up press "e" for edit then try editing that line. first thing I'd try is copy the old kernel entry ie "root=LABEL=/".
hit b for boot and see what hapens. If that works modify grub.conf accordingly, otherwise change sda6 to 5 or 7 and again see what hapens. If you can access the HD some other way and use fdisk -l you can be a bit more scientific, and check what partion root is. |
All times are GMT -5. The time now is 07:39 PM. |