How To Set Up Software RAID1 On A Running LVM System - upgrading kernel

Discussion in 'HOWTO-Related Questions' started by palcica, Feb 6, 2010.

  1. palcica

    palcica New Member

    when I upgraded my system (kernel) with apt-get dist-upgrade, raid doesn't work :( (when i unplugged one of disks, system can't boot)

    I repaired /boot/grub/menu.lst but still doesn't work :(

    Any idea?!?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Which distribution do you use?

    Please make sure that all required kernel modules are loaded:
    Code:
    modprobe linear
    modprobe multipath
    modprobe raid0
    modprobe raid1
    modprobe raid5
    modprobe raid6
    modprobe raid10
     
  3. palcica

    palcica New Member

    distro is ubuntu 8.04.4 LTS

    everything was workin fine till kernel update as i said in the first post.
    and yes, modules are loaded.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Does the system boot? Do you see any error messages (also in the logs)?
     
  5. palcica

    palcica New Member

    no, it can't be booted. It's stops at Loading, please wait...
    in the syslog I can't find anything useful... Don't know what should be wrong... :(

    RAID was installed as you write down on the page... It'd worked perfect with both disks, with first or second... until... upgraded it wiht dist-upgrade :mad:
    at installation he want to replace menu.lst, but I declined to do this automatically. After that I manually repaired it.

    Now it boot only if I have both workin disks :(
     
  6. falko

    falko Super Moderator Howtoforge Staff

    What's in your menu.lst now?
     
  7. palcica

    palcica New Member

    default 0
    fallback 1


    title Ubuntu 8.04.4 LTS, kernel 2.6.24-27-server
    root (hd1,0)
    kernel /vmlinuz-2.6.24-27-server root=/dev/mapper/ubuntu-root ro quiet splash
    initrd /initrd.img-2.6.24-27-server

    title Ubuntu 8.04.4 LTS, kernel 2.6.24-27-server
    root (hd0,0)
    kernel /vmlinuz-2.6.24-27-server root=/dev/mapper/ubuntu-root ro quiet splash
    initrd /initrd.img-2.6.24-27-server
    quiet

    title Ubuntu 8.04.4 LTS, kernel 2.6.24-27-server (recovery mode)
    root (hd0,0)
    kernel /vmlinuz-2.6.24-27-server root=/dev/mapper/ubuntu-root ro single
    initrd /initrd.img-2.6.24-27-server

    title Ubuntu 8.04.4 LTS, memtest86+
    root (hd0,0)
    kernel /memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST
     
  8. falko

    falko Super Moderator Howtoforge Staff

    What's the exact error message when you try to boot the system?
     
  9. palcica

    palcica New Member

    Loading, please wait...

    and thats it
     

Share This Page