Installare grub per avviare ubuntu da memoria esterna
Inviato: sabato 1 febbraio 2020, 19:10
Buonasera a tutti, in un precedente pc con uefi e win 10 installato sulla memoria principale emmc, avevo installato ubuntu in dual boot su una estensione di memoria m.2 .
Ho dato via quel pc ed ora ho un altro pc -un asus E200HA- con installato sempre win 10 sulla memoria principale emmc.
Vorrei far avviare ubuntu installato sulla memoria m.2 che ho collegato al pc attraverso un adattatore m.2 to usb.
Se entro nel bios la memoria m.2 non viene vista e quindi non posso modificare l ordine di boot.
Allora ho lanciato una live di lubuntu e ho dato il comando
Poi ho dato sia il comando sia il comando ma in entrambi i casi mi dice che e impossibile trovare la directory EFI…. .
Se guardo KDE Partition Manager mi sembra che la directory con efi sia /dev/mmcblk0p1.
Dove sbaglio?
Come posso fare?
Grazie anticipate.
Ho dato via quel pc ed ora ho un altro pc -un asus E200HA- con installato sempre win 10 sulla memoria principale emmc.
Vorrei far avviare ubuntu installato sulla memoria m.2 che ho collegato al pc attraverso un adattatore m.2 to usb.
Se entro nel bios la memoria m.2 non viene vista e quindi non posso modificare l ordine di boot.
Allora ho lanciato una live di lubuntu e ho dato il comando
Codice: Seleziona tutto
sudo apt install --reinstall grub-efiCodice: Seleziona tutto
sudo grub-install /dev/mmcblk0Codice: Seleziona tutto
sudo grub-install /dev/mmcblk0p1Codice: Seleziona tutto
grub-install: error: cannot find EFI directorySe guardo KDE Partition Manager mi sembra che la directory con efi sia /dev/mmcblk0p1.
Dove sbaglio?
Come posso fare?
Grazie anticipate.
Codice: Seleziona tutto
lubuntu@lubuntu:~$ sudo apt install --reinstall grub-efi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
efibootmgr grub-efi-amd64 grub-efi-amd64-bin
grub-efi-amd64-signed
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
efibootmgr grub-efi grub-efi-amd64 grub-efi-amd64-bin
grub-efi-amd64-signed
0 upgraded, 5 newly installed, 2 to remove and 0 not upgraded.
Need to get 1200 kB/1228 kB of archives.
After this operation, 13.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu eoan-updates/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu12.1 [700 kB]
Get:2 cdrom://Lubuntu 19.10 _Eoan Ermine_ - Release amd64 (20191017.1) eoan/main amd64 efibootmgr amd64 15-1 [28.2 kB]
Get:3 http://archive.ubuntu.com/ubuntu eoan-updates/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu12.1 [30.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu eoan-updates/main amd64 grub-efi-amd64-signed amd64 1.128.1+2.04-1ubuntu12.1 [467 kB]
Get:5 http://archive.ubuntu.com/ubuntu eoan-updates/main amd64 grub-efi amd64 2.04-1ubuntu12.1 [2592 B]
Fetched 1200 kB in 3s (423 kB/s)
Preconfiguring packages ...
(Reading database ... 288151 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7) ...
Removing grub-pc (2.04-1ubuntu12.1) ...
Selecting previously unselected package efibootmgr.
(Reading database ... 288130 files and directories currently installed.)
Preparing to unpack .../efibootmgr_15-1_amd64.deb ...
Unpacking efibootmgr (15-1) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../grub-efi-amd64-bin_2.04-1ubuntu12.1_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.04-1ubuntu12.1) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.04-1ubuntu12.1_amd64.deb ...
Unpacking grub-efi-amd64 (2.04-1ubuntu12.1) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../grub-efi-amd64-signed_1.128.1+2.04-1ubuntu12.1_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.128.1+2.04-1ubuntu12.1) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../grub-efi_2.04-1ubuntu12.1_amd64.deb ...
Unpacking grub-efi (2.04-1ubuntu12.1) ...
Setting up efibootmgr (15-1) ...
Setting up grub-efi-amd64-bin (2.04-1ubuntu12.1) ...
Setting up grub-efi-amd64 (2.04-1ubuntu12.1) ...
Setting up grub-efi (2.04-1ubuntu12.1) ...
Setting up grub-efi-amd64-signed (1.128.1+2.04-1ubuntu12.1) ...
Processing triggers for man-db (2.8.7-3) ...
lubuntu@lubuntu:~$ sudo grub-install /dev/mmcblk0
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
lubuntu@lubuntu:~$ sudo grub-install /dev/mmcblk0p1
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
lubuntu@lubuntu:~$ Codice: Seleziona tutto
lubuntu@lubuntu:~$ inxi -Fz
System:
Host: lubuntu Kernel: 5.3.0-18-generic x86_64 bits: 64
Desktop: LXQt 0.14.1 Distro: Ubuntu 19.10 (Eoan Ermine)
Machine:
Type: Laptop System: ASUSTeK product: E200HA v: 1.0
serial: <filter>
Mobo: ASUSTeK model: E200HA v: 1.0 serial: <filter>
UEFI: American Megatrends v: E200HA.207 date: 02/01/2016
Battery:
ID-1: BATC charge: 9.6 Wh condition: 14.0/19.0 Wh (74%)
CPU:
Topology: Quad Core model: Intel Atom x5-Z8300 bits: 64
type: MCP L2 cache: 1024 KiB
Speed: 480 MHz min/max: 480/1840 MHz Core speeds (MHz):
1: 611 2: 591 3: 943 4: 966
Graphics:
Device-1: Intel Atom/Celeron/Pentium Processor
x5-E8000/J3xxx/N3xxx Integrated Graphics
driver: i915 v: kernel
Display: x11 server: X.Org 1.20.5 driver: modesetting
unloaded: fbdev,vesa resolution: 1366x768~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics (Cherrytrail)
v: 4.5 Mesa 19.2.1
Audio:
Device-1: Intel HDMI/DP LPE Audio driver: HdmiLpeAudio
Device-2: bytcht-cx2072x driver: bytcht-cx2072x
Sound Server: ALSA v: k5.3.0-18-generic
Network:
Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network
Adapter
driver: ath10k_pci
IF: wlp1s0 state: up mac: <filter>
Drives:
Local Storage: total: 267.18 GiB used: 25.94 GiB (9.7%)
ID-1: /dev/mmcblk0 model: BGND3R size: 29.12 GiB
ID-2: /dev/sda type: USB vendor: SanDisk model: Ultra Fit
size: 14.48 GiB
ID-3: /dev/sdb type: USB vendor: Transcend
model: TS240GMTS420S size: 223.57 GiB
Partition:
ID-1: / size: 5.92 GiB used: 5.37 GiB (90.8%) fs: overlay
source: ERR-102
Sensors:
System Temperatures: cpu: 6280.0 C mobo: N/A
Fan Speeds (RPM): cpu: 0
Info:
Processes: 197 Uptime: 1h 14m Memory: 1.83 GiB
used: 1.10 GiB (60.0%) Shell: bash inxi: 3.0.36
lubuntu@lubuntu:~$