PDA

View Full Version : grub only a command line now after fc3 to fc5


storlied
22nd March 2006, 08:17 AM
Help!!
The upgrade went smooth from my FC3 x64... to FC5 x64... but when I restarted after the update was complete... and grub starts... I only get a command line...
HELP!

storlied
22nd March 2006, 08:40 AM
please someone help...

caspervn
22nd March 2006, 10:31 AM

could you post your grub.conf file ? ( /boot/grub/grub.conf)

storlied
22nd March 2006, 10:48 AM
how would i get it?

storlied
22nd March 2006, 10:49 AM
im stuck at a grub command line....can't get anything... it's like
Grub>
or sumthin.... how do i fix this... omg

caspervn
22nd March 2006, 11:04 AM
ok, You need cd 1 of fedora. Boot from cd, type "linux rescue" when it wait for you type command
Then you type "cat /boot/grub/grub.conf" and copy its content in here. People will help you because i don't know much about grub command :)

ukp
22nd March 2006, 11:05 AM
When I had the same problem recently what did it for me was basically this:
grub> find /boot/grub/stage1
Hopefully returns something like:
(hd0,1)
Then set the root:
grub> root (hd0,1)
and finally
grub> boot

This should do it if you don't have some "exotic" partitioning scheme - in which case I can't help much more... (see the link below)

I got the info (along with a load of explanations) here: http://www.linuxforums.org/forum/linux-tutorials-howtos-reference-material/6527-howto-solve-boot-problems-grub.html

Good luck
Cheers

storlied
22nd March 2006, 11:05 AM
dif problem now, i guess the comp was booting the wrong drive... wrong grub install... anyways, now i got grub workin but when it selects fedora... it says.... filetype unknown... type 0x7
couldnt mount selected partition............now what do i do?

caspervn
22nd March 2006, 11:17 AM
This is my grub.conf
default=0
timeout=3
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.12)
root (hd0,7)
kernel /boot/vmlinuz-2.6.12 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.12.img

The red text is important. If you set wrong partition root (/), linux can't boot.

it says.... filetype unknown... type 0x7
It said this because your partition's not content /boot /etc /lib ... (root partition) or it's not ext2 file system. You should know what name of root partition.
Because my English is poor so i can't help you go to far anymore, sorry :(

storlied
22nd March 2006, 11:25 AM
Alright, I got it fixed... changed 1,0 to 0,0 as suggested in different post... everything is working.. and I must say... FC5 is Awesome. I'm waiting for nvidia though...