Home > grub hard > grub hard disk error raid

Grub Hard Disk Error Raid

HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software GRUB hard disk error on fresh ubuntu RAID install User Name Remember Me? Password Linux - Software This forum is for Software 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 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 rece

the mirroring between two drives. Then one of the drives fail (which they eventually will), here is how you fix it: I have taken info from these pages for this blog post: http://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array http://blog.mydream.com.hk/howto/linux/howto-reinstall-grub-in-rescue-mode-wh… In this example I have two hard drives, /dev/sda and /dev/sdb, with the partitions /dev/sda1 and /dev/sda2 as well as /dev/sdb1 and /dev/sdb2. /dev/sda1 and /dev/sdb1 make up the RAID1 array /dev/md0. /dev/sda2 and /dev/sdb2 make up the RAID1 array /dev/md1. /dev/sda1 + /dev/sdb1 = /dev/md0 /dev/sda2 + /dev/sdb2 = /dev/md1 /dev/sdb has failed, and we want to replace it. First of all: ‘cat /proc/mdstat' http://www.linuxquestions.org/questions/linux-software-2/grub-hard-disk-error-on-fresh-ubuntu-raid-install-616960/ is your friend - it will show you the status of your raid during the whole process. In the output from ‘cat /proc/mdstat' you will see an (F) behind a failed device, or it will be missing alltogether. First, fail and remove the failed device(s): mdadm -manage /dev/md0 -fail /dev/sdb1 mdadm -manage /dev/md0 -remove /dev/sdb1 Repeat for other MD-devices containing sdb-parts. Now the output from ‘cat /proc/mdstat' should only https://mortencb.wordpress.com/2012/10/04/fixing-drive-failure-when-using-mdadmraid1-on/ contain parts from sda. Power down, change the drive, and turn it back on. To make the same partitions on sdb as you have on sda, do this: sfdisk -d /dev/sda | sfdisk /dev/sdb ‘fdisk -l' should now show the same partitions on sda and sdb. Next, add the proper parts from sdb to the relevant md-device. So if md0 contains sda1, do this: mdadm -manage /dev/md0 -add /dev/sdb1 Repeat for all md-devices so you have the same parts from sda and sdb in all of them. Check with ‘cat /proc/mdstat'. Let is sync back up (check with ‘watch -n 10 cat /proc/mdstat' until it finishes). Now, fix grub: grub grub>root (hd0,0) grub>setup (hd0) If you're unlucky and can't' boot because the wrong device is first (trying to boot from the clean/new hard drive), follow these steps: First boot into a live cd with your os. Then activate the RAID: 1) mkdir /etc/mdadm 2) mdadm -examine -scan > /etc/mdadm/mdadm.conf 3) mdadm -A -scan Then reinstall grub. In this example, you have /boot on md0 and / on md1: 1) mkdir /mnt/sysimage 2) mount /dev/md1 /mnt/sysimage 3) mount -o bind /dev /mnt/sysimage/dev 4) mount -o bind /proc /mnt/sysimage/proc 5) chroot /mnt/sysimage /bin/bash 6) mount /dev/md

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 http://grokbase.com/t/centos/centos/105nrdc951/grub-hard-disk-error the other pendrive [i plug in the first one i tried] itsay's:GRUB hard disk errorWhat can I do?I already tried:grub-install /dev/sdc <-that's the pendrive name [bios -> hard driveemulation=hard drive, not auto]or:# http://serverfault.com/questions/612529/linux-raid-1-how-to-make-a-secondary-hd-boot grubfind /boot/grub/stage1hd0,0hd1,0root (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 theuuid is stored there. [needed for the sraid..]It gets to the grub hard grub, so it's not a ""boot-order problem""How can I install grub to these two pendrives, so that if one of thependrives die, it would still be a bootable system? reply Tweet Search Discussions Search All Groups centos 4 responses Oldest Nested Phil Schaffner This is the CentOS list. ... Does "etc." mean you installed GRUB on (hd1) as well? Did you do that before you grub hard disk started yanking devices? Phil Schaffner at May 21, 2010 at 4:43 pm ⇧ Jozsi Vadkan wrote on 05/21/2010 12:29 PM:I've got two pendrives.I want to install a Debian on them. RAID1.This is the CentOS list....I already tried:grub-install /dev/sdc <-that's the pendrive name [bios -> hard driveemulation=hard drive, not auto]or:# grubfind /boot/grub/stage1hd0,0hd1,0root (hd0,0)setup (hd0,0)etc.Does "etc." mean you installed GRUB on (hd1) as well? Did you do thatbefore you started yanking devices? reply | permalink Jozsi Vadkan yes, i tried to install it to hd1,0 too. 2010. 05. 21, p?ntek keltez?ssel 12.43-kor Phil Schaffner ezt ?rta: Jozsi Vadkan at May 22, 2010 at 3:41 pm ⇧ yes, i tried to install it to hd1,0 too.2010. 05. 21, p?ntek keltez?ssel 12.43-kor Phil Schaffner ezt ?rta:Jozsi Vadkan wrote on 05/21/2010 12:29 PM:I've got two pendrives.I want to install a Debian on them. RAID1.This is the CentOS list....I already tried:grub-install /dev/sdc <-that's the pendrive name [bios -> hard driveemulation=hard drive, not auto]or:# grubfind /boot/grub/stage1hd0,0hd1,0root (hd0,0)setup (hd0,0)etc.Does "etc." mean you installed GRUB on (hd1) as well? Did you do thatbefore you started yanking devices?_______________________________________________CentOS mailing listCentOS at centos.orghttp://lists.centos.org/mailman/listinfo/centos reply | permalink Cornel panceac 2010/5/22 Jozsi Vadkan do you have

Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Linux RAID 1: How to make a secondary HD boot? up vote 3 down vote favorite 2 I have the following RAID 1 on a Centos 6.5 server: # cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb1[3] 974713720 blocks super 1.0 [2/1] [_U] bitmap: 7/8 pages [28KB], 65536KB chunk md1 : active raid1 sdb2[3] sda2[2] 2045944 blocks super 1.1 [2/2] [UU] unused devices: # df -h Sist. Arq. Size Used Avail Use% Montado em /dev/md0 915G 450G 420G 52% / tmpfs 7,8G 0 7,8G 0% /dev/shm /dev/sda is about to fail. I even marked it as faulty since it was causing read errors. I got the new HD today which will replace /dev/sda. The issue is that when I unplug the current /dev/sda, I can't make it boot only with /dev/sdb. It looks like the PC's BIOS can't find anything bootable on /dev/sdb. 1) How can I detect if grub is installed in /dev/sdb's MBR? 2) Is it safe to run grub-install in /dev/sdb? Is this the correct way of making it bootable? software-raid mdadm grub share|improve this question asked Jul 14 '14 at 22:37 Fernando 1193723 add a comment| 2 Answers 2 active oldest votes up vote 9 down vote accepted 1) How can I detect if grub is installed in /dev/sdb's MBR? You can issue: # dd if=/dev/sda bs=512 count=1 | xxd | grep -i grub 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.00103986 s, 492 kB/s 0000180: 4752 5542 2000 4765 6f6d 0048 6172 6420 GRUB .Geom.Hard 2) Is it safe to run grub-install in /dev/sdb? Is this the correct way of making it bootable? Yes, you need to have grub installed on both disks in the array. share|improve this answer answered Jul 14 '14 at 22:51 dawud 10.8k32547 What's the

 

Related content

fix grub hard disk error

Fix Grub Hard Disk Error table id toc tbody tr td div id toctitle Contents div ul li a href Grub Hard Disk Error Windows a li li a href Find boot grub stage File Not Found a li li a href Grub Check Disk Command a li li a href Hdd Grub Error a li ul td tr tbody table p no longer boots Contents Other titles for this same problem Rescatux Windows Solution Quick solution Not So Quick solution Classical solution Advanced solution relatedl Problematic solution GRUB solution on its own GRUB p h id Grub Hard Disk

grub error 22 live cd ubuntu

Grub Error Live Cd Ubuntu table id toc tbody tr td div id toctitle Contents div ul li a href Find boot grub stage File Not Found a li li a href Grub Check Disk Command a li li a href Grub Hard Disk Error Redhat a li ul td tr tbody table p Subscribe to our newsletter Search Home Forum Ask a question Latest questions Windows Mac Linux Internet Video Games Software Hardware Mobile Network Virus Caf How To Download Ask a question Windows Software Mac Software Linux Software Android Apps BlackBerry Apps iPhone Apps Windows relatedl Phone Apps

grub hard disk error centos 5

Grub Hard Disk Error Centos table id toc tbody tr td div id toctitle Contents div ul li a href Grub Hard Disk Error Windows a li li a href The File boot grub stage Not Read Correctly a li li a href Super Grub Disk a li li a href Grub Command Line a li ul td tr tbody table p have installed another OS such as one from Redmond that may relatedl have overwritten the master boot record p h id Grub Hard Disk Error Windows p MBR you will need to repair the bootstrap area Re-install grub

grub hard disk error compact flash

Grub Hard Disk Error Compact Flash p Tutorials Articles Search HCL Search Reviews Search ISOs Go to Page LinuxQuestions org Forums Linux Forums Linux - Hardware Linux - Embedded Single-board relatedl computer Grub Hard disk error User Name Remember Me Password Linux - Embedded Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers such as the Raspberry Pi BeagleBoard and PandaBoard Discussions involving Arduino plug computers and other micro-controller like devices are also welcome Notices Welcome to LinuxQuestions org a friendly and active Linux Community You are currently viewing LQ as a

grub hard disk error scsi

Grub Hard Disk Error Scsi table id toc tbody tr td div id toctitle Contents div ul li a href Fix Grub Bootloader From Windows a li li a href How To Use Super Grub Disk a li li a href Super Grub Disk Usb a li ul td tr tbody table p no longer boots Contents Other titles for this same problem Rescatux Windows Solution Quick solution Not So Quick solution Classical solution Advanced solution Problematic solution relatedl GRUB solution on its own GRUB solution Linux shell GRUB grub hard disk error windows solution on its own GRUB solution

grub error 22 ubuntu live cd

Grub Error Ubuntu Live Cd table id toc tbody tr td div id toctitle Contents div ul li a href Fix Grub Bootloader From Windows a li li a href Super Grub Disk Usb a li li a href Grub Hard Disk Error Redhat a li ul td tr tbody table p Subscribe to our newsletter Search Home Forum Ask a question Latest questions Windows Mac Linux Internet Video Games Software Hardware Mobile Network Virus Caf How To Download Ask a question Windows Software Mac Software Linux Software Android Apps BlackBerry Apps iPhone Apps Windows Phone Apps News relatedl Encyclopedia

grub hard drive error

Grub Hard Drive Error table id toc tbody tr td div id toctitle Contents div ul li a href Grub Hard Disk Error Windows a li li a href Fix Grub Bootloader From Windows a li li a href Grub Rescue No Such Device a li ul td tr tbody table p Hard Disk Error Issues related to hardware problems Post Reply Print view Search Advanced search posts bull Page of kollolbiswas Posts Joined Contact Contact kollolbiswas relatedl Website getting error GRUB Hard Disk Error Quote Postby kollolbiswas raquo grub hard disk error windows Hi I have installed Centos on

grub harddisk error ubuntu

Grub Harddisk Error Ubuntu table id toc tbody tr td div id toctitle Contents div ul li a href Fix Grub Bootloader From Windows a li li a href Grub Check Disk Command a li li a href How To Use Super Grub Disk a li ul td tr tbody table p Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad relatedl Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social grub hard disk error windows Media Facebook Twitter Useful Links

grub harddisk error windows

Grub Harddisk Error Windows table id toc tbody tr td div id toctitle Contents div ul li a href Grub Hard Disk Error Redhat a li li a href Grub Rescue Unknown Filesystem a li li a href How To Use Super Grub Disk a li ul td tr tbody table p no longer boots Contents Other titles for this same problem Rescatux Windows Solution Quick solution Not So Quick solution Classical solution Advanced solution Problematic relatedl solution GRUB solution on its own GRUB solution Linux grub hard disk error windows shell GRUB solution on its own GRUB solution Linux

grub grub hard disk error

Grub Grub Hard Disk Error table id toc tbody tr td div id toctitle Contents div ul li a href Fix Grub Bootloader From Windows a li li a href Grub Check Disk Command a li ul td tr tbody table p no longer boots Contents Other titles for this same problem Rescatux relatedl Windows Solution Quick solution Not So grub hard disk error windows Quick solution Classical solution Advanced solution Problematic solution grub hard disk error redhat GRUB solution on its own GRUB solution Linux shell GRUB solution on its own grub hard disk error windows GRUB solution Linux

grub mirror grub hard disk error centos 5

Grub Mirror Grub Hard Disk Error Centos table id toc tbody tr td div id toctitle Contents div ul li a href Grub Hard Disk Error Windows a li li a href Mdadm Rebuild Raid a li li a href Mdadm Resync a li ul td tr tbody table p the mirroring between two drives Then one of the drives fail which they eventually will here is how relatedl you fix it I have taken info from these pages grub hard disk error windows for this blog post http www howtoforge com replacing hard disks in a raid array http

grub hard disk error centos raid

Grub Hard Disk Error Centos Raid p after drive failure in Soft-Raid Issues related to hardware problems Post Reply Print view Search Advanced search posts relatedl bull Page of meta Posts Joined System won't start after drive failure in Soft-Raid Quote Postby meta raquo Hello Forum I'm running a HP ProLiant DL G P with two GB harddisks OS CentOS Raid Raid CentOS Software Raid The log file showed errors on the first harddisk but before I could set the hd to F aulty and remove it from the array with mdadm the system became completely stall After reboot the

grub hdd error

Grub Hdd Error table id toc tbody tr td div id toctitle Contents div ul li a href Grub Hard Disk Error Windows a li li a href Grub Hard Disk Error Windows a li li a href Grub Check Disk Command a li li a href Super Grub Disk Usb a li ul td tr tbody table p no longer boots Contents Other titles for this same problem Rescatux relatedl Windows Solution Quick solution Not So p h id Grub Hard Disk Error Windows p Quick solution Classical solution Advanced solution Problematic solution grub hard disk error redhat GRUB

grub harddisk error

Grub Harddisk Error table id toc tbody tr td div id toctitle Contents div ul li a href Grub Hard Disk Error Redhat a li li a href Fix Grub Bootloader From Windows a li li a href Super Grub Disk Usb a li ul td tr tbody table p no longer boots Contents Other titles for this same problem Rescatux Windows Solution Quick relatedl solution Not So Quick solution Classical solution grub hard disk error windows Advanced solution Problematic solution GRUB solution on its own p h id Grub Hard Disk Error Redhat p GRUB solution Linux shell GRUB

grub hard disk error fedora

Grub Hard Disk Error Fedora p Common F Bugs Common F Bugs Communicate with Fedora The Documents Bug Reports Fedora Update System Bodhi Fedora relatedl Build System Koji Official Spins FedoraForum org Fedora Using Fedora Grub Hard disk error FedoraForum Search td User Name Remember Me Password Forgot Password Join Us Register All Albums FAQ Today's Posts Search Using Fedora General support for current versions Ask questions about Fedora that do not belong in any other forum Google Search FedoraForum Search Red Hat Bugzilla Search br Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page Thread

grub hard disk error ubuntu

Grub Hard Disk Error Ubuntu table id toc tbody tr td div id toctitle Contents div ul li a href Grub Check Disk Command a li li a href Grub Rescue Error Unknown Filesystem a li li a href Grub Rescue No Such Device a li ul td tr tbody table p Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki relatedl Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu grub hard disk error windows Official Documentation User Documentation Social Media Facebook Twitter Useful Links

grub hard disk error sata

Grub Hard Disk Error Sata table id toc tbody tr td div id toctitle Contents div ul li a href Grub Hard Disk Error Redhat a li li a href Ubuntu Install Grub Wrong Disk a li li a href Grub Install a li ul td tr tbody table p communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta relatedl Discuss the workings and policies of this site About Us grub hard disk

grub hard disk error centos raid 1

Grub Hard Disk Error Centos Raid p the mirroring between two drives Then one of the drives fail which they eventually will here is how you fix it I relatedl have taken info from these pages for this blog post http www howtoforge com replacing hard disks in a raid array http blog mydream com hk howto linux howto-reinstall-grub-in-rescue-mode-wh In this example I have two hard drives dev sda and dev sdb with the partitions dev sda and dev sda as well as dev sdb and dev sdb dev sda and dev sdb make up the RAID array dev md

grub hard disk error boot

Grub Hard Disk Error Boot table id toc tbody tr td div id toctitle Contents div ul li a href Fix Grub Bootloader From Windows a li li a href How To Use Super Grub Disk a li li a href Grub Hard Disk Error Redhat a li ul td tr tbody table p no longer boots Contents Other titles for this same problem Rescatux Windows Solution Quick solution Not So Quick solution relatedl Classical solution Advanced solution Problematic solution GRUB solution grub hard disk error windows on its own GRUB solution Linux shell GRUB solution on its own grub

grub hard disk error centos

Grub Hard Disk Error Centos table id toc tbody tr td div id toctitle Contents div ul li a href Grub Hard Disk Error Windows a li ul td tr tbody table p by date grub hard disk error windows thread subject author I've p h id Grub Hard Disk Error Windows p got two pendrives I want to install a Debian on them RAID Ok grub hard disk error redhat After I installed it in RAID it works perfectly ok When I pull out one of the pendrive good pendrive it still boots up hurrah But When I pull

grub hard disk error on centos

Grub Hard Disk Error On Centos p by date grub hard disk error windows thread subject author I've grub hard disk error windows got two pendrives I want to install a Debian on them RAID Ok grub hard disk error redhat After I installed it in RAID 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

grub hard disk error linux

Grub Hard Disk Error Linux table id toc tbody tr td div id toctitle Contents div ul li a href Grub Hard Disk Error Windows a li li a href Grub Hard Disk Error Windows a li li a href Find boot grub stage File Not Found a li ul td tr tbody table p no longer boots Contents Other titles for this same problem Rescatux Windows Solution Quick solution Not So Quick relatedl solution Classical solution Advanced solution Problematic solution grub hard disk error redhat GRUB solution on its own GRUB solution Linux shell GRUB solution p h id

grub hard disk error

Grub Hard Disk Error table id toc tbody tr td div id toctitle Contents div ul li a href Grub Hard Disk Error Windows a li li a href Find boot grub stage File Not Found a li li a href Grub Check Disk Command a li ul td tr tbody table p no longer boots Contents Other titles for this same problem Rescatux Windows Solution Quick solution Not So Quick solution Classical solution Advanced solution Problematic solution relatedl GRUB solution on its own GRUB solution Linux shell GRUB grub hard disk error windows solution on its own GRUB solution

grub hard disk error dsl

Grub Hard Disk Error Dsl p Today's Posts Advanced Search Find the answer to your Linux question Entire Site Articles relatedl Downloads Forums Linux Hosting Forum GNU Linux Zone Installation GRUB HARD DISK ERROR issue If this is your first visit be sure to check out the 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 below If you are logged in most ads will not be displayed Linuxforums now supports the

linux grub hard disk error

Linux Grub Hard Disk Error table id toc tbody tr td div id toctitle Contents div ul li a href Fix Grub Bootloader From Windows a li li a href How To Fix Grub Error In Linux a li ul td tr tbody table p Hard Disk Error Issues related to hardware problems Post Reply Print view Search Advanced search posts bull Page of kollolbiswas Posts Joined relatedl Contact Contact kollolbiswas Website getting error GRUB Hard grub hard disk error redhat Disk Error Quote Postby kollolbiswas raquo Hi I have installed Centos on my grub hard disk error windows local