LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-09-2011, 04:28 AM   #1
linuxwhacko
Member
 
Registered: Dec 2010
Posts: 61

Rep: Reputation: Disabled
unable to access fedora from grub command line


i recently did some changes to my hard disk partiton
and now linux is in hd0,6

when i booted my pc,i got the grub commmand line interface
so,I think that i need to edit grub.conf in fedora 14
then at cmd i did this:

grub> root (hd0,6)
grub> kernel (hd0,6)/vmlinuz
file not found

now what to do ?

Fedora
Release 14(laughlin)
Kernel linux 2.6.35.10-74.fc14.i686
Gnome 2.32.0

windows7+fedora 14

Last edited by linuxwhacko; 02-09-2011 at 04:33 AM.
 
Old 02-09-2011, 04:34 AM   #2
prodev05
Member
 
Registered: Jul 2009
Location: Planet Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
Your entry is wrong. It should be link the below mentioned.

grub> root(hd0,1)
grub> kernel /boot/vmlinuz.x.y.z ro root=/ // Once entered you will get the Hex value This will load the kernel
grub> initrd /boot/initrd.x.y.z.img // Once entered you will get the Hex value This will extract the symbol table and others
grub> boot This will boot the operating environment

if this works. Append the same entry in the grub.conf
 
Old 02-09-2011, 08:09 AM   #3
linuxwhacko
Member
 
Registered: Dec 2010
Posts: 61

Original Poster
Rep: Reputation: Disabled
i tried your method prodev05 but doesn't seem to work
so ,i tried this:

root (hd0,6)
kernel /boot/vmlinuz-2.6.35.10-74.fc14.i686 ro root=/dev/sda7
boot

the fedora 14 started
then,i edited the grub.conf file located in /boot/grub/grub.conf
and changed the entry to hd0,6

#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,5)
# kernel /boot/vmlinuz-version ro root=/dev/sda6
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.10-74.fc14.i686)
root (hd0,6)
kernel /boot/vmlinuz-2.6.35.10-74.fc14.i686 ro root=UUID=c8b581f6-32ad-4957-9ba5-f4ae05720c44 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.35.10-74.fc14.i686.img
title Fedora (2.6.35.6-45.fc14.i686)
root (hd0,6)
kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=c8b581f6-32ad-4957-9ba5-f4ae05720c44 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM
LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
nomodeset
initrd /boot/initramfs-2.6.35.6-45.fc14.i686.img
title Other
rootnoverify (hd0,1)
chainloader +1



and then rebooted

still i get the grub command line interface

what shall i do to get the gui interface ?

Last edited by linuxwhacko; 02-09-2011 at 08:58 AM. Reason: update
 
Old 02-11-2011, 11:18 PM   #4
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

Rep: Reputation: 56
From what you describe it sounds like your kernel isn't being found.

Try the following at the grub command prompt
Code:
find /boot/vmlinuz-2.6.35.10-74.fc14.i686
If grub finds it, the command will return (hdX,P) where X is the harddrive number and P the partition number.

If it is not found we'll need to take a closer look at how your hard drive is partitioned. One possibility, if you have a separate boot partition use the find command without /boot in front of the kernel file name. Also are you certain of the UUID on the root partition? You can locate that using the tune2fs command.
 
  


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
[SOLVED] Fedora 11 can not enter GUI but via grub command line it can start normally hh3755 Linux - Newbie 1 11-10-2009 05:27 AM
Unable to boot into GRUB loader: GRUB command shell boots up: urgent issue wombat53 Linux - Software 9 09-04-2009 06:20 AM
fedora dual boot goes to grub command line jaus10 Linux - Newbie 1 01-27-2009 06:17 PM
Unable to start x from command line kipslife Linux - Newbie 6 12-29-2008 02:46 AM
Command line 'dictionary' access command. swiadek Linux - Software 3 02-23-2006 08:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:58 AM.

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
Open Source Consulting | Domain Registration