Dual Booting Windows 10 and Arch Linux on MBR/BIOS
Вставка
- Опубліковано 21 вер 2024
- UPDATE : Since the July 2020 ISO the wifi-menu command is not anymore available. To connect to a wireless network use iwctl as per the Arch Wiki.
In this video I am building Arch Linux with LibreOffice, Firefox, fonts, YAY and Timeshift dual booting with Windows 10 on a MBR/BIOS system. We are going also to make sure that Linux directories will be accessible from Windows and vice versa. Enjoy!
Link to the commands: bit.ly/2VOVVBw
** Become a Patreon to support the channel: bit.ly/3dGGZxQ **
** Donate to the channel by visiting our Website **
My Hardware:
AMD Ryzen 9
32 GB RAM
Sapphire RX 5700 XT
My software:
Distro: Kubuntu 20.04 LTS Beta (testing)
Video editing software: Kdenlive
Music: Jindupe by Lauren Duski
Check out our Website and connect on Social Media!
Website: ermannoferrari.net
Facebook: ermannoferraritechcoach
Instagram: efsoftwareandit
#dualboot #archlinux #windows10
I've had to install Arch Linux three times already and every single time was successful because of your video. Thank you for your work!
Wow great! So glad to hear that!
same here but i had to install arch 2 times in one day because i forgot to install os-prober :P
THANK YOU! I heard about "Fedora" from a friend while riding the bus in middle school and that sparked my curiosity in Linux. I have used Ubuntu since 5.10 Beezy Badger. I switched to Arch a few years ago on some older and free machines, but I was nervous to attempt a dual boot on one of my main machines. My favorite laptop from grad school (Alienware M11XR2) was struggling recently with Windows 10, and I have been release upgrading (NOT reinstalling) the Ubuntu install since 10.04 and it was in rough shape. I finally tried dual booting Arch and I could not manage to have GRUB find Windows. Your video was what saved it!! After reading about Arch for several years (I even have a few videos I did to try to help others), I have found NOTHING as clear as your videos! Thank you, I will be able to keep my favorite laptop going with Arch (and a backup Windows partition just in case...).
This is a great tutorial. I was scouring through how to install Arch on my system and FINALLY I found this.
Excellent 👍👍. I have been trying to understand the process, reading the Wiki, watching many videos. This is the first time I got a really good idea about it. The process is extremely complicated, no doubt, so I'll have to watch this several times more before getting my feet wet, but I think, I know enough now to get started! Thank you very much.
Hey thanks! Let me know if I can help further!
Great work , I highly appreciate your video and demonstration , keep doing what you do , We adore your linux passion .
Thanks! I really appreciate that!
This video is amazing and provides better detail than is available in the Arch Linux wiki. Thank you
Thanks! Glad it helped you out!
Looked at a lot of your content here over the last few days. Have successfully installed Arch on a few VM's with different setups, feeling things out, easy peasy thanks to your guidance. Also really like it when you expand on the packages you are installing them, explaining shortly what they all do and why you're adding them, rather then just typing it in and hitting that enter key.
If you're looking for ideas for future content, personally I'd be very much interested in additional content focusing on the choices the user needs to make as they continue to build their system from here. The advantages and disadvantages that come with each choice and things you need to keep in mind when going one route or the other. Not looking for the absolute truth here, good luck making a statement like that to the Linux community, rather your personal opinion.
- Xorg vs Wayland
- GRUB vs systemdboot vs rEFInd vs Clover etc.
- KDE vs Gnome vs LXQt vs XFCE vs I3 vs Awesome etc. etc.
- GDM vs LightDM vs Sddm vs XDM
- EXT4 vs Btrfs vs ZFS etc. etc.
- NetworkManager vs systemd-networkd vs Wicd etc etc.
- Keyring vs Kwallet etc.
Something like that, maybe specially focused on the choices you need to make if going the non standard route with a big DE such as Gnome or KDE out of the box and rather having to pick your system together from different pieces. I think we're all a little unaware of all the things theses complete DE's (and also distros to an extent I suppose) pull in to give us that complete experience. Anyway, thx for all your content so far, keep it up bud!
Hey thank you so much for your feedback. You make very good points. It's always tricky to make comparisons, as to me they are all very personal, but I get what you say. I'll try do develop a concept around this idea and try to expose the content in a way which is based on facts more than opinions. In the end, the best way is always to try out everything :) Thanks for your support!
@@eflinux I second this guys comment :) Interesting topics.
I love this video so much, it helps me so much you don't know how many times I try to install ArchLinux in my laptop with a MBR BIOS, you deserve the best :) :)
I’m switching from Linux mint to Arch. And this tutorial really helps me with installation process.
Great to hear!
Great Sir! and Thank you. Finally installed Windows 11 and Arch on a 10 years Old Laptop with Legacy Bios. Nowhere the instructions as clear as yours. I tried few and ended up deleting windows Partition.
The only vid on YT that didnt brick my PC LMAO tysm ur the best
Glad it helped!
@@eflinux yea u got urself another viewer and sub lol
Thank you!
Really good. You made me install Arch correctly on the first try! Thanks a lot!!
Ah so glad to hear that! Let me know how you like Arch!
Arch is great! I've been using Manjaro for the past year, now I've finally made the change to arch.
Great to hear that! What is the main difference you notice from Manjaro?
Manjaro always seemed kinda bloated for me. Using Arch I can decide exactly what comes with it.
Also, I think that Arch gives me control. It's been only a few days but so far I'm really happy with it.
I see, well enjoy Arch and if there's anything you like to see drop me a line :)
okay i just tempted to install arch but i have no idea to dual boot it with my current windows 7, i might try this tutorial, thanks for sharing!
Well, your still on Windows 7? Microsoft ended support more than 1 year ago!
Anyway, it should be the same on Windows 7 but Windows + X won't work. Go to the start menu and type Disk Management.
The rest should work on Windows 7
Theres something on the Arch wiki about that, the article name is Dual booting with Windows if I remember correctly.
As always great video and content, thanks so much it really helped me!
Thanks!
You cant have more than 4 primary partitions...4:35. My legacy windows has 3 partitions. The c drive, a "system reserved" 50 mb partition (NTFS) and the 500mb recovery partition. So how do you create the final primary partition if you are already at the max? Use logical?
Yes, you’ll have to go with logical.
@@eflinux thanks for the fast reply and the informational tutorial. cheers buddy
okay so the default arch iso refused to detect my internet so i downloaded the anarchy installer because it has nmtui and i followed the tutorial from there phew... i thought i'd never be able to say i use arch btw
Thank You, awesome tutorial and it really helped me a lot :D
Wooow woow
Thank u man
U r amazing
I love u
Just completes my arch installation
It was very easy and works great
Keep it up
U r helping me soo much
And i owe u much now 👍👏
Great! Glad it worked out!
Legend
Thank you so much. It is very helpful.
Well, maybe it's gonna be helpful: in my case windows 10 wasn't found in sda2 while making grub config, but it worked fine while mounting win10 to the sda1. Quite interesting why the behaviour differs...
Thanks.
Got a hot tip for ya. I updated my Arch installs today and Terminator quit working with the update. Using another terminal, install the following: sudo pacman -S python-configobj thanks to a jeena@William on the Arch wiki.
EDIT BTW, for anyone that doesn't have or doesn't want to install another terminal, just ctrl+alt+F3 to give you a tty3, give it your username and password and do it that way and to get out of the tty just alt+-> or alt+
Thanks for sharing! I'll have a look at it!
Thank you for such a detailed guide
Glad it was helpful!
If anyone ever encounters the issue of the start and end sectors not being in order, I *HIGHLY* recommend starting from scratch and setting up the partitions in a gparted live media environment beforehand and THEN installing Windows and Arch Linux. It makes life *way* easier. - Windows knows how to screw things up and partitioning inside Windows can set Linux up for failure.
Amazing
I love your videos. Very helpful in seeing what would be happening as I go along in installing Linux. My main problem, I can't find anything about dual booting when Linux is installed first. I would like to get a Windows 10 install going for some games that I just cannot get working on WINE.
Im stuck on arch-chroot /mnt. I get an error saying : System has not been booted with systemd as init system (PID 1). Can’t Operate. Failed to connect to bus: Host is down
Thank you 😁
Thx! You are the best.
Thanks! Very kind!
Can I do this installation if I don't have boot partition? My windows boot is on /c:windows:boot. Sorry for the questions since yesterday, but you are the clearest when it comes to Linux teaching. Thanks again!
Great video as always! Btw 1GB is not exactly 1000MB. It's 1024MB. A little thing that I knew ;)
Thanks for the feedback! Yes, I know what you mean, I am just so used to it, I don't think about it anymore :) But thanks for the note, actually I'll be more precise the next time. I just don't want to go too in otherwise I'll have to explain also that is not Megabytes but Mebybites sometimes during the install. Cheers:)
@@eflinux I didn't actually know that! Thanks ;)
@@eflinux one question, what distro were you using? I do not know many distros. That's why I'm asking
I usually use Arch Linux, but these days I am testing Ubunutu 20.04 and Kubuntu 20.04 which are due in a few days. It's for the upcoming full review. Cheers :)
@@eflinux I'll be waiting for the videos.
Remember to enable the wpa supplicant service, i was missing that, took me like two hours to figure it out
excellent, thx
Thanks! And you're welcome :)
Also that channel name is too true
Sir one help, I installed sddm but I am unable to enter password and press login how can I disable sddm now, I am not even able to access terminal, please help me
At the login, ctrl+alt+f2. Login with your username and type sudo systemctl disable sddm. Reboot.
@@eflinux 👍
@@eflinux sir I had garuda linux instead of windows on my pc and when I was trying to replicate the process you did, I too mounted garuda at /mnt/garuda as you did for /mnt/windows10 but now even though I did sudo update-grub it isn't identifying my garuda os,, what can I do?
You mean it is not identifying Windows? You need to make sure os-prober is installed as well as ntfs-3g and reconfigure grub.
@@eflinux no sir I don't have windows instead I had another arch based linux known as garuda, now I am unable to boot it and when I check it's file system all directories are prefixed with "@"
Is it worth using the rule of tumb for swap files if you have a lot of ram? I have 24gb of ram and using up almost 50% of my storage just for a swap file is quite costly.
No, I'd do not more than 4GB max.
Muito obrigado! Thank you!
Glad it helped!
Hello, grub and os-prober are unable to find windows, after mounting sda1 and running ls i can see the bootmgr file but grub and os-prober can’t
Now i get the arch memes
Omegalul , welcome to the club
Nice guide
I am sorry but I didn't Understand why we did not generate the INITRAMFS (the `mkinitcpio -p linux` step) that you always do . Can you please explain?
somewhat of an issue but whenever i make the grub.cfg file it never finds my windows 7 installation and I’m not sure what to do
Make sure that os-prober and ntfs-3g are installed and rerun the config command.
I am very new to the zsh as well as the linux environment. However I might sound stupid enough, but still have to ask this. The arch-chroot /mnt gives the following error:
chroot: failed to run command ∆/bin/bash∆: No such file or directory.
It sounds like the partitions are not correctly mounted or you installed the base packages in the wrong directory.
Is it possible to avoid breaking the clock? You log in Arch and clock is fine, log to Windows and you’re hours ahead, you fix the clock in Windows and when you are back or Arch your Arch clock is hours behind.
One option is to go in Windows and turn off “select time automatically “ in the settings.
I get an error when mounting my kali linux on arch ---wrong fs type bad option.
Hello, I'm trying to install the arch from bios in a virtual machine. Unfortunately, os-prober does not find windows10. Maybe I have a badly prepared machine - I downloaded a ready machine with windows installed and then reinstalled the arch. Grub has no windows10 entry. I am afraid that this situation may repeat itself on the real computer. What am I doing wrong?
When i delete the linux particion on the c drive on windows i have used the easybcd software to reset the boot. This way i dont need to dowload de windows iso e burn into a stick to reset the boot. :)
If one is ready to pay something yes.
hey, could you please help me? i just finished the video but when i try to boot arch it says
Starting version 249.7-1-arc
/dev/sda6: recoveing journal
/dev/sda6: clean, 331512/9682944 iles, 4051979/38731526 blocks
and then it gets stuck on this screen
Can u explain what is mbr bios efi gpt ..sir iam new to your channel . Previously i watched your arch on vm you enable efi. also I did but not running and also unchecked that option it's directed to boot pls help. iam new to your channel. Sorry for bad english ..
Hey thanks for the question! Yes, definitely! I am recording a video about this topic which is coming up soon. Thanks!
Hey Sir.. I just have a small doubt that if I want to have a separate /home directory do I need to mount that also in the process
Yes, you'll have to do that. You'll have to create a home partition and mount it in the home directory.
@@eflinux Yep, and remember to do it before genfstab.
Nice video, but after complete installation
My pc is stuck on black screen 🥺
Tried twice same error
Could you guide me...
I'm new to arch
It was nvidia driver issue, removed it now works fine. Thanks this video was very helpful
Great! Glad it worked out!
I don’t know why but cfdisk just doesnt work right. It just freezes when i try to go down to free space. Is there any way to do this in the cli instead?
I followed your tutorial and, for some reason, grub doesn't detect Windows 10. What can I do?
Make sure os-prober is installed. Eventually, create a directory for the Windows 10 partition in Linux and mount it. Then rerun the grub config command.
@@eflinux Thank you so much. It works :)
What is that i386-pc ? I have to do the same in my AMD Ryzen 5 processor?
That’s the connotation for Grub to install on a legacy system. It has nothing to do with the processor. If you are on a legacy system it should be fine.
Hi Ermanno, i folow your tutorial 3 times but always failet after "arch-chroot /mnt". any info since its been 2 years now.. thanks
Error: failed retrieving the file (from every possible mirror)
Error: failed to synchronise all databases
☹️
Pls help me
When is this happening?
@@eflinux immediately after booting to arch linux to start the second stage of setup... But thank you sir for replying it's finally working when I reboot again
Great!
At 1:20 mins, you say logged into the booted iso via ssh. It'd be nice if by editing your video you put on the screen exactly what you did to do that. I'm guessing that you started windows 10 cmd and then typed something. I'm also guessing you sshed in from windows 10 into Arch (on the same computer - dunno - you didn't say) - I have no idea because you didn't even explain yourself. I'm also guessing that the only reason that you did this is because you wanted larger text for your viewers - dunno again. Please, if you're going to teach, say what you're doing, why and how.
Hi there! Thanks for you suggestion, I'll explain it in the next installation, but what you basically have to do is boot the ISO then install and start openssh. Get your ip address and log in on a terminal. That's all. The only reason I do this, and I've said this in other videos as well, is, as you correctly point out, to have a bigger terminal which is easier to see for viewers. Cheers :)
sir, when i run grub-mkconfig -o /boot/grub/grub.cfg, and theres message show "grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map." can you help me sir?
SOLVED Sir, thanks for this video Sir :)
MBR installs GRUB to the disk, not the partition.
Can you guys help me?I have the same problem, in video it says Found Windows 10 on /dev/sda1 but mine don't show up. And ı am not able to see the windows boot option at start can only lunch arch.
I managed to solve it too, it was a terible moment when i realized that I am not able to enter windows :) but learned tons of stuff while fixing. But I have a question if I want a fresh install of arch how will I uninstall the arch because I can feel that I broke tons of stuff while fixing one thing :D , great tutorial btw
Hi! Glad you managed! I was writing when you posted the second answer :) If you want to start from scratch you'll need to go in Windows and remove the Arch partition. Also, you might want to remove the grub bootloader from the EFI partition. To do that you can watch the video of Dual Booting Windows and Manjaro, where I show also how to remove GRUB.
When I’m installing grub boot loader it showing that can’t find a grub drive /Dev/sda7 , check your device.map
Why
I need help
hi most prob i'm too late but to install grub you have to give it the entire drive so /dev/sda not /dev/sda7
I did everything right until I rebooted and did not find Arch..
Make sure our motherboard BIOS is allowing booting from other bootloaders than Windows. There might a setting for that.
@@eflinux thanks, I actually found out what was wrong, which was mb. thank you so much for this video, I am planning to watching this again but without those mistakes, on my older laptop later :D
Hi, I’m trying to install archlinux on my USB flash drive with the following partition:
/dev/sdc1 ext4 boot partition /boot
/dev/sdc2 swap /swap 8gb
/dev/sdc3 ext4 root partition /root
/dev/sdc4 ext4 home partition /home
Any idea how to install the boot loader to the boot partition (/boot or /dev/sdc1)?
I’m trying to install to the first partition, not the disk itself
Hi! Funny you mention this, I am doing a video about right now (but on UEFI). The bootloader for an MBR system needs to be installed on the disk, not the partition, for example /dev/sdc.
EF - Tech Made Simple
Oh! Good timing, nonetheless - I look forward to that upcoming video
So there’s no way for me to do that - unless it is done with EFI?
EF - Tech Made Simple
Is there any way to portably edit the boot loader if I install it to disk? I want to customise and edit my boot loader (grub syslinux customisation) after installation as well as potentially install other linux distro into a multi boot, hence the idea
You can do it on MBR as well. However, as per the Arch Wiki, a Swap partition is not recommended and also formatting needs to be a little different. Journaling needs to be turned off to preserve the longevity of the flash drive.
EF - Tech Made Simple
Oh, so this can only be done without a swap partition?
Got a problem! though I successfully installed Arch
My problem after installation It's windows10 option in grub bootloader Isn't there I got an idea as why this happened.
When doing the Mounting process and executing these commands:
# mkdir /mnt/windows10
# mount /dev/sda2 /mnt/windows10 */dev/sda2 It's my windows10 partition where the DATA is stored
got an error here, why? cuz as soon as I watched this video I turned off the laptop and selected TurnOff Anyways without properly closing all my windows I had open.
but I ignored the error and I kept with the whole process.
when booting archlinux I get errors saying Folder Windows10 could not be loaded
My System:
windows10
BIOS-MBR
too much info and many letters when trying to learn how to fix this I'm overheated, Halp!
Hi there! Probably the mount point wasn't properly saved in the FSTAB file. What you could try, is to remount the partition and put the partition in the fstab file manually. Then re run the grub configuration again. Hope this helps!
@@eflinux
Should it be like this?
# cat /etc/fstab *imgur ScreenShot: imgur.com/j24yQpa.png inside fstab file on partition /dev/sda2 appears /windows10 in case you don't want to open the link
Tried these commands; in # su -
# mount /dev/sda2 mount *mount: /windows10: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
# mount /dev/sda2 /windows10 *nothing happened I assumed the command worked just fine
# grub-install --target=i386-pc /dev/sda *no errors
still getting no 3rd in grub options to boot into windows10
still getting errors when booting into archlinux: Failed mouting /Windows10.
After a bit of research on archwiki tried these commands:
# umount /dev/sda2
# ntfsfix /dev/sda2 *noting wrong with this command seemed successfully
# sudo mount /dev/sda2 *got this: blksize option is ignored because ntfs-3g must calculate it.
fuse: mount failed: Device or resource busy.
# sudo ntfs-3g /dev/sda2 /mnt/windows or /dev/sda2 /windows10 tried both *got this: ount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
Now im wondering how to boot into windows10 through grub rescue and shutdown windows10 properly.
Thanks for the reply
I see. What you can try is booting with the Arch ISO, mounting the already existing partitions and reinstall grub and its configuration. If everything is correct, gub will be recreated with both entries.
@@eflinux
After the umount, ntfsfix steps even though it was giving me errors in terminal. When restarted the pc
I didn't get any "Failed to mount /windows10"
Now I can open the /windows10 folder in archlinux and access the Data stored on /dev/sda2
Though still without the option windows10 option in grub
Have you tried reinstalling grub and re create the configuration file? That should do it.
Getting error
/Usr/bin/python3: no module named reflecter
Which ISO are you using? The newest ones have reflector already installed.
@@eflinux archlinux-2020.12.01-x86_64.iso
Ok, there is a typo It's not reflecter, it's reflector.
can someone help me, when i run "grub-install --target=i386-pc /dev/sda". Something come out like this "This GPT partition label contains no BIOS Boot partition; embedding won't be possible"
Hi! The problem is you partitioned the disk with a GPT label instead of a DOS disk label while you have an MBR/Legacy system. You can partition the disk with GPT on MBR/Legacy, but then in this case you require a BIOS boot partition as well.
@@eflinux omg thank you for the fast respond. Now i get a new problem lol. When i run "grub-mkconfig -o /boot/grub/grub.cfg", my windows (win7) is not detected.
No problem! Create a directory in the system for Windows and mount the partition in there. Also, install the ntfs-3g package as well as os-prober. Then rerun the grub configuration command.
Nice video sir
I installed arch linux on lagecy boot
I try to boot arch linux on the login screen my keyboard and mouse freeze
Not working
Keyboard and mouse logitech brand
They also wired
Hi there! Thanks for the feedback! Legacy boot doesn't mean necessarily BIOS/MBR. It can be well still an UEFI system.
@@eflinux how to fix it this input not working
I have low specs pc
Do you have a UEFI system? And is the freeze by the installation or after the installation?
@@eflinux no have not uefi system
Installation is not freeze while installing
After install arch linux freeze problem appears at login screen
My grub doesn't show windows 10. Help?
It is because of this: ua-cam.com/video/6z2Il-jVKqA/v-deo.html
18:50 My PC didn't boot
Entered grub command line
grub>
I have a laptop. So I have both integrated cpu graphics and an nvidia "high performance" gpu. But my nvidia gpu is not meant for normal VGA displaying and is for 3D rendering by default. So arch uses my intel gpu (as a VGA adapter and not as a gpu because I didn't install the drivers for it). How can I change the system to use my nvidia card?
Hi Arashk, how old is your laptop? There are several options for that. You can look at the optimus-manager package from the AUR. YOu find more info here: aur.archlinux.org/packages/optimus-manager/
@@eflinux well let's say pretty old but everything is still supported. I tried optimus manager in gnome wayland, and because I was sure it would't work, i launched it in gnome xorg and again it didn't work. But now I use xfce, can there be still problems?
Difficult to say that. However, there are other methods for managing that kind of scenario. The problem with NVIDIA cards is very often about troubleshooting. Here you can see some other methods that could work with an hybrid card scenario.
@@eflinux thanks a ton!
No problem!
The commands link now returns 404, kindly update
Sir can you create a telegram group for us to share our doubt pls
Thanks for the suggestion. I'll think about it.
Urgent! I'm dual booting with Windows 7 (Pro). 8:13 - When I do "mount /dev/sda2 /mnt/windows7", it gives the output, "zsh: permission denied: /dev/sda2". Please help ASAP.
Are you performing this operation as root or with sudo?
Using sudo worked! Thanks for replying.
Sorry for interrupting you again but it doesn't show the Windows mount in my case @ 9:59
(i'm new to linux)
Will it be a problem?
@@eflinux I ignored and and now think it did cause a problem. @ 16:46 it output:
"Generating grub configuration file ...
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done"
I'm afraid that it *will* not dual boot, do I have to do anything to prevent the aftermath?
How do u install Steam in Plasma?
From the multilib repository, which has to be enabled in Arch.
A N D H I T E N T E R
The Website link is not accessible
Does it work still in July 2021?
It should, just make sure to read the video description for updates.