Help a noob dualboot Arch and Win10 non UEFI
been staring at a blank terminal (from the installation iso) i dunno where to start, i read a few guides and watched some youtube vids but can't seem to find a guide that fits my situation, can you guys help me out? I feel embarrassed asking this total noob style. If this is not the place to ask, i'm sorry. Thanks bros
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- 5aouxv
11 comments
I'm assuming you have a Win10 install you would like to keep? Step 0 is to resize your windows partition.
Once you have done that, you can follow the installation guide on the arch wiki. It is more of a checklist than a tutorial, but it will guide you through the install. It is also included as a text file on the live image.
I've always found getting the bootloader to work to be one of the trickiest parts. UEFI has helped that a lot IMO, but that doesn't help you. (If UEFI is an option, definitely do it.) You will need either syslinux or grub as a bootloader if you are using a bios boot. Again, pages for that are in the wiki.
You won't find a guide that is for exactly what you are looking for, because your install is unique to you. You will find each piece from a different place, though.
The task may seem daunting. Take it a bite size at a time and get excited everytime you make a small step forward. Don't try to figure the whole thing out then do it. Learn it as you go. Stumble forward. Just make an off-machine backup of your data before you start.
Do you know the basics of Linux shell navigation? If not, let me know and I'll post some basics for you.
edit: words
Also, get some rest. It was about 04:45 EDT when you posted, so there is a good chance you have been up all night working on this. Good on you for the determination, but you won't be doing anything good if you are exhausted.
Aw thanks bro, the arch community is great indeed :D
Wow thanks for the info. -Sure, i could use some basics
doesn't reply for a day and a half - Sorry about that.
I'm assuming your computing experience has been Windows only or nearly so (not counting mobile devices), so we will start with the basics.
First thing to know about *nix is that everything is a file, and every file is found somewhere under
/("root"). A file doesn't have to be something that exists on a hard drive. In fact, hard drives themselves have a file representing them in the filesystem (this means there is no such thing as a "C:" drive). Files that represent devices are found in/dev. For example, your first hard drive is/dev/sda, and the first partition on the hard drive is/dev/sda1. If you want to view what is on that partition, you will need to mount it first (one of them will be mounted as/). It is weird at first, but really awesome once you get used to it. Oh, and files are case sensitive.Some basics of where things go (Arch simplifies this a lot compared to other distros, and most of these are more of a guideline):
/home- home directories go in here (except for root, more on that later)/home/bob- the home directory for user "bob" (similar to C:\Users\Bob)/home/bob/.config- config specific to user "bob" (this is a good time to mention that anything that starts with a "." is considered hidden)/root- home directory for the root user/etc- global (system-wide) config goes in here/usr- stuff that could theoretically be readonly on a very static system/usr/bin- executables go here (note there is no "C:/Program Files")/usr/lib- libraries go here (analogous to windows' dll files)/var- stuff that is expected to change for example.../var/log- logs go hereSome weird directories:
/dev- devices are in here/proc- stuff that represents what is running/tmp- a place to put files that exist in RAM/sys- stuff that represents the osRelative directories and shortcuts:
.- the directory you are in..- up one directory~- current user's home directory (for example, if you are logged in as "bob", then~refers to/home/bob)You don't really need to know most of these, but seeing it gives you some orientation to the significance to what you are looking at. The ones you will interact with the most during install/setup will be
/etcand/home/<your user>.Navigation commands:
pwd- "print working directory", displays the directory you are currently incd- "change directory". by itself, it will take you to~. With an argument, it changes to the directory specified. If that directory starts with a/, then it is taken to be an absolute path, otherwise it is relateve to the current directory. For example, lets assume you are currently in/home/bob.cd Documentswill take you to/home/bob/Documents(remember, case sensitive!).cd /etctakes you to/etc.cd ..takes you to/home.ls- "list stuff" (yeah, i don't know what it actually stands for either). It shows the contents of the current directory, or the directory specified (again, relative or absolute path). If you want to include hidden files, usels -acp a b- copyatob. These dont have to be in the directory you are in, as long as you provide the path to the file. For example (assuming you are in/home/bobagain),cp /etc/ssh/ssh_config .ssh/configis perfectly valid. This is true of pretty much every command.mv a b- moveatob(also use this to rename a single file)The easiest way to edit a text file is going to be to use
nano. For example,nano /etc/fstabwill open the file/etc/fstabin the interactive text editornano. There are a LOT of ways to do this, as *nix loves text files. For now, just stick withnano.edit: forgot to come back to "root".
As you may have noticed, "root" can refer to a user or a directory (
/). Usually, if it is spelled out, it is referring to the user. The user root is special. It exists on every Linux system and is the super-admin with complete control over the box. DO NOT use this as your day-to-day user.I'd recommend Syslinux if you are REALLY sure to give up on UEFI. If your mobo supports it, go UEFI.
Remember to install syslinux and edit the default config to point your root partition, and your windows partition. Syslinux does not autogenerate configs as grub does, but it is way more simpler and (imho) less error prone once you set it up.
I didn't have any problems getting it to work with Syslinux. Just make sure it's pointing to the right partition (as someone else said) and that you have copied the chain.c32 file over. There will already be an entry for Windows, so just uncomment that and check that it's the correct drive and partition (it's not an issue for me since I always install Windows first, with just one drive connected).
Go legacy dude! It's very simple. When you partition your media, make sure its in DOS (mbr) partitioning and Linux is selected as 'bootable'
I'd recommend
cfdiskas it works well with legacy boot OSes. UEFI is a complete pain in the rear and its only meant to be used with Windows 10 AFAIK. Then you can install GRUB as it is the most straight forward bootloader and works well with dual-boot & single boot OSes!Good luck!
Deleted before we saved it.
If all else fails, I'll prolly just use a graphical installer like the ones you mentioned. But for now might have to figure out a way to do it like everyone else.. That's the essence of arch after all. Ty for the suggestion!
That's the spirit dude! First, go into Windows and shrink the big partition down leaving the last part untouched/blank (don't format it cause this is where you arch install will go). Keep in mind that your /boot partition (usually dev/sda2 if you have a one drive) is now going to be shared between Windows and Linux. So in a 'generic' or simple install the rest (/home, /var, /root, and so on) will go into the partition you left empty.
After that you'll want to boot up from the live iso and begin setting up your new file system for arch. This includes making that empty space a partition and formatting the drive to something Linux uses (ext4, ext3, etc). This part is usually the hardest cause it has to be specific to your needs. Do you want everything on the same partition, will you be utilizing lvm, will you be encrypting the file system at all? All considerations that only you can determine.
When your stuffs all partitioned up and formatted the relevant step would be mounting the file system onto the live iso's /mnt. Then setting up pacman's mirrors and using pacstrap to install some core packages ur installs gonna need. once you do that you want to generate an fstab (it's like the table of contents that tells arch where ur drives, partitions are and how to boot up and mount ur drives. Then u chroot, arch is so G they got arch-chroot, into the mounted fs u installed ur packages on and start doing things like fixing the clock, hostname, etc. By the end you'll be creating the initial ram for boot with mkinitcpio and creating a boot loader with grub or systemdboot (my choice) in order to dual boot. Don't forget to make ur user along the way. I obviously left out some steps but tried to give you a solid big picture view. Use the wiki it's gold man. And also Google some other folks instructions for they're set ups as u might find an easier or clarifying way to complete the pending step.
I was in your shoes like 2 months ago so I def feel you!! Good luck. I'm such a fan boy now lol, here's my set up - note I still have hella tweaking and setting up to do but not bad for a third try installing arch. :) love me some terminals and I don't even code hahaha