[Bug 116727] Re: [->UUIDudev] mkinitramfs with raid makes an unbootable image

Launchpad Bug Tracker 116727 at bugs.launchpad.net
Sun Jul 7 04:18:08 UTC 2013


[Expired for mdadm (Ubuntu) because there has been no activity for 60
days.]

** Changed in: mdadm (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/116727

Title:
  [->UUIDudev] mkinitramfs with raid makes an unbootable image

Status in “mdadm” package in Ubuntu:
  Expired

Bug description:
  Binary package hint: initramfs-tools

  I'm trying to make a initrd image so that I can boot my sw raid system. root
  is on /dev/md0. I modified the script to print some debugging info before the kernel
  panic. the panic is caused by run-init failing. It might have something to do with how
  run-init trys to change the root at the same time that it starts init. Anyways, I'm typing
  the text out:

  cat /proc/partitions shows that /dev/sd[ab]1 (/) and /dev/sd[ab]5 (swap) exist as well
  as /dev/md[01]

  mount shows that we have
  none on /sys type sysfs
  none on /proc type proc 
  udev on /dev type tmpfs
  /dev/md0 on /root type ext3

  after init bottom scripts are executed (empty)
  it fails:
  run-init: /sbin/init: No such file or directory

  I further modified the scripts to print out /proc/mdstat
  it shows:
  (I haven't finished the raid installation)
  Personalities : [raid1]
  md1: active raid1 sdb5[1]
    1526016 blocks [2/1] [_U]

  md0 : active raid1 sdb1[1]
    34619968 blocks [2/1] [_U]

  and a ls / shows that all the files are there before
  run init is called. if i pass init=/root/sbin/init to the
  kernel it will drop me into busy box instead i think.
  with that tty not found error i've seen somewhere on this
  bug list

  ii  initramfs-tool 0.85eubuntu10
  Linux timmy-desktop 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 GNU/Linux

  fresh install from a few days ago

  also, i copied files from /usr/share/initramfs-tools to /etc/initramfs-tools
  because i was worried the scripts weren't in place there. there should
  only be one directory --it's confusing to have two like this

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/116727/+subscriptions




More information about the foundations-bugs mailing list