geninitrd + initramfs sucks
Bug #301419 reported by
Szymon Siwek
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)
To post a comment you must log in.
should be fixed in git. this portion of code was rewritten