[Bug 301419] Re: geninitrd + initramfs sucks

Elan Ruusamäe 301419 at bugs.launchpad.net
Tue Mar 24 06:52:20 CET 2015


should be fixed in git. this portion of code was rewritten

** Changed in: pld-linux
       Status: New => Fix Released

** Changed in: pld-linux
     Assignee: (unassigned) => Elan Ruusamäe (glen666)

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/301419

Title:
  geninitrd + initramfs sucks

Status in PLD Linux Distribution:
  Fix Released

Bug description:
  geninitrd-10000-2 invoked with --initrdfs initramfs.
  I use grub. kernel cmdline looks like root=/dev/hda1.
  initrd can't mount /root because it tries to mount /dev/hda10.

  The problems is that init (from initrd) use awk to find something in
  /proc/partition in such way:

  grep hda1 /proc/partition

  I've got many partitions and unfortunately 'hda1' matches 'hda1' and
  'hda10'.

  Attached patch fixes this bug (and I'm almost sure it would not break
  anything)

To manage notifications about this bug go to:
https://bugs.launchpad.net/pld-linux/+bug/301419/+subscriptions


More information about the pld-bugs mailing list