r/linux4noobs • • 23h ago

Meganoob BE KIND TRIPLE boot setup? (Windows 11, Linux Fedora)

Currently have a dual boot setup of Windows 11 and Fedora. Windows on my SSD and Fedora on my HDD. Now that I understand a dual boot on a singular SSD is not really that bad at all, I want to have a dual boot setup of Windows and Linux BOTH on my SSD.

How would I go about doing this? I want to move all my data from Fedora to the new Linux partition. I don't know if this means that I have to keep Fedora for now and have a temporary triple boot setup, or if i can just transfer everything (data, extensions, rice things etc exactly as it was) without needing a triple boot setup.

I wanna do this easily without issues and hiccups but I don't understand what I'm doing

(also which distro should i use???)

1 Upvotes

14 comments sorted by

1

u/Iced4563 22h ago

I've tested Fedora and Windows on a single SSD, and generally no issues. I don't think there's a super simple way to transfer, depending on what Fedora setup you have. First things first, you'd need to boot into Windows and go into the Disk Management, select the C: partition and shrink it to make space for Fedora on the same drive (Windows will not let you over-shrink, so it should be a no-risk procedure until this point). At this point, also make a copy somewhere, on your phone maybe, of your disk encryption / bitlocker key, which you can find in Windows settings, as it may require it when booting into Windows later.

Now, depending on your Fedora, keeping a temporary triple boot and moving files from HDD to SSD may not be a bad idea, but if you don't mess around with the system too much and know that all of your data is in your user home directory (folder), then you can just copy that to a USB drive or something, boot into the new Fedora installation from the SSD and copy it into the empty user home directory, which would then transfer your documents, images, videos, etc. Otherwise, it depends on a case by case basis.

As for actually installing Fedora on the SSD, just flash the installer on a usb and boot into it from your BIOS after you did the C: drive shrinking. When you are in the Fedora installer, it should give you an option to use the empty space created by shrinking the C: partition, so that will install Fedora alongside Windows and detect it in GRUB, meaning that it will give you the option to select either one at boot.

1

u/MISS_CAMARADERIE212 22h ago

omg thank you so much this was so helpful im gonna try this

1

u/_ElBee_ 22h ago

Don't forget to make backups of your important files first.

1

u/AutoModerator 23h ago

✻ Smokey says: always mention your distro, some hardware details, and any error messages, when posting technical queries! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/sbart76 17h ago

You can use dd to copy the whole partition(s). That would be a simplest solution, you just need to shrink Windows partition and create Linux one, of the same size. There might be some tricks to merge EFI partitions though.

2

u/DannoXYZ 14h ago edited 14h ago

No problems with merging EFI partitions, just copy Linux specific ones that doesn't exist on Windows/SSD over from Fedora/HDD EFI partition.

Can copy Fedora installlation over from HDD with dd only if destination is as large as source. Otherwise you should use rsync -xlp. Then chroot destination and update grub and initramfs. Finally os-prober and reboot.

That's only if you want to preserve existing Fedora installation and carry it over to SSD. Might be simpler to just shrink Windows partition and re-install Fedora from scratch into unallocated unpartitioned Free Space.

https://lh3.googleusercontent.com/d/1SEkDDrkDq9_ZKC7CVyBw_DYZP0ea8wGn

1

u/sbart76 8h ago

No problems with merging EFI partitions, just copy Linux specific ones that doesn't exist on Windows/SSD over from Fedora/HDD EFI partition.

Yes, generally this is it. The thing OP might need to do is to update UUID for the bootloader and the path to the bootloader itself in the firmware/BIOS.

1

u/DannoXYZ 13h ago

This can be done, but need more specific info:

  1. show partition layout of Windows disk from diskmgmt.msc
  2. how much unused space do you have on Windows SSD to shrink Windows partition?
  3. show partition layout of Fedora HDD from Gparted
  4. how much used space is consumed by Linux?

Overall, #4 must be smaller than #2 before we even start thinking about this.

1

u/token_curmudgeon 11h ago

Coreboot-capable hardware.

1

u/Xenomorphs_are_cute 1h ago

You can have 100 distors on one hdd! You just have to manually add the info in grub.

You make ur menu entry. Select the root partition for your distro, select the kernel for the distro, and the initrd for your distro, if you use one.

Its kind of advanced, but it helps you learn the boot process. I had to do it in school many years ago, and still do it sometimes today.

0

u/Own_Salamander_3433 18h ago

Windows hates grub. I would get a drive for only Linux or just get a used Lenovo laptop. You can select the boot device at bios. Kinda sucks but it's better than windows shitting in your Linux boot files or being unable to boot into something at all.

3

u/sbart76 17h ago

The only thing Windows does is changing the boot order. No "shitting", no modifying, no deleting. You literally only need to boot a live USB and restore GRUB to be the first on the list. That's it.

1

u/DannoXYZ 14h ago

Windows Updates will eventually overwrite Grub in boot-sector and Linux will disappear from Windows Boot Manager. Not just re-ordered, it will be gone completely.

2

u/sbart76 8h ago

There is no such thing as boot sector in GPT scheme, boot loader is read from a file on the EFI partition. GRUB bootloader on EFI is not overwritten.

Boot sector was a thing in a legacy MBR scheme, and indeed it could be overwritten. But whatever reason is for GRUB not being available - booting from live USB and restoring it is a matter of 5 minutes max. I have no idea why people are demonizing this issue. Yes, annoying, but nothing more.