• Antergos, GRUB2 and RAID0. Everything works except GRUB can't find the partition by UUID.


    So, I’m running Antergos from a plain non-raid partition currently. When I installed it, GRUB2 picked up on my previous attempt of installation to /dev/md127p1 as well, except, the menu it created won’t boot it. It says it can’t find a device with a certain UUID that matches the UUID of the raid partition. Gparted knows about it, it’s all there. I tried looking into the GRUB2 documentation and ended up with a headache.

    Can anyone please give a hint on where to look for a solution ? The only thing that could make antergos better for me if I could make it live on raid0.

  • @distrohopp

    Cnchi is not ready for working on RAID devices (there’s a notice stating this in the language screen).

    Having said this, how did you install Antegos? Did you use Cnchi advanced screen? How did you partition your raid disks?

    Cheers!

  • You mean the “Choose exactly where antergos should be installed” option ? Sure I have.

    There’s an sdaX and and sdbX making up an md127 device, itself partitioned into md127p1 and md127p2. Maybe that’s my problem. Cause grub did quite a job…

    swap 00ff1751-1f1b-428b-981b-a3683912a44a
    root 4834fff7-a990-4048-82e2-92ae6f5effc0 which is the same as mduuid/112f656b1f41f8d84f653efae073c68c,msdos1 (I guess)

    menuentry 'Antergos Linux (2015.04-ISO-Rolling) (on /dev/md127p1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-4834fff7-a990-4048-82e2-92ae6f5effc0' {
    insmod part_msdos msdos msdos 
    insmod diskfilter mdraid1x 
    insmod ext2
    set root='mduuid/112f656b1f41f8d84f653efae073c68c,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint='mduuid/112f656b1f41f8d84f653efae073c68c,msdos1'  4834fff7-a990-4048-82e2-92ae6f5effc0
    else
      search --no-floppy --fs-uuid --set=root 4834fff7-a990-4048-82e2-92ae6f5effc0
    fi
    linux /boot/vmlinuz-linux root=UUID=4834fff7-a990-4048-82e2-92ae6f5effc0 rw resume=UUID=00ff1751-1f1b-428b-981b-a3683912a44a quiet
    initrd /boot/initramfs-linux.img
    }
    submenu 'Advanced options for Antergos Linux (2015.04-ISO-Rolling) (on /dev/md127p1)' $menuentry_id_option 'osprober-gnulinux-advanced-4834fff7-a990-4048-82e2-92ae6f5effc0' {
    menuentry 'Antergos Linux (on /dev/md127p1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--4834fff7-a990-4048-82e2-92ae6f5effc0' {
    	insmod part_msdos msdos msdos 
    	insmod diskfilter mdraid1x 
    	insmod ext2
    	set root='mduuid/112f656b1f41f8d84f653efae073c68c,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint='mduuid/112f656b1f41f8d84f653efae073c68c,msdos1'  4834fff7-a990-4048-82e2-92ae6f5effc0
    	else
    	  search --no-floppy --fs-uuid --set=root 4834fff7-a990-4048-82e2-92ae6f5effc0
    	fi
    	linux /boot/vmlinuz-linux root=UUID=4834fff7-a990-4048-82e2-92ae6f5effc0 rw resume=UUID=00ff1751-1f1b-428b-981b-a3683912a44a quiet
    	initrd /boot/initramfs-linux.img
    }
    menuentry 'Antergos Linux - Fallback (on /dev/md127p1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--4834fff7-a990-4048-82e2-92ae6f5effc0' {
    	insmod part_msdos msdos msdos 
    	insmod diskfilter mdraid1x 
    	insmod ext2
    	set root='mduuid/112f656b1f41f8d84f653efae073c68c,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint='mduuid/112f656b1f41f8d84f653efae073c68c,msdos1'  4834fff7-a990-4048-82e2-92ae6f5effc0
    	else
    	  search --no-floppy --fs-uuid --set=root 4834fff7-a990-4048-82e2-92ae6f5effc0
    	fi
    	linux /boot/vmlinuz-linux root=UUID=4834fff7-a990-4048-82e2-92ae6f5effc0 rw resume=UUID=00ff1751-1f1b-428b-981b-a3683912a44a quiet
    	initrd /boot/initramfs-linux-fallback.img
    }
    menuentry 'Antergos Linux (on /dev/md127p1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--4834fff7-a990-4048-82e2-92ae6f5effc0' {
    	insmod part_msdos msdos msdos 
    	insmod diskfilter mdraid1x 
    	insmod ext2
    	set root='mduuid/112f656b1f41f8d84f653efae073c68c,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint='mduuid/112f656b1f41f8d84f653efae073c68c,msdos1'  4834fff7-a990-4048-82e2-92ae6f5effc0
    	else
    	  search --no-floppy --fs-uuid --set=root 4834fff7-a990-4048-82e2-92ae6f5effc0
    	fi
    	linux /boot/vmlinuz-linux root=UUID=4834fff7-a990-4048-82e2-92ae6f5effc0 rw resume=UUID=00ff1751-1f1b-428b-981b-a3683912a44a quiet
    	initrd /boot/initramfs-linux-fallback.img
    	}
    }
    

    I’ll return with the error msg in a moment.

  • As I said, the “coordinates” are valid but booting results in:

    error: no such device: 4834fff7-a990-4048-82e2-92ae6f5effc0
    error: disk ‘mduuid/112f656b1f41f8d84f653efae073c68c,msdos1’ not found.
    error: you need to load the kernel first.

    Press any key to continue…

    There definately is such a device, I checked with Gparted and it’s the right one.

  • @karasu said:

    @distrohopp

    Cnchi is not ready for working on RAID devices (there’s a notice stating this in the language screen).

    Having said this, how did you install Antegos? Did you use Cnchi advanced screen? How did you partition your raid disks?

    Cheers!

    I don’t need an updated cnchi for this, alhough it would be great having one. Could someone mark this as unsolved ? I really need this.

    I’ve tried to figure this out but it takes more time than I currently have.

    The files are in place. Grub seems to have been configured right. From what I gather, all I’d need to do is to generate some initrams… and mess with the kernel ? Or is it more complicated ? I could probably “chroot” or log in or something like that into the instalation and do that, right ? It’s chinese for me right now.

Posts 5Views 1589
Log in to reply