FS#4855 - mkinitcpio can't autodetect filesystems on install

Attached to Project: Arch Linux
Opened by name withheld (Gullible Jones) - Friday, 23 June 2006, 23:18 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 11 August 2006, 15:56 GMT
Task Type Bug Report
Category Installation
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

It seems that mkinitcpio's filesystem autodetection doesn't work when the program is not run from within an Arch system, e.g. during a normal installation. When run from a booted Arch Linux system, nothing goes wrong, but if you use the initrd produced by mkinitcpio during the installation, you'll get a kernel panic because the necessary filesystem modules aren't there.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Friday, 11 August 2006, 18:36 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Seems to have "fixed itself" without me knowing.... /shrug
Comment by Aaron Griffin (phrakture) - Saturday, 24 June 2006, 06:07 GMT
Yes, I thought about this, but didn't think it had an impact until now. The original plan was to simply run an fstype check on all block devices on the system. This will work, but will not detect more esoteric FSes, so will require a warning to the users.

I will think about the best way to do that. Thanks
Comment by Aaron Griffin (phrakture) - Friday, 11 August 2006, 15:56 GMT
The filesystem detection has been reworked to use sysfs to discover block devices. Please let me know if this fixes your issue.
Comment by name withheld (Gullible Jones) - Friday, 11 August 2006, 18:29 GMT
Actually, it has worked fine for quite some time... For some reason I had thought that this thread had been closed.
Comment by Aaron Griffin (phrakture) - Friday, 11 August 2006, 18:35 GMT
:oops:
Did I make unneeded changes? *gasp*

Well, I think the new way of doing it is a tad more appropriate, as it uses sysfs to detect block devices.

I'll close.

Loading...