Error 27 Unrecognized Command Grub Gentoo
Contents |
? Ask a question, help others, and get answers from the community Discussions Start a thread and discuss today's topics with top experts Blogs Read the latest tech blogs written by experienced community members >>VIEW ALL POSTS Open Source Software and Linux « Troubleshooot your Linux boot grub error 27 unrecognized command process with GRUB Netbooks, Notebooks, Windows and Linux » Sep 13 2008 12:26AM GMT Grub grub ls error 27 unrecognized command and boot errors John Little Profile: Xjlittle Tags: Thanks! We'll email youwhen relevant content isadded and updated. Following Follow Storage If you've administered error 27 unrecognized command grub centos or customized Linux long enough you've no doubt created a situation at some point where, during the boot process, that GRUB throws an error. We're going to discuss some of these situations below along with ways to work through them. grub filesystem type unknown If a file name or partition in the GRUB configuration file is incorrect GRUB won't be able to find critical files such as the Linux kernel. For instance if the root directive points to something other than the /boot directory GRUB will throw one of the following errors:
Error 17: Cannot mount selected partition
Error 27: Unrecognized command
Error while parsing number
Cannot mount selected partition
If the GRUB configuration file is completely
Error 8 Kernel Must Be Loaded Before Booting
missing you will see the following:
grub>
If you find yourself at this prompt you can find a list of available commands by hitting the tab key. The first thing that you are going to want to do in any of these cases is check and make sure that your root directive is correct. To do this, at the grub prompt, use the find command to locate the GRUB configuration file. Your search would begin something like this:
grub> find (hd0,0)/grub/grub.conf
where hd0,0 is the 1st hard disk and the 1st partition on the hard disk. Repeat the process using the various partitions on the 1st disk (hd0,1 hd0,2) and so on until you find the configuration file. If the partition is not found you will get an error:
Error 15: File not found
Once you have found the GRUB configuration file check it's location against what the boot loader is showing. You can check the contents of the file by using the cat command:
grub> cat (hd0,0)/grub/grub.conf
Another way to find the same information is to locate the stage1 boot loader file:
grub> find /grub/stage1
You will see output specifying the /boot partition:
(hd0,0)
Perhaps the most simple way to get this information is to simply type root at the prompt:
grub>root
(hd
Post #1 of 7 (69 views) Permalink grub,sata,savedefault and error 27 Hi group I tryed to make config file
Grub Legacy Commands
for grub to migrate from centos to gentoo, and even once grub list disks it booted with saved I think. Some how it booted fith entry in config file... centos doesn't error 15 file not found have grub-set-default so I ran grub, loaded configfile and gave command savedefault 4... I don't remember what else I have done but grub booted gentoo :D after I added: http://itknowledgeexchange.techtarget.com/linux-lotus-domino/grub-and-boot-errors/ default saved fallback 0 and to new, the only 'title' title gentoo root (hd0,0) kernel /bzImage root=/dev/sdb2 savedefault fallback and it doesn't boot. I haven't got remote console so technicans had to do something. They booted kernel from grub prompt. Then I ran grub from bash configfile (hd0,0)/grub/grub.conf and I tryed to "boot" my kernel. GRUB showed http://www.gossamer-threads.com/lists/gentoo/user/116844 savedefault fallback Error 27: Unrecognized command ...or something like that :) Is it related to SATA or is it a bug in GRUB? Now after deleting all entrys related to save it does not boot either. SATA chipset is ICH7 what can I do? Will LILO handle SATA disk? Offcourse (hd0,0) is /dev/sda1 and /boot. -- gentoo-user [at] gentoo mailing list bigfish at asmallpond Dec27,2005,11:48AM Post #2 of 7 (70 views) Permalink Re: grub,sata,savedefault and error 27 [In reply to] On 12/27/05, capsel <capsel [at] gmail> wrote: > title gentoo > root (hd0,0) > kernel /bzImage root=/dev/sdb2 > savedefault fallback Can you post the full contents of your grub.conf/menu.lst. That might help... > and it doesn't boot. I haven't got remote console so technicans had to > do something. They booted kernel from grub prompt. Then I ran grub > from bash > > configfile (hd0,0)/grub/grub.conf > > and I tryed to "boot" my kernel. GRUB showed > > savedefault fallback > > Error 27: Unrecognized command > > ...or somethin
Today's Posts Advanced Search Find the answer to your Linux question: Entire Site Articles Downloads Forums Linux Hosting Forum Your Distro Ubuntu Linux grub repair If this is your first visit, be sure to check out the http://www.linuxforums.org/forum/ubuntu-linux/91700-grub-repair.html FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection http://www.linuxquestions.org/questions/linux-newbie-8/grub-17-error-697897/ below. ** If you are logged in, most ads will not be displayed. ** Linuxforums now supports the Tapatalk app for your mobile device. Page 1 of 2 1 2 Last Jump to page: Results 1 to error 27 10 of 12 Thread: grub repair Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Enjoy an ad free experience by logging in. Not a member yet? Register. 04-16-2007 #1 R3N3G4D3 View Profile View Forum Posts Private Message View Articles Just Joined! Join Date Apr 2007 Posts 12 grub repair I have Windows and Ubuntu installed on my laptop as dualboot. error 27 unrecognized The way the partition table was setup is: hda1 = Windows XP (primary) hda2 = Unused (primary) hda3 = Extended hda5 = Ubuntu / (Logical inside hda3) hda6 = Ubuntu swap (Logical inside hda3) hda7 = NTFS storage partition (Logical inside hda3) Everything was working fine, until Windows corrupted itself. After reinstalling Windows, it got rid of grub MBR, so now only Windows can boot up. I've looked at several fixes online, but none seem to work for me. Here is what I tried and results I got: 1.) With Gentoo CD tried "mkdir dummydir", "mount /dev/hda3 dummydir", after this I went into dummydir and it did indeed contain the stuff from hda5 (Ubuntu root directory) (also, mounting /dev/hda5 gives an error saying that I need to specify partition type, using -t ext3 says that it's a logical partition and I want to mount extended one instead, which is why I mounted /dev/hda3). After this I tried "chroot dummydir", which changed me to root@livecd. And then I tried using "grub-install /dev/hda" which gave me and error: "/dev/hda: Not found or not a block device. So then instead of that I launched grub and tried "root (hd0, 4)" (since that should correspond to /dev/hda5, also (hd0, 4) is what /boot/grub/menu.lst claims as my Ubuntu partition), however, that command gave me "Error 21: Sele
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie Grub 17 Error?? User Name Remember Me? 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 Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 01-17-2009, 02:29 AM #1 linuxshadow LQ Newbie Registered: Jun 2008 Posts: 18 Rep: Grub 17 Error?? I have never been successful in getting out of this issue ever. Ubuntu 7.04 was running on my Machine with Win Xp. Suddenly yesterday I see GRUB 17 Error. Code: ubuntu@ubuntu:/boot$ sudo fdisk -l omitting empty partiti