Tomas-M/linux-live

" Could not locate linux data " Error when boot up

nonvwvnon opened this issue · 5 comments

my filesystem is formatted in ext4 and did the unzip and run the bootinst. the usb ssd drive give a 'Error: Could not locate linux data' error.

on another occassion, i once change the usb cable and the usb ssd drive is able to boot up the OS..
it work on usb thumbdrive.

it is a 'hit and miss' situation.

i wonder if there is a solution for th above problem.

Hmm, if the initramfs cannot find your drive and mount it, maybe is a driver problem. You say that thumbdrive is able to boot so it should be driver problem. Is your Kernel compiled with NVMe support?
Also, if changing the cable is a solution, then are you sure that is not a cable problem? You can reproduce this error with a reliable cable?
You should provide more information on how you created your live image, which distro, which kernel, etc.

This may be a driver issue.

UAS driver is USB Attached SCSI. This is the driver Linux and Windows refers to when the USB device is attached on my system. I referred to ticket #83 to identify the driver.

used
usb-devices
to identify the driver is uas

used modinfo uas to identify driver location.

once the driver location was identified i was able to update initramfs_create to include
copy_including_deps /$LMK/kernel/drivers/usb/storage/uas.*

CsIxy commented

+1
I confirm! I pasted this line:

copy_including_deps /$LMK/kernel/drivers/usb/storage/uas.*

in Thomas-M-linux-live-blablabla/initramfs/initramfs_create script
to the stage... # usb drivers
The build prepared in this way can now also be booted on the USB adapter NVME SSD drive. I think that other drives with USB adapters will also become viable in this way.
I would ask the Author, if he does not object, to insert this line into the "factory" Linux Live Kit as well.
Thank you if my request is considered.

Thank you for testing.
Added by this commit:
f4cce92

CsIxy commented

Thank you