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 - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-12-2021, 10:04 AM   #1
Sweden_guy
LQ Newbie
 
Registered: Aug 2021
Location: Forrest cabin south of Sweden
Distribution: Ubuntu 20.04 (up to date)
Posts: 10

Rep: Reputation: Disabled
Permanent Ubuntu / Windows system


Hi everybody.
I am about to move my Linus Setup/boot to an M2Drive in the same computer as windows 10 (Another M2Drive).

First som hardware info (Gigabyte B550 MB with 2 ports for two m2 SSD
(one at pcie4.0 and the other at PCIe3.0) Graphic card are the Asus GeForce GTX 560 Ti (do I need drivers for this for Ubuntu, at the moment I am running at a GT 430)

Plan is to install Ubuntu 20.04 on a 1TB Corsair MP600 at PCIe 4.0 port And the Windows 10 M2 in PCIe 3.0 port.

At the moment win 10 are installed and running as it should Booting in UEFI mode.

I am about to install Ubuntu 20.04 LTS on the other drive and need some advice on how to best setup this kind of permanent system.

I manly use Ubuntu but for various reasons need win 10 as well (sadly).

On top of all this i want to dedicate some space on the Ubuntu drive for "swaping" files between the systems about 150GB or so. So that I can reach this partition from both Ubuntu and linux regardless of what I have booted from.


How to do all this in the best way ?

GRUB bootloader option for choosing OS would be preferable (and UEFI mode for both).

A fresh install of Ubuntu will be fine to go with no need for cloning my portable Ubuntu setup unless it is easier way to go.

Any help och links will be much appreciated
 
Old 09-12-2021, 11:25 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Disconnect the windows drive and partition and install onto your linux drive. Once completed re-connect the windows open Terminal in the linux and type in and hit enter key sudo update-grub this will re-scan the drives in the system and give you your windows booting from GRUB. For the partition to share with windows make sure to format it fat or exfat. Make certain you have disabled the setting for the CSM compatibility in your firmware so you get a guaranteed EFI boot and install. When you partition the drive upon install of the linux you need to make a small fat32 formatted partition of about 200mb at the start of the drive for use as a system type partition I think it is called in the menu for that in the partition-er. This is where the installer will put the EFI boot files of GRUB. Do your main partition for your Ubuntu take the ext4 default for it to be used as / with the 150GB partition for your storage sharing again using the fat or exfat formatted for easy sharing between OSs.
 
Old 09-12-2021, 05:19 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
Ubuntu has had a site dedicated to explaining dual boot UEFI with windows for years. It is at the link below.

https://help.ubuntu.com/community/UEFI
 
Old 09-12-2021, 05:21 PM   #4
Sweden_guy
LQ Newbie
 
Registered: Aug 2021
Location: Forrest cabin south of Sweden
Distribution: Ubuntu 20.04 (up to date)
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Ubuntu has had a site dedicated to explaining dual boot UEFI with windows for years. It is at the link below.

https://help.ubuntu.com/community/UEFI
Nice link.. How could I have missed that one.
I think I will mannage that setup.
I guess searh gives different results depending on country settings.

Last edited by Sweden_guy; 09-12-2021 at 05:25 PM.
 
Old 09-13-2021, 06:42 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
Quote:
Nice link.. How could I have missed that one.
Might be the way google operates as I found it entering dual boot windows 10 with Ubuntu and when I do, it is never the first hit and often not on the first page. Hope it helps and good luck.
 
Old 09-17-2021, 01:50 AM   #6
Sweden_guy
LQ Newbie
 
Registered: Aug 2021
Location: Forrest cabin south of Sweden
Distribution: Ubuntu 20.04 (up to date)
Posts: 10

Original Poster
Rep: Reputation: Disabled
Usually people (me) look through 5-6 hit pages at the most before trying a different search pattern. If a "Good" page are nr 16 page it's easy to "miss it".. A bit better with duck duck go than google I noticed. Usually more relevant search results than Google (that squeze in a lot of commersial links)

About my install. I was in luck. Since I made a new install of windows 10 on one NVMEdrive It was a easy task to install Ubuntu.
I got the Install option "if you have a windows boot menu" (or something) in the installer I just choose that option and I got a boot menu with Ubuntu on top and Windows 10 as an option at the bottom.

Well a small thing was that Ubuntu grab the whole 1TB NVMEdrive but using GParted I claim back the part I needed for Swapping files between the systems (About 200GB) So it was verry easy and worked much better than I expected. I had the dual boot systems up and go in about 1hr.

Thanx fdor all advices..
 
Old 09-17-2021, 02:06 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Nice to read you got it going, you took one of the options that just use a drive fully. To do it differently you need to choose the manual option then you get to partition it as you want.
 
  


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
[SOLVED] Making system changes permanent Horizonist Fedora 5 01-24-2011 06:41 AM
[SOLVED] Problems with a permanent Samba mountpoint for my Windows shares Ubuntu 10.04 Clived Ubuntu 3 08-23-2010 04:04 PM
making shell "export" variable permanent forever: user/system lambchops468 Linux - Software 4 10-13-2009 05:37 AM
Linux System Administrator - South Wales, UK. Permanent post. pete.piano LQ Job Marketplace [Archive] 2 05-08-2007 03:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:59 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