You are not logged in.

#1 2014-07-13 04:52:29

rinkrat96
Member
Registered: 2012-11-23
Posts: 9

Arch on RAID array will not boot

I am new to this whole thing and the computer that I am installing Arch on has a nVidia RAID controller (which to my understanding makes it a software RAID). I wanted to leverage this, so I followed this tutorial:

http://linux-101.org/howto/arch-linux-s … tion-guide

I have 2 drives - sda and sdb, and successfully partitioned them both. I also had no problems setting up the RAID array with

mdadm

. I don't understand quite what the instructions mean when they say to use the command

# grub

. What I did instead was run

grub-install --target=i386-pc --recheck /dev/sda
grub-install --target=i386-pc --recheck /dev/sdb

. Now, when I boot up, I get the message saying "Welcome to Grub" and then it hangs for a while and returns the error message "no such device: 5857fcdc-02d9-4d16-aeb5-00d786995ffc." What can I do so that I can boot up?

Offline

#2 2014-07-13 09:28:39

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Arch on RAID array will not boot

I'm guessing you should have ran `grub-mkconfig -o /boot/grub/grub.cfg` as well; to update the disk-uuid's in it's configuration. This is easy to fix with a rescue-stick; or some manual fumbling in the grub-menu

If you did run mkconfig and are still getting this error; post the output from

lsblk -o name,size,type,uuid

Last edited by Spider.007 (2014-07-13 09:30:39)

Offline

#3 2014-07-13 09:55:17

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Arch on RAID array will not boot

FYI, the software RAID that you've set up has nothing at all to do with your motherboards nVidia RAID controller. If you wanted to use that then you should have set up FakeRAID instead. However, unless you need to run Windows off the array then software RAID is the better choice.

Last edited by Slithery (2014-07-13 09:58:03)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2014-07-13 16:24:22

rinkrat96
Member
Registered: 2012-11-23
Posts: 9

Re: Arch on RAID array will not boot

Spider.007 wrote:

I'm guessing you should have ran `grub-mkconfig -o /boot/grub/grub.cfg` as well; to update the disk-uuid's in it's configuration. This is easy to fix with a rescue-stick; or some manual fumbling in the grub-menu

So I booted back into the archlinux live disc and remounted all my partitions, used arch-chroot to change to the installed system and ran grub-mkconfig.

Since I got the same error, here is the output from lsblk

NAME                SIZE TYPE  UUID
fd0                   4K disk  
sda               298.1G disk  
├─sda1            211.8M part  1a758158-8665-86cb-4c20-63802c006879
│ └─md1           211.6M raid1 7a853216-d823-4c5e-844a-9fe2e3e7f254
├─sda2              1.9G part  ba5a9d4a-0288-3ffe-af81-33c0ed54f5d5
│ └─md2             1.9G raid1 50f15b26-9d30-4203-af2c-3f9f2865743c
├─sda3             18.6G part  6b8124e5-18b4-90d7-65fa-60f47fe4fbe7
│ └─md3            37.2G raid0 bddb339a-c021-4c1c-b35a-a4b6d09edfd1
└─sda4            277.4G part  b29a14c0-7af1-1837-7f3b-5d5878ee03cd
  └─md4           554.5G raid0 d1f85a00-445b-4864-90b0-2792308ad8a1
sdb               298.1G disk  
├─sdb1            211.8M part  1a758158-8665-86cb-4c20-63802c006879
│ └─md1           211.6M raid1 7a853216-d823-4c5e-844a-9fe2e3e7f254
├─sdb2              1.9G part  ba5a9d4a-0288-3ffe-af81-33c0ed54f5d5
│ └─md2             1.9G raid1 50f15b26-9d30-4203-af2c-3f9f2865743c
├─sdb3             18.6G part  6b8124e5-18b4-90d7-65fa-60f47fe4fbe7
│ └─md3            37.2G raid0 bddb339a-c021-4c1c-b35a-a4b6d09edfd1
└─sdb4            277.4G part  b29a14c0-7af1-1837-7f3b-5d5878ee03cd
  └─md4           554.5G raid0 d1f85a00-445b-4864-90b0-2792308ad8a1
sdg                 7.5G disk  
└─sdg1              7.5G part  E4D7-DA65
sr0                 558M rom   2014-07-03-18-41-56-00
sr1                1024M rom   
loop0             240.9M loop  
loop1               1.5G loop  5857fcdc-02d9-4d16-aeb5-00d786995ffc
└─arch_root-image   1.5G dm    5857fcdc-02d9-4d16-aeb5-00d786995ffc
loop2               1.5G loop  5857fcdc-02d9-4d16-aeb5-00d786995ffc
└─arch_root-image   1.5G dm    5857fcdc-02d9-4d16-aeb5-00d786995ffc

Offline

#5 2014-07-13 22:41:19

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Arch on RAID array will not boot

Did you run grub-mkconfig from within the chroot of your actual install? I think you didn't because the disk-uuid that ends up in the grub-config is the uuid from the usb-stick. From the wiki:

# mount /dev/sdxY /mnt        #Your root partition.
# mount /dev/sdxZ /mnt/boot   #Your boot partiton (if you have one).
# arch-chroot /mnt
# grub-mkconfig -o /boot/grub/grub.cfg

Offline

Board footer

Powered by FluxBB