Trying to install arch after windows 7 (yes I am new at this)
Hey everyone thanks for help in advance. I am trying to install arch on a system that already has windows 7. I read through the thorough wiki on arch's website but I can't see how to create the partition with arch on it. All the instructions I have found are about wiping out the old EFI system for a new one.
I already created a 100gb unallocated space through disk management and I have arch on a bootable flashdrive that I have tried and works fine I am just not sure what to do from here.
Any help would be appreciated, I have read through the wiki several times and as a noob on linux I am still confused.
Edit: first off thank you all for your help. I am still very much confused by all of this. I created a primary drive following the directions I found online. The blank screen is because the computer goes afk and it actually works fine. I am getting an unexpected token error from this line below. Yes I did replace the correct name. Is there more to this line?
#<ip-address> <hostname.domain.org> <hostname> 127.0.0.1 localhost.localdomain localhost myhostname ::1 localhost.localdomain localhost myhostname
Also do you suggest that I just start over with an extended drive? Windows currently owns three partitions because hp is evil and has their own tool partition.
Edited 29 Jan 2015. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 4 · 100% up
- Kind
- Text
- ID
- 2tsedw
17 comments
Boot to your USB and use cfdisk to create your desired partitions (swap, home, whatever applies to you). For me, Windows 8 (should also apply for 7) is on /dev/sda1 and dev/sda2. Created swap on /dev/sda3 and "/" on dev/sda4. After partition creation you can pretty much use the Arch wiki the rest of the way.
heres a vid:
https://www.youtube.com/watch?v=fUovicakgxc
EDIT: this is for BIOS legacy. I don't know what you have but give this a read to determine your best method
https://wiki.archlinux.org/index.php/Windows_and_Arch_dual_boot
Deleted before we saved it.
Yes thank you this is exactly what I was stuck trying to figure out.
Deleted before we saved it.
Make sure to use the beginner's guide which is a much more detailed version of the installation guide. Follow it step by step, most of the commands are already written down for you. Post again if you need help with a specific step of the installation, then we can help you better when your problem is a little more concrete.
I was using the beginners guide (I actually printed out all 27 pages). The beginners guide doesn't include actually doing dual boot its seems to be all about only doing single boot.
When you enter the arch live media there is a file there called install.txt You can read it with
exit with q
Its basically a stripped down version of the relevant parts of the beginners guide. It is stripped down to the absolute bare minimum.
The only thing missing is example commands for how to install the boot loader, but the beginners guide has more on that. Also make sure you install os-prober before installing the boot loader, so that Windows is found when generating the boot menu.
The only difference between single and dual boot setup is to not touch the existing Windows partitions, probably /dev/sda1 and /dev/sda2
If you are using efi you will need to create a 512 MiB partition for that, format it with FAT32, and mount it under /mnt/boot/efi
https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#EFI_System_Partition
the rest of the partitioning and mounting procedure is as normal
I just did this about a week ago, and please be aware that you are limited to 4 primary partitions max. Since win7 already claimed the first two, you have to improvise by creating extended & logical partitions if you plan to assign more than two partitions for your new installation.
Possibly stupid question then, how many partitions do I need? I allocated one for Linux. Do I need more than that? HP technically used all four of them so I deleted the backup iso windows boot disk.
common practice ranges from one to 5 (
/,/boot/,/home/,/var/, and swap). read herei usually put everything one one partition, but there are problems associated with this (system will become unstable if the disk is full, and everything is lost if the filesystem gets corrupted)
also a fat32-formatted
/boot/is required for EFI booting. windows likely has that one already, and you “simply” have to mount it as/bootand configure something like gummibootIt varies. I recommend at least three (boot, swap, and root) if you don't want a complicated partition scheme, but I made an extra addition (/home).
To avoid nuking your system the first time you attempt it, why dont you first practice installing arch onto a virtualbox virtual machine in your windows install?
The steps will be virtually identical, except that in virtualbox you'd create a boot partition and on your desktop you'd use the boot partition created by windows ( /dev/sda1 ).
You might list exactly what steps you have perfomed and what errors or results you are seeing.
Good you discovered the wiki, but concentrate on the Beginner's Guide.
Don't give up, we all went through this.