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 11-21-2008, 05:02 AM   #1
rsatish8
LQ Newbie
 
Registered: Nov 2008
Posts: 2
Blog Entries: 4

Rep: Reputation: 0
Question help me (how to install grub)


i am using linux(redhat5) and xp(sp2) afer formating c: drive(reinstalling xp) i lost my grub file .then i boot with linux cd i done the following steps -->linux rescue --> #chroot /mnt/systemimage -->grub-install /dev/sda -->grub-->root (hd0,8) -->setup (hd0) -->quit --> startx --> in graphicalmode i found ramsfs on disktop i can not open terminal also. after rebooting (with out boot cd ) grub file is found and it is showing both linux and xp but i can not enter in to linux my vmlinuz &initrd.img files r missing please tell me the solution in screenshots or in comands

Last edited by rsatish8; 11-21-2008 at 05:04 AM.
 
Old 11-21-2008, 09:23 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,980

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
If, after re-installing Grub, you see the Grub boot menu but are unable to boot Linux because your vmlinuz and initrd files are missing, you have a bigger problem than Grub. The vmlinuz file (kernel) and initrd are accessed by Grub and Grub is done. You won't be able to boot without these two files. I would guess that they were deleted/moved (etc) somehow, during your format?

I guess the good news is that there is nothing wrong with Grub. You need to re-install the vmlinuz and initrd files from your Redhat. Use your Linux CD and enter 'grub' to get grub prompt (grub>), then enter commands:

find /vmlinuz
find /boot/vmlinuz

to see if the files are there and where they are. What is the output of 'fdisk -l' command? How many drives/partitions do you have?
 
Old 11-21-2008, 11:52 AM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Get a more recent version of Fedora (8+). Fedora 10 will be released on the 25th. Try Super Grub Disk
 
Old 11-22-2008, 07:24 AM   #4
rsatish8
LQ Newbie
 
Registered: Nov 2008
Posts: 2
Blog Entries: 4

Original Poster
Rep: Reputation: 0
Post tnk's

Quote:
Originally Posted by yancek;3349879hn
If, after re-installing Grub, you see the Grub boot menu but are unable to boot Linux because your vmlinuz and initrd files are missing, you have a bigger problem than Grub. The vmlinuz file (kernel) and initrd are accessed by Grub and Grub is done. You won't be able to boot without these two files. I would guess that they were deleted/moved (etc) somehow, during your format?

I guess the good news is that there is nothing wrong with Grub. You need to re-install the vmlinuz and initrd files from your Redhat. Use your Linux CD and enter 'grub' to get grub prompt (grub>), then enter commands:

find /vmlinuz
find /boot/vmlinuz

to see if the files are there and where they are. What is the output of 'fdisk -l' command? How many drives/partitions do you have?

replay
thankyou for giving replay

i have 12 partitions & how to install vmlinuz (after entering to grub i gave some commends before --->root (hd0,8) --->setup (hd0){iam geting /boot/grub/stage1 exits..... no} can u tell about this?
 
  


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 error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 11:29 AM
Grub - Does fedora automatically install a bootloader like grub? or... mitchell7man Linux - Software 10 05-09-2007 11:49 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 01:55 PM
Need to (re)install GRUB: fedora c4 rescue cd (and GRUB) unable to see the harddisk whencat Fedora 4 03-05-2006 03:01 PM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 02:06 PM


All times are GMT -5. The time now is 03: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