LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2021, 04:37 PM   #1
KrazyKat52
LQ Newbie
 
Registered: Mar 2021
Posts: 21

Rep: Reputation: Disabled
Hiw do we dual boot on M.2?


How do we dual boot using Mageia 8 and another OS (like Ubuntu, another Linux version or, yes, even W10) on the M.2 NVME PCIe4 x4?

Would it be better to dual boot using the other HDDs or would loading separately and use BIOS to change when needed?

Thank you.




Asus ROG Strix B550-F MB
Asus TUF RTX 3060 OC Edition 12GB GPU
AMD 7 3800x CPU
32 GB 3200 DDR4 Memory
EVGA G5 850 Watt PSU
2 Seagate HDD 2TB each
Seagate 2280 NVME M.2 PCIe4 Gen 4 - 500 GB
DVD burner
Card Reader
 
Old 03-26-2021, 06:53 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
If the M.2 is fully supported by bios as a bootable device and that may include uefi mode only in some sysetems then you should be able to install an os as if it were a hard drive. This would also assume that all the drivers for any storage are there.
 
Old 03-27-2021, 12:58 AM   #3
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
TOSHIBA THNSN5256GPU7
NVMe M.2 SSD by PCIe Gen3 X4

I run Windows 10, and 4 Linux on the 250GB drive above. They all dance gracefully.
 
Old 03-27-2021, 02:55 AM   #4
KrazyKat52
LQ Newbie
 
Registered: Mar 2021
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Brains View Post
TOSHIBA THNSN5256GPU7
NVMe M.2 SSD by PCIe Gen3 X4

I run Windows 10, and 4 Linux on the 250GB drive above. They all dance gracefully.
Quote:

If the M.2 is fully supported by bios as a bootable device and that may include uefi mode only in some sysetems then you should be able to install an os as if it were a hard drive. This would also assume that all the drivers for any storage are there.

What are the steps involved to create the dual boot? Would someone be able to reply with a link if the question has already been asked, please? My Search button gives me an error.

Thank you.

Last edited by KrazyKat52; 03-28-2021 at 05:55 AM.
 
Old 03-27-2021, 06:13 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,523

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
Install each to a separate partition. Are you using UEFI? That will simplify things particularly in regard to bootloader. The link below explains dual booting windows and Ubuntu. The process is basically the same for each distribution. What part of the process specifically, do you not understand? Have you not done it before? Have you done an online search?

https://help.ubuntu.com/community/UEFI

Last edited by yancek; 03-28-2021 at 07:02 AM.
 
Old 03-27-2021, 02:41 PM   #6
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by KrazyKat52 View Post
What are the steps involved to create the dual boot, please.

Thank you.
This is one example of how to install dual boot.
There are many examples of your question and the answers already available on the internet with a quick search.
 
Old 03-27-2021, 08:11 PM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
All my installations are multi-boot. The vast majority of those not including RAID have only one HDD, SSD or NVME. I have 5 PCs as such on UEFI, with 2 on NVME and 3 on 2.5" SSD.

To make multiboot on NVME (or really any UEFI PC) easy, I suggest to have only the first Linux installation include a bootloader. That first installed bootloader can boot all other distros, and Windows if desired. I suggest also to do all partitioning for all planned installations before installation begins for the first. Second best is for the first installation to do all the partitioning, so that for each additional one it is only necessary to specify which partition(s) or LVM filesystems to utilize, and format as required, so that you won't be subjected to complicated surprises from installations after the first.

If you expect ever to install more than one version of a distro, or more than one Ubuntu-based distro, e.g. Mint, before beginning installation of each additional one you should modify /etc/default/grub's GRUB_DISTRIBUTOR= line in the previous distro(s) to make it unique. If more than two, each additional one should also have this. E.g., for openSUSE, which always defaults to GRUB_DISTRIBUTOR="opensuse", make the first GRUB_DISTRIBUTOR="suse152", the next, GRUB_DISTRIBUTOR="susetw", the third, GRUB_DISTRIBUTOR="suse153", and so on. This way minimizes the chance a subsequent installation will usurp the bootloader of a prior installation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot Dual hdds, Download of ubuntu 10.1, no vista or dual boot jim d Linux - Newbie 4 11-25-2010 04:18 PM
Dual partition, dual OS, but not dual boot. mikalee Linux - General 7 12-20-2009 10:42 AM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM
Dual-boot or No Dual-boot? Mrrrr. Nice Guy Linux - General 6 11-05-2004 12:36 PM
hiw to remove a prog installed with .sh, or from source? astronomer Debian 2 04-25-2004 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration