Author Topic: Linux question  (Read 318 times)

Hawkmoon

  • friend
  • Senior Member
  • ***
  • Posts: 27,540
Linux question
« on: June 28, 2024, 03:40:36 PM »
Once again, I am considering experimenting with Linux, but not yet ready to switch over from Windoze. I'm looking at buying a cheap, used laptop or small desktop box and using that as a Linux test bed to see how well I can adapt to it.

Assuming the computer I start with is on some version of Windows, what I'm thinking is to simply yank the computer's original internal drive and start from scratch with a fresh SSD drive. That way, if I mess up completely or just decide that I'm not cut out for Linux, I can just re-install the original internal drive and revert back to the factory configuration.

Or can I?

What is the GRUB bootloader, and where does it install? Does GRUB go on the hard drive, or does GRUB install itself in the BIOS or somewhere else in the firmware?
- - - - - - - - - - - - -
100% Politically Incorrect by Design

zxcvbob

  • friend
  • Senior Member
  • ***
  • Posts: 12,346
Re: Linux question
« Reply #1 on: June 28, 2024, 03:49:26 PM »
If there's nothing on the laptop's HD that you want except the Windows license, you can overwrite it with Linux, then later if you change your mind you can reinstall Windows from USB.  Make sure Windows is activated first, and that you know whether it's Home or Pro.

Swapping out the hard drive and then swapping it back should work too; GRUB goes on first sector of the partition.
"It's good, though..."

cordex

  • Administrator
  • Senior Member
  • *****
  • Posts: 8,839
Re: Linux question
« Reply #2 on: June 28, 2024, 03:50:53 PM »
Once again, I am considering experimenting with Linux, but not yet ready to switch over from Windoze. I'm looking at buying a cheap, used laptop or small desktop box and using that as a Linux test bed to see how well I can adapt to it.
Don't you have some extra computers already?

Assuming the computer I start with is on some version of Windows, what I'm thinking is to simply yank the computer's original internal drive and start from scratch with a fresh SSD drive. That way, if I mess up completely or just decide that I'm not cut out for Linux, I can just re-install the original internal drive and revert back to the factory configuration.
Yes, you can, or you can buy a cheap USB drive and put a bootable version of Linux on it. 

What is the GRUB bootloader, and where does it install? Does GRUB go on the hard drive, or does GRUB install itself in the BIOS or somewhere else in the firmware?
The GRUB bootloader lets you decide which operating system to boot, so if you have multiple operating systems on the same drive you can select one at boot time.

Hawkmoon

  • friend
  • Senior Member
  • ***
  • Posts: 27,540
Re: Linux question
« Reply #3 on: June 28, 2024, 05:38:40 PM »
Don't you have some extra computers already?

Yes, but none that I'm willing to risk trashing Windows on.

Quote
The GRUB bootloader lets you decide which operating system to boot, so if you have multiple operating systems on the same drive you can select one at boot time.

It didn't work that way with the mini-computer I moved from Windows XP to Linux. Dunno what I did wrong, but there is now no way to boot from a Windows USB and reinstall Windows on it. After that fiasco, I'm gun-shy.
- - - - - - - - - - - - -
100% Politically Incorrect by Design

zahc

  • friend
  • Senior Member
  • ***
  • Posts: 5,824
Re: Linux question
« Reply #4 on: June 28, 2024, 07:43:15 PM »
Grub lives on the hard drive in the boot sector. The various grub configuration files will live in your linux partition someplace. So your idea of swapping hard drives should work fine.

Note there is legacy BIOS, UEFI with legacy fallback mode, and UEFI proper, and some motherboards only support one or the other. This shouldn't impact your scheme, you will just have to install Linux however your mobo supports and the installer should do it.

Of course grub is designed so you can boot both, but f windows and you want to use a nice new SSD anyway.
Maybe a rare occurence, but then you only have to get murdered once to ruin your whole day.
--Tallpine

RocketMan

  • Mad Rocket Scientist
  • friend
  • Senior Member
  • ***
  • Posts: 13,762
  • Semper Fidelis
Re: Linux question
« Reply #5 on: June 28, 2024, 07:46:13 PM »
Buy a Raspberry Pi 4 or Raspberry Pi 5 kit.  They run anywhere from about $140 to $180 depending on whether it's a Pi 4 or Pi 5 and how much onboard memory it has, 4 GB or 8GB.  I recommend the Pi 5 8GB kit as it's the most capable.  All you need after that is a keyboard, mouse and monitor and you'll have a decently capable little (as in very small) computer for very little outlay.
All Raspberry Pi computers run Debian v12 (Bookworm), 32 bit or 64 bit depending on your preference.  The OS is typically loaded on a 32GB MicroSD card, though you can load and boot it from a USB SSD if you want to get fancy.  There are inexpensive add-on boards that will allow connecting up to two NVME SSDs if you'd rather go that route.
Dual 4k video micro HDMI ports, gigabit ethernet, four USB ports (two USB 2, two USB 3), and other neat connectivity.
You can load and reload the OS as often as you wish while experimenting.  The Raspberry Pi 4 and Pi 5 are not limited to Debian Bookworm, either.  Other flavors of Linux and various other desktops can be loaded and experimented with to your heart's content.  Load the different OSes on separate MicroSD cards and just swap them out when you want to boot one to work with.
Canakit and Vilros are both authorized resellers of the Raspberry Pi computers.  You can find their stuff on Amazon.
If there really was intelligent life on other planets, we'd be sending them foreign aid.

Conservatives see George Orwell's "1984" as a cautionary tale.  Progressives view it as a "how to" manual.

My wife often says to me, "You are evil and must be destroyed." She may be right.

Liberals believe one should never let reason, logic and facts get in the way of a good emotional argument.

lee n. field

  • friend
  • Senior Member
  • ***
  • Posts: 13,701
  • tinpot megalomaniac, Paulbot, hardware goon
Re: Linux question
« Reply #6 on: June 28, 2024, 09:57:25 PM »
Once again, I am considering experimenting with Linux, but not yet ready to switch over from Windoze. I'm looking at buying a cheap, used laptop or small desktop box and using that as a Linux test bed to see how well I can adapt to it.

Assuming the computer I start with is on some version of Windows, what I'm thinking is to simply yank the computer's original internal drive and start from scratch with a fresh SSD drive. That way, if I mess up completely or just decide that I'm not cut out for Linux, I can just re-install the original internal drive and revert back to the factory configuration.

Or can I?

Yes, this will work

Quote
What is the GRUB bootloader, and where does it install? Does GRUB go on the hard drive, or does GRUB install itself in the BIOS or somewhere else in the firmware?

GRUB is, yeah, the bootloader.  It installs normally and by default in the boot sector of your hard disk.
« Last Edit: July 01, 2024, 07:26:36 PM by lee n. field »
In thy presence is fulness of joy.
At thy right hand pleasures for evermore.

lee n. field

  • friend
  • Senior Member
  • ***
  • Posts: 13,701
  • tinpot megalomaniac, Paulbot, hardware goon
Re: Linux question
« Reply #7 on: June 28, 2024, 09:58:35 PM »
Yes, but none that I'm willing to risk trashing Windows on.

It didn't work that way with the mini-computer I moved from Windows XP to Linux. Dunno what I did wrong, but there is now no way to boot from a Windows USB and reinstall Windows on it. After that fiasco, I'm gun-shy.

suspect you just do't know what the hotkey is to pop up the boot menu.
In thy presence is fulness of joy.
At thy right hand pleasures for evermore.

bedlamite

  • Hold my beer and watch this!
  • friend
  • Senior Member
  • ***
  • Posts: 9,850
  • Ack! PLBTTPHBT!
Re: Linux question
« Reply #8 on: June 29, 2024, 02:19:14 PM »
https://www.newegg.com/hp-elitebook-840-g3/p/N82E16834271972?Item=9SIB9ADJ2U0450

Get it up and running and registered on Windows so you can convert back if you want. Then download Linux Mint, put it on a thumbdrive and boot and install from that.

https://www.linuxmint.com/
A plan is just a list of things that doesn't happen.
Is defenestration possible through the overton window?

Hawkmoon

  • friend
  • Senior Member
  • ***
  • Posts: 27,540
Re: Linux question
« Reply #9 on: June 29, 2024, 05:24:07 PM »
https://www.newegg.com/hp-elitebook-840-g3/p/N82E16834271972?Item=9SIB9ADJ2U0450

Get it up and running and registered on Windows so you can convert back if you want. Then download Linux Mint, put it on a thumbdrive and boot and install from that.

https://www.linuxmint.com/

That's a helluva deal. Dunno why I don't remember to check Newegg more often.

Found a used HP G72B61NR locally for $20. Perfect for this purpose. I'll meet the seller this evening or tomorrow to pick it up.

I'm going to play with LMDE6, the Debian clone of Linux Mint, but without Ubuntu. https://blog.linuxmint.com/?p=4570
- - - - - - - - - - - - -
100% Politically Incorrect by Design

WLJ

  • friends
  • Senior Member
  • ***
  • Posts: 30,420
  • On Patrol In The Epsilon Eridani System
Re: Linux question
« Reply #10 on: July 25, 2024, 10:02:09 AM »
Linux Mint v22 is now available for download

https://linuxmint.com/download_all.php

"Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us".
- Calvin and Hobbes

WLJ

  • friends
  • Senior Member
  • ***
  • Posts: 30,420
  • On Patrol In The Epsilon Eridani System
Re: Linux question
« Reply #11 on: July 25, 2024, 11:23:11 AM »
And it's not playing nice with VMWare
"Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us".
- Calvin and Hobbes

bedlamite

  • Hold my beer and watch this!
  • friend
  • Senior Member
  • ***
  • Posts: 9,850
  • Ack! PLBTTPHBT!
Re: Linux question
« Reply #12 on: July 25, 2024, 01:20:24 PM »
And it's not playing nice with VMWare

Old rules still apply. Use the highest update of the last software generation.
A plan is just a list of things that doesn't happen.
Is defenestration possible through the overton window?

Bogie

  • friend
  • Senior Member
  • ***
  • Posts: 10,378
  • Hunkered in South St. Louis, right by Route 66
    • Third Rate Pundit
Re: Linux question
« Reply #13 on: July 25, 2024, 02:14:18 PM »
be careful if you're running a dual boot - A bit back my living room system (basically just running the tv and stereo) tried to update windows... And the dual boot resulted in something that flat out trashed the HD...
Blog under construction

WLJ

  • friends
  • Senior Member
  • ***
  • Posts: 30,420
  • On Patrol In The Epsilon Eridani System
Re: Linux question
« Reply #14 on: July 25, 2024, 02:54:28 PM »
be careful if you're running a dual boot - A bit back my living room system (basically just running the tv and stereo) tried to update windows... And the dual boot resulted in something that flat out trashed the HD...

Assuming that wasn't when the HDD decided to poop the bed probably something easy to fix with the right software
"Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us".
- Calvin and Hobbes