CahitEy
asked on
Fedora urgent!!!!
I have made steps given below :
yum install gcc kernel-devel
Check the running kernel matches the kernel headers
uname -r # running kernel
rpm -q kernel-devel # installed kernel headers
If the two versions do not match, run
yum -y upgrade kernel kernel-devel
reboot
and then my fedora is not working anymore
it comes with grub> please helpppp
yum install gcc kernel-devel
Check the running kernel matches the kernel headers
uname -r # running kernel
rpm -q kernel-devel # installed kernel headers
If the two versions do not match, run
yum -y upgrade kernel kernel-devel
reboot
and then my fedora is not working anymore
it comes with grub> please helpppp
When it boots up, you should get an option to boot up to the previous kernel. Right at the beginning as soon as the Fedora Image appears there's normally a 3 or 5 second count down, if you interrupt that you should hopefully be able to select the previous kernel and boot up normally and then resolv the issue.
ASKER
nope only the grub screen
Hi,
Visit this http://www.linuxforums.org/forum/linux-tutorials-howtos-reference-material/6527-howto-solve-boot-problems-grub.html to solve your problem.
I hope this will help!
Visit this http://www.linuxforums.org/forum/linux-tutorials-howtos-reference-material/6527-howto-solve-boot-problems-grub.html to solve your problem.
I hope this will help!
ASKER
Check this out please
grub.png
grub.png
Hi,
To find stage1 file in fedora use following command at grub> prompt
grub> find /grub/stage1
and then follow the instructions mentioned in my previous post.
To find stage1 file in fedora use following command at grub> prompt
grub> find /grub/stage1
and then follow the instructions mentioned in my previous post.
Hi,
Output of above should look like this
grub> find /grub/stage1
find /grub/stage1
(hd0,0)
(hd1,0)
In my case there are two entries as i am having two different version of Linux installed, you may find only one entry.
Output of above should look like this
grub> find /grub/stage1
find /grub/stage1
(hd0,0)
(hd1,0)
In my case there are two entries as i am having two different version of Linux installed, you may find only one entry.
ASKER
it returned only hd(0,0)
What happens when you type
boot
on the grub prompt?
Next: your one and only partition seems to be (hd0,0), thus the kernel will reside relative to
(hd0,0)/boot
That is:
root (hd0,0)
would be right.
boot
on the grub prompt?
Next: your one and only partition seems to be (hd0,0), thus the kernel will reside relative to
(hd0,0)/boot
That is:
root (hd0,0)
would be right.
ASKER
error 8 : kernel must be loaded before booting
HI,
Actually its a bug and you check more details over here
https://bugzilla.redhat.com/show_bug.cgi?id=450143
The best solution for your problem is to re-install grub, as follows
1. Boot with 1 cd of OS.
2. on the prompt type
: linux rescue
3. Select language, networking options etc and finally after booting use
# chroot /mnt/sysimage
# grub-install /dev/hda ( use /dev/hda for ide or /dev/sda for sata)
# exit
# reboot
Actually its a bug and you check more details over here
https://bugzilla.redhat.com/show_bug.cgi?id=450143
The best solution for your problem is to re-install grub, as follows
1. Boot with 1 cd of OS.
2. on the prompt type
: linux rescue
3. Select language, networking options etc and finally after booting use
# chroot /mnt/sysimage
# grub-install /dev/hda ( use /dev/hda for ide or /dev/sda for sata)
# exit
# reboot
ASKER
I am using fedora over vmware and i mounted the iso but it still directly goes to grub screen
HI,
Recheck boot option in vmware, and vmware's bios available for linux vm, right now i dont have vmware installed on my system and hence cant chk the exact booting options, still i will try to recollect meanwhile just give a try I am sure that it boots from image also.
Recheck boot option in vmware, and vmware's bios available for linux vm, right now i dont have vmware installed on my system and hence cant chk the exact booting options, still i will try to recollect meanwhile just give a try I am sure that it boots from image also.
Hi,
Found this solution on the web http://pctechnow.blogspot.com/2008/01/vmware-how-to-boot-from-iso-image-to.html
Found this solution on the web http://pctechnow.blogspot.com/2008/01/vmware-how-to-boot-from-iso-image-to.html
ASKER
i am checking also please find me a way all my sites down :(
ASKER
This works on irst installationf of guest os
Hi,
I dont think so, It should work later also, try once again and when it will boot from the image at the first installation screen where you use to hit enter to begin installation, on that prompt instead of hitting enter you need to type
:linux rescue
and then hit enter
I dont think so, It should work later also, try once again and when it will boot from the image at the first installation screen where you use to hit enter to begin installation, on that prompt instead of hitting enter you need to type
:linux rescue
and then hit enter
Hi,
Otherwise download rescue cd for your fedora version and burn it if it is very urgent.
Otherwise download rescue cd for your fedora version and burn it if it is very urgent.
ASKER
i have opened now in live mod there was no rescue opt. like cent os i will check from terminal
ASKER
do you know how could i open in rescue mode on fedora12
HI,
When you boot from the cd there may be a menu and you need to select rescue mode from that menu.
When you boot from the cd there may be a menu and you need to select rescue mode from that menu.
You must boot your vmware off the fedora cd. this is either the the real cd/dvd drive connected to your system or an iso image of the fedora cd.
you can configure vmware to use the cd (image).
you can configure vmware to use the cd (image).
ASKER
check this :(
fd.png
fd.png
Hi,
Also have look at "16.2.1. Reinstalling the Boot Loader" mentioned in above URL
Also have look at "16.2.1. Reinstalling the Boot Loader" mentioned in above URL
ASKER
i could not open rescue mode :(
ASKER
the problem there is no boot prompt
boot from installation cd Fedora-12-i386-DVD.iso or Fedora-12-x86_64-DVD.iso
chose rescue existing system
chose rescue existing system
Hi,
I think you are using Live cd instead of Disc 1 of fc12 download it from here.
http://fedoramirror.hnsdc.com/releases/12/Fedora/i386/iso/Fedora-12-i386-disc1.iso
I think you are using Live cd instead of Disc 1 of fc12 download it from here.
http://fedoramirror.hnsdc.com/releases/12/Fedora/i386/iso/Fedora-12-i386-disc1.iso
ASKER
I am downloading now i will check in ten minutes
ASKER
I have downloaded and do the things given on the site i think we are on the right way please write me an email cahit.eyigunlu @ gmail.com i will send you my remote desktop admin info please check for me it will be complete in a little trick in my opinion
Hi,
But in my opinion you should not give control of your system to anybody (Including me) as it may not secure also it might be against the policies of Expert Exchange.
Just give a try man, im here to help you out! Dont worry. Its not that difficult.
But in my opinion you should not give control of your system to anybody (Including me) as it may not secure also it might be against the policies of Expert Exchange.
Just give a try man, im here to help you out! Dont worry. Its not that difficult.
ASKER
i have got an email is not that you ?
ASKER
no problem for one time i was using ee for a long time as a premium
ASKER
ok then please check this out i have complete the steps as given below but when i restart server it still comes to grub
fd.png
fd.png
Hit enter
# chroot /mnt/sysimage
# grub-install /dev/hda ( use /dev/hda for ide or /dev/sda for sata)
# exit
# reboot
# chroot /mnt/sysimage
# grub-install /dev/hda ( use /dev/hda for ide or /dev/sda for sata)
# exit
# reboot
ASKER
I have this screen but still returns to the grub :(
fd.png
fd.png
Now review file "/boot/grub/grub.conf" if it looks fine type reboot.
ASKER
grub.conf is empty :S
Past output of following cmds here
# fdisk -l
# ls /boot
# fdisk -l
# ls /boot
can you do a ls of /boot/grub/
and see what files are in there
and see what files are in there
Paste output of following cmds here
# fdisk -l
# ls -R /boot
# fdisk -l
# ls -R /boot
ASKER
Is /boot returns command not found
and fdisk -l result as given below
i am so sorry i take your so much time but i am very very pleasure for your help
fd.png
and fdisk -l result as given below
i am so sorry i take your so much time but i am very very pleasure for your help
fd.png
ASKER
# ls -R /boot result
fd.png
fd.png
Hi,
R u sure your grub.conf is empty, try
# cat /boot/grub/grub.conf
R u sure your grub.conf is empty, try
# cat /boot/grub/grub.conf
ASKER
nothing returned and i checked with vi still empty
if grub.conf is emty you can make one with vi
change the vmlinuz and initrd of this file in the last good working kernel version
in this example and it should work
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,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_harryf edora11-lv _root
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=0
splashimage=(hd0,0)/grub/s plash.xpm. gz
hiddenmenu
title Fedora (2.6.30.10-105.2.4.fc11.x8 6_64)
root (hd0,0)
kernel /vmlin
uz-2.6.30.10-105.2.4.fc11. x86_64 ro root=/dev/mapper/vg_harryf edora11-lv _root rhgb quiet
initrd /initrd-2.6.30.10-105.2.4. fc11.x86_6 4.img
title Fedora (2.6.30.10-105.fc11.x86_64 )
root (hd0,0)
kernel /vmlinuz-2.6.30.10-105.fc1 1.x86_64 ro root=/dev/mapper/vg_harryf edora11-lv _root rhgb quiet
initrd /initrd-2.6.30.10-105.fc11 .x86_64.im g
"grub.conf" 21L, 874C
change the vmlinuz and initrd of this file in the last good working kernel version
in this example and it should work
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,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_harryf
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=0
splashimage=(hd0,0)/grub/s
hiddenmenu
title Fedora (2.6.30.10-105.2.4.fc11.x8
root (hd0,0)
kernel /vmlin
uz-2.6.30.10-105.2.4.fc11.
initrd /initrd-2.6.30.10-105.2.4.
title Fedora (2.6.30.10-105.fc11.x86_64
root (hd0,0)
kernel /vmlinuz-2.6.30.10-105.fc1
initrd /initrd-2.6.30.10-105.fc11
"grub.conf" 21L, 874C
Hi,
Also i do understand your situation man, i am also working on your problem just to help u out as early as possible and not just to earn the points, i could earn point by providing solution on other questions rather than spending much time on single problem!
Im also a sys and storage admin and i very well understand the ur pressure in such situations!
Also i do understand your situation man, i am also working on your problem just to help u out as early as possible and not just to earn the points, i could earn point by providing solution on other questions rather than spending much time on single problem!
Im also a sys and storage admin and i very well understand the ur pressure in such situations!
ASKER
I wrote the grup.conf and this is the final which one do i select ?
fd2.png
fd2.png
ASKER
i tryed both and the image adresses are wrong in my opinion where could i find the img adresses ?
Hi,
That file is of fc11 and it may not work directly, you need to change according to your environment specially following entries
root (hd0,0)
kernel /<ur-image> ro root=< ur root part.>
initrd /i<ur initrd image>
That file is of fc11 and it may not work directly, you need to change according to your environment specially following entries
root (hd0,0)
kernel /<ur-image> ro root=< ur root part.>
initrd /i<ur initrd image>
Hi,
Correct image names are in ur screen shots provided earlier.
Correct image names are in ur screen shots provided earlier.
ASKER
i found this 2 ->
initfarms-2.6.32.9-70.fc12 .i686.img
initfarms-2.6.31.5-127.fc1 2.i686.img
and it returned me error 19 : linux kernel must be loaded before initrd
for both selection
initfarms-2.6.32.9-70.fc12
initfarms-2.6.31.5-127.fc1
and it returned me error 19 : linux kernel must be loaded before initrd
for both selection
can you give a screen shot of your grub.conf now ?
ASKER
ASKER
The last problem encounter by this line in my opinion :
kernel /vmlin
uz-2.6.30.10-105.2.4.fc11. x86_64 ro root=/dev/mapper/vg_harryf edora11-lv _root rhgb quiet
kernel /vmlin
uz-2.6.30.10-105.2.4.fc11.
you should have this
title Fedora (good)
root (hd0,0)
kernel /vmlinuz-2.6.31.5-127-.fc1 2.i686 ro root=/yourdevice rhgb quiet
initrd /initrd-2.6.31.5-127-.fc12 .i686.img
yourdevice you can see with the command lvm lvdisplay
title Fedora (good)
root (hd0,0)
kernel /vmlinuz-2.6.31.5-127-.fc1
initrd /initrd-2.6.31.5-127-.fc12
yourdevice you can see with the command lvm lvdisplay
ASKER
i also install fedora 12 to my system on another vm and i get grub.conf :
default=0
timeout=0
splashimage=(hd0,0)/grub/s plash.xpm. gz
hiddenmenu
title Fedora (2.6.31.5-127.fc12.i686)
root (hd0,0)
kernel /vmlinuz-2.6.31.5-127.fc12 .i686 ro root=/dev/mapper/vg_lin-lv _root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=trq rhgb quiet
initrd /initramfs-2.6.31.5-127.fc 12.i686.im g
but that is not solved :(
default=0
timeout=0
splashimage=(hd0,0)/grub/s
hiddenmenu
title Fedora (2.6.31.5-127.fc12.i686)
root (hd0,0)
kernel /vmlinuz-2.6.31.5-127.fc12
initrd /initramfs-2.6.31.5-127.fc
but that is not solved :(
ASKER
how could i find the kernel sourcs
this part :
kernel /vmlinuz-2.6.31.5-127.fc12 .i686
because i tryed on the grab it returnd me file not found
this part :
kernel /vmlinuz-2.6.31.5-127.fc12
because i tryed on the grab it returnd me file not found
under /boot see picture above
ASKER
ASKER
I found that :
I wrote kernel/vmlinuz
but it must be kernel /vmlinuz
now it returns no error but stays on black screen with only one dot ?
I wrote kernel/vmlinuz
but it must be kernel /vmlinuz
now it returns no error but stays on black screen with only one dot ?
ASKER
last screen
sss.png
sss.png
Take a moment to clear it all up by using the find command at that grub> prompt to locate the boot partition and see what GRUB is naming it. Example...
grub> find /grub/stage1
grub> find /grub/stage1
ASKER
i am not able to return grub now but it wrote hd0,0
what do you mean can not return to grub ?
can' t you press esc
grub> find /grub/stage0
gives ?
grub> find /grub/stage1
gives ?
can' t you press esc
grub> find /grub/stage0
gives ?
grub> find /grub/stage1
gives ?
ASKER
for both of them error 15 file not found :(:(:(:(
you need to change root (hd0,0)
if i see it right you have 3 hard disks
do a fdisk -l
to see from wich partition and hard disk you boot
if i see it right you have 3 hard disks
do a fdisk -l
to see from wich partition and hard disk you boot
ASKER
it is already root (hd0,0)
and i have only one hdd :(
and i have only one hdd :(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have installed all system from the begining thanks to god my customers have their backups :D
and now i am getting daily backup of Vm disk
Thanks for your attention
and now i am getting daily backup of Vm disk
Thanks for your attention