Error installing Arch Linux
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.
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).
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.
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 :)
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 ../../