fix(boot): connect filesystem drivers to partitions in reverse order

This commit is contained in:
alex committed 2026-10-16 13:25:43 -07:00
1 parent 6cdf5362a4
commit ed226afb7e
1 file changed
+6 -1
+6 -1
View File
@@ -115,7 +115,12 @@ fn reconnect(provides: DriverProvides, drivers: &[Handle]) -> Result<()> {
.iter() .iter()
.copied() .copied()
.collect(), .collect(),
DriverProvides::Filesystems => locate_storage_handles()?, DriverProvides::Filesystems => {
// Probe in reverse so the first partition is the last to be tried.
let mut storage = locate_storage_handles()?;
storage.reverse();
storage
}
}; };
// The driver list passed to the firmware must end with a null entry. // The driver list passed to the firmware must end with a null entry.