I have an acer laptop, legacy BIOS, single SATA 75G HDD, with gentoo installed.
Recently, i bought a new SSD, m.2, ngff, 256G, and a ngff to usb cable, so that i can connect the SSD to laptop via USB.
I boot the laptop with a temperary usb drive(SLAX linux), the use dd command to clone the 75G HDD into new 256G SSD.
And i have a SATA to usb cable, i can connect the HDD with this cable to laptop and boot the system in this way. That is to say, i can boot the system with the HDD no matter its connected with SATA or via a SATA to usb cable.
But i cannot boot the system using the cloned SSD. If i boot with SSD connected to the laptop with USB, i got:
Code: Select all
error: invalid arch-independent ELF magic.
Entering rescue mode...
grub rescue>
Code: Select all
Determining root device (trying UUID=94db66xxxxxx
Root device detected as /dev/sdb3!
Mounting /dev/sdb3 as root ...
Using mount -t ext4 -o ro /dev/sdb3 /newroot
!! init (/sbin/init) not found in mounted root device (/dev/sdb3)!
so, what can be wrong? any kernel configuration i need for this new m.2 ngff 256G SSD connected via ngff to usb cable?



