Boot HDD / SSD from internal to external USB adapter

I have a desktop pc with Manjaro installed, no windows, on internal ssd.
Sometimes I need to take out the ssd and boot it on external PCs like notebook, desktop…
The problem is that this internal ssd doesn’t boot as external ssd drive.
What I’m doing wrong?
SSD is efi, other PCs where I have tested are efi too.

Thank you for help.

That depends on the computer / laptop / motherboard.

Some allow it, some don’t.

More information is needed. Are you implying you put the SSD into a SATA-to-USB adapter?

In past time I used to do that with Kubuntu or some live OS via USB without any problem on various machines.
Yes, I use a SATA-to-USB adapter.
As external USB, SSD shows up only for data exchange, I can see home and root partitions on SSD, after the local ( any PCs ) OS booted up.
But as external drive, the SSD doesn’t boot.
Tank you.

Via USB? Or via SATA-to-USB? We’re just stabbing in the dark now.

Does your BIOS settings show you the SSD (plugged in with SATA-to-USB) as a selectable boot device?

You did the same exact thing with another Linux distro, with Grub installed as an EFI bootloader, using the SSD plugged into a SATA-to-USB adapter?

I use a SATA-to-USB adapter to link SSDs or HDDs to PCs.
In BIOS / UEFI I see my external SSD but if I select it for boot grub sey me it did not find any OS to boot. It shows a message more or less like: “None OS found, please select an OS to boot” , next time I write it to be more clear.

On last question I don’t remember exactly, I have tried also Kubuntu as external USB boot drive.
Systems are totally encrypted now, and Kubuntu doesn’t boot on external USB if the internal OS is the same. This is some luks encryption incompatibility.

So you do get to Manjaro’s Grub this way?


Can you post your boot configuration? It is available at /boot/grub/grub.cfg.

cat /boot/grub/grub.cfg

                                                                                                                            
 
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

set menu_color_normal=light-gray/black
set menu_color_highlight=green/black

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod cryptodisk
insmod luks
insmod gcry_rijndael
insmod gcry_rijndael
insmod gcry_sha256
insmod ext2
cryptomount -u d2d97***
set root='cryptouuid/d2d97***'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='cryptouuid/d2d97***'  60f82***
else
  search --no-floppy --fs-uuid --set=root 60f82***
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=it_IT
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_gpt
insmod cryptodisk
insmod luks
insmod gcry_rijndael
insmod gcry_rijndael
insmod gcry_sha256
insmod ext2
cryptomount -u d2d97***
set root='cryptouuid/d2d97***'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='cryptouuid/d2d97***'  60f82***
else
  search --no-floppy --fs-uuid --set=root 60f82***
fi
insmod gfxmenu
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_24.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_48.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_bold_16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_mono_12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-18.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b18.pf2
insmod png
set theme=($root)/usr/share/grub/themes/manjaro/theme.txt
export theme
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=hidden
  set timeout=5
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 5 ; then
  set timeout=0
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-60f82***' {
        savedefault
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod cryptodisk
        insmod luks
        insmod gcry_rijndael
        insmod gcry_rijndael
        insmod gcry_sha256
        insmod ext2
        cryptomount -u d2d97***
        set root='cryptouuid/d2d97***'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint='cryptouuid/d2d97***'  60f82***
        else
          search --no-floppy --fs-uuid --set=root 60f82***
        fi
        linux   /boot/vmlinuz-5.15-x86_64 root=UUID=60f82*** rw  quiet cryptdevice=UUID=d2d97***:luks-d2d97*** root=/dev/mapper/luks-d2d97*** apparmor=1 security=apparmor udev.log_priority=3
        initrd  /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
}
submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-60f82***' {
        menuentry 'Manjaro Linux (Kernel: 5.15.49-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.49-1-MANJARO x64-advanced-60f82***' {
        savedefault
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod cryptodisk
                insmod luks
                insmod gcry_rijndael
                insmod gcry_rijndael
                insmod gcry_sha256
                insmod ext2
                cryptomount -u d2d97***
                set root='cryptouuid/d2d97***'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='cryptouuid/d2d97***'  60f82***
                else
                  search --no-floppy --fs-uuid --set=root 60f82***
                fi
                linux   /boot/vmlinuz-5.15-x86_64 root=UUID=60f82*** rw  quiet cryptdevice=UUID=d2d97***:luks-d2d97*** root=/dev/mapper/luks-d2d97*** apparmor=1 security=apparmor udev.log_priority=3
                initrd  /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
        }
        menuentry 'Manjaro Linux (Kernel: 5.15.49-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.49-1-MANJARO x64-fallback-60f82***' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod cryptodisk
                insmod luks
                insmod gcry_rijndael
                insmod gcry_rijndael
                insmod gcry_sha256
                insmod ext2
                cryptomount -u d2d97***
                set root='cryptouuid/d2d97***'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='cryptouuid/d2d97***'  60f82***
                else
                  search --no-floppy --fs-uuid --set=root 60f82***
                fi
                linux   /boot/vmlinuz-5.15-x86_64 root=UUID=60f82*** rw  quiet cryptdevice=UUID=d2d97***:luks-d2d97*** root=/dev/mapper/luks-d2d97*** apparmor=1 security=apparmor udev.log_priority=3
                initrd  /boot/initramfs-5.15-x86_64-fallback.img
        }
        menuentry 'Manjaro Linux (Kernel: 5.10.124-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.124-1-MANJARO x64-advanced-60f82***' {
        savedefault
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod cryptodisk
                insmod luks
                insmod gcry_rijndael
                insmod gcry_rijndael
                insmod gcry_sha256
                insmod ext2
                cryptomount -u d2d97***
                set root='cryptouuid/d2d97***'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='cryptouuid/d2d97***'  60f82***
                else
                  search --no-floppy --fs-uuid --set=root 60f82***
                fi
                linux   /boot/vmlinuz-5.10-x86_64 root=UUID=60f82*** rw  quiet cryptdevice=UUID=d2d97***:luks-d2d97*** root=/dev/mapper/luks-d2d97*** apparmor=1 security=apparmor udev.log_priority=3
                initrd  /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
        }
        menuentry 'Manjaro Linux (Kernel: 5.10.124-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.124-1-MANJARO x64-fallback-60f82***' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod cryptodisk
                insmod luks
                insmod gcry_rijndael
                insmod gcry_rijndael
                insmod gcry_sha256
                insmod ext2
                cryptomount -u d2d97***
                set root='cryptouuid/d2d97***'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint='cryptouuid/d2d97***'  60f82***
                else
                  search --no-floppy --fs-uuid --set=root 60f82***
                fi
                linux   /boot/vmlinuz-5.10-x86_64 root=UUID=60f82*** rw  quiet cryptdevice=UUID=d2d97***:luks-d2d97*** root=/dev/mapper/luks-d2d97*** apparmor=1 security=apparmor udev.log_priority=3
                initrd  /boot/initramfs-5.10-x86_64-fallback.img
        }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
        fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/41_snapshots-btrfs ###
### END /etc/grub.d/41_snapshots-btrfs ###

### BEGIN /etc/grub.d/60_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
    menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
        search --fs-uuid --no-floppy --set=root --hint='cryptouuid/d2d97***'  60f82***
        linux16 /boot/memtest86+/memtest.bin 
    }
fi
### END /etc/grub.d/60_memtest86+ ###


I’m here now: device luks-d2d*** not found.

Can anyone help me, please?
I can not understand how to do it, it is the first time that I am faced with this problem.

Manjaro isn’t designed to work like this. Other distro’s might suit this use case better.

Thank you for your explanation.
Have a ggod day.