Error installing Arch Linux

56,292

Solution 1

I got this error using an ISO to USB program on Windows.

The problem was that the filesystem label did not change to 'ARCH_201306' when the program formatted the USB drive. In my case, it was still labelled 'PENDRIVE'.

This is why '/dev/disk/by-label/ARCH_201306' never shows up. The USB drive has the wrong name.

Solution is to rename the USB drive to 'ARCH_201306' (or similar name based on the release date).

Solution 2

According to this page, the problem is because you are booting from a USB drive. Try the solution suggested there, type this command at the prompt (you may have to type exit or hit enter first to get a prompt):

ln -s /dev/sdb1 /dev/archiso

That assumes that your USB drive is detected as /dev/sdb. To find out if it is the case, run:

cat /proc/scsi/scsi

Other solutions are also suggested on the thread I linked to.

Solution 3

First, check this post: https://bbs.archlinux.org/viewtopic.php?id=142473

They mention something about specifying the wrong device when creating the disk. In particular, maybe you used /dev/sdx1 instead of /dev/sdx

If that doesn't help, I suggest you try the two options to create the live USB they give in their wiki: https://wiki.archlinux.org/index.php/USB_Installation_Media

Then, if it keeps failing, try Unetbootin to generate the bootable USB.

If you still can't make it work, try either using ArchBang (fastest option), the Netboot image, or an older snapshot of Arch (not too old, or it won't have systemd).

Finally, if all of the above failed, cry yourself to sleep and install another distribution when you wake up :)

Solution 4

I encountered this problem because I rushed into installing Arch Linux via UNetbootin. This is not recommended since UNetbootin overwrites syslinux.cfg on the USB stick.

To make Arch Linux boot after UNetbootin copied the installation files to the USB stick, you have to edit syslinux.cfg:

default menu.c32
prompt 0
menu title Archlinux Installer
timeout 100

label unetbootindefault
menu label Archlinux_x86_64
kernel /arch/boot/x86_64/vmlinuz
append initrd=/arch/boot/x86_64/archiso.img archisodevice=/dev/sdb1 ../../

label ubnentry0
menu label Archlinux_i686
kernel /arch/boot/i686/vmlinuz
append initrd=/arch/boot/i686/archiso.img archisodevice=/dev/sdb1 ../../
Share:
56,292

Related videos on Youtube

werdho
Author by

werdho

Updated on September 18, 2022

Comments

  • werdho
    werdho over 1 year

    I am trying to install Arch Linux on my Acer Aspire 4830tg, but I keep running into problems.

    Some background knowledge: I am trying to install Arch off a USB stick and I got the ISO image using bittorrent. I am also trying to install it alongside of Windows 8 (which is already installed).

    When I boot into Arch linux I get this error:

    :: Mounting '/dev/disk/by-label/ARCH_201212' to 'run/archiso/bootmnt'
    Waiting 30 seconds for device /dev/disk/by-label/ARCH_201212 ...
    ERROR: '/dev/disk/by-label/ARCH_201212' device did not show up after 30 seconds...
    Falling back to interactive prompt
    You can try to fix the problem manually, log out when you are finished
    sh: can't access tty; job control turned off
    

    I know that it will work if I run it on a virtual machine but whenever I try to install it on my laptop I keep getting this error. And since you can't register for the Arch forums without an Arch terminal to run their captcha command I can't ask this on their forums.

  • darkAsPitch
    darkAsPitch about 11 years
    I downvoted this "answer". You received two actual answers to your question. Just because you didn't like them doesn't mean you can change the question and make up your own answer.
  • Prerak Diwan
    Prerak Diwan almost 11 years
    @darkAsPitch how was this question changed?
  • tjb
    tjb almost 11 years
    after successfully making the symlink (at this time the command that was needed was something like (ln -sf /dev/disk/by-label/MYWRONGLYNAMEDDRIVE /dev/disk/by-label/ARCH_201307) just exit the prompt
  • Joël
    Joël over 7 years
    Cheers! I had this using UNetbootin for Mac.
  • Matthias Braun
    Matthias Braun over 7 years
    You can check out Arch Linux' release dates here.
  • Gavin Smith
    Gavin Smith over 7 years
    My boot options already look fine, still have the issue.
  • Gavin Smith
    Gavin Smith over 7 years
    This doesn't work for me because it's still looking for the disk by-label that doesn't exist.
  • Gavin Smith
    Gavin Smith over 7 years
    Didn't help me in trying to install Apricity though the same files exist, so I thought this would work.
  • terdon
    terdon over 7 years
    Unfortunately, there is no good method for dealing with cross-site duplicate questions. So instead of linking to your answer on U&L, it's better to just post the same thing here. No this isn't perfect, but it's the best we can do.