Regardless of the advisability of doing so, when booting from the external hard drive connected with a SATA to USB adapter cable:
this results in a black screen simply with GRUB
in the top left corner. Apparently the system is frozen.
How do I determine that the external drive:
$
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 335.4G 0 disk
├─sdb2 8:18 0 4.9M 0 part
├─sdb3 8:19 0 300K 0 part
└─sdb1 8:17 0 2.8G 0 part /media/nicholas/Ubuntu 20.10 amd64
sr0 11:0 1 1024M 0 rom
sda 8:0 0 149G 0 disk
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 148.5G 0 part
│ ├─ubuntu--vg-swap_1 253:1 0 8G 0 lvm [SWAP]
│ └─ubuntu--vg-root 253:0 0 140.5G 0 lvm /
└─sda1 8:1 0 487M 0 part /boot
$
$
$ ls /media/nicholas/Ubuntu\ 20.10\ amd64/
boot boot.catalog casper dists EFI install md5sum.txt pics pool preseed README.diskdefines ubuntu
$
$ ls /media/nicholas/Ubuntu\ 20.10\ amd64/README.diskdefines
/media/nicholas/Ubuntu 20.10 amd64/README.diskdefines
$
$
$
$ nl /media/nicholas/Ubuntu\ 20.10\ amd64/README.diskdefines
1 #define DISKNAME Ubuntu 20.10 "Groovy Gorilla" - Release amd64
2 #define TYPE binary
3 #define TYPEbinary 1
4 #define ARCH amd64
5 #define ARCHamd64 1
6 #define DISKNUM 1
7 #define DISKNUM1 1
8 #define TOTALNUM 0
9 #define TOTALNUM0 1
$
$ sudo fdisk -l
Disk /dev/sda: 149 GiB, 160000000000 bytes, 312500000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4e19221b
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 999423 997376 487M 83 Linux
/dev/sda2 1001470 312498175 311496706 148.5G 5 Extended
/dev/sda5 1001472 312498175 311496704 148.5G 8e Linux LVM
Disk /dev/mapper/ubuntu--vg-root: 140.5 GiB, 150894280704 bytes, 294715392 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/ubuntu--vg-swap_1: 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
GPT PMBR size mismatch (5746099 != 703282605) will be corrected by w(rite).
Disk /dev/sdb: 335.4 GiB, 360080694272 bytes, 703282606 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 7EE1FFAC-4072-46B8-885E-A7EA3F9C70CF
Device Start End Sectors Size Type
/dev/sdb1 64 5735483 5735420 2.8G Microsoft basic data
/dev/sdb2 5735484 5745435 9952 4.9M EFI System
/dev/sdb3 5745436 5746035 600 300K Microsoft basic data
$
$ dmidecode -t 2
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.5 present.
Handle 0x0002, DMI type 2, 10 bytes
Base Board Information
Manufacturer: Gateway
Product Name: G33M05G1
Version: MP
Serial Number: ULYM82502591
Asset Tag:
Features:
Board is a hosting board
$
is bootable?
Might this be due to the fact that it's a SATA
drive being used for booting, or some other hardware type problem or configuration?
see also:
Boot from an ext4 partition on an external hard drive?
result of sudo parted --list
is:
Model: ATA MB2000GCWLT (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 538MB 537MB primary fat32 boot
2 539MB 2000GB 2000GB extended
5 539MB 2000GB 2000GB logical lvm
Error: The backup GPT table is corrupt, but the primary appears OK, so that will
be used.
OK/Cancel? ok
Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra
697536506 blocks) or continue with the current setting?
Fix/Ignore? i
Model: Mass Storage Device (scsi)
Disk /dev/sdb: 360GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 32.8kB 2937MB 2937MB ISO9660 hidden, msftdata
2 2937MB 2942MB 5095kB Appended2 boot, esp
3 2942MB 2942MB 307kB Gap1 hidden, msftdata
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vgubuntu-swap_1: 1023MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1023MB 1023MB linux-swap(v1)
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vgubuntu-root: 1999GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1999GB 1999GB ext4