Page 8 of 10 FirstFirst ... 678910 LastLast
Results 71 to 80 of 96

Thread: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

  1. #71
    Join Date
    Oct 2009
    Beans
    2,199
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    Quote Originally Posted by rodrigomartinho View Post
    I made the test:
    dd if=/dev/sdb bs=512 count=1 > /tmp/sdb_backup
    dd if=/dev/zero of=/dev/sdb bs=439 count=1

    And strange, all disks could be booted off, even when i explicitly told which disk to boot, using the f10 boot menu!
    Aha! That shows that when you choose sdb the bios boots another drive instead.

    Just double check the MBR is wiped by
    dd if=/dev/sdb bs=512 count=1

  2. #72
    Join Date
    Oct 2009
    Beans
    2,199
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    BTW is it the true that when you disconnect a disk, not sda, that it will boot. In other words, will it boot with only 3 disks at all?


    You could backup your sda MBR and then wipe it. See if it boots then.

  3. #73
    Join Date
    Jan 2010
    Beans
    56

    Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    Quote Originally Posted by YesWeCan View Post
    Aha! That shows that when you choose sdb the bios boots another drive instead.

    Just double check the MBR is wiped by
    dd if=/dev/sdb bs=512 count=1
    All my drives are identical, so the f10 menu shows 4 identical entries. I don't know which is which. I just cleaned the MBR of sdb and tried to boot all 4 drives. All booted.

    I have just made a fresh install with only 2 disks in md0 (results soon!), but I had doubled checked it.

  4. #74
    Join Date
    Oct 2009
    Beans
    2,199
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    Quote Originally Posted by rodrigomartinho View Post
    All my drives are identical, so the f10 menu shows 4 identical entries.
    That doesn't sound right. What exactly are the entries?
    What mobo are you using? You have checked your bios settings to make sure nothing is set incorrectly, right? You don't have any bios raid set or anything.

  5. #75
    Join Date
    Jan 2010
    Beans
    56

    Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    Quote Originally Posted by YesWeCan View Post
    BTW is it the true that when you disconnect a disk, not sda, that it will boot. In other words, will it boot with only 3 disks at all?


    You could backup your sda MBR and then wipe it. See if it boots then.
    Yes, I've tested disconnecting every disk except first disk and system booted all the times.

  6. #76
    Join Date
    Jan 2010
    Beans
    56

    Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    Quote Originally Posted by YesWeCan View Post
    That doesn't sound right. What exactly are the entries?
    What mobo are you using? You have checked your bios settings to make sure nothing is set incorrectly, right? You don't have any bios raid set or anything.
    All my tests were made with the default bios settings. No raid. My mobo is a Intel DP55WB.

  7. #77
    Join Date
    Jan 2010
    Beans
    56

    Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    Quote Originally Posted by YesWeCan View Post
    What exactly are the entries?
    I am resynching the arrays now, in 10 min I'll reboot to see the exact entries, but I am almost sure they are the model of the disks: ST3500418AS. Since all disks are the same model, I have 4 identical entries.

  8. #78
    Join Date
    Jan 2010
    Beans
    56

    Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    Quote Originally Posted by rodrigomartinho View Post
    I am resynching the arrays now, in 10 min I'll reboot to see the exact entries, but I am almost sure they are the model of the disks: ST3500418AS. Since all disks are the same model, I have 4 identical entries.
    Entries in the BIOS:
    SATA Port 0: TSSTcorp CDDVDW - ATAPI
    SATA Port 1: ST3500418AS - 500.1 GB
    SATA Port 2: ST3500418AS - 500.1 GB
    SATA Port 3: ST3500418AS - 500.1 GB
    SATA Port 4: ST3500418AS - 500.1 GB

    Entries in F10 menu:
    TSSTcorp CDDVDW SH-S203D - ATAPI
    ST3500418AS - 500.1 GB
    ST3500418AS - 500.1 GB
    ST3500418AS - 500.1 GB
    ST3500418AS - 500.1 GB
    IBA GE Slot 00CB v 1365

  9. #79
    Join Date
    Oct 2009
    Beans
    2,199
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    Seems ok. I was hoping the F10 menu would give a little more info.

    Would you post your /etc/mdadm/mdadm.conf?

  10. #80
    Join Date
    Jan 2010
    Beans
    56

    Re: Grub2 + mdadm RAID1 = cycle reset before grub menu :(

    Quote Originally Posted by YesWeCan View Post
    Seems ok. I was hoping the F10 menu would give a little more info.

    Would you post your /etc/mdadm/mdadm.conf?
    Code:
    # mdadm.conf
    #
    # Please refer to mdadm.conf(5) for information about this file.
    #
    
    # by default, scan all partitions (/proc/partitions) for MD superblocks.
    # alternatively, specify devices to scan, using wildcards if desired.
    DEVICE partitions
    
    # auto-create devices with Debian standard permissions
    CREATE owner=root group=disk mode=0660 auto=yes
    
    # automatically tag new arrays as belonging to the local system
    HOMEHOST <system>
    
    # instruct the monitoring daemon where to send mail alerts
    MAILADDR root
    
    # definitions of existing MD arrays
    ARRAY /dev/md0 level=raid1 num-devices=2 UUID=380bb38b:a2b62a41:e368bf24:bd0fce41
    ARRAY /dev/md1 level=raid10 num-devices=4 UUID=91421a53:057dddea:e368bf24:bd0fce41
    ARRAY /dev/md2 level=raid10 num-devices=4 UUID=a9867e6e:7a65e3b7:e368bf24:bd0fce41
    ARRAY /dev/md3 level=raid10 num-devices=4 UUID=d045c9a5:14a5a2ac:e368bf24:bd0fce41
    ARRAY /dev/md4 level=raid10 num-devices=4 UUID=455023e4:54aceb10:e368bf24:bd0fce41
    
    # This file was auto-generated on Tue, 22 Feb 2011 15:22:58 -0300
    # by mkconf $Id$

Page 8 of 10 FirstFirst ... 678910 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •