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

"Grub Loading" software raid.



Hello folks,

I have built a system with Debian software RAID-1 and everything works great until you pull a drive and try to boot, the system just hangs at "Grub loading"

If I pop the drive back in the system will boot normally then do # mdadm /dev/md0 -a /dev/sdb it adds the drive and begins the rebuild, as shown by cat /proc/mdstat

I installed the boot loader to the second drive by doing # grub-install /dev/sdb

Then checked the disks;

# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a1072

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      121602   976760832   fd  Linux raid autodetect

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a4dbb

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      121602   976760832   fd  Linux raid autodetect

But still when I remove the drive it just hangs at "Grub loading" and doesn't go any further, what am I doing wrong?

Thanks.

- Simon.


Reply to: