bug-grub
[Top][All Lists]
Advanced

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

[bug #25581] can't boot ICH9R bios-raid with grub2


From: gionnico
Subject: [bug #25581] can't boot ICH9R bios-raid with grub2
Date: Fri, 13 Feb 2009 17:26:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; it; rv:1.9.0.6) Gecko/2009021300 Gentoo Firefox/3.0.6

URL:
  <http://savannah.gnu.org/bugs/?25581>

                 Summary: can't boot ICH9R bios-raid with grub2
                 Project: GNU GRUB
            Submitted by: gionnico
            Submitted on: ven 13 feb 2009 17:26:44 GMT
                Category: Installation
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1989
         Reproducibility: Every Time
         Planned Release: 

    _______________________________________________________

Details:

I've got x86_64 gentoo and compiled grub from svn.

Now I have a "weird" configuration.
Indeed I use ICH9R (motherboard raid support) to have a RAID0 of 2 500GB hard
drives.
So the "Volume0" is 1TB.

Now in linux this volume is recognized though dm-map as:
/dev/mapper/isw_bdjebbgcif_Volume0

In grub-legacy the only way I found to install it was though the grub shell
in this way:
rm /dev/grub/device.map
grub --device-map=/dev/null
grub> device (hd0) /dev/mapper/isw_bdjebbgcif_Volume0
geometry (hd0) 121602 255 63
root (hd0,3) <-- this is the 4th partition that has linux / and /boot
alltogether.
setup (hd0)



Don't ask me why but it works.
Now in grub2 there's shell nomore.

I tried:
# grub2-install /dev/mapper/isw_bdjebbgcif_Volume0
grub-probe: error: no mapping exists for `isw_bdjebbgcif_Volume04'
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.

So i changed /boot/grub/device.map this way:
(hd0)   /dev/mapper/isw_bdjebbgcif_Volume0

And:
# grub2-install /dev/mapper/isw_bdjebbgcif_Volume0
grub-probe: error: no mapping exists for `isw_bdjebbgcif_Volume04'
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.


I also tried using a fake hardlink called /dev/sdc
So:
ln /dev/mapper/isw_bdjebbgcif_Volume0 /dev/sdc
ln /dev/mapper/isw_bdjebbgcif_Volume01 /dev/sdc1
ln /dev/mapper/isw_bdjebbgcif_Volume02 /dev/sdc2
ln /dev/mapper/isw_bdjebbgcif_Volume03 /dev/sdc3
ln /dev/mapper/isw_bdjebbgcif_Volume04 /dev/sdc4

Then let grub create device.map
So:
# grub-mkdevicemap 
# cat /boot/grub/device.map 
(hd0)   /dev/sda
(hd1)   /dev/sdb
(hd2)   /dev/sdc

Then:
# grub2-install /dev/sdc
grub-probe: error: unknown filesystem
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.

So I specified the filesystem (I can remember a similar problem in
grub-legacy if I didn't use the geometry setting).

# grub2-install --modules=ext2 /dev/sdc
grub-probe: error: unknown filesystem
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub2-install'.

(hd0)   /dev/sda
(hd1)   /dev/sdb
(hd2)   /dev/sdc


Here we go. If I reboot I get the grub rescue shell.
If I try to root it says:
(hd0): "unknown filesystem"

even though ext2 module is insmod'd.

And I can do nothing else.



The passage I miss seems to be that:
geometry (hd0) C H S
That I used in grub-legacy shell.
But seems there's shell nomore and geometry nomore.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25581>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]