[Bug 965735] Re: Casper can't find cow device when mdadm RAID disks are attached

Micah R Ledbetter micah at micahrl.com
Tue Mar 27 23:04:50 UTC 2012


I've attached the casper.log I got when I typed "live debug=" from the
isolinux prompt.

** Attachment added: "casper.log from a failed boot"
   https://bugs.launchpad.net/ubuntu/+source/casper/+bug/965735/+attachment/2951523/+files/casper.log

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

Title:
  Casper can't find cow device when mdadm RAID disks are attached

Status in “casper” package in Ubuntu:
  New

Bug description:
  I created a casper 1.287.1 -based livecd using this guide:
  <https://help.ubuntu.com/community/LiveCDCustomization>. I'm using
  Oneiric on an i386 system. I have removed the "quiet" argument and
  added "nosplash" argument to the bootloader.

  When I boot my livecd on a system with no disks, or with non-RAID
  disks, it will boot completely with no errors. However, if I try to
  boot on a system with disks that have a RAID array created by mdadm,
  it will fail to an (initramfs) prompt on virtual console 1. If I
  change to VC7, I see an error: "No init found. Try passing init =
  bootarg". Here's a longer log file from VC7:

      Begin: Running /scripts/init-premount ... done
      Begin: Mounting root file system ... [  4.956222] sd 6:0:0:0: Attached scsi generic sg4 type 0
      [  4.956342] sd 6:0:0:1: Attached scsi generic sg5 type 0
      [  4.956437] sd 6:0:0:2: Attached scsi generic sg6 type 0
      [  4.956543] sd 6:0:0:3: Attached scsi generic sg7 type 0
      [  4.964779] sd 6:0:0:0: [sdd] Attached SCSI removable disk
      [  4.965530] sd 6:0:0:0: [sde] Attached SCSI removable disk
      [  4.966415] sd 6:0:0:0: [sdf] Attached SCSI removable disk
      [  4.977920] sd 6:0:0:0: [sdg] Attached SCSI removable disk
      cp: can't create '/root/var/log/': Is a directory
      cp: can't create '/root/etc/': Is a directory
      done.
      Begin: Running /sripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
      done.
      mount: mounting /sys on /root/sys failed: No such file or directory
      mount: mounting /proc on /root/proc failed: nNo such file or directory
      Target filesystem doesn't have requested /sbin/init.
      No init found. Try passing init= bootarg

  From the (initramfs) prompt, I can see that the /cow filesystem was
  never mounted. If I run ". /scripts/casper-helpers", and then
  "find_cow_device", it returns "/dev/md127".

  When I run "find_cow_device" from a working system (NOT in initramfs,
  though - I'm not sure how to make it drop me a prompt), it returns
  "/dev/ram0".

  Has anyone else encountered this? Any help is much appreciated.

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




More information about the foundations-bugs mailing list