LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-15-2021, 08:17 AM   #1
Mackyboy123
Member
 
Registered: Feb 2020
Distribution: Slackware
Posts: 92

Rep: Reputation: Disabled
What desktop computer builds are good for dual booting windows and linux


I need to get a new computer, I'll need to use it for coding, c++ with vim. I'll also probably be putting Arch on the computer, I'll also probably put LFS. I'll need to use virtualization, and also I'll need to dual boot it with windows. Anyone got any ideas as to what desktop I should use.
 
Old 04-15-2021, 08:48 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,377
Blog Entries: 49

Rep: Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625
Mackyboy123,

There is a load of choice out there and you do not need to spend a fortune.

I would look for a desktop PC with something like an Intel i5 CPU (onboard UHD graphics) with 16GB of RAM plus Windows 10 64-bit.

It will probably have a 1TB SSD as standard.

HP and Lenovo etc are obvious regular brands.

Just see what is on offer at the time.
 
Old 04-15-2021, 08:56 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,316

Rep: Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985Reputation: 7985
you may want to check the hardware compatibility, but in general [almost] all of them should work.
 
Old 04-17-2021, 07:07 AM   #4
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
Quote:
Originally Posted by Mackyboy123 View Post
I need to get a new computer, I'll need to use it for coding, c++ with vim. I'll also probably be putting Arch on the computer, I'll also probably put LFS. I'll need to use virtualization, and also I'll need to dual boot it with windows. Anyone got any ideas as to what desktop I should use.
A luxury you can build into it is one disk for GNU/Linux and one for Windows, as oppose to partitions. That makes is easier. And perhaps even a third sharedrive.

I guess also a motherboard with an Intel GPU can be helpful to avoid having to install proprietary nvidia/amd stuff and any issues that might or might not come with that. You can always add another GPU later.

I guess most comes with UEFI now, and I don't know the current restrictions, but one that allows legacy BIOS mode could be helpful too.

Most modern CPU's if not all comes with good virtualization options in the CPU. But you can always check what kind of virtualization it has by looking at the CPU specifications.

Last edited by zeebra; 04-17-2021 at 07:10 AM.
 
Old 04-19-2021, 03:18 AM   #5
obobskivich
Member
 
Registered: Jun 2020
Posts: 614

Rep: Reputation: Disabled
I'd second zeebra - make sure the CPU supports virtualization features (and that the motherboard will let you actually enable them), or performance will take a hit. If you're wanting to do any sort of IO passthru (like SR-IOV) you probably need a Xeon, Opteron, or EPYC platform on a server/workstation-oriented motherboard (or complete system) to ensure everything works. If you're just going to run VMs in VirtualBox or similar that's less yucky.

@zeebra: I agree with avoiding nVidia for the proprietary drivers, because they can be a pain in distros that don't have tidy installers, but I've had no issues with the open source AMD drivers (radeon and amdgpu) across a range of distros on a range of machines, so I wouldn't shy away from newer AMD cards (the flip side is, their drivers can be wildly hit and miss on Windows from what I remember - although its been some years since I used Windows with an AMD GPU).
 
Old 04-19-2021, 05:55 PM   #6
leclerc78
Member
 
Registered: Dec 2020
Posts: 179

Rep: Reputation: Disabled
Quote:
I agree with avoiding nVidia for the proprietary drivers,
I actually go the other way around.
Worse comes to worst you can always use the 'nouveau' driver.
By the way the distros I use as hosts (antiX, MX and Bionicpup) support Nvidia GPU without problem.

Last edited by leclerc78; 04-19-2021 at 06:47 PM.
 
Old 04-19-2021, 08:58 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,931
Blog Entries: 28

Rep: Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353
I am fortunate enough to be able to purchase native linux computers. Invariably, they are Intel inside.

In the past, I've had good luck with Dells and Asus. Many of the members of my LUG swear by Lenovos (except for the Yogas); of course, they're not desktops.

Original version:

Wikipedia has an article entitled List of Linux-supported computer architectures which may be helpful. (After looking at it, not so much.)

Last edited by frankbell; 04-19-2021 at 09:06 PM.
 
Old 04-19-2021, 10:54 PM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
I wouldn't worry too much about Windows driver support, as desktop PC manufacturers don't really have any choice but to support Windows. It's Linux driver support you'll need to confirm for whatever hardware you're looking at.

Although that said, Linux driver support nowadays is much better than it used to be. It's really for non-standard hardware like TV tuners/cards and alike that you still need to be really careful about.

Any modern Intel or AMD processor should have the virtualization features you need.

You'll just have to research whatever hardware you're looking at for Linux driver support, unless you buy a pre-built machine from a Linux-friendly PC manufacturer.
 
Old 04-20-2021, 11:24 AM   #9
obobskivich
Member
 
Registered: Jun 2020
Posts: 614

Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Any modern Intel or AMD processor should have the virtualization features you need.
I would caution on this claim - basic VT-x support is (at least on paper) pretty consistent on higher end CPUs (I'm not sure if Athlons/Pentiums/etc ship with it enabled), but more advanced virtualization support like SR-IOV, IOMMU, etc relies both on CPU support and (proper) motherboard implementation, and is usually segmented to server/workstation SKUs (or perhaps put another way: is usually only really tested on such). It's not at all uncommon to find complaints from folks even on 'HEDT' platforms where, while IOMMU is supported, all expansion slots are in a single group, or weird comingling of onboard devices with expansion slots is present, or so on - which can lead to headaches depending on what kind of setup you're after. Depending on what kind of virtualization the system needs to do, it is advisable to spend a half hour doing some preliminary directed searching about the specific hardware you're looking at + any known interactions with the VM configuration you'd like to use, as it may save you days/weeks of headaches trying to 'hack' a solution together or finding there's some 'gotcha.'

I agree on the driver support point except for my previous comment on AMD graphics drivers under Windows, but for all I know they're back in a period of 'good drivers' (over the last 20-some years ATi/AMD has been hit-and-miss with Windows driver quality).
 
Old 04-24-2021, 06:14 AM   #10
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,522
Blog Entries: 1

Rep: Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239
Quote:
Originally Posted by leclerc78 View Post
Worse comes to worst you can always use the 'nouveau' driver.
Which driver would "the 'nouveau' driver" be?
Code:
# aptitude search nouveau
i A libdrm-nouveau2 - Userspace interface to nouveau-specific kernel DRM services -- runtime
i A xserver-xorg-video-nouveau - X.Org X server -- Nouveau display driver
# lsmod| grep ^nouveau
nouveau 2179072 2
This blog post might better answer those uninitiated.

Better yet, use the latest X driver technology, the modesetting DIX. It works on AMD and Intel GPUs too. It's no fuss, requires no "installation" or configuration files. It works on all 6 NVidia GPUs I have, should work on all non-ancients that are not bleeding edge models. e.g.:
Code:
# inxi -CGSyx
System:
  Host: p5bse Kernel: 4.19.0-16-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
  Desktop: Trinity R14.0.10 Distro: Debian GNU/Linux 10 (buster)
CPU:
  Info: Dual Core model: Intel Core2 Duo E7500 bits: 64 type: MCP arch: Penryn
  rev: A cache: L2: 3 MiB
  flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 11733
  Speed: 1600 MHz min/max: 1596/2926 MHz Core speeds (MHz): 1: 1600 2: 1604
Graphics:
  Device-1: NVIDIA GF119 [NVS 310] vendor: Hewlett-Packard driver: nouveau
  v: kernel bus-ID: 01:00.0
  Display: x11 server: X.Org 1.20.4 driver: loaded: modesetting
  unloaded: fbdev,vesa resolution: 1920x1200~60Hz
  OpenGL: renderer: NVD9 v: 4.3 Mesa 18.3.6 direct render: Yes
In over 20 years with Gnu/Linux, I've yet to encounter PC hardware that won't run any distro I've tried. Currently I have 29 operational 64-bit PCs running multiple distros each in multiboot. The primary problems anyone has are:
  • dual graphics laptop models, for which acceptable solutions usually are available, though are not necessarily without hassle to apply
  • too new hardware, for which some waiting is required for support patches to become available to enable full use
 
Old 04-24-2021, 09:02 AM   #11
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Pop!_OS && Windows 10 && Arch Linux
Posts: 832

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
what kind of budget u have ? and do you want to build your own box ?

on this site we could help you to pick up parts for your new box : https://pcpartpicker.com
i use sites like those when building my computer.
 
Old 04-25-2021, 01:20 PM   #12
leclerc78
Member
 
Registered: Dec 2020
Posts: 179

Rep: Reputation: Disabled
@mrmazda
A nightmare for a newbie (me, even with dozen years of Linux) is a booted computer with a black screen- don't know even how to ask for help, let alone debug it.
The only time Nvidia created problem for Linux was the day they market that silly Optimus card. Maybe they learnt the lesson now.
I came back to Linux after 5 years of absence. I install MX and use the 'nouveau' for a month or so, then bang, one day I found out that MX has an option in the menu just to install Nvidia.

Last edited by leclerc78; 04-25-2021 at 04:51 PM.
 
Old 04-25-2021, 02:04 PM   #13
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
I would suggest separate hard drives for Windows and Linux(es). Don't touch default Windows boot loader. Linux as well can boot from second drive. In case bootloader fails with update. Or Windows brakes Linux bootloader. Having them both on the same drive may always cause problems - and data loses. In case of Linux - assuming backup - there is no problem - just reinstall system - restore backup. In case of OEM Windows - in bad luck - you will have to pay for new instance.

Edit: But if you will be using Linux as desktop only - spare yourself dual boot - just install in VM. It is common practice nowadays - I would say standard solution. Host system for hypervisors and hybrid virtualization - VM's, containers. It is really much more fun than dual boot. You are not limited. Last time - before personal earthquake - I ran 4 VM's in parallel - 3 Centos'es and OpenBSD. In VirtualBox on rather common hardware. Say 32 GB RAM - more better - and good processor support for virtualization - and you can do whatever you want. With all safety. Have fun! (This is a quotation). If you are game player - the sure run Windows as host.
1

Last edited by igadoter; 04-25-2021 at 02:14 PM.
 
  


Reply

Tags
computer, desktop, linux, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Industrial touch-panel computer builds on Raspberry Pi 3 LXer Syndicated Linux News 0 07-06-2017 07:21 AM
China builds world's most powerful computer Jeebizz Linux - News 5 06-25-2016 03:02 AM
[SOLVED] Would this computer be good for dual booting? Gregg Bell Linux - Newbie 29 10-23-2015 10:06 PM
LXer: How To Access Linux Files In Windows When Dual Booting Linux, Ubuntu, Linux Mint And Windows LXer Syndicated Linux News 0 09-05-2015 08:21 AM
LXer: U. of Hawaii, M?noa, builds "new again" computer lab with Linux LXer Syndicated Linux News 0 11-18-2008 03:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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