this post was submitted on 27 Jun 2024
14 points (93.8% liked)

Linux

48287 readers
638 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I was planning on installing windows to my new ssd for a dualboot, but I noticed that windows installer didn't allow me to select the disk. I learned that it just installs to the drive that is marked as M2_1 in the bios. I thought that had something to do with boot order initially, but I'm not sure about that now. If it is boot order, my second ssd doesn't even show up in the boot order menu So:

  1. Does windows install to whatever is second in boot order or whatever is marked as M2_1 in the bios, and
  2. How can I edit this to prevent windows from nuking my main linux partition and using the empty ssd, and after the install, how should I make sure both drives are available to boot into?

Motherboard is MSI MS - 7E10

top 14 comments
sorted by: hot top controversial new old
[–] bloodfart@lemmy.ml 3 points 4 months ago (1 children)

Swap em around if they’re the same interface.

[–] Lime66@lemmy.world 1 points 4 months ago (1 children)

What do you mean by swap them around, and what do you mean by interface?

[–] bloodfart@lemmy.ml 1 points 4 months ago (2 children)

by swap them around i mean physically take the two drives out and put them in each others connectors. by interface i mean physical interface, like the plug or socket or slot they connect to the motherboard with.

the bios usually enumerates drives based on their position on the bus, so switching the connector they're plugged into would fix the problem.

linux usually handles drives based on uuid, a unique identifier per device, so it wouldn't mess up linux.

you didn't specify if one was like a sata or esata or nvme and the other was different so i had to qualify "if theyre the same interface".

[–] Lime66@lemmy.world 1 points 4 months ago (1 children)

Just a quick question, will I need to do this every time I want to boot into a different OS?

[–] bloodfart@lemmy.ml 1 points 4 months ago (1 children)

No, just to install windows on the right drive. It doesn’t matter after that.

[–] Lime66@lemmy.world 1 points 4 months ago (1 children)

Oh thanks. I swapped them, the new Drive doesn't show in the boot menu but it is marked as a higher number than the the old one. Will windows install to the new drive?

[–] bloodfart@lemmy.ml 1 points 4 months ago (1 children)

The new drive probably doesn’t show in the boot menu because it doesnt have a partition table or anything.

Are both drives the same size? What I’m trying to figure out is would you be able to recognize when the windows installer is trying to install to the wrong drive.

[–] Lime66@lemmy.world 1 points 4 months ago (1 children)

The drive is formatted, but it has no data on it. They're both the same size

[–] bloodfart@lemmy.ml 1 points 4 months ago

As long as you have some way of recognizing which is which in the windows installer so you don’t accidentally wipe your existing drive.

If you’re worried, just pull the one you don’t want wiped out of the system while you’re installing.

[–] Lime66@lemmy.world 1 points 4 months ago

Oh that makes sense. They're both nvme of the same size so I could do that. Thanks! I'll give an update

[–] Lime66@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

I should note that after noticing it wasn't detected by the boot menu, I formatted as NTFS. It is detected in the list of drives that the bios has however

[–] NoSuchAgency@reddthat.com 0 points 4 months ago (1 children)

I've had trouble similar to this. Maybe someone else can give you more info, but I believe you have to install grub on the other ssd as well. Also, to prevent nuking, make your bootable flash drive with windows on it, and then pull your linux ssd out of the computer before booting from your flash drive and only have your ssd in it that you want windows on

[–] Lime66@lemmy.world 1 points 4 months ago (1 children)

How do I install grub on it?

[–] NoSuchAgency@reddthat.com -1 points 4 months ago

Sorry for the late reply, but I don't know. That's why I finally just gave up and installed Kubuntu onto an external ssd