this post was submitted on 29 Aug 2023
21 points (95.7% liked)

Linux

48372 readers
2308 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I have in my old laptop a dual boot setup of windows11 and zorin os. But I am interested in switching Zorin to OpenSUSE tumvleweed. How can I safely do it without losing the data?

top 17 comments
sorted by: hot top controversial new old
[–] [email protected] 19 points 1 year ago* (last edited 1 year ago) (1 children)

Safely? Make a backup on an external drive. That's at least safe-ish. Not trying to be flippant, this is just the only way I know that would qualify as "safe".

[–] kylian0087 1 points 1 year ago

To add to this. You can use a tool like rsync for this. rsync -aAxv /home/username /destination/

This will copy over youthome folder to rhe destination (network share,USB,External drive etc)

Then reinstalland and do it in reverse.

[–] WalrusByte 8 points 1 year ago (1 children)

The simplest way would probably be to just buy some external storage, like a usb drive, and move the files to that before switching. You can buy a 250GB usb hard drive for around $20 on Amazon.

If you're not worried about privacy and don't want to spend money on more storage, you could use a cloud storage service to move your files. I've used mega.io to do that in the past, but the amount of free storage is limited.

[–] [email protected] 3 points 1 year ago (1 children)

if you are worried about cloud security then you can encrypt things before you upload them

[–] WalrusByte 1 points 1 year ago

That's true!

[–] [email protected] 7 points 1 year ago (2 children)

If for some reason you do need to move data around and rebuild your partitions, something to keep in mind that I like to do for dual-boot systems is creating a partition using the bulk of the drive which is specifically for shared data between the Windows and Linux systems. You have to format this in something that Windows understands (usually NTFS). Besides having the data available no matter what you boot in to, it also keeps your data safe if you need to wipe and reload an OS.

[–] mvirts 1 points 1 year ago

I used to use Ext2Fsd to access my Linux partitions back when I had Windows. Looks like there are better options now, I advise avoiding NTFS for data storage, but it's probably just paranoia these days.

[–] [email protected] 1 points 1 year ago (1 children)

Agreed. I had a dual boot setup like this for years and it worked well.

The only downside is that you run the risk of running out of space in your system partitions and you can't really do much to resize them once you're up and running. For this reason I recently went full Linux and set up Windows 11 in a VM in case I need to use it for work.

[–] [email protected] 2 points 1 year ago

That's when it's time to set up a NAS and go crazy with separate storage space. 😆 I currently have 105TB after an upgrade earlier this year.

[–] [email protected] 4 points 1 year ago (2 children)

You could install OpenSUSE in the partition that had zorin, overwriting the previous system.

[–] [email protected] 3 points 1 year ago (1 children)

And what about the data? What is the best way to manage them?

[–] [email protected] 5 points 1 year ago (1 children)

Restore the data from backup. You've got a backup of your important data, right? Right?

[–] [email protected] 1 points 1 year ago (1 children)

Yes, I have an extra copy of the data in an external hard drive.

[–] [email protected] 3 points 1 year ago (1 children)

In that case simply wipe/re-install and restore your backup. Ideally test that procedure in a VM or something before you wipe.

[–] [email protected] 6 points 1 year ago

And while doing that it's best practice to create a partition only for /home. Easy to distrohop.

[–] [email protected] 1 points 1 year ago

Make /home a separate partition.

[–] [email protected] 1 points 1 year ago

Backup your home directory to a separate drove, then wipe the drive and create separate partitions for /, /home, and optionally, /var.