geninitrd + initramfs sucks

Bug #301419 reported by Szymon Siwek
2
Affects Status Importance Assigned to Milestone
PLD Linux
Fix Released
Undecided
Elan Ruusamäe

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)

Revision history for this message
Szymon Siwek (slsiwek) wrote :
Revision history for this message
Elan Ruusamäe (glen666) wrote :

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

Changed in pld-linux:
assignee: nobody → Elan Ruusamäe (glen666)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.