Is there a way to install Arch Linux without any installation media?
Solution 1
Yes. You can use a graphical tool like GParted to set up all of your partitions and then continue with the standard Arch USB install from there.
You will find instructions on how to create a Live GParted USB drive here
I would then recommend that you choose a recent ISO from the Arch Releng site
Once you are back in the Arch install process, select the partition, filesystem and mountpoints you require and continue with the installation
Solution 2
What you are looking for is installation from chroot environment. Arch linux has a very detailed tutorial for this.
https://wiki.archlinux.org/index.php/Install_from_existing_Linux
You can easily plugin the hard drive into another computer to do the install and when you are done, just switch the drive back into the laptop and you should be good to go.
Otherwise, you can install something like ubuntu or tails borum onto a USB so you can boot up a "live" session on the laptop to give you something you can work from to do the installation if you don't have another computer running linux or if you just don't want to mess with removing the drive. If you use ubuntu, just select "try ubuntu without installing" to start up the live session.
You can also create your partitions from the live session using the gparted partition tool.
Related videos on Youtube
Yotam
Updated on September 18, 2022Comments
-
Yotam almost 2 years
I want to install Arch Linux on my laptop machine. I have created a 20GB partition (
/dev/sda5
) to be used as Arch Linux root partition. I tried installing using a USB thumbdrive (I don't have a CD drive on that machine) and my partitions were not recognized. I read a little bit and concluded this has something to do withcfdisk
which Arch Linux uses to create the partitions. Is there a way to bypass that and directly install Arch to my hard drive in a similar process?-
mchid over 8 yearstry using /dev/sdb instead of /dev/sda when you use cfdisk bbs.archlinux.org/viewtopic.php?id=159120
-
-
Yotam almost 13 yearsI have the partition set up an ready using Ubuntu (GParted)
-
jasonwryan almost 13 yearsThen proceed to setting the filesystem mountpoints as per the Install Guide. If that is where you are stuck, try a more recent ISO.
-
Yotam almost 13 yearsThis is exactly whay I can't do. I have them set up on my HD. I have downloaded the 2010.05 iso (which is the one featured in the website) and cdisk can't identify my partitions
-
jasonwryan almost 13 yearsBut it does display your partition table? Switch to TTY2 and run
cfdisk /dev/sda5
. But as I said in my answer, your best bet is to download a more recent ISO and try again. Arch has moved on a lot in 15 months...