[B]A unusual grub problem[/B]
Hello,all.
These day ,Imet a problem. One day,when I start my PC,I found it enter into a grub command line.Then I used the fdisk /mbr in dos to unintall grub.And then reinstall the Fc5 x86_64.After a few use ,I met the same problem. I did use the FC-5-x86_64-rescuecd.iso.And I found that /boot/grub/menu.lst was blank. I have try some methods but it did't help. |
Firstly, I donīt know if fedora creates a whole new boot partition and installs the kernel there, and mounts the directory or if it just instals the kernel in /boot directory (anyone else know the answer to this?)
Regardless if you used the rescue disc, are you sure that you didnīt look in the rescue disks grub/menu.lst file? When you boot into the rescue disc Show me the output of: $mount - I find it surprising that something is writing over your menu.lst because.. that shouldnīt happen. |
Hi,caffeinebot
I recorded the imformation,I hope you can help me: sh-3.1#mount /proc on/proc type proc(rw) /dev on/dev type tmpfs(rw) /dev/pts on/dev/pts type devpts(rw) /sys on/sys type sysfs(rw) none on /tmp type ramfs(rw) none on /tmp type/ramfs type ramfs(rw) /proc/bus/usb on/proc/bus/usb type usbfs(rw) /tmp/loop0 on/mnt/runtime type squashfs(ro) /selinux on/selinux type selinuxfs(rw) /dev/sda9 on/mnt/sysimage type ext3(rw,data=ordered) /tmp/proc on/mnt/sysimage/proc type proc(rw) /tmp/sys on /mnt/sysimage/sys type sysfs(rw) /dev on /mnt/sysimage/dev type tmpfs(rw) /selinux on/mnt/sysimage/selinux type selinuxfs(rw) sh-3.1#vi /boot/grub/menu.lst That's the imformation,can you tell me what to do? Thank you, snowball0916 |
I will wait you answer.
|
Are you dual booting?
|
What's the dual booting means?
|
Are you running another operating system alongside grub?
Regardless, try: Booting from the FC5 disc Entering the linux resuce mode F(5) At the prompt: type chroot /mnt/sysimage At the prompt that follows type grub-install --recheck Then restart and see if your grub configuration has been fixed. |
When I typed the first command,it appeard imformations like this:
boot:chroot/mnt/sysimage Could not find kernel image:chroot/mnt/sysimage |
Sorry, I should clarify further:
Boot from the FC5 disc Enter the linux resuce mode F(5) At the first prompt where it asks you for a particular type of kernel, just use the default by pressing enter. Now try: At the system (not boot) prompt: type chroot /mnt/sysimage At the system prompt that follows type grub-install --recheck Then restart and see if your grub configuration has been fix |
Bad news!
I tried it ,but my grub configuration still hasn't been fixed. So caffeinebot ,what I gona do? |
It really drive me crazy!
|
Are you running another operating system beside linux?
|
Yes,Windows XP.
|
Is that any problem?
|
I find many grub passage but that didn't help me a lot.
where are you caffeinebot? |
All times are GMT -5. The time now is 07:38 AM. |