grub, raid1 help

From: Richard Weil (rcweil_at_yahoo.com)
Date: 10/29/04

  • Next message: Virus Research: "Attachment Received Autoreply"
    Date: Fri, 29 Oct 2004 09:58:50 -0700 (PDT)
    To: debian-user <debian-user@lists.debian.org>
    
    

    I have a machine with three SCSI disks, /dev/sda, /dev/sdb, /dev/sdc.
    The machine boots off of /dev/sdc and I've put /dev/sda and /dev/sdb
    into a raid1 array, /dev/md0. I can not get the machine to boot off of
    /dev/md0; I keep getting kernel panics. Since everything else seems
    fine, I think the problem is with grub.

    I believe that I have grub installed in the mbr of all three drives. I
    don't think grub is quite right, though, since I get an error when I
    try:

    grub>find /grub/stage1

    A stanza in /boot/grub/menu.1st that works is:

    title Debian GNU/Linux, kernel 2.6.7
    root (hd2,0)
    kernel /boot/vmlinuz-2.6.7 root=/dev/sdc1 ro
    savedefault
    boot

    One that doesn't work is:

    title Debian GNU/Linux, kernel 2.6.7 DISK1
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.7 root=/dev/md0 ro
    savedefault
    boot

    Any ideas?

    Thanks,

    Richard

    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Virus Research: "Attachment Received Autoreply"

    Relevant Pages

    • Re: Naming harddisks (Linux)
      ... But I also see that for an USB drive it uses /dev/sdas the ... Does GRUB recognize SCSI drives? ... The first step in understanding the boot process is to ... The bootloader's job is to load the OSs kernel. ...
      (comp.os.linux.misc)
    • Re: Generate New xorg.conf
      ... exist in FC4. ... Boot it and startx. ... Do You Yahoo!? ... Mail has the best spam protection around ...
      (Fedora)
    • Re: remove partaion
      ... The most interesting hurdle will be what the Master Boot Record ... thus kill GRUB. ... I would copy your MBR and first 63 sectors (see the MBR Copy Appendix ... GUI or command line commands to accomplish that. ...
      (Fedora)
    • Re: How do I make a boot disk so I can restore Grub?
      ... I read that Windows will overwrite the MBR. ... > need to make a boot disk so I can restore MBR after Windows ... How do I make a boot disk and be able to restore Grub on ... with the designation for wherever your boot partition is. ...
      (comp.os.linux.setup)
    • Re: Install FC2 in external HD + boot via floppy
      ... a external HD and keep the XP on the internal disk. ... that my laptop does not boot from the usb... ... An alternative way of creating a cd that will boot grub is shown below. ... Making a GRUB bootable CD-ROM ...
      (Fedora)