Re: Problems installing grub/lilo with RAID1 on /



On Sun, Jun 5, 2011 at 3:30 PM, Felix Natter
<felix.natter@xxxxxxxxxxxxxxxxxxx> wrote:


I am trying to install squeeze (from live DVD[1]) with a RAID1 root
filesystem (/dev/md0).

There is an error when running grub-install:
Jun 5 18:38:18 grub-installer: error: Running 'grub-install --no-floppy --force "/dev/sda"' failed.

I tried to run it manually:
chroot /target grub-install --no-floppy --force /dev/sda
/usr/sbin/grub-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md0 failed.
Please report this together with the output of "/usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs -v /boot/grub" to <bug-grub@xxxxxxx>

Does "/target/etc/mtab" exist and is it correct?


chroot /target /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs -v /boot/grub
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: the size of hd1 is 488397168.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to mapper.
/usr/sbin/grub-probe: info: opening md0.
/usr/sbin/grub-probe: error: no such disk.

On both Debian and Ubuntu, I used to be able to run "dpkg-reconfigure
grub-pc", choose md0, sda, and sdb, and grub would be installed on all
three. For a while now (I can't remember for how long), installing to
md0's failed.


When trying to install lilo (with the debian-installler), I get
"inconsistent raid information" (but the RAID1 (2x 208G) was created
with debian-installer):

Jun 5 19:22:00 in-target: Running lilo...
Jun 5 19:22:01 in-target: Fatal:
Jun 5 19:22:01 in-target: Inconsistent Raid version information on /dev/md0 (RV=0.90 GAI=1.2)

What do RV and GAI mean? I've googled both and not foudn anything to
help. "0.90" and "1.2" are mdraid metadata versions. Were these disks
previously in another array and do you now have two types of metada on
them?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/BANLkTimN946v25ZojXqTGFZMERDtnCCRvg@xxxxxxxxxxxxxx



Relevant Pages

  • Re: Installation
    ... Im installing the amd64 version of Debian, ... get a system running. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Reg Blind
    ... Since I have grml on a laptop and myself am totally blind that's the next project I have in mind. ... never used Debian but I have looked at Dream. ... partition on your hard drive or adding a drive and installing real ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Debian vs. the Eee PC
    ... Have people been using Debian with/on the Asus EeePC? ... Is installing it easy, hard? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Installation
    ... I will try Debian now and see how it is. ... Im installing the amd64 version of Debian, ... IIRC CD #1 will get you the basic console system and CD 1-3 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Debian Sarge on SATA
    ... Thanks a lot for the advise with Etch. ... Just today I cured myself of a bad case of idiocy after running Debian for almost a year now: I had somehow installed the BSD-style 'lpr' package, which was trying to talk to a printer on my parallel port; unfortunately, there is nothing connected to my parallel port, and I actually have a USB printer that I access through CUPS. ... Installing 'cupsys-bsd' a few hours ago made everything work! ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)