cross-posted from: https://lemmy.world/post/19303104

I have an old HTPC that hasn’t been used in about 4 years with Windows 7 on it. It ran fine with Windows 7 but didn’t work well with 8 when that came out (or at least the Windows Media Center that we used as a DVR with a cable card didn’t) so it’s stayed on 7 ever since. I haven’t actually used it in about 4 years and now of course don’t want Windows 7 where it can connect to the Internet.

Recently I had the idea that I could install Linux on the computer and use it as a media server with Jellyfin, Plex, or something similar. Long-term when I have the finances I’d like to set up a NAS and server to build a self-hosted media library, but this should be a good starting point for now.

What I’m Working With

It’s a pretty old computer. I bought most of the components in 2010/2011 anticipating moving out from my parents although I didn’t actually assemble it until early 2012 when I finally moved out (and my brother actually assembled it as he moved in with me). Key components:

  • Intel Core i5-750 (this is the original Intel Core i5, generation 0 as it were)
  • Asus P7P55D-E Pro
  • Zotac ZT-20404-20L (Nvidia GT240 R)
  • 4GB DDR3
  • 64 GB SSD
  • 1.5 TB HD
  • 1 TB SSD <- this is blank, purchased last week and what I planned to install Linux on

What I’m Trying To Do

I searched the main components on linux-hardware.org and they all showed results for running Linux, usually several varieties. I downloaded the Live CD/Installer for Linux Mint 22 Cinnamon and burned it to a DVD. I went with Mint since it seems to be one frequently recommended for Linux beginners and has a “just works” reputation. I want to install it on the new 1TB SSD I picked up and be able to still dual boot into Windows 7 for now (and in any case I’m not sure I’d do much with a 64 GB drive anymore). This is an old motherboard; it only supports BIOS, not EFI, but it almost sounds like that will be easier for the dual boot because I won’t have to worry about Secure Boot. Once that’s installed I’ll try out Jellyfin, Plex, and Emby to see which work best with the various devices I have on our TVs. I’ll also probably use the computer to rip some of our DVDs/Blu-rays to use with the server.

Problems I’m Having

I’ve run into two main issues so far:

First, while the computer boots and runs from the DVD, about 5-and-a-half minutes after the taskbar appears and I can start trying to do anything it locks up. Usually it would just freeze and become totally unresponsive, but last night the two times I tried it actually rebooted the computer. It’s really slow to load; when the taskbar appears I try to click the Installer as fast as possible and it takes a little over 3 minutes to reach a state where I can start clicking options for the install. It’s also really slow just to boot. From the time I click to start Linux Mint from the Isolinux screen until I reach a usable desktop in Linux Mint is at least 10 minutes, if not more (haven’t timed that directly). I’m really not sure what the problem is here; just slow from reading the optical disc? Should I try to find a USB stick and boot from there (the computer has a couple USB3 ports but I’ll have to find a spare thumbdrive)? Does this all run in RAM and 4GB isn’t enough and that’s why it crashes? Is Cinnamon too much for the system and I should try the Xfce or MATE versions of Mint?

Second, I thought with the Linux Installation it would be able to format and install to the new SSD without needing to do anything else, either by selecting “Erase disk and install Linux Mint” or “Something else” but the time I was able to do it fast enough to get to “Something else” the disk doesn’t show up at all. It looks like I should use a GParted live CD first to partition the new drive, and then I can install Linux Mint? As I’m looking at various documentation it looks like I should put 3 partitions on the SSD, one for “/” (100 GB recommended by the Linux Mint docs), one for “/home”, and one for “swap” (4 GB to match the RAM size)?

I guess as a bonus third question, it looks like once I have Linux installed the Linux installation process should also give me a boot manager that I can use to switch between Linux and Windows? Or does that require extra steps to enable? I’m comfortable editing the boot order in the BIOS. My only prior experience with dual booting a computer is an old Mac Pro that could change the Boot system in Settings/Control Panel, or hold a button on startup to bring up a menu that would allow selecting the boot OS.

  • Mellow@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    I would hold off on attempting an installation.

    If the system is locking up using a “live cd/dvd” you’ve likely got hardware issues. I would start there. If you can tail the logs while in the live images environment it might give you an idea of what is locking up the system. The fact that the SSD isn’t showing up might be a sign post of which direction to check. Does it show up in the bios? I’m not experienced with Mint, But on a Debian based system I would check the kernel logs/dmesg for indicators of the fault.

    There are also bootable cds that can run hardware tests on the cpu, memory, and disks that you could use for more extensive checks.

    • jqubed@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      The SSD shows up in the BIOS, I think it just doesn’t even have an MBR partition table. It’s brand new and I suspect totally blank. Or maybe it has GPT but isn’t seen because the motherboard is so old it doesn’t support EFI. I’m hoping when I try the GParted live disc to create a partition table that will resolve the issue.

      The live disc has memtest86+ and the memory passed. I think there was another hardware test option but I haven’t tried it yet.

      Based on comments from my original post that is cross-posted here, I tried running the Linux Mint Xfce version which is lighter on resources. It started up just fine and I left it to just sit and run, which wound up being several hours. When I came back it had put itself to sleep and turned off the TV I was using as monitor. Turning the TV back on woke it back up and it resumed flawlessly, I was able to start the install process without issue, stopped when it reached the point where it couldn’t see the disc, and it shut down cleanly.

      From that, would you still recommend trying to record logs? It seems to me like Cinnamon might just be too much for this old and perhaps under-specced computer but Xfce might be just fine.

      • Mellow@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 months ago

        It sounds like you have a solid, stable boot with Xfce as the DE. I would give it a go.

  • Rooki@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    3 months ago

    Your idea with either using a usb stick or use the ssd to be the installation medium is pretty much the first things i would try.

    It says 4 gb is the “recommended minimum spec” for linux mint but its still pretty low. Xfce is lighter on the resources. For dual booting i have no experience on that too.

    edit: For dual boot you can use grub https://linuxmint-user-guide.readthedocs.io/en/latest/grub.html

    • jqubed@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      3 months ago

      Thank you for the link to the Grub docs, I hadn’t seen that yet. I’ll try the Xfce version and see how that goes.

      Interestingly I had bought 8 GB of RAM (4 x 2GB) when I bought the parts for the computer but we couldn’t get more than 4 GB to work. I can’t remember if it seemed to be the RAM or the motherboard, but since it had been about 18 months since I bought the parts and it seemed to run fine with 4 GB I never looked into it more. I suppose if it ends up seeming to be a bottleneck I can see if I can find a cheap upgrade, maybe 2 x 4GB for the same slots since I know those slots on the motherboard work.

  • Successful_Try543
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    3 months ago

    I guess as a bonus third question, it looks like once I have Linux installed the Linux installation process should also give me a boot manager that I can use to switch between Linux and Windows?

    Yes, in the GRUB boot menu, there will be a “start Windows” option.

    Beside that, I’d recommend running memtest86+ to test for faulty RAM blocks. If there are some, but few, detected write their addresses down in order to enter them into the GRUB configuration under the keyword GRUB_BADRAM.