this post was submitted on 22 Jun 2023
10 points (100.0% liked)
Linux
48077 readers
748 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Just so I understand clearly, you installed OS on a USB drive, but it somehow had effects outside the USB itself and messed up the host device's bootloader?
This shouldn't happen. Can you please tell us how exactly you did this? It must be something wrong in your procedure. Installing ISO onto USB should never impact your host machine unless you intend so.
Yeah, I booted a live usb installer for Ubuntu with budgie (I created this by writing the Ubuntu ISO to a 32 GB USB drive using Rufus). Then I booted from the Live USB and chose another USB 64 GB drive to install to. It seemed to take quite a long time (all night) but the installer was showing a prompt to restart and a completed message when i woke up.
I actually was never able to boot from the new Ubuntu install other than using the target USB drive's bootloader to boot into my old Linux Mint on another drive.
The Linux Mint kernel was listed on the Ubuntu Grub menu along with Ubuntu and Ubuntu Recovery and I was able to select Mint and successfully boot to Mint. After installing Ubuntu, when trying to boot from my Mint drive without the Target Ubuntu USB connected, it gave an empty Grub prompt.
From there I ran timeshift to restore the old bootloader and everything else.
The reason I'm fairly certain it was a new boot loader is that it had a gray background where my old one had a black background.
I have Windows on a 1 TB NVME, Mint on a 200 GB SSD, and a 1 TB data HDD, as well as the 32 GB USB live stick and the second 64 GB which I chose as the target to install to. Because the sizes are all different, I think it was unlikely that I chose the wrong disk to target, as I double checked the name and size was correct.
Right now, I don't need help fixing it Windows and Mint are as I want them after a Timeshift restore. I just want to know how not to ruin my old Mint Grub next time I install a second Linux on USB.
Edit: switched around to match chronological order. To clarify, when I say "target usb" I am referring to the 64 gb usb I installed to from the Live environment.
I understand now. You're following the wrong approach for installing on a USB. Installing to USB is done purely by burning an ISO to it. If you run a standard traditional installer, it will think the USB is just another disk on your computer, and will hence modify the host computer's bootloader accordingly.
There may be a way to do what you're trying to do without burning a ISO, but I'm not sure. But the way you're doing it is definitely not right.
But that's a live environment that doesn't save anything you install, right? That's not what I want.
I can't even install Nvidia drivers permanently which means I can't actually "try" it properly.
You can use Live USBs with persistence