Bug #1522

md0 partitions are not available in mountroot>

Added by polachok over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:alexh% Done:

0%

Category:-
Target version:-

Description

Preload md image with load -t md_image /boot/miniroot.img in bootloader. Only md0
is shown in available devices list in mountroot prompt. Although md0s0 is in /dev
after boot.
Image to test with: http://polachok.v12.su/miniroot.img

History

#1 Updated by dillon over 4 years ago

I haven't looked at how the md miniroot.img is created, but since
devfs autoprobes anything defined as a disk the image file needs
to be fdisk'd and disklabeled properly. Look at that too while
Alex examines the setdiskinfo call.

-Matt

#2 Updated by alexh over 4 years ago

Should be fixed in d34ac8d012ca65a25351f4be0c12b31d9d0d3447. If so, please
close this issue.
In any case the posted miniroot.img needs a /dev directory, even if it's empty
or mounting devfs will fail.

Cheers,
Alex Hornung

Also available in: Atom PDF