LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-11-2021, 04:42 PM   #1
flowergreen
LQ Newbie
 
Registered: Oct 2021
Posts: 17

Rep: Reputation: Disabled
USB question (Linux version cinnamon 20.2 boot)


I just installed Linux Cinnamon 20.2 from a USB flash drive.

Then I remembered that the USB flash drive is a brand new 128GB device!

I don't want to loose both Linux Cinnamon 18.2 and 20.2 from the USB flash drive since if anything goes wrong I can boot from the USB flash drive but the USB wont store anything else.

The USB cost a lot so any ideas? Or should I just let good enough be good enough and keep it solely as the boot-up since it wont save or store anything else?

I don't want to risk corrupting the Linux cinnamon versions by messing around with copy/paste to another media. does that make sense?

thanks for any input!
 
Old 10-12-2021, 10:57 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,564
Blog Entries: 19

Rep: Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445
Copy/paste would certainly not be the way to do it. The normal way to do this kind of thing is to use the dd command. This copies block by block from one device to another so it's very accurate. If you plug in your big usb stick and a smaller one (3-4 GB) you can use dd to copy the one to the other.

You will need to check carefully which drive is which so that the copy is made in the right direction! The way I would do it would be to plug in just one drive and check what the kernel calls it after detecting it; you can do that using
Code:
sudo dmesg|tail
. Write it down, then plug in the other drive and repeat. Then if your big drive is sdb and your small one sdc, you can use
Code:
dd if=/dev/sdb of=/dev/sdc
 
Old 10-12-2021, 11:11 AM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
with the usb plugged in post the output of
Code:
 lsblk -f
 
Old 10-12-2021, 11:17 AM   #4
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,591

Rep: Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687
Quote:
Originally Posted by flowergreen View Post
I just installed Linux Cinnamon 20.2 from a USB flash drive.

Then I remembered that the USB flash drive is a brand new 128GB device!

I don't want to loose both Linux Cinnamon 18.2 and 20.2 from the USB flash drive since if anything goes wrong I can boot from the USB flash drive but the USB wont store anything else.

The USB cost a lot so any ideas? Or should I just let good enough be good enough and keep it solely as the boot-up since it wont save or store anything else?

I don't want to risk corrupting the Linux cinnamon versions by messing around with copy/paste to another media. does that make sense?

thanks for any input!
If you just installed FROM the USB device and not TO the USB device, then you must still have the ISO around that you used to load up the USB device for the install. If that is the ONLY thing currently on the USB device, then you can convert the USB device to a VENTOY drive (see my signature for links) and load as many ISO files as will fit onto it. (Starting with that ISO file you specifically want to protect.)

I use a 64G drive for at least a dozen live images and two install images. (And by copy, I MEAN copy, not burn to. You can use "cp" or "rsync" on the command line, or drag and drop in a GUI file manager!)

Just make sure to flush buffers or unmount the drive (using "umount" or eject) afterwards before removing the USB device to ensure that it is fully consistent. From then you should be able to boot from that USB device and pick the ISO you want to boot into from the menu.

Last edited by wpeckham; 10-12-2021 at 11:18 AM.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux Mint 19.3 Cinnamon – Using Cinnamon Desktop 4.4 and Powered by Linux Kernel 5.0 LXer Syndicated Linux News 0 01-30-2020 09:33 PM
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
LXer: Manjaro Linux Cinnamon 0.8.13 Officially Released with the Cinnamon 2.6 Desktop LXer Syndicated Linux News 0 06-27-2015 02:20 PM
[SOLVED] Linux Mint 17 (Cinnamon) versus Linux Mint 17-1 (Cinnamon) Tikiman Linux - General 2 05-15-2015 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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