Find the answer to your Linux question:
Results 1 to 4 of 4
I just installed Ubuntu 10.04 on a separate drive from Windows XP. The problem is that when I try to update grub and get the dual boot setup I get ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    19

    [SOLVED] Lucid/Windows Xp Dual Boot

    I just installed Ubuntu 10.04 on a separate drive from Windows XP. The problem is that when I try to update grub and get the dual boot setup I get the following error, ERROR: isw: wrong number of devices in RAID set "isw_bfddaadfae_Windows XP" [1/2] on /dev/sdb. The two drives on this computer were once in RAID 1 config, but before installing Ubuntu I split them back up, reinstalled Windows on one and Ubuntu on the other. The chipset is P965/ICH8R. I did set the drive controller back to IDE mode. Any ideas on what the problem could be? Here are the contents of fstab and grub.cfg:

    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sda1 during installation
    UUID=69ac3f03-50f2-46e6-a66a-8f424a5258f6 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=9824dcd5-6959-401a-bf6a-0a93dfbcbba5 none swap sw 0 0
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #

    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
    set saved_entry=${prev_saved_entry}
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi

    function savedefault {
    if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
    fi
    }

    function recordfail {
    set recordfail=1
    if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    }
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 69ac3f03-50f2-46e6-a66a-8f424a5258f6
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=640x480
    insmod gfxterm
    insmod vbe
    if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
    fi
    fi
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 69ac3f03-50f2-46e6-a66a-8f424a5258f6
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    if [ ${recordfail} = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###

    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###

    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 69ac3f03-50f2-46e6-a66a-8f424a5258f6
    linux /boot/vmlinuz-2.6.32-24-generic root=UUID=69ac3f03-50f2-46e6-a66a-8f424a5258f6 ro quiet splash
    initrd /boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 69ac3f03-50f2-46e6-a66a-8f424a5258f6
    echo 'Loading Linux 2.6.32-24-generic ...'
    linux /boot/vmlinuz-2.6.32-24-generic root=UUID=69ac3f03-50f2-46e6-a66a-8f424a5258f6 ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 69ac3f03-50f2-46e6-a66a-8f424a5258f6
    linux /boot/vmlinuz-2.6.32-21-generic root=UUID=69ac3f03-50f2-46e6-a66a-8f424a5258f6 ro quiet splash
    initrd /boot/initrd.img-2.6.32-21-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 69ac3f03-50f2-46e6-a66a-8f424a5258f6
    echo 'Loading Linux 2.6.32-21-generic ...'
    linux /boot/vmlinuz-2.6.32-21-generic root=UUID=69ac3f03-50f2-46e6-a66a-8f424a5258f6 ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.32-21-generic
    }
    ### END /etc/grub.d/10_linux ###

    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 69ac3f03-50f2-46e6-a66a-8f424a5258f6
    linux16 /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 69ac3f03-50f2-46e6-a66a-8f424a5258f6
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###

    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ ${timeout} != -1 ]; then
    if keystatus; then
    if keystatus --shift; then
    set timeout=-1
    else
    set timeout=0
    fi
    else
    if sleep --interruptible 3 ; then
    set timeout=0
    fi
    fi
    fi
    ### END /etc/grub.d/30_os-prober ###

    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Problem isn't in config files. Ubuntu's GRUB is detecting RAID settings in BIOS.
    Check your machine's BIOS again. Check if any RAID related property is enabled in BIOS.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    19
    It's working now. When I split the drives from RAID1 I just set the drive controller back to IDE mode and reinstalled everything. I set the controller back to RAID mode and then went into the configuration utility and used the 'set disks to non-RAID' option. After setting the controller back to IDE mode after this everything works good. Thanks for the help.

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Glad to help you ! Do start a new thread if you have any other problem.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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