anarchylinux / installer Goto Github PK
View Code? Open in Web Editor NEWAnarchy Linux - A simple and intuitive Arch Linux installer. https://anarchyinstaller.org/
License: GNU General Public License v2.0
Anarchy Linux - A simple and intuitive Arch Linux installer. https://anarchyinstaller.org/
License: GNU General Public License v2.0
fetchmirrors and arch-wiki should be installed with pacman rather than simply copied over to /usr/bin allowing the ability to update these utils
The wireless is non working on install..
yeah
Hello there, thank you very much for this awesome tool. After trying it in a virtual environment I decided to test it on my macbook, unfortunately several issues pop up and I can't even start the installation process. Everything worked perfectly whilst using virtual box so not really sure what the problem is.
I have burned the ISO to a USB flash drive using # dd if=arch-anywhere-dual.iso of=/dev/sdX bs=4M && sync and consulting the arch wiki page at https://wiki.archlinux.org/index.php/USB_flash_installation_media#In_macOS so I am pretty sure that the USB was correctly prepared. I tried twice by redownloading the iso but the same issues occur.
The first issue is exactly the same as #48 but I managed to fix it either by using grub or mv to rename the iso label to ARCH_201609 since it is originally labelled as ARCH_EFI. Once I hit exit (to logout from rootfs) I get another problem but I have no idea how to proceed... The installer seems to be unable to locate the airootfs.sfs file.
something like losetup: /run/archiso/bootmnt/arch/.../airootfs.sfs: No such file or directory
:: Mounting '' to '/run/archiso/sfs/airootfs'
Waiting 30 seconds for device ...
ERROR: '' device did not show up after 30 seconds...
When I was dropped into roofs for the second time I tried searching for the missing file in an attempt to move it to where the installer is searching for it but I could not locate it.
Any pointers would be greatly appreciated.
Thanks
Bring back the archlinuxfr so yaourt can be installed with pacman rather than using makepkg
need to add variable to desktop list in etc/arch-anywhere.conf for bspwm
Ever used nixos?
I think it would be fantastic to set up some sort of an auto install that nukes my hard disk and outs arch in place the same way I always do, since I am a frequent OS exploder.
Hi @deadhead420 ! I don't know if you noticed my reply at:
I checked the latest (as of today) arch-installer.sh and did not see any option to install syslinux to root partition instead of mbr...
The command would be: "syslinux-install_update -i" (instead of -iam).
Can you check if it is possible to add such option?
TIA
it would be cool to have a section to install AUR helpers, like where you choose text editors, games etc.
I use pacaur
very much and pm
before it.
It seems like installing i3 using the arch-anywhere installer leads to problem with font. Here's a screenshot.
https://cdn.discordapp.com/attachments/207134135431462913/214545336981651456/unknown.png
I can't determine if It's exclusive of i3 or what it's causing it. I'm doing tests right now. The system is being installed in a x64 laptop, but it seems like other people have reported the same problem in a VM, so I doubt that this is an isolated problem.
On the line installing grub for UEFI, the mount point is hard coded to /boot instead of pulling in any custom mount point chosen, such as /boot/efi. I have an existing Arch instance that uses /boot as it's mount point for the $ESP. If I used the same for Arch-anywhere, that kernel would overwrite the kernels files of my other instance.
This causes the grub-install command to fail. That means the corresponding entry doesn't get written to the UEFI variables and at least some of the grub files don't get written to the $ESP. The grub-mkconfig does create the grub configuration file.
From line 1234-
arch-chroot "$ARCH" grub-install --efi-directory=/boot --target=x86_64-efi --bootloader-id=boot &> /dev/null &
pid=$! pri=0.5 msg="\n$grub_load1" load
mv "$ARCH"/boot/EFI/boot/grubx64.efi "$ARCH"/boot/EFI/boot/bootx64.efi
There are a few places in this where the file paths are incorrect if /boot is not the $ESP.
There is also a typo I believe. /boot/efi/EFI/boot should be /boot/efi/EFI/Boot. /boot/efi/EFI/boot doesn't exist for me at least.
I'm willing to try and fix this if you'd like but I haven't completely worked out doing that just yet.
I have set a proxy via http_proxy/https_proxy environment variables, but the installer script is ignoring them und does not connect to my proxy (I used Fiddler as MITM proxy to debug the connection).
Is there another way to configure the proxy?
BTW, guides on your homepage are not available.
Is it possible to add the chinese support for arch-linux-anywhere?
I means that the ArhLinux Anywhere can display the Chinese language, so that the Chinese linuxer are able to take the advantage of the Archlinux Anywhere.
systemd-boot is stable and simple
Which is the short way to edit arch-installer.sh without creating a new iso?
When the installer asked to select my root partition during manual partition setup, I selected sda11. The steps after that showed sda1 as my supposed selection instead of sda11.
I didn't continue after that to see if it's "just" a display bug or if it really truncates my selection to single digits, because I didn't feel like potentially wiping my efi partition...
I just tried the installer and I am very satisfied with the ease of installation. Really good job. Thank you.
I just have a few suggestions. The first is to define the keyboard layout from the first start page because not obvious to non-qwerty keyboard. (ie F2, F3 in Manjaro v0.8.2 at boot dvd)
The second suggestion would be to add languages packs for some selected software (firefox, thunderbird, libreoffice, etc) depending on the chosen language.
The third is still for the keyboard layout. In the Desktop Environment (here XFCE) keyboard is not defined and is still US. The following command fills this gap: setxkbmap -layout fr
We can retrieve the list of model, variant, layout and option of the command setxkbmap
in /usr/share/X11/xkb/rules/evdev.lst
Voilà for the feedback.
I've noticed the lightdm.service is sometimes not being started what I did to fix was:
systemctl enable lightdm.service
pacman -S lightdm-gtk-greeter
pacman -S xf86-video-nouveau lib32-mesa-libgl
(Recommend users with AMD GPU's try xf86-video-amdgpu and lib32-mesa-libgl, since I have no means of testing this I cannot comment on success rate)
UEFI x86_64
My installation fails with the following error.
Waiting 30 seconds for device /dev/disk/by-label/ARCH-ANYWHERE_2.2.2
The label for arch-anywhere seems to be truncated for whatever reason. I used rufus with MBR for BIOS/UEFI on Windows.
ls /dev/device/by-label
ARCH-ANYWHE UEFI_SYSTEM ...
I can rename it with mv
but is there a way to re-execute the install script? I'm at the rootfs
prompt.
I was analysing your installer script (nicely done btw) and I noticed this indescrepancy.
if [ "$INSTALLED" == "true" ]; then
whiptail --title "Test Message Box" --msgbox "Error root filesystem already installed at $ARCH \n Continuing to menu." 10 60
main_menu
else
if (whiptail --title "Arch Linux Anywhere" --yesno "Error no filesystem mounted \n Return to drive partitioning?" 10 60) then
prepare_drives
else
whiptail --title "Test Message Box" --msgbox "Error no filesystem mounted \n Continuing to menu." 10 60
main_menu
fi
Shouldn't the title parameter say "Arch Linux Anywhere" instead of "Test Message Box"?
I ran into an issue, investigated it and I believe found pretty specifically what happened. The efibootmgr package didn't get installed and therefore when grub-install ran during the installation it couldn't create the needed entry in the UEFI variables to add the new boot entry.
I checked to insure that the efivar -l command did return the efi variables before I started. That shows I was booted in UEFI mode. I then completed the installation on my laptop that already had an existing Arch on a partition other that what I am using for this.
I did have no trouble now with the install allowing me to leave in place the existing swap and $ESP. I want to thank you for getting that fixed so quick Dylan.
I chose the option to jump out to an arch-chroot environment at the end of the installation. I used pacman to install efibootmgr, which also pulled in efivar. I then ran grub-install as shown in the arch wiki and grub-mkconfig to update the grub configuration file. I ran efibootmgr to check and verify that the new boot entry was added, it was.
Rebooted and all was in order. I did install several times to be sure I didn't somehow cause this. I did also find you can see during the install that efibootmgr isn't being installed with the other boot loader related components.
I went though the installation and it detected that I was running it in a VM (VirtualBox, on a Windows host), and I told it to install the guest modules. X wouldn't start at all and the video drivers wouldn't load. After a lot of searching it turns out that the kernel modules were never built because DKMS couldn't build them for the kernel since the headers weren't installed.
[bran@arch-vm]: ~>$ pacman -Ss virtualbox-guest-dkms
community/virtualbox-guest-dkms 5.0.18-1 [installed]
VirtualBox Guest kernel modules sources
[bran@arch-vm]: ~>$ pacman -Ss linux-headers
core/linux-headers 4.5.1-1
Header files and scripts for building modules for Linux kernel
I just did a new install from latest iso and noticed syslinux was not there…
I used it to install the boot loader to system partition, browsing your code I found:
I found this in syslinux page:
http://www.syslinux.org/wiki/index.php?title=Filesystem
`As of Syslinux 6.03, "pure 64-bits", compression and/or encryption are not supported.
Quoting part of the release notes of version 1.43 of e2fsprogs (May 17, 2016):
Mke2fs will now create file systems with the metadata_csum and 64bit features enabled by default.
Users should rather (manually) disable the 64bit feature in the mke2fs command when creating / formatting a boot volume with ext4; otherwise, the bootloader (as of version 6.03) will fail.
Notes:
For a 4KiB block size, an ext2/3/4 volume size of less than 16TiB when created without the "64bit feature" is supported by Syslinux as of version 6.03.
To manually disable the "64bit" feature when creating ext4 volumes, use -O ^64bit in the mke2fs (or equivalent) command. That is, an upper-case letter "O", a space character, the caret "^" symbol, followed by "64bit" (no hyphen).
In some cases, a backslash character before the caret might be needed: -O ^64bit `
Also noticed that gparted use this flag when formatting a new partition, so maybe this is the problem with syslinux unable to boot from MBR??
Another question, is it possible to add an option to install grub to system partition instead of MBR?
@deadhead420 I've made three partitions (root, home, swap), mounted them accordingly. Then mounted /boot to the EFI partition that was made during my windows 10 installation. I don't reformat it as it's already in vfat and I think it'll muck up my W10 install.
Arch-anywhere prompts me about UEFI stuff (as I'm booted in UEFI from the install media) and I accept. No errors are thrown during install, but reboot doesn't take me to grub to select an OS. Rebooting back in the install media and selecting "Boot in existing OS", flashes a black screen then returns back to the menu as if nothing has been installed.
I mounted the EFI boot partition, and I can see "vmlinuz-linux" and "grub" folders in there so not sure why it refuses to boot in grub.
I also tried to change the mount point for the EFI partition from "/boot" to "/boot/efi" using custom mount point, but the result was the same.
Is there any thing else I have to do get it to boot into grub and working correctly?
Thanks very much
You can use FDE on an entire partition without using LVM.
For example I use it for encrypt a BTRFS volume which has several subvolumes (no LVM required).
Well, the title is self-explanatory, I used DD to create a bootable usb, but I cannot read anything on i686 installer in any language, the x86_64 is fine and the font appears normally, but on i686 I get a lot of nothing where the text should be :(
I'm having an issue sort of like #48 but it's looking for a drive with the label aaiso2. Of course, drive labels can only have uppercase letters, no lowercase, so it's looking for an invalid label. Renaming it to AAISO2 doesn't work. I used LinuxLive USB creator to flash.
How can I fix this?
This happened to me in 2.15 and 2.16.
Other than that it's really a brilliant installer!
First of all, I had the problem in #48 #76 so I installed from BIOS boot because I didn't know the solution when I installed.
But secondly, is there a way to install so that the system uses UEFI? I used the LUKS on LVM encryption option and it doesn't use UEFI to boot. Have I missed something? Do I need to boot the USB from UEFI (not really thrilled at the idea of reinstalling just to test it)? Or can you just not do it, and, if you can't, can you add the option?
Sorry if this is a dumb question. Thanks.
Hey so in the past couple of years I've done a lot of work with the Linux kernel for arm and generally making Linux work happily on arm CPUs. I think that it wouldn't be so difficult to make an arch anywhere disk Image Maker that would make disk images than for example are writable onto SD cards for use in devices like the Raspberry Pi or orange pi. Generally, I think that this would kick ass and make Arch Linux anywhere even worse than it already does. Let me tell you the usual route of doing this basically from an x86 machine you would chroot into an arm rootfs mounted via loopback, install all necessary packages, put u-boot at that magical sector zero and then flash the SD card with the image.
I am having some difficulty with making the image work right. If you'd like to compare notes,i bet we can add a whole new galaxy of hw support to your creation here.
I've ran into an issue when selecting base-lts with encrypted LVM. The LTS kernel isn't built correct, it doesn't appear to include what it needs for encrypted volumes. Also the 100mb /boot partition is too small. I've ran out of disk space on that partition.
I've changed the 100m in /usr/bin/arch-anywhere to be 1024m. This fixes the /boot partition. I still can't boot up with the LTS kernel though. To fix this I've logged in with the failback boot option which boots into the normal 4.7 kernel then pacman -S linux-lts linux-lts-headers and then I can boot with the LTS kernel.
I admit I didn't tested it, but just a feedback is welcome.
Nothing wrong with downloading Arch Linux Anywhere ISO, although would be interesting to know if it works.
Thanks in advance.
First of all, big thanks for this essential tool. You've made Arch accessible to even a total novice like myself.
I imagine you're putting more focus on bugfixes/translation/ARM support, but if you find the time I'd appreciate the option to install Parabola. I've tried migrating using the steps provided on their wiki here https://wiki.parabola.nu/Migration_from_the_GNU/Linux_distribution_of_Arch#Complete_migration but I haven't been able to make it work as of yet.
The result that I'm looking for is an easy setup Parabola with the minimal KDE DE, the latter was easy to install after following the steps in this post on your forum here https://arch-anywhere.org/forums/viewtopic.php?id=53 and if I do manage to figure out how to switch I'll be sure to add a thread over there with the steps.
Thanks again
I noticed it only works for xfce-archanywhere
Other DM's users directories are not created
First Great work. this is so needed for Arch. and I've used your installer on my ASUS and multiple VM's. I wanted to use the installer on my Lenovo P50 with
Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller (rev 01)
blkid shows /dev/nvme0n1p1-p5 (existing partitions).
the installer however only had the sda drive available.
Whenever I choose to manually partition my drive it immediately displays a warning that says the selected partition is too small to be a root partition. Once I hit "OK" it pops up again, the only way to get out of it is to switch to another console and kill the process.
create arch-anywhere-desktop.sh config script
I just tried installing Arch Anywhere replacing Arch repos with Manjaro repos, and it went pretty smooth. What would be super awesome though, if there would be builtin feature to switch between Manjaro and Arch repos, without manually editing pacman.conf. Yes, I know that Manjaro have NET install, but it actually installs some unneeded bloat and anyway Arch Anywhere is much better in general, and this option shouldn't be hard to implement.
This package will enable external bluetooth speakers to work properly.
self explained
When user is promted to set timezone and choose "Brazil", and on the subzone selection screen if you choose Brazil again, you just get sent back to the first timezone screen.
Hi!
I would like translate to Brazilian Portuguese. How I should proceed?
Copying a conf file and renamed ?
Thanks!
Can you add an option to use syslinux instead o grub?
With syslinux you can also be able to install the loader to partition (/), very useful for dual booters where you can keep the current windows loader and chainload syslinux.
TIA
Hi, i'm on clean, new installation on Windows7, when i try to install arch-anywhere on virtualbox 5,
its check the connection to inthernet, and its stuck on 100%
I tried disconnect inthernet, reboot system, update win7, without results
I can't install this on VB, after few hours of waiting
Also, what can be a case for screen tearing/flickering in any kde based linux distro?
I'm on amd processor and dual radeon graphics(asus)
Perhaps the webpage and readme.md can include... what I find to be the top feature of this release vs what ends up in others.
This distro seems to only use native Arch packages, does not bundle logos and themes in the desktop environment. I hope this is something the project will maintain.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.