RE: GRUB warning after replacing disk drive in RAID1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On March 02, 2017 5:18 AM, Wols Lists wrote :
> Look at the raid wiki
> 
> https://raid.wiki.kernel.org/index.php/Converting_an_existing_system
> 
> it mentions grub.

Wol, I'm trying to understand what you and others are suggesting is causing this grub warning.  

according to the raid.wiki you referenced the last line of grub.cnf should look like this to support booting from RAID:

         initrd  /boot/initramfs-genkernel-x86_64-4.4.6-gentoo

In addition,  the wiki says " you will need to configure your distro to use an initramfs.

here are the last few lines of my grub.cnf: 

         echo    'Loading Linux 4.4.0-36-generic ...'
         linux    /vmlinuz-4.4.0-36-generic root=UUID=cddffa50-9713-4205-aab6-86745735958b ro recovery nomodeset 
         echo    'Loading initial ramdisk ...'
         initrd   /initrd.img-4.4.0-36-generic

should I be concerned my grub.cnf uses initrd.img and not initramfs?   My grub.cnf was last modified 11/2016 and I've rebooted successfully into a RAID1 since.


Finally, on Friday 3/3 I swapped one of the disks (sdc) in this RAID1 with a brand new identical disk.  After creating the partitions and syncing I issued 
install-grub /dev/sdc and there were no warnings.   If my grub was broken why would there be no warning but a week ago doing the exact disk swap/same sequence of commands I got a warning.  Nothing on the system was changed during that time.


Thank you.



--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux