Grub Error 22 Raid
Tags Search LQ Wiki Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE GRUB Error 22 for RAID 1 settings User Name Remember Me? Password SUSE / openSUSE This Forum is for the discussion of Suse Linux. 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 09-09-2009, 09:04 PM #1 chlee97 Member Registered: Sep 2007 Posts: 30 Rep: GRUB Error 22 for RAID 1 settings Hi all, ok, i have a server machine without HardRAID, and i wish to install 2 hhd with softRAID 1. I followed t
RAID 1 GRUB setup General support questions Post Reply Print view Search Advanced search 7 posts • Page 1 of 1 dejanst Posts: 124 Joined: 2011/09/20 14:13:13 [SOLVED] Problems with RAID 1 GRUB setup Quote Postby dejanst » 2011/09/20 14:57:32 I recently upgraded from CentOS 5.7 to CentOS 6 (32 bit) and I have some issues with setting up GRUB on both HDDs.The server is HP Proliant Microserver that is running 2 HDD's that have the same capacity. Both HDDs have the same partition layout, the partitions are properly combined in 8 RAID devices.Code: Select all
== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/md2 http://www.linuxquestions.org/questions/suse-opensuse-60/grub-error-22-for-raid-1-settings-754027/ 9.7G 349M 8.8G 4% /
tmpfs 440M 0 440M 0% /dev/shm
/dev/md0 291M 38M 239M 14% /boot
/dev/md7 73G 180M 69G 1% /komna
/dev/md6 49G 180M 46G 1% /telos
/dev/md5 2.0G 35M 1.8G 2% /tmp
/dev/md3 http://www.centos.org/forums/viewtopic.php?t=1269 7.7G 883M 6.5G 12% /usr
/dev/md4 4.9G 215M 4.4G 5% /var
== BEGIN fdisk -l ==
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md3 doesn't contain a valid partition table
Disk /dev/md4 doesn't contain a valid partition table
Disk /dev/md5 doesn't contain a valid partition table
Disk /dev/md6 doesn't contain a valid partition table
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f15fe
Device Boot Start End Blocks Id System
/dev/sda1 1 1275 10240000 fd Linux raid autodetect
/dev/sda2 1275 1530 2048000 fd Linux raid autodetect
/dev/sda3 * 1530 1569 307200 fd Linux raid autodetect
/dev/sda4 1569 19458 143693824 5 Extended
/dev/sda5 1569 7943 51200000 fd Linu
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 http://askubuntu.com/questions/43036/how-do-i-install-grub-on-a-raid-system-installation Meta Discuss the workings and policies of this site About Us http://serverfault.com/questions/483141/mdadm-raid-1-grub-only-on-sda Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes grub error 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 How do I install GRUB on a RAID system installation? up vote 35 down vote favorite 4 I'm trying to setup and install Ubuntu on a RAID 1 setup. I have grub error 22 two disks, sdb and sdc. I've been following this guide https://help.ubuntu.com/community/Installation/SoftwareRAID which more or less works for getting everything set up and Ubuntu installed. The problem is at the end of the installation, it tries to install GRUB. By default it tries my "first disk", which gives a "fatal error". I've tried installing it on a specific partion, e.g. sdb1 as well as RAID devices, e.g. md0, md1, etc.. Nothing seems to work. The actual error is Unable to install GRUB in /dev/sdb Executing 'grub-install '/dev/sdb' failed. This is a fatal error. Then I'm taken back to the main install menu. If I choose "Install the GRUB boot loader on a hard disk" option, I can pick the partition, but entering sdb2 or md1 gives the same error. So I went ahead an just didn't install GRUB, which means now I presumably have a working Ubuntu installation, but I can't boot it. I've tried booting from the LiveCD to install GRUB, but I can't chroot into my system because it doesn't
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 mdadm raid 1 grub only on sda up vote 6 down vote favorite 2 I just finished setting up a CentOS 6.3 64bit server with mdadm however a lightbulb went on and I realised grub would only be installed on the first drive which is about as much use and an ashtray on a motorbike. I had a look to confirm my suspicion: grub> find /grub/stage1 find /grub/stage1 (hd0,0) So I updated my device map to look like: (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb (Note the (hd1) entry was added by me so then I tried to install grub on /dev/sdb And I get: grub> root (hd1,0) root (hd1,0) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd1) setup (hd1) Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 15t: File not found So I did some googling (Sadly google has just done a good job and picked up 100's of grub install examples which dont help here) After finding a few clues I tried: # grub-install --recheck /dev/sdb Probing devices to guess BIOS drives. This may take a long time. Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb # grub-install /dev/sdb Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is inc