You are not logged in.

#1 2019-09-09 14:48:08

itai33
Member
Registered: 2018-01-26
Posts: 11

Trying to install arch on a live usb

tl;dr: I'm trying to install arch on a live usb from virtual box but when trying to install grub the system hangs.

I have a windows computer (Lenovo 730) that I want to run arch on from a live usb. To do this I'm attempting to load the archiso in virtualbox (I have installed virtualbox extensions as recommended by the wiki) and install arch on the usb. SInce my computer has UEFI (and I cannot change it back to BIOS due to circumstances) I need to install with UEFI.

I partitioned the usb using cfdisk so that /dev/sdb is 512M of type ef EFI (FAT-12/16/32) and /dev/sdb2 is about 30G of type 83 Linux, with a gpt partition table.

I formatted the linux partition to ext4 , mounted it to /mnt, then formatted the efi partition to fat32, and mounted it to /mnt/efi

Then I went through the rest of the install process, but when I get to installing grub the system just hangs. the command I ran to install grub is:

# grub-install --target=x86_64-efi --efi-directory=esp  --removable --recheck

which I got from the wiki page on live usb installs. If I wait long enough I used to get an error message for the kernel hanging (something info blocked for 122 seconds?) but now that I'm writing this post it just runs indefinitely.

Any help would be appreciated.

Offline

#2 2019-09-10 09:58:53

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Trying to install arch on a live usb

--efi-directory=esp

that part is wrong, (re-)read https://wiki.archlinux.org/index.php/GRUB#UEFI_systems to find what you need to put there.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2019-09-20 13:06:40

Xigi
Member
From: online
Registered: 2013-11-27
Posts: 15

Re: Trying to install arch on a live usb

itai33 wrote:

your link points to an empty page..

Offline

#4 2019-09-20 23:36:56

Sabu
Member
Registered: 2019-09-20
Posts: 2

Re: Trying to install arch on a live usb

The page is not empty, its slightly longer so be patient while loading/rendering.

Offline

#5 2019-09-20 23:38:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Trying to install arch on a live usb

The link has an erroneous trailing slash. The correct link is https://wiki.archlinux.org/index.php/In … _a_USB_key


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB