Results 1 to 7 of 7

Thread: Unable to boot due to changed UUID in RAID array

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Beans
    12

    Unable to boot due to changed UUID in RAID array

    Allo, I'm running 64bit Lucid. I've recently had a severe problem with my softraid (5) array, and have had to recreate the array to fix it. However this now means that something is up with GRUB/initramfs, and booting times out while waiting for the root device (md0) to be ready. /boot is on a normal partition, not the raid array itself. A friend of mine has rebuilt my initramfs file with the new UUID, but now I get the message: 'Kernel panic - not syncing : VFS: unable to mount root fs on unknown-block (9,0)'.

    So my question is either how do I sort this error, OR how do I rebuild initramfs/grub in a way that will boot? I've been without a system for over a week now, pretty much at my wits end.

    Many thanks in advance.

  2. #2
    Join Date
    May 2009
    Location
    New Delhi
    Beans
    372
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Unable to boot due to changed UUID in RAID array

    boot from a live cd
    find the new uuid with blkid
    and make the changes to your fstab

    when booting from grub choose the edit mode and change the uuid that should allow you to boot after which you can update grub

  3. #3
    Join Date
    Mar 2009
    Beans
    12

    Re: Unable to boot due to changed UUID in RAID array

    I've already added the uuid to the boot line, root=UUID=$uuid, and I've edited fstab too... as fstab is on the array, it won't be being loaded at that point, so it must be something awry with /boot, initrd, or GRUB. Thank you though.

  4. #4
    Join Date
    Mar 2009
    Beans
    12

    Re: Unable to boot due to changed UUID in RAID array

    bumping

  5. #5
    Join Date
    May 2010
    Location
    UK - England
    Beans
    124
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Unable to boot due to changed UUID in RAID array

    Perhaps you are experiencing a similar issue as discussed here but for a different reason.

    http://ubuntuforums.org/showthread.php?t=1477373

    Check your /boot/grub/grub.cfg has the initrd.img entry present for the kernel you are trying to boot into.

  6. #6
    Join Date
    Mar 2009
    Beans
    12

    Re: Unable to boot due to changed UUID in RAID array

    It is present, cheers though.

  7. #7
    Join Date
    Mar 2009
    Beans
    12

    Re: Unable to boot due to changed UUID in RAID array

    Solution: boot from the alternate installer CD's 'Recover' option, set the root as the raid array, and update initramfs.

    This doesn't solve the issue that caused the broken raid in the first place ... something in Ubuntu is literally wrecking my raid, specifics as yet unknown, but it's happened 3 times now, once within _10 minutes_ of repairing and rebooting the system. I've updated everything, but it's happened once since I did that... waiting on it to happen again so I can inspect it via SSH (when it happens I lose USB/PS2 input, and usually have to hard reset).

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
  •