gpstarman

joined 3 months ago
1
submitted 15 minutes ago* (last edited 15 minutes ago) by gpstarman@lemmy.today to c/linux4noobs@lemmy.world
 

This is my disk layout:

500 GB Linux - BTRFS

100 GB Windows - NTFS

400 GB Storage - NTFS (shared between linux and windows)

I want to encrypt everything. For Linux I can use luks2 but what I'm supposed to do for Windows ? (No bitlocker please)

Will veracrypt replace refind boot manager?

1
submitted 16 minutes ago* (last edited 15 minutes ago) by gpstarman@lemmy.today to c/linux4noobs@programming.dev
 

This is my disk layout:

500 GB Linux - BTRFS

100 GB Windows - NTFS

400 GB Storage - NTFS (shared between linux and windows)

I want to encrypt everything. For Linux I can use luks2 but what I'm supposed to do for Windows ? (No bitlocker please)

Will veracrypt replace refind boot manager?

 

I installed lots of OSs on my PC. The mistake I did was not backing up my EFI partition beforehand.

Now I deleted all the OS except CachyOS (Arch) and Windows.

Now I want to tidy up my EFI partition. I want to delete everything (even refind) except Windows and Default ones like OEM. (I am gonna reinstall CachyOS ) Can anybody please assist me?

I already deleted the obvious ones like ubuntu and fedora. Anything else?

I know this is not necessarily a linux question but anyways ๐Ÿ˜…

 

I installed lots of OSs on my PC. The mistake I did was not backing up my EFI partition beforehand.

Now I deleted all the OS except CachyOS (Arch) and Windows.

Now I want to tidy up my EFI partition. I want to delete everything (even rEFInd) except Windows and Default ones like OEM. (I am gonna reinstall CachyOS ) Can anybody please assist me?

I already deleted the obvious ones like ubuntu and fedora. Anything else?

I know this is not necessarily a linux question but anyways ๐Ÿ˜…

[โ€“] gpstarman@lemmy.today 2 points 4 days ago (1 children)

If your snapshots are taken from your main subvolume, then they shouldn't be incremental backups

So other snaps from other subvols are incremental backups?

[โ€“] gpstarman@lemmy.today 1 points 1 week ago (1 children)

I've used BTRFS with rEFInd before. It's worked just fine. So I don't think it's on BTRFS.

11
submitted 1 week ago* (last edited 1 week ago) by gpstarman@lemmy.today to c/linux4noobs@programming.dev
 

I installed CachyOS with BTRFS, LUKS2 , REFIND.

After successful installation I'm not seeing any prompt for password nor the linux boot entry on refind.

Note: I didn't do any lvm or raid.

What should I do?

9
submitted 1 week ago* (last edited 1 week ago) by gpstarman@lemmy.today to c/linux4noobs@lemmy.world
 

I installed CachyOS with BTRFS, LUKS2 , REFIND.

After successful installation I'm not seeing any prompt for password nor the linux boot entry on refind.

Note: I didn't do any lvm or raid.

What should I do?

 

I installed CachyOS with BTRFS, LUKS2 , REFIND.

After successful installation I'm not seeing any prompt for password nor the linux boot entry on refind.

Note: I didn't do any lvm or raid.

What should I do?

 

Let's say i made 10 snapshots on top of the base.

Now can i delete snap no. 5? Will the snaps after 5 will be affected?

Solved

Yes, one can delete consecutive snapshots. The data won't be deleted unless all snaps ( reference points ) get deleted.

Note: If you delete the original file and delete all the snapshots made when the file is still there, the file will get deleted permanently.

 

Let's say i made 10 snapshots on top of the base.

Now can i delete snap no. 5? Will the snaps after 5 will be affected?

Solved

Yes, one can delete consecutive snapshots. The data won't be deleted unless all snaps ( reference points ) get deleted.

Note: If you delete the original file and delete all the snapshots made when the file is still there, the file will get deleted permanently.

 

Let's say i made 10 snapshots on top of the base.

Now can i delete snap no. 5? Will the snaps after 5 will be affected?

Solved

Yes, one can delete consecutive snapshots. The data won't be deleted unless all snaps ( reference points ) get deleted.

Note: If you delete the original file and delete all the snapshots made when the file is still there, the file will get deleted permanently.

[โ€“] gpstarman@lemmy.today 5 points 1 month ago

is he a famous boxer or something?

[โ€“] gpstarman@lemmy.today 36 points 1 month ago (4 children)

What's the box thing?

[โ€“] gpstarman@lemmy.today 1 points 1 month ago

Thank you.

I'm still learning how BTRFS works. I stopped using rsync because I don't have lots of storage. I also think btrfs is easier on disk read and write operations.

[โ€“] gpstarman@lemmy.today 1 points 1 month ago

Yeah, that's what I'm thinking too.

 

Can I change the location of BTRFS snapshots. I installed CachyOS, and it automatically setup BTRFS subvols.

This is the layout ๐Ÿ‘‡

ID gen parent top level path
258 1773 5 5 @root
259 1601 5 5 @srv
260 1789 5 5 @cache
261 1785 5 5 @tmp
262 1797 5 5 @log
263 26 377 377 var/lib/portables
264 26 377 377 var/lib/machines
265 1791 377 377 .snapshots
266 1427 378 378 @home/.snapshots
377 1797 5 5 @
378 1797 5 5 @home

According to Arch wiki https://wiki.archlinux.org/title/Snapper#Creating_a_new_configuration

Create a subvolume at /path/to/subvolume/.snapshots where future snapshots for this configuration will be stored. A snapshot's path is /path/to/subvolume/.snapshots/#/snapshot, where # is the snapshot number.

From which I understand that if I created a snap of /home (@home), it will save in /home/.snapshots (@home/.snapshots).

So, CachyOS configured to save snaps to separate subvol.

But, what I want to do is, Instead of just saving it in separate subvol, i want snaps to be saved on different btrfs partition. Maybe @home/.snapshots but on different partition.

Is that possible ?

 

Can I change the location of BTRFS snapshots. I installed CachyOS, and it automatically setup BTRFS subvols.

This is the layout ๐Ÿ‘‡

ID gen parent top level path
258 1773 5 5 @root
259 1601 5 5 @srv
260 1789 5 5 @cache
261 1785 5 5 @tmp
262 1797 5 5 @log
263 26 377 377 var/lib/portables
264 26 377 377 var/lib/machines
265 1791 377 377 .snapshots
266 1427 378 378 @home/.snapshots
377 1797 5 5 @
378 1797 5 5 @home

According to Arch wiki https://wiki.archlinux.org/title/Snapper#Creating_a_new_configuration

Create a subvolume at /path/to/subvolume/.snapshots where future snapshots for this configuration will be stored. A snapshot's path is /path/to/subvolume/.snapshots/#/snapshot, where # is the snapshot number.

From which I understand that if I created a snap of /home (@home), it will save in /home/.snapshots (@home/.snapshots).

So, CachyOS configured to save snaps to separate subvol.

But, what I want to do is, Instead of just saving it in separate subvol, i want snaps to be saved on different btrfs partition. Maybe @home/.snapshots but on different partition.

Is that possible ?

view more: next โ€บ