LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2006, 04:24 AM   #1
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Rep: Reputation: 15
[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.
 
Old 10-15-2006, 10:50 AM   #2
caffeinebot
Member
 
Registered: Feb 2004
Location: Lexington, MA
Distribution: Gen2
Posts: 39

Rep: Reputation: 15
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.
 
Old 10-16-2006, 03:01 AM   #3
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
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
 
Old 10-16-2006, 11:02 PM   #4
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
I will wait you answer.
 
Old 10-17-2006, 01:19 AM   #5
caffeinebot
Member
 
Registered: Feb 2004
Location: Lexington, MA
Distribution: Gen2
Posts: 39

Rep: Reputation: 15
Are you dual booting?
 
Old 10-17-2006, 03:58 AM   #6
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
What's the dual booting means?
 
Old 10-17-2006, 07:47 AM   #7
caffeinebot
Member
 
Registered: Feb 2004
Location: Lexington, MA
Distribution: Gen2
Posts: 39

Rep: Reputation: 15
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.
 
Old 10-17-2006, 10:09 AM   #8
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
When I typed the first command,it appeard imformations like this:
boot:chroot/mnt/sysimage
Could not find kernel image:chroot/mnt/sysimage
 
Old 10-17-2006, 10:38 AM   #9
caffeinebot
Member
 
Registered: Feb 2004
Location: Lexington, MA
Distribution: Gen2
Posts: 39

Rep: Reputation: 15
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
 
Old 10-17-2006, 11:42 PM   #10
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
Bad news!
I tried it ,but my grub configuration still hasn't been fixed.
So caffeinebot ,what I gona do?
 
Old 10-19-2006, 05:19 AM   #11
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
It really drive me crazy!
 
Old 10-19-2006, 08:07 AM   #12
caffeinebot
Member
 
Registered: Feb 2004
Location: Lexington, MA
Distribution: Gen2
Posts: 39

Rep: Reputation: 15
Are you running another operating system beside linux?
 
Old 10-19-2006, 08:31 AM   #13
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
Yes,Windows XP.
 
Old 10-20-2006, 12:30 PM   #14
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
Is that any problem?
 
Old 10-22-2006, 04:14 AM   #15
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
I find many grub passage but that didn't help me a lot.
where are you caffeinebot?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub "drive geom error" (unusual) Jottt Linux - Software 1 07-10-2005 05:57 PM
unusual problem with SSH varunbihani Linux - General 1 07-09-2005 02:57 AM
wireless unusual problem barrythai Mandriva 1 03-23-2005 10:22 PM
Unusual Keyboard Problem dave_starsky Slackware 2 10-12-2004 06:08 PM
Unusual Problem foxtrot0 Linux - Security 3 05-30-2004 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration