You are not logged in.

#1 2012-08-13 00:18:19

themightychris
New member
From: Philadelphia
Registered: 2012-08-12
Posts: 7
Website

grub2 + EFI + raid1

I've installed grub-1.99-r2 but am getting an error when I use grub2-install:


sysresccd boot # grub2-install /dev/sda /dev/db
/sbin/grub2-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md0 failed.



Here is some info:

sysresccd boot # /sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v /boot/grub2
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: scanning hd0 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: scanning hd1 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,gpt4.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,gpt3.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,gpt2.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,gpt1.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1,gpt4.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1,gpt3.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1,gpt2.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1,gpt1.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,gpt4.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Found array md/1 (mdraid1x).
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,gpt3.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,gpt2.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,gpt1.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Found array md/0 (mdraid1x).
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1,gpt4.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1,gpt3.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1,gpt2.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1,gpt1.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: scanning md/0 for LVM.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning md/1 for LVM.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: scanning hd0,gpt4 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,gpt3 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,gpt2 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,gpt1 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd1 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: scanning hd1,gpt4 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd1,gpt3 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd1,gpt2 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd1,gpt1 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: opening md0.
/sbin/grub2-probe: error: no such disk.



sysresccd boot # gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 61F231EE-0445-4C7E-96E3-C0D278CF9287
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3792693357 sectors (1.8 TiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1026047   500.0 MiB   FD00  Linux RAID
   2         1026048         1091583   32.0 MiB    EF02  BIOS boot partition
   3         1091584         9480191   4.0 GiB     8200  Linux swap
   4         9480192       114337791   50.0 GiB    FD00  Linux RAID
sysresccd boot # gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): BC706A36-DF04-480D-881E-DFACFB3D2D9D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3792693357 sectors (1.8 TiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1026047   500.0 MiB   FD00  Linux RAID
   2         1026048         1091583   32.0 MiB    EF02  BIOS boot partition
   3         1091584         9480191   4.0 GiB     8200  Linux swap
   4         9480192       114337791   50.0 GiB    FD00  Linux RAID



sysresccd boot # cat /etc/boot.conf
boot {
    generate grub
    default "Funtoo Linux"
    timeout 10
}


"Funtoo Linux" {
    kernel bzImage[-v]
    params video=vesafb root=LABEL=root rootfstype=ext4 softraid
}

Offline

#2 2012-08-14 05:42:05

angry_vincent
Staff
From: Ukraine
Registered: 2010-10-07
Posts: 593

Re: grub2 + EFI + raid1

grub-1.99 is masked and broken, don't use it.

Offline

#3 2012-08-14 07:29:07

themightychris
New member
From: Philadelphia
Registered: 2012-08-12
Posts: 7
Website

Re: grub2 + EFI + raid1

I had trouble with 1.98 too. Is gpt + raid1 still not doable? The wiki on gpt with enc root seemed to indicate so but I didn't find anything that helped me in it

Offline

Board footer

Powered by FluxBB