Dual boot Arch Linux with another Linux (os-prober)

  Переглядів 40,058

Average Linux User

Average Linux User

День тому

From this video you will learn how to update Arch Linux bootloader to dualboot it with another Linux system.
In the video How to Install Linux Mint without a Bootloader you have learned how to install Linux Mint as a second OS along with Arch Linux • How to Install Linux M... This video is a continuation of that video
1. Mount the partition with the new system.
- List the partitions of your system:
lsblk
- Mount it:
sudo mound /dev/sdXx /mnt
2. Install OS prober:
sudo pacman -S os-prober
3. Update GRUB:
sudo grub-mkconfig -o /boot/grub/grub.cfg
You should see that GRUB has found your second Linux system.
When your GRUB is updated, reboot your Arch Linux and try to boot into the second system.
If you configured your Arch Linux to skip GRUB menu and boot as fast as possible, as I showed it in my video “10 Things to do first in Arch Linux”,
You need to press ESC or SHIFT key during the boot to enter the GRUB menu.
If you have not touched your GRUB, you should see this GRUB menu automatically.
And as you can see here, there is a choice to boot either Arch Linux or Linux Mint, which is my second system in this case.
I hope this tip was helpful. I would appreciate if you like and share this video.
################################################
Support on Patreon: / averagelinuxuser
Donate through PayPal: www.paypal.me/Kryvokhyzha
################################################
More cool Linux stuff at other social media:
Google+ - Best Linux Stuff: plus.google.com/+AverageLinux...
Facebook - Top Linux Tips: / averagelinuxuser
Twitter - Daily Linux News: / avglinuxuser
Website: averagelinuxuser.com/

КОМЕНТАРІ: 67
@n0ita
@n0ita 8 місяців тому
I know this video is old, but you saved me from a huge headache, thanks man.
@midhunrajr372
@midhunrajr372 4 роки тому
Great info sir. Actually Manjaro is my first and arch is the second. I installed arch by overwriting the existing grub. But then the Manjaro entry was lost from grub. And thanks to your video, I used os prober. And it worked. So even if the main os is the second one, it works.
@carlisio1237
@carlisio1237 5 років тому
Thanks for the video!
@Jimmy-dw7te
@Jimmy-dw7te 5 років тому
Thank you it helped me a lot!!
@matiaslouzaoataria6273
@matiaslouzaoataria6273 4 роки тому
Thank you so much, saved my grub installation :) YOU CAN OF COURSE DO THIS WITH WINDOWS A SWELL, I just tried what this guy proposed and it worked like a charm, only thing to mention is that I don't know where to windows bootloader is so I just mounted all windows partitions to /mnt2, mnt3 and etc and it worked just fine
@20dinars
@20dinars 5 років тому
Thank you very much mate
@MakeItWork256
@MakeItWork256 7 годин тому
worked, thanks a ton!
@mauroymgch339
@mauroymgch339 2 роки тому
Great! This really help me!
@sirrobertdowneysenior8080
@sirrobertdowneysenior8080 6 років тому
Precise, useful, to the point, no nonsense, no idiotic politics I can keep all your videos offline in case its my last day on internet. Thank you ALU.
@AverageLinuxUser
@AverageLinuxUser 6 років тому
You are very welcome, Sir Robert. Thank you for watching.
@robertandersson1128
@robertandersson1128 6 років тому
Great! That wasn't as difficult as I initially thought, actually.
@AverageLinuxUser
@AverageLinuxUser 6 років тому
It isn't. For me, the trick was to mount the partition with LM before updating GRUB. I did not figure it out when I tried to update GRUB the first time.
@hostkakamay2577
@hostkakamay2577 6 років тому
It was very helpful Thank a lot
@AverageLinuxUser
@AverageLinuxUser 6 років тому
Thanks for watching
@rongrongie5668
@rongrongie5668 5 років тому
Thank you..I really mean it you just save my other ubuntu partitions :)
@milindtft
@milindtft 3 роки тому
Thank you.!
@luisphilippe6428
@luisphilippe6428 Рік тому
Thanks! :)
@kevinhoskins2142
@kevinhoskins2142 2 роки тому
Thank you very much for this video and its instruction. I just replaced a Garuda installation with Parrot OS on a drive that also has a Manjaro installation. After the Parrot installation, I was unable to boot into that OS until I ran the command sequence you provided. Parrot booted and is updating as I leave this comment. Again, thanks!
@AhmedHamdyAiad
@AhmedHamdyAiad 6 років тому
Your vedio editing is very nice 😄
@AverageLinuxUser
@AverageLinuxUser 6 років тому
Thank you. I do my best.
@imnotpathetic7727
@imnotpathetic7727 2 роки тому
Thanks dude, it works with windows 10 too. I just have to mount my Windows EFI partition for it
@luzten
@luzten 6 років тому
Great video as usual. I just had recently a Kernel Panic issue because Ubuntu decided to update the Grub without recognizing my main installation of Arch so I was unable to fix it. Until I did something similar of what you explain in the video but using a live cd and now everything is working good again. But it was kinda hard for some reason the grub just keep failing to recognize the mounted partition of Arch inside Ubuntu. The live usb made the trick gladly and I have to touch other stuff but at the end of the day everything worked out. Thank you for the videos.
@AverageLinuxUser
@AverageLinuxUser 6 років тому
You need to have only one bootloader Watch this video ukposts.info/have/v-deo/pH-Yk6tsiWakymg.html And it is better if it is Arch bootloader, because it is more up-to-date that Ubuntu's bootloader.
@AverageLinuxUser
@AverageLinuxUser 6 років тому
There is one drawback of this setup. You need to repeat the procedure of mounting and updating GRUB manually every time you update kernel in your main or your second system. If you have several additional systems, you need to mount them all and run GRUB update.
@FOSSuser
@FOSSuser 2 роки тому
Like the quick yet informative video on a topic I was interested in to help with dual boot with arch or endeavour and a non systemd void linux have a 250GB boot drive to work just need one new partition. Feedback on video is that might want to show the partition scheme used when adding the other distros
@RahulSharma-oj4ik
@RahulSharma-oj4ik 6 років тому
Can you please make a series of Arch linux videos for the now comers ....starting from the basics to the advanced things!
@AverageLinuxUser
@AverageLinuxUser 6 років тому
I would like to do that. Thanks for the request.
@renedourado186
@renedourado186 6 років тому
great request!
@vietanhnguyen2659
@vietanhnguyen2659 6 років тому
Thank you
@AverageLinuxUser
@AverageLinuxUser 6 років тому
You are welcome.
@bestfriendship4885
@bestfriendship4885 2 роки тому
Still works 2021
@chamsinchamalie2099
@chamsinchamalie2099 5 років тому
How can u install windows on archlinux uefi systemd-boot?
@GooogleGoglee
@GooogleGoglee 5 років тому
Thank you for this clear video Can you make a video for dual boot arch with a windows 10 already inatalled? I still dont want to get rid of Windows since maybe one day I want to resell the computer with the original OS installation. Thank you!
@AverageLinuxUser
@AverageLinuxUser 5 років тому
Hi +Google Google, Thank you for the comment. Dual boot with Windows is requested so often that I have to do such videos.
@eldersprig
@eldersprig 6 років тому
what if instead of using separate partitions for each distribution, you used the LVM?
@AverageLinuxUser
@AverageLinuxUser 6 років тому
Thanks for the question. It may be better, but it is also probably more advanced. I have no experience with LVM. But I receive many comments about it, so I need to try it.
@xinzhang8592
@xinzhang8592 6 років тому
Another question: If I want to use Office Word (Because I usually write literature by it and LaTex isn't easy for my tutor to annotate) on Debian or others, must I dual boot? Maybe virtual machine take much space.
@xinzhang8592
@xinzhang8592 6 років тому
Yeah! Maybe Office Online is also a good choice!
@AverageLinuxUser
@AverageLinuxUser 6 років тому
If you use office for simple work, learn LibreOffice. It is not worse than MS office, it is just different. For more serious work, learn LaTex. Neither MS office nor LibreOffice is good for serious documents production.
@xinzhang8592
@xinzhang8592 6 років тому
Average Linux User Thank you for your suggestion~
@abhishekshah11
@abhishekshah11 5 років тому
I tried the same thing but with Ubuntu as my main system and Fedora 29 as secondary. Grub failed to load fedora 29 even though it detected it during update-grub
@AverageLinuxUser
@AverageLinuxUser 5 років тому
I have not tried such combination. But such problems happen. I had dualbooting issues with Manjaro ukposts.info/have/v-deo/cXubeZVseZmfpmQ.html
@bobermod
@bobermod 6 років тому
Thank you for this video. How much is the process different from Windows?
@AverageLinuxUser
@AverageLinuxUser 6 років тому
+Вова, You are welcome
@shellcasing1040
@shellcasing1040 6 років тому
Here's my situation: there's an SSD in my laptop that's booting Ubuntu. Now, I removed the ODD of the laptop and added an HDD in that caddy instead, so that my laptop now has an SSD and an HDD, even though it wasn't made that way. I have installed Windows on the HDD but it doesn't boot. By the way, the BIOS doesn't recognize the new HDD; I'm not surprised since originally there's supposed to be an ODD. How can I add an entry for the new Windows drive in GRUB 2?
@AverageLinuxUser
@AverageLinuxUser 6 років тому
If BIOS doesn't see it, I am afraid you can not do much from with GRUB. Check your BIOS settings.
@Oczkins92
@Oczkins92 6 років тому
Could help me?How to set in Antergos/Arch linux correclty resolution?I want set a 1440x900 but i can only 1440x1050 and i have NVIDIA properiaty driver.
@AverageLinuxUser
@AverageLinuxUser 6 років тому
What desktop environment do you use? Go to the settings and search for the display settings. There should be an option to change your resolution. You should also be able to change it in the Nvidea settings. You can also try to use xrandr ukposts.info/have/v-deo/ond4mHp7rZWJq6M.html
@Oczkins92
@Oczkins92 6 років тому
I tried gnome,xfce and others.I tried set in NVIDIA settingbut not succesful.Even xandr always shows error when i trying set 1440x900.I don't know why is this because in Ubuntu/Debian i never had this
@petslittleworld
@petslittleworld 6 років тому
I want to dual boot LM(secondary OS) with Manjaro(primary OS). If I don't install bootloader in LM as my second OS will the grub be updated automatically when I install new kernels in LM? If not can you please help me how to update the Manjaro's grub manually.
@AverageLinuxUser
@AverageLinuxUser 6 років тому
No, you need to update your Manjaro GRUB manually every time you update your LM kernel. Do not forget that you LM partition has to be mounted during the GRUB update. Also, if you update Manjaro kernel you need to have your LM partition mounted, so that GRUB recognizes it during automatic update. If you forget to mount LM and update Manajro's kernel, it is not a problem. Mount LM and run sudo grub-mkconfig -o /boot/grub/grub.cfg. The command are the same between Arch (in the video) and Manjaro. Let me know if something is unclear for you.
@petslittleworld
@petslittleworld 6 років тому
Thank you very much ALU, I will try this out. One more small request can you do a video on how to change the default OS in GRUB in a multiboot setup.
@kenmitchell7687
@kenmitchell7687 6 років тому
I am having trouble installing Solus and Obrevenge(arch)together,they don't seem to like each other and play nicely together.I have tried several times and one seems to mess up the other.Last time I installed OBrevenge first then Solus, Arch is recognised in the Solus bootloader but when I try to boot into Arch, it comes up with kennel panic and wont boot into Arch.I might add I have mint also installed, no problems with that.Solus is fine dual booting with Windows and Ubuntu based distro but Arch is a little bit more difficult but i usually cure it using Obrenge boot tool.Does anyone have any comments or solutions to this problem.
@AverageLinuxUser
@AverageLinuxUser 6 років тому
What is your bootloader? Is it Solus bootloader? I think you need to install Arch bootloader, as it is the latest and it should be able to recognize and boot all your systems.
@xinzhang8592
@xinzhang8592 6 років тому
What about dual booting Debian Linux with Windows?
@AverageLinuxUser
@AverageLinuxUser 6 років тому
I don't like dual booting with Windows :-)
@intrudah
@intrudah 4 роки тому
Grub is supposed to autodetect windows installs with os-prober installed. No mounting required.
@shater1164
@shater1164 6 років тому
Grub2 still a little buggy to me, in Fedora that grub2 looks like DoS :)
@AverageLinuxUser
@AverageLinuxUser 6 років тому
So, what do you use? P.S. I sent you a private message on UKposts, please check your inbox.
@shater1164
@shater1164 6 років тому
I'm still on Fedora 25 LXDE and I did check it already, hope you've got my reply back, thanks :)
@rubencristobalgarcia185
@rubencristobalgarcia185 6 років тому
You are the fucking bossss
@lands1459
@lands1459 Рік тому
unfortunately this isn't working. im trying to dual boot arch linux and windows xp.
@leo-rq2ei
@leo-rq2ei 6 років тому
wow thats it?
@iamZANIX
@iamZANIX 4 місяці тому
Easy trying to act like i use arch btw😂
@reichcarlos
@reichcarlos 6 років тому
I have archlinux installed, but I want to install Slacware on my sda3 partition. The problem I find is that slack comes with boot lilo, what can I do? I can install slackware in sda3 without lillo and then update the grub from Arch, many thanks
@AverageLinuxUser
@AverageLinuxUser 6 років тому
I am not familiar with Slacware, but I believe Grub should be able to boot it. You can always make a test setup in a Virtualbox before you try it on you real system.
@reichcarlos
@reichcarlos 6 років тому
very thankss!!!!!!!!!
How to Dualboot and Multiboot Linux (and Windows)
29:05
DorianDotSlash
Переглядів 217 тис.
New to Linux? Yeah, DON'T Use Manjaro...
15:55
Eric Murphy
Переглядів 155 тис.
Китайка и Мармеладный Лего😂😆
00:19
KITAYSKAYA ZMEYKA
Переглядів 2,3 млн
🐩🐕
00:25
Янчик
Переглядів 1,9 млн
[1d] | Arch Linux Base Install on UEFI with LUKS Encryption
27:42
EF - Linux Made Simple
Переглядів 26 тис.
The Best Linux Distro for You
11:23
ForrestKnight
Переглядів 580 тис.
Manjaro: recover GRUB after a Windows Update
10:06
EF - Linux Made Simple
Переглядів 31 тис.
Why Do So Many YouTubers Run Arch Rather Than Mint?
12:09
DistroTube
Переглядів 89 тис.
How to Fix Dual Boot Problems
11:49
Chris Titus Tech
Переглядів 194 тис.
Why you (probably) shouldn't use an Arch Linux install script
10:18
Eric Murphy
Переглядів 76 тис.
How to Dual Boot Arch Linux and Windows 11/10 [ 2022 ]
37:25
Ksk Royal
Переглядів 233 тис.
Using Pacman on Arch Linux: Everything you need to know
17:44
Luke Smith
Переглядів 186 тис.
How to Restore Missing Grub Bootloader | Manjaro Linux Tutorial
6:08
Chris' Tutorials
Переглядів 122 тис.