Grub Hard Disk Error On Centos
by: [ date ] [ grub hard disk error windows thread ] [ subject ] [ author ] I've grub hard disk error windows 7 got two pendrives. I want to install a Debian on them. RAID1. Ok... grub hard disk error redhat ... After I installed it in RAID1, it works perfectly, ok! :) When I pull out one of the pendrive [good pendrive], it still boots up, hurrah :) But: ... When I pull out the other pendrive [i plug in the first one i tried] it say's: GRUB hard disk error What can I do? I already tried: grub-install /dev/sdc <-that's the pendrive name [bios -> hard drive emulation=hard drive, not auto] or: # grub find /boot/grub/stage1 hd0,0 hd1,0 root (hd0,0) setup (hd0,0) etc. What's the solution? Please help me:\ I can't just dd the first 512 Byte of the "good pendrive", because the uuid is stored there. [needed for the sraid..] It gets to the grub, so it's not a ""boot-order problem"" How can I install grub to these two pendrives, so that if one of the pendrives die, it would still be a bootable system? Previous message: [CentOS] Building an install disk on a USB key, solved (again) Next message: [CentOS] GRUB Hard Disk Error Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the CentOS mailing list
no longer boots! Contents 1 Other titles for this same problem. 2 Rescatux 3 Windows Solution 4 Quick solution 5 Not So Quick solution 6 Classical solution 7 Advanced solution 8 Problematic solution 9 GRUB solution (on its own) 10 GRUB solution (Linux shell) 11 GRUB2 solution (on its own) 12 GRUB2 solution (Linux shell) (Recommended) 13 GRUB2 solution (Linux shell) (Maybe deprecated) 14 Tecnical explanation 15 One thing you should know 16 TIP 17 Problems? 18 External resources Other titles for this same problem. How do I restore GRUB? I have lost my GRUB, how do I find it again? I have reinstalled Windows and the Ubuntu selection menu is not there. Rescatux Please check the complete Wizard at: Wizard – Restore Grub with Rescatux Select Restore grub / Fix Linux Boot option and https://lists.centos.org/pipermail/centos/2010-May/094813.html click on OK button Select the partition where your main Linux is and click on OK button Select the hard disk where you want Grub to be installed (usually the first one) Grub was installed OK confirmation / Grub was not installed error will appear Windows Solution This is the less complicated and most easy solution for a Windows user. Please check: Auto Super Grub Disk. Quick solution GRUB => MBR & !LINUX! (1) AUTO ;-))) SGD fixes GRUB automagically for you and presents your grub http://www.supergrubdisk.org/wiki/Howto_Fix_Grub boot menu again. Not So Quick solution GRUB => MBR & !LINUX! (>2) MANUAL |8-) Choose the partition where the Linux GRUB you want to recover is located. Choose the partition where the Linux GRUB you want to boot is located. Classical solution Choose Language & HELP :-))) English Super Grub Disk Gnu/Linux Fix Boot of Gnu/Linux (GRUB) Choose the partition where the Linux GRUB you want to recover is located and SGD prompts you: SGD HAS SUCCEEDED. Advanced solution Sometimes the hard disk where you want to GRUB to be installed might not be the first one. If you want to install GRUB into a non-standard MBR you can choose: Super Grub Disk (WITH HELP) :-))) English Super Grub Disk Advanced Grub Restore Grub to MBR Restore Grub to MBR manually Select the partition where GRUB it is found (i.e. stage1 is found). Select the hard disk where you want GRUB installed to its MBR. Problematic solution Sometimes BIOS does not "show" Super Grub Disk's grub the correct hard disk boot order. It's even possible that SGD says that it's fixing grub ok and it actually fixes it but in the wrong hard disk. The hard disk that it is not the first one to boot. It's also possible that you try to boot your computer's Linux and you have some errors but when you boot normally it works without any problem. If you only have two hard disks from the quick menu choose: EASY LIVE SWAP and then try to Fix Grub another ti
Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software CentOS on USB... GRUB Hard Disk Error User Name Remember Me? Password Linux - Software This forum is for Software http://www.linuxquestions.org/questions/linux-software-2/centos-on-usb-grub-hard-disk-error-917978/ issues. Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing https://www.howtoforge.com/community/threads/raid-1-on-centos-wont-boot-with-1-drive-removed.38336/ 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 grub hard 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 grub hard disk 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 12-09-2011, 07:07 PM #1 ScorchPipe Member Registered: Sep 2010 Posts: 38 Rep: CentOS on USB... GRUB Hard Disk Error Hi I installed CentOS 5.7 on an USB stick today using netinstall from another USB stick. Installation worked fine and was successful. But when I try to boot from it I just get "GRUB Hard Disk Error" and nothing else. Boot priority is correct and I put GRUB on the correct drive during installation. Using a ZOTAC ZBOX SD-ID12. Anyone with a clue? I dont want to buy a hdd right now considering the prices. I
I have just installed a fresh copy of centos 5 and created raid 1 on 2 drives. Both my drives are 40gb but different brands. I successfully created raid 1 by following guides, which gave me this setup: RAID Devices /dev/md0 ext3 [check mark] 100 /dev/md1 swap [check mark] 1024 /dev/md2 ext3 [check mark] [remaining space] Hard Drives /dev/sda /dev/sda1 /dev/md0 software RAID [no check mark] 100 /dev/sda2 /dev/md1 software RAID [no check mark] 1024 /dev/sda3 /dev/md2 software RAID [no check mark] [remaining space] /dev/sdb /dev/sdb1 /dev/md0 software RAID [no check mark] 100 /dev/sdb2 /dev/md1 software RAID [no check mark] 1024 /dev/sdb3 /dev/md2 software RAID [no check mark] [remaining space] I also instelled grub on both drives. So everything is good the system is up and running, but I decide to test raid and unplug 1 of the drives, trying to boot only from the remaining 1. I get the grub screen, then centos startup but it gives me bad superblock, a few lines with directories that can't be found and finally a kernel panic. When i replug so both drives are on system boots fine. What am I doing wrong? I just want to make sure the system will be able to run if one drive fails. Thank you for any help guys! treeman, Aug 19, 2009 #1 falko Super Moderator ISPConfig Developer What's in /boot/grub/menu.lst? Did you try this guide? http://www.howtoforge.com/software-raid1-grub-boot-fedora-8 falko, Aug 20, 2009 #2 treeman New Member Thank you for the guide, I actually managed to get it going by getting some ideas from the link. The main thing that stuck out to me compared to the examples was the output from cat /proc/mdstat My output differed in this line md2 : active raid1 sda3[0] 4618560 blocks [2/1] [CHUNKS] instead of md2 : active raid1 sda3[0] 4618560 blocks [2/1] [U_] So i decided to reinstall and looks like its working now, I can boot from either hard drive after installing grub on both disks. The main culprits that I can think of are: 1. It was late at night and I might of kept the last raid device as raid0 (default) instead of raid1 2. I installed kernel crash support on the initial installation which was also quoted in menu.lst from grub. This time I did not install kernel crash support Now I am getting: Personalities : [raid1] md0 : active raid1 hdb1[1] hda1[0] 200704 blocks [2/2] [UU] md1 : active raid1 hdb2[1] hda2[0] 2048192 blocks [2/2] [UU] md2 : active raid1 hdb3[1] hda3[0] 36828928 blocks [2/2] [UU] Thanx for your help, and hope that somebody stuck in the same situation can get some in