How to dual boot Arch Linux and Windows 10 on UEFI (full install and removal)
HTML-код
- Опубликовано: 6 фев 2025
- UPDATE 2: Since July 2020 the wifi-menu command is not anymore available. Check the following video for an update: • Arch Linux July 2020 I...
UPDATE: Since the release of the kernel 5.7 creating a Swapfile with fallocate will not work at reboot. Create one with the command "dd if=/dev/zero of=/swapfile bs=1M count=512 status=progress" (for a 512M swapfile for example) and everything will work fine again.
In this video I am doing an Arch Linux full install with Desktop Environment on a UEFI system dual booting with Windows 10. I am also covering how to remove Arch Linux and GRUB from the Windows 10 EFI partition.
Support the channel by becoming a Patreon page: bit.ly/3dGGZxQ
Check out our Website and connect on Social Media!
Website: ermannoferrari.net
Facebook: ermannoferraritechcoach
Instagram: efsoftwareandit
#arch #archlinux #linux #install #howto #windows10 #dualboot #uefi
I found the hidden gem. Thank you
Amazing! Thanks so much for the tutorial. I tried to install Arch multiple times and failed but this explained it so good that it all just worked perfectly.
Glad it was helpful!
Its great that you not only show how to do, but how to undo. Very Important. Cheers from Canada.
Thanks!
I've been browsing for a simple way to dual boot arch but nothing seemed clear until I arrived here. Thank you very much! :)
Hey thanks for watching and for the feedback! Hope you can join the live stream on March 14th for the live install! Have a great weekend :)
I've been trying to find the same so I can dual boot. I'm so glad I finally found this now I just have to wait for a chance to install it today
That’s great! Let me know how it goes! :)
Join us for the live stream on how to install Arch Linux on Saturday, March 14th 2020 at 2pm CET and 8pm CET!
Great job!! most people skip over the removing grub & partition part
Love the status bar!
I just watched this video and instantaneously subscribed to your channel. Keep it up!
Thank you so much!
Awesome content Ermanno. I used your video to dual boot Arch/Win10 on my laptop. Great step by step instructions and really easy to understand. Subscribed! Keep up the good work!
You're welcome! And thanks for the sub!
Great one, Ermanno! Very useful tutorial - informative and simple. Keep it up!
Thanks! Glad you liked it! Cheers :)
Hi, Ermanno!
When you check the IP address at 2:51 , type "ip -c a", then you see the colorized version of command "ip a", and imho the IP's and the others will be more visible.
You must have known this... :)
Keep up the good work!
Thanks, yes, but I rarely use it. It is true in a tutorial might be cool, though.
Thank you for the clear step-by-step. Very helpful and easy to follow.
You’re welcome! Glad you liked it:)
Super bien fait, Ermanno. Parfait! Merci beaucoup Monsieur :)
Merci John! Je suis ravis wie Le Video t'as plus! :)
one of the best videos about arch linux
Thank you Ruslan! I'm glad you liked the video :)
Ermano, all dual boot videos ( linux / windows ) usually start with windows installed first. Can you please make a video on dual boot with Linux installed first and using windows boot manager 🙏.
I'm learning a lot from your channel. Thanks for making great tutorials. 🙏
I will eventually, but still, the recommended way, as per the Arch Wiki, is Windows first.
Incredible tutorial, straight forward and clear. Thank you!
I am only in about 3 mins, but thanks for the info regarding the BIOS and fastboot. Also, when dual booting there will probably be issues with the system clock as one goes back and forth. This is due to Windows using local time and Linux using UTC time. I know ppl say to change Windows time preference, but I had changed Linux. I know ppl talked about it should be based upon UTC, but I wanted it based upon my local time zone
Works like a charm, thanks !
Hey thanks! Glad you enjoyed it! Cheers :)
Going back to arch soon. Great video. Very well explained. ¡Muchas gracias!
You're welcome! Glad you liked it!
I'm sorry for the repeated questions but I didn't understand the reboot part...after you unmount should you use the 'reboot' command and then while the computer reboots you should remove the installation medium? I'm a complete newbie, thanks for all the help!
Exactly.
@@eflinux Thank you!! You are awesome!!!!!!!
Great guide dude, helped so much.
Hi there! Thanks for the feedback! Glad it helped! Hope you can join us on March 14th for the live stream! Cheers :)
Great one.Helped me a lot as i wanted to split out root,home and swap instead of bundling them in one directory.thanks to you i got root on the ssd where the windows is,home on an sata partition,swap on an different partition on the same disk as i have home.Only thing that i think would have helped is after chroot for the installation and before exiting, installation of some basic pakages like dhcpcd needs to be done as the base does not have it.It would help if thats mentioned.I did all my installation through a tethered phone connection and couldnt get systemd-nrtworkd working from the installed system so had to boot again from live cd,mount root and chroot again.install dhcpcd before i could connect to network from my installation. But again A big thanks to you buddy!!!
Hi! Thanks for the feedback! I normally have NetworkManager installed together when installing GRUB as I'm used to it, but dhcpcd is a great choice too. Thanks again for your support! Cheers :)
AWESOME! THANKS FOR SHARING!
You're welcome and thanks for watching!
The best linux installation videos I have ever watched, I spent a lot of time searching on the internet how to remove my Ubuntu grub from duel boot which I have installed before,..
I just installed now arch in my machine along with win10,
Everything however it's showing while booting:
"FAILED to activate swap /swapfile
DEPENDENCY Failed for swap"
Is it possible to config swap after installation?
Thanks buddy.. Much love..
Hi! Thanks! Yes, if you look in the video description you’ll see since the kernel 5.7 there’s a new method for creating a swapfile. Also you might want o watch a newer version of this tutorial on the channel which is more up to date :)
Hi! Thanks for your detailed explanation this was very educational.
Thanks for creating this!!
You're welcome! I thought it's a common scenario these days :) Cheers!
You did forget gnome -extra afterall.... lol just a joke ....
Nice explaining.... but... i, m still a beginner. Learned allot thanks 😊👍
I am getting "mount: /mnt/windows10: unknown filesystem type 'ntfs' ." While mounting windows partition to /mnt/windows10
Install the ntfs-3g package first and retry.
@@eflinux You continue to be amazing!
I might be quite late, but I wanted to ask. To create a home partition (on another drive) while doing this process do I only need to create and mount that partition and it should work without any problem?
Thank you very much! It's video was soo useful for me!!!!
Another question. What's the difference or benefit of using a swap file like you do here instead of a swap partition? Thanks in advance.
If you have enough ram on the machine a swapfile will do. The advantage there is if you need you can always delete it and recreate it.
@@eflinux Great, thanks, good to know that!
@@eflinux How much is considered enough ram, if I may ask. Is 16 GB good enough?
Sorry! I have : error GRUB ->
grub-install: error cannot open directory/boot/grub/x86_64-efi: No such file or directory.
It sounds like the directory is not existing, meaning it wasn’t created. You will have to recheck that.
Same problem, how to check that?
when you do arch-chroot, type lsblk and check the partitions and mount points.
@@eflinux ok will do it, and thanks for reply, guys like you are the reason why noobs like me dare to try something new
Happy to help!
Hey pls help!! when I type the grub-install command I get the following error: " grub-install: error: cannot copy '/usr/lib/grub/x86_64-efi/net.mod' to '/boot/grub/x86_64-efi/net.mod' : No space left on device. "
That means the EFI partition is too small. In that case, you'll need to create a second one and install grub there. Windows will be picked up, provided you specified the GRUB_DISABLE_OS_PROBER=false parameter in /etc/default/grub. You might also want to use a newer video, this one contains some old packages.
@@eflinux or can I try rEFInd instead?
You sure can :)
Thank you for such an amazing tutorial, touched all the points for all possible hardware. Excelent!
i was wondering if i install grub2 instead, would it require any changes?
Hi! Thanks a for your feedback! I’m not sure I understand your question, as grub is already installing here.
@@eflinux its grub1 right? what about grub2
It’s grub2 in Ubuntu terms, in Arch is just GRUB, but is the same version.
Thanks for clearing that up
No problem.
Excellent tutorial. I watched another one of your to install systemd-boot instead of grub, however i couldn't get it setup in a dual boot with Windows (Arch just wouldn't appear in the boot menu) so i ended up installing grub instead pretty much the same way you show here. My question is, is it possible to do a dual boot with Windows 10 but using systemd-boot instead?
It is, I did a video for that here: ruclips.net/video/FFXRFTrZ2Lk/видео.html
@@eflinux Thanks for replying. Yes, actually, I had watched that video, and it is really good 👍🏻. However, that's for a single boot, and I couldn't set it up for a dual boot with Windows 10. When following pretty much your instructions in that video, the boot menu was only showing Windows but not Arch Linux for some reason. It would be great if you make a video on dual boot using systemd-boot instead of grub 😅
You can see this video where I am dual booting PopOS (which is using systemd-boot) and Windows 10: ruclips.net/video/F6o6Vn5s0D8/видео.html
How can I install Cutefish DE on Arch? I have some difficulties doing it.
Idont get the grub bootloader after rebooting
Excelent tutorial. I just have one question: what I do if I have a laptop width two graphic cards? In my case Intel and NVIDIA
Hi! If you have a recent laptop you don't have to worry about it as the NVIDIA driver takes care of that. There is a way to switch manually by installing the optimus-manager package from the AUR, but the auto mode is better. You can see this page of the wiki: wiki.archlinux.org/index.php/NVIDIA_Optimus
I hope your problem´s solved, otherwise you might try one of these:
pop.system76.com/
PopOs is well known for its superb Nvidea Support, especially the Optimus.
sourceforge.net/projects/salient-os/
And Salient Os offers a special image for Nvidea cards and btw. its Arch based :D. Its my favorite out of the box Arch based distro, wonder why no one knows it.
Helpful so much!! Thanks!!
Hey! Thanks! Glad you like it! Hope you can join us on March 14th for the live stream! Cheers :)
Whats different with BIOS and UEFI ?
Can i still use archfi ?
I had problems with dual booting so I got a cheap SATA power switch module and just press the button for the OS I want to boot from - no dual boot worries.
Hi, excellent video :) the process is similar if i like to install Arch in another disk? (Windows is already installed in a HDD and I plan to install Linux in a SSD)
Yes, fairly similar. There's a video on the channel on how to install Arch in a separate drive.
@@eflinux great. Thank you 🙂.
If you wanted to mount the Windows partition automatically, you would have to add it to the FSTAB File. If so, could I have mounted it, then generated the FSTAB file?
Yes.
@@eflinux Thank You. I also want to mount a backup partition. I will not be using a swap file. I have plenty of memory. Or do you recommend creating a small one? I don't intend on using hibernation.
For system stability you can create a small one.
If you are like me and spent 7 hours trying to get wifi working and every time you go to wifi-menu to enter the password it fails, do iw link show
If you look and it says no carrier in the , but it says up, try killing all dhcpcd processes with killall dhcpcd, and then try ifconfig down.
This is new since the June ISO. Hopefully this behavior is going to change in July.
Hi I'm stuck at 16:03 I got this error message -> "grub-install: error: /boot doesn't look like an EFI partition could you help me please
Hi! Sounds like you haven’t formatted the EFI partition correctly. Did you format it with a F32 file system?
same problem solved :
mount /dev/sda1 /boot
sda1 is my efi partition
Thanks for the video. I was hoping you might be able to give me a suggestion. I have a working Arch system that I've been using for some time, but need to reallocate partition space anyhow. How do you think I should approach this?
1. backup my current system with (timeshift, or rsync) ? Also make sure the content on those partitions does not exceed the space needed for new partitions/dual boot etc..
2. Wipe drive and install Windows 10 and begin the process in this video
3. Will I have any trouble remounting my current Arch system back to normal?
Thanks. I'm still somewhat new to this and can't afford to mess up the system I have in place. Appreciate any insight/tips
Hi, thanks for your question. The process you described sounds good to me. If you backed up your data, you shouldn't have any problem restoring. Only suggestion I have is you can try to test a similar scenario on VB before you do it on your main machine. Cheers:)
Hi, i follow your guide but when i reboot the PC, the grub doesn't show and boot automatically windows. (Fast startup Is disabled and Aldo secure boot)
You might want to check your motherboard BIOS. Some motherboards don't allow booting to other bootloaders by default. There might a setting there to change that behavior.
@@eflinux hi, thannks but when i installed for example Fedora It worked, with arch no..
I see. In this case you might have installed grub in the wrong directory or mounted the wrong partition. You can try to boot from the Arch live iso, remount the partition and check what went wrong.
@@eflinux hi, i tried and the partizione are ok but grub doesn't show at the boot of the PC 😔
The only thing I can think of is the boot directory. In some motherboards it has to be /boot/efi, in some others /boot/efi/EFI or similar. If you try installing fedora or any other distro look at the partition scheme and see where the boot directory is. If you partitioned and mounted the partitions correctly I can’t think of any other solution.
Hey when I am trying to install grub it says: failed get canonical path of '/boot/grub'
Sounds like the boot directory is not mounted correctly.
Hello! I have recently into Linux and currently on Ubuntu 20.04 Focal Fossa, it's broken and I wanted to move to Arch Linux and this seems to be the clearest step-by-step tutorial. I'm going to proceed with my Arch Linux installation today using your tutorial. But I have one question: Is 30GB free space enough for Arch Linux? Because I have 30GB for Ubuntu Focal Fossa. Thank you!
Hi! I'd say it should be, as you can make Arch as big or as small as you want to. Ermanno
@@eflinux Thank you for the reply! Another question, what is that on the description box and at what part should I use it?
Also I encounter some error while synchronizing the database, I did what you told (Ctrl + K to cut the server and Ctrl + U to paste it at the top) but it doesn't seem to work
Hi, you might want to see this video. It is the most recent version and contains new tools as well. Ermanno
@@eflinux sorry, which video?
Forgot the link, sorry: ruclips.net/video/L1B1O0R1IHA/видео.html
When using "grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB" it gives me:
"EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error efibootmgr failed to register the boot entry: no such file or directory."
How do I fix this?
Are you booting on UEFI or in legacy mode? As there are many different kind of UEFI implementation make sure to check any possible option.
EF - Tech Made Simple That fixed it thanks!
@@eflinux I redid the setup and when I try to use "genfstab -U /mnt >> /mnt/etc/fstab"
It gives me:
"/usr/bin/genfstab: line 182: cannot create temp file for here-document: Read-only file system
/usr/bin/genfstab: line 182: cannot create temp file for here-document: Read-only file system
/usr/bin/genfstab: line 226: cannot create temp file for here-document: Read-only file system"
It sounds like something went wrong with formatting or partitioning the disk, or you installed on another directory than /mnt.
@@eflinux I fixed it by removing the partition in windows and redoing the setup. Got Arch Working!
I follow step-by-step your tutorial but when i rebooted i got this :
ERROR: device 'UUID=830a3ce9-89b8-4c58-97b9-79d3bac07009' not found. Skipping fsck.
mount: /new_root: can't find UUID=830a3ce9-89b8-4c58-97b9-79d3bac07009.
You are now being dropped into an emergency shell.
sh: can't access tty: job control turned off
[rootfs ]
I'm a total noob , please help , i've done this 3 times now
Hello, is possible to set for example 500MiB to efi on Windows 10 (change the default value 100 MiB)?
Since the /boot is not belong to /, why is the reason for mount in /boot and not in /boot/efi
Thanks for listening. I am having a problem to update since my /boot partition is full (100 MiB)
Yes you definitely can.
Thank you so much, I found this question, I hope someone can solved succesfully.
unix.stackexchange.com/a/497382/292992
I tried to delete the Linux partitions according to your way, but Windows failed to start.
It’s possible you accidentally deleted a folder that belongs to Windows. You can repair that with a Windows ISO.
@@eflinux Might be! Now I got a problem trying to put command " swapon /swapfile", for which I got "swapon: swapfile has holes". What shall I do? Thanks.
Searched and found the solution at
bugs.archlinux.org/task/66921
If you read the video description you’ll see why. Sunce the kernel 5.7 the way to create the swap file changed. The procedure is in the video description.
@@eflinux Weird enough I installed KDE, but the interface became gnome. I rechecked the commands with your video twice. From yesterday, my wired connection on linux systems has been problematic, but wireless is good. It's been good again when switching to Windows 10.
Weird. Gnome has 2 packages only: gnome and gnome-extra.
is functional ty so much very good video!!!!!!!!!!!
Hey, I am a complete beginner. I want a swap partition also. Could you please tell me how to do that?
You'll need to create an extra partition by partitioning. When formatting you'll need first mkswap /dev/sdx and then swapon /dev/sdx (replace sdx of course).
@@eflinux Thanks a lot! And I gotta appreciate your dedication, man!
My pleasure 😊
after rebooting 17:46 i get an login screen pls help
If you mean the arch iso again, you need to remove it from the pc after rebooting.
EF - Tech Made Simple nevermind i saw your newest stream I had type in root and my password
Hi sir!
I have Windows 10, Remix OS and Pop OS in my 1 TB HDD Currently and I have zero issues.
I want to overwrite pop and install arch in the partition.
Will there be any difference apart from not creating a new partition and just selecting that partition?
I can’t really say. You’ll have to be careful especially with the bootloader.
@@eflinux Okay, thanks!
I just deleted a 150 GB partition for Coding I had created. I didn't need that much space. I'm planning to use 80 GB for for Arch. To be even more extra careful, I'll make a separate ESP for Arch. I did the same for Pop too
done steps till 16:31 and after that while mounting win10 it says win is hibernating cannot mount even tho I uncheck that fast startup you shown beforing entering iso,but grub still detect win10 but doens't detect arch-linux
It sounds like hibernation is not properly turned off. Check also your BIOS to see if there is an extra setting there. Hope this helps! Cheers :)
Can I skip the "Swap file" part if I have created a swap partition already?
Yes.
Thank you so much ! 👍
You're welcome! Glad it helped you out! :)
Hi man i installed arch linux (on the space where i had manjaro). And after that i couldent boot windows 10 so i watched your video and tried mounting win partion and command grub-mkconfig but it didnt say there is windows there. What should i do? What does grub install do, i worte that before and i tried that again but it says error .../modinfo.sh doesnt exist please specify -target or --directory. Tanks so much in advance
Is that an MBR or UEFI system? And did you install GRUB before creating the configuration? Also, make sure you mounted the partition correctly, meaning the Windows 10 EFI partition to the /boot or /boot/efi directory. Also, consider installing also the ntfs-3g package. Hope this helps!
I did exactly as you told the installation was completed without any error, but the menu to show os selection when you start the computer is not showing. The menu showed for the first time but now it automatically boots Windows 10. How do I fix this? I tried easyBCD but linux is not detected by the it.
That’s usually because your BIOS doesn’t allow boooaders other than Windows. You should be able to fix this in the BIOS settings and also disable secure boot.
@@eflinux Thank you for replying, I fixed it in the BIOS settings. again thank you for the video
No problem! Glad it worked out!
hey man , i tried following the same tutorial to try and install majaro linux, but when i try to boot from my pendrive , it says boot image failed to initialize. i tried googling but it didn't turn up any relevant results. can anyone help me with this issue??
Hi there! If you’re installing on a pendrive the grub boot loader might need different options. The -removable option might need to be added at the end of the command.
I Had an proble. When I type mount /dev/sda3 /mnt/windows 10
I had an error showing
Mount: /mnt/windows10:unknown file system type 'ntfs'
Can anyone tell me what to do
@EF - Linux Made Simple
Hi Ermanno! Thank you for your useful tutorial!
Can you help me? I had an issue while installing Grub. The EFI partition is full, so some themes files cannot be copied to /boot. I can't extend the EFI partition because of the MSR.
Is that a fatal error? Anything to suggest?
This obviously prevents me from write anything else in the EFI partition
Ciao Giovanni :) I see two options there. One is to go in the EFI directory, see its content and eventually delete what is not necessary. If it is not your first Linux install, in the EFI partition there might be many other files and folders related to your old installs which you can delete. However, you'll have to be careful what you are deleting, as a wrong move might prevent you to boot your machine. The second option is to install Arch on a secondary drive and have GRUB installed on its own EFI partition. This way, you'll have to specify by booting into the BIOS which OS you want to boot. Hope this helps! Cheers :)
@@eflinux Thank you the suggestion! I think I finally solved formatting the EFI partition and restoring it from a Windows installation media. I saved up to 40 MB!
Fantastic! I’m glad it worked! Cheers :)
10:00 I had to install nano first
pacman -S nano
Initially missed the step where you generated fstab, so I returned back and generated it after creating a swap file, so it also generated swapfile entry in fstab automatically 😱
Did I still do everything right?
That should be ok, just make sure everything else is not double.
@@eflinux thanks you a lot!
i successfully installed arch Linux by following your guide!
and I have few more questions, is pacman -R xf86-video-intep and pacman -Sy nvidia nvidia-utils enough to replace installed Intel drivers with Nvidia?
and 2nd, once I used manjaro i3 edition and there was an option to change the gaps between windows. I followed the part of your latest tutorial about arch+i3 and successfully finished installing it, but I don't see the option to change the gaps, how to make them work?
If you saw the install last Friday, you saw there is code you need to copy in your config file. Once you've done that and reloaded i3 you need to hit mod+shift+g.
Hey, i have two EFI system partitions on my pc...
I have a ssd in my pc and my windows OS is installed in the ssd...arch is installed in the hard disk...
When i type in list volume in windows powershell, i see two FAT32 partitions.... One has system as info and another has hidden as info...
The partition with system as its info is present in the ssd and the partition with hidden as its info is present in the hdd...
which partition should i choose in windows powershell?
Please help.
Are you sure you have a UEFI system and not a legacy MBR?
@@eflinux how do i check that?
Sorry for the dumb questions.
No worries! On Windows, “System Information” in Start panel and under BIOS Mode, you can find the boot mode. If it says Legacy, your system has BIOS. If it says UEFI you'll know :)
@@eflinux my bios mode is uefi.
So, what are you trying to do in Windows? Are you trying to delete grub?
I get this error on installing grub:
grub-install error cannot open directory '/boot/grub/x86_64-efi': No such file or directory.
(Also my windows is in other drive.. ie. sda and I am installing in sdb, efi is at sda1 and I have correctly mounted sda1 at /boot)
Hi! How many partitions does your Windows installation have?
@@eflinux i am also getting the same error please help
Hi, make sure your partitions are correctly mount (you can see it with lsblk command) and that you're gibing GRUB the correct directory to install.
@@eflinux thank you for the prompt reply, I can see that I have sda2 (99M) on /mnt/boot and an sda5 (126G) on/mnt
Does that seem correct to you?
Is that on the root ISO or when you are in chroot?
thanks for your video!
You're welcome! By the way, there is a newer version here: ruclips.net/video/L1B1O0R1IHA/видео.html
Hmm when mounting windows10 it says ntfs: (device sda2): Windows is hibernated. Mounting read-only. Run chkdsk.
Hi Paul, try to turn hibernation off.
@@eflinux Yep that fixed it!
Also, even when it was read-only it still works, but because I'm fairly new to arch I'm not gonna risk something going wrong.
Great! Glad that it worked out!
@@eflinux Thank you for your help!
Pleasure!
how can i delete windows
Very concise and good video! But I was having trouble,trying to install grub using grub-install. I am getting a- grub install error couldn't copy because no more space left on device.
My efi boot partition is 100 mb and root partition is 30 gb
Could you please help me out?
Hi there! It can be that the efi partition is full, especially if you had other OS's dual booting with Windows. Some other distro leave behind stuff in the efi directory.
@@eflinux Yup that was the case. I used explorer++ to read the esp partition and it was completely full. It had around 1kb left. 33mb was occupied by the windows efi folder and the rest was intramfs files, and some other grub files that were occcupying upto 60 mb. I had never dual booted before so these were probably from this installation. I made another esp partition of 600 mb just to be on the safe side and the grub installation completed successfully. Thanks for the help!
Great! Glad it worked out!
When I type swapon /swapfile it says:
swapon: swapfile has holes
swapon: /swapfile: swapon failed: Invalid argument
Hello! Yes, if you see the video description, there is an update on that. Since the kernel 5.7 fallocate doesn't work anymore. A new method using "dd" is described.
Hi there, I'm stuck with error Mount: /mnt/windows10: unknown filesystem type 'bitlocker'
Hi Carly, that complicates things a little. The easiest way is to disable BitLocker in Windows, then proceed with the Arch install. If you don't want to disable BitLocker you could install a package called "dislocker" from the AUR and not the main Arch Repository. But for this to work you should install "git" first and perform several other steps. Definitely disable BitLocker if you can/want. Hope this helps and let me know how it goes!
Hello, I'm on new gear, an HP-Pavilion, I'm being able to disable fast boot and secure boot, but GRUB won't show up when I boot, from the BIOS I can choose wheter to boot into arch or windows, but I would like to see the GRUB, any ideas?
That's because probably your BIOS does not allow other bootloaders by default. There might be an option in the BIOS to change that.
@@eflinux yeah I thpught same, but HP seems to hide that from you, I don't wanna screw things up but I hate using Windows as my daily driver tho... Whatever thank you for your tutorials, I've used them for 4 previous installations already, hope I can get the fifth as soon as posible :)
Hey, I was wondering if u could help me with an issue I’m having.
I can’t seem to get grub to work for me. I’ve followed all ur instructions and they gave the same outputs as your terminals, but when I reboot there’s no boot loader. I’ve gotta keep using my USB to access those files.
Any help would be greatly appreciated
Hi! Thanks for your question. So, are you installing Linux on a different drive? Cheers :)
EF - Tech Made Simple I’m installing arch on the same drive as win 10. I only have one hard drive. I get all the expected outputs (when making the grub config file it detected windows like it did for u)
Ok, so, if you remove the USB stick and reboot what do you get on the screen? Is there some kind of output? It sounds like secure boot is still active in the BIOS.
Thank you man
Hey thanks to you for watching the video! Cheers:)
when i tried to mount ,it said : can’t find in \etc\fstab
What did you try to mount exactly?
at 6:40 . i typed mount /dev/sda7 and the above mentioned error occurred
What partition is sda7?
i dont have efi partition on windows can you help me
Hi! Are you on a UEFI system? Or is your system MBR?
@@eflinux hi thx for answering
short answer: mbr
im not expert at these things yet. my system supports UEFI as i checked now but after some guidelines that I've found i realised that my system is on bios: legacy
No worries, the thing is this tutorial was meant for those who have an UEFI system. There is a version for MBR systems here: ruclips.net/video/cwrw5t8Q0ZE/видео.html
@@eflinux omg thank you so much
No worries!
Hi, everything worked fine until I tried to boot into arch using grub. It says failed to activate swaps. Then it goes on and ask me to log in. But the password seems to be wrong. At least it says: login incorrect. Also to keyboard layout went back to american style (from german).
Thank you for your help!
Hi David, yes, unfortunately since a few days with the new kernel 5.7 the swap creation using fallocate will brake. That shouldn’t anyway prevent booting. I think you probably missed the password step during the install. To solve that you can either login as root and change the user password from there or do it from arch iso. As for the keyboard, if you mean in the console, there might be a typo in the console.conf file. If it’s on the desktop it’s normal, you’ll have to add the keyboard back in the settings. For the swapfile you can use the dd command used here in the wiki which will solve the problem: wiki.archlinux.org/index.php/swap#Swap_file_creation
@@eflinux Thank you for your answer. I was able to change the password but it still does not work. When I boot into arch I first get the prompt " login:" What do I have to put in here? If I type in my Username It then asks me for my password. But If I type my password in, it gets rejected. So my question is what do I have to type in as the first prompt?
Hi David, if you created a user and a password before rebooting, it should work. If not you can enter root as user and the root password you should have set up during the install. If you didn't, the only option is to boot from the Arch ISO, remount the existing partitions, make the arch-chroot /mnt and set the password for the root and user from there.
@@eflinux I have the root password and I am able to log into root. But I am not sure how to go on from this point.
Sorry for taking your time...
No worries! So, if you created a user already but forgot to make a password for it, just type “passwd username” (replace of course username) and you can create a new password. Remember also to give the user sudo privileges.
Hello, whenever I shrink my C drive, the unallocated space appears in Windows, but the cfdisk operation does not show the free space. What should I do so that it can detect the space?
Hi, just to make sure, are you entering the name of the drive as well? Something like "cfdisk /dev/sdx" where "x" is your drive?
EF - Tech Made Simple yes, I am using cfdisk /dev/sda which is my main disk drive
Try using fdisk instead of cfdisk. Type "n" for new and see what is the default partition number offered. If you have 3 partitions in Windows, you should be offered partition no. 4. In this case the free space was detected correctly. If so, accept the default for the first sector and for the last sector type in +500M. This is the EFI partition. The again "n" for new and accept the rest of the defaults to create the root/home partition. Finish the process by typing in "w" for writing the changes to the disk. Then you can proceed tomformatting according to the tutorial. Hope this helps! Cheers :)
when i enter windows's disk management there is no EFI partition ? There is system reserved 500mbs and C: and 100mb free space like black colored
Hi Filip, are you sure you have an UEFI system? It's sounds like you have an MBR system.
@@eflinux In BIOS i have to pick between UEFI and Legacy so i guess yes
@@eflinux Thank you for the fast response
I see. When you boot the Arch ISO which boot screen do you see, the colored one?
@@eflinux Didnt try yet, was writing down things todo cause i wont have a screen to follow up with when installing, will try rn
When running swapon it threw back “swapfile has holes”
As you can see in the video description, the method for creating a swapfile changed since kernel 5.7.
maybe for giving a letter of parttition EFI, just right click partition EFI in "Disk Management" windows and change drive letter... #CMIIW 😬
everything is fine but I cant open a terminal in arch linux, what I did wrong?
Something in the language settings didn’t work probably. Go to the settings and check the language settings accordingly.
EF - Tech Made Simple Thank tou for fast respond Sir!
EF - Tech Made Simple I had typo in locale.conf
Great! Glad it worked out!
Thanks. Everything went fine, but in Archlinux i don't have terminal. installed gnome and gnome-extra. How to get a terminal? Thanks.
Hey! That's odd. Anyway you can install with "sudo pacman -S gnome-terminal" - Cheers:)
@@eflinux You mean in shell (Ctrl+Alt F3). In the meantime I solved it, thanks.
Yes, sorry I forgot to mention that. Glad you worked it out! Cheers:)
wifi-menu doesnt work command
Yes! Sorry, I forgot to put the update on the video, which I did now. Since July 2020, the method for connecting to wifi changed. You can check this video about it: ruclips.net/video/bOzLwODMqIo/видео.html
@@eflinux thanks
You also might want to check this video about dual booting Window 10 and Arch Linux which is more up to date: ruclips.net/video/L1B1O0R1IHA/видео.html
having a common boot partition with windows 10 does not help, when windows updates and wipes out something, now arch wont boot. arch is not for noobs like me i guess. (fixed by chrooting into arch and running pacman -S linux after mounting linux file system and efi boot partition. run make grub config again, grub will identify linux and windows hopefully, i got into arch finally)
Hi there! I have have a video in the channel I bow to repair grub after a Windows update.
@@eflinux great, will have a look
upon reboot, it loaded right back into windows10, no grub appeared. what went wrong?.
did everything exactly
Make sure you installed the linux package and then try reinstalling grub and regenerating the config file.
@@eflinux my problem is similar superuser.com/questions/1044282/dual-boot-arch-linux-with-windows-10/1049591
should I go with this solution, or you can give a better one
@@eflinux there wasn't any error during installation, also grub shows up in efibootmgr
That would work with systems boot. What I'd try is reboot from the ISO, mount the partitions you already created, arch-chroot in again and reinstall grub and it's config file.
Try the idea I wrote above and let me know :)
Okay, so when I install grub I get following error:
Grub-install: error: cannot open directory '/boot/grub/x86_64-efi' : No such file or directory
I have checked that the partitions are mounted correct. Any idea of what could be wrong?
Can you send a screenshot of lsblk?
@@eflinux Tried to delete the Linux-file partition and do it all over, but I still get the same error.
Lsblk:
NAME. MOUNTPOINT
|-sda1. /boot
`-sda5. /mnt
I skipped writing the other partitions into the scheme, but they are there. And the same goes for the size, type and the other categories.
Sda1 is my EFI system and sda5 is my Linux file system
Which command are you using to install grub?
@@eflinux grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
Ad thank you so much for trying to help me out with this
No problem! Are you doing this command when you are already in chroot? Or are you doing still as root from the ISO?
Hi thanks for the video it helped alot, but i've got some issue here. After restarting and login to arch i can't connect to network. I did a little bit searching but dhcpcd could not be found on my system and i don't know why. I did the installation without problems I don't know why. i can't start dhcpcd with systemctl thanks again
Hi! You installed network manager during the install. Try "systemctl start NetworkManager" and also enabled it. If you have wifi, after starting the service type nmtui. Cheers :)
@@eflinuxthat doesn't exist too. Should I reinstall arch?
Do you installed during the install? You can install it with "pacman -S networkmanager"
@@eflinux I didn't install it seperately during installation, dhcpcd worked just fine. thanks anyway, I'll search for it again
Let me know how it goes:)
Hi can you post your system specs
Hi KC, I was using another PC for this video. It had an 8 gen i7, 16GB Ram and 1TB SSD. the graphics card was an Nvidia 1080.
@@eflinux Why did you installed only intel graphics? Don't you need both intel and nvidia drivers?
Oh sorry I thought you meant the specs of my main PC. This tutorial was done on Laptop. It had an 8 gen i7 Processor, 16GB RAM and 512 SSD. The graphics card is an integrated Intel card.
Спасибо! Полезная инструкция! Можно тоже самое сделать, но с загрузчиком systemd-boot?
I’m using the translator here but Не за что! Я внесу ваше предложение в список :)
@@eflinux Boot into the virtual VMWare Windows 10 LTSC and find that the EFI partition is encrypted. GRUB install on windows 10 EFI encrypted system partition? Or do I need to recreate the boot partitions on Windows without encryption?
I haven't tested that scenario, but installing GRUB on the EFI partition should work.
@@eflinux Now I'm trying to install with encrypted EFI. Unsubscribe how the work went ))
Hi! I’m guessing you meant you let me know how it goes. Please do! It might also help someone else who has the same question:)
For mount /dev/nvme0n1p2 /mnt/boot i get wrong fs type, bad option, superbly keep on /dev/nvme0n1p2, missing codename or helper program, or other error.
Hi there, make sure nvme0n1p2 is the EFI partition in Windows. Depending on your installation it might have another name.
@@eflinux im pretty sure it was the right one but ill check again
@@eflinux could have sworn it was p2 for me too but nope. It was p1. Thanks for the help haha
Glad you found that out :)
@@eflinux now I'm getting and error after the install bit... /mnt is not a mountpoint
When i type wifi-menu it shows an error, "invalid interface specifications" why is this happening with me? I've updates all of my drivers already. Why am i facing this error, please help!
You mean when you boot the arch ISO? What PC are you using?
@@eflinux I'm using HP 15AY008TX, it has i5 6th gen, 4 GB RAM, 1 TB HDD and AMD R5 series graphics card. Yes, when i boot the arch linux, its saying this error, what should i do?
First you need to find out the WiFi card with this command: lspci -vnn -d 14e4:
@@eflinux then?
What's the model?
Grub folder is not there
What to do now
It sounds like you installed GRUB in the wrong partition. GRUB should be installed in the Windows EFI partition and its folder should be in there.
@@eflinux I installed Ubuntu, dual boot with windows 10.
Then i delete Ubuntu by erasing it's drive through windows.
However, I didn't touch grub.
Now I installed Arch Linux ( installation fail by the way 😅😔) .
After rebooting I have 2 boot loader
First Grub is open then I exit it using command
'Exit' then i select grub for arch Linux
Then there is options for entering in
Arch Linux or windows
Since arch Linux is not working i have to enter into windows
@@eflinux in my pc of windows
There are 2 partitions of uefi
I enter on it through control pannel
There is one folder
Efi
In efi
There is
Windows, boot, Ubuntu not grub
I just deleted Ubuntu folder
Now after rebooting I enter into windows directly
Even after arch is installed 😂
That’s because you deleted Ubuntu and left the GRUB instance that Ubuntu installed in the EFI Windows partition. You then installed Arch, which installed another GRUB instance and now you have 2 of them. I suggest you go back in Windows, delete the GRUB’s folder and start from scratch.
I did everything, grub is not working -_- so works windows bootloader and turns on windows -_- earlier i had similar problem, i installed grub standardly and than ran bcdedit /set "{bootmgr}" path \EFI\arch\grubx64.efi
. it fixed issue, but in this case i can't do anything. any tips? i'm not a guru at this moment, so... :\
Hi there! One thing to check out, did you disable secure boot in the BIOS and Fast Startup in Windows? Cheers :)
@@eflinux Hey
Thank you for answer, secure boot is disabled, but not fast startup. i'll try to disable it tomorrow and write here feedback ^_^
P.S: also thanks for video, it's easy and fast. And checklost is nice idea
Alright! Let me know! Cheers :)
@@eflinux oh o forgot to ask, how do you think, after I will turn off that things, I will need to reinstall arch (or grub) or it should work wothout reinstalls?
Try reinstalling grub as per the tutorial first and then take it from there :)
Before I could mount the Windows NTFS partition, I had to install ntfs-3g
How can I do if the Touchpad of my notebook does not recognize me?
What laptop do you have?
@@eflinux Acer Nitro 5 515-52
I've seen a similar issue once. There should be an option in the BIOS to switch the trackpad to Basic mode. Try to see if you have this option.
@@eflinux Okey I'll see you in a moment I'm reinstalling ArchLinux ...
@@eflinux bro if there is that option I already put it in basic, but I have a problem I reinstalled ArchLinux and now when rebooting the option does not appear to start with ArchLinux