[-] gpstarman@lemmy.today 1 points 2 weeks ago

You can't choose the bitlocker password yourself right? If that's true, then that's why I avoid bitlocker.

[-] gpstarman@lemmy.today 1 points 2 weeks ago* (last edited 2 weeks ago)

But veracrypt has it's own boot loader right? Won't it replace rEFInd?

[-] gpstarman@lemmy.today 1 points 2 weeks ago* (last edited 2 weeks ago)

The one that asks password before boot (full encryption)

11
submitted 2 weeks ago* (last edited 2 weeks 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?

Note: I am talking about the one that asks password before boot (full encryption)

17
submitted 2 weeks ago* (last edited 2 weeks ago) by gpstarman@lemmy.today to c/linux4noobs@programming.dev

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 ๐Ÿ˜…

Solved

Before proceeding with any of the following, I STRONGLY suggest you to make a full backup of your ESP (efi) partition.

I deleted everything on boot folder, since I didn't need grub or any of those files ( after searching everything individually on internet)

I deleted refind folder, since I didn't need refind boot manager.

I kept insyde folder, since they are my uefi provider.

I kept OEM , microsoft folders because I need windows and whatever my OEM provides.

I kept tools folder since that's just an empty folder ( I didn't know which OS created it)

[-] gpstarman@lemmy.today 1 points 4 weeks ago

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

11
submitted 4 weeks ago* (last edited 2 weeks 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?

Solved

I just forgot to create a boot partition ๐Ÿ˜ฎโ€๐Ÿ’จ

6
submitted 4 weeks ago* (last edited 2 weeks ago) by gpstarman@lemmy.today to c/archlinux@lemmy.ml

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?

Solved

I just forgot to create a boot partition ๐Ÿ˜ฎโ€๐Ÿ’จ

15
submitted 4 weeks ago* (last edited 3 weeks ago) by gpstarman@lemmy.today to c/archlinux@lemmy.ml

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.

12
submitted 4 weeks ago* (last edited 3 weeks ago) by gpstarman@lemmy.today to c/linux4noobs@programming.dev

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?

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

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 ?

7
submitted 1 month ago* (last edited 1 month ago) by gpstarman@lemmy.today to c/archlinux@lemmy.ml

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 ?

4
submitted 2 months ago* (last edited 1 month ago) by gpstarman@lemmy.today to c/linux4noobs@programming.dev

How to install ProtonVPN in Arch Linux (CachyOS) ?

Should I follow https://wiki.archlinux.org/title/ProtonVPN ?

OR

from flathub https://flathub.org/apps/com.protonvpn.www ?

This flatpak has Unverified tag, but according to this, this flatpak is safe.

Which one should I follow ?

Asking this because I'm because I'm a bit lazy to configure OpenVPN and all that stuff. (pls don't kill me :)

Also do you think using VPN from flatpak is a good idea?



Solved

I just installed aur mentioned in the wiki and it worked just fine. Didn't need to install anything else in my case.

17
submitted 2 months ago* (last edited 1 month ago) by gpstarman@lemmy.today to c/archlinux@lemmy.ml

How to install ProtonVPN in Arch Linux (CachyOS) ?

Should I follow https://wiki.archlinux.org/title/ProtonVPN ?

OR

from flathub https://flathub.org/apps/com.protonvpn.www ?

This flatpak has Unverified tag, but according to this, this flatpak is safe.

Which one should I follow ?

Asking this because I'm because I'm a bit lazy to configure OpenVPN and all that stuff. (pls don't kill me :)

Also do you think using VPN from flatpak is a good idea?

25
submitted 2 months ago* (last edited 2 months ago) by gpstarman@lemmy.today to c/linux@lemmy.ml

I want to copy (not move) my Timeshift Snapshots (Rsync) from my existing drive to another drive. Both drives are ext4. As far as I searched I am not able to find any viable results.

If not possible, just why?



Solved

https://www.cyberciti.biz/faq/linux-unix-apple-osx-bsd-rsync-copy-hard-links/

TLDR

sudo rsync -az -H --delete --numeric-ids /path/to/timeshift path/to/destination/

Where,

-a : Archive mode (i.e. recurse into directories, and preserve symlinks, file permissions, file modification times, file group, file owner, device files & special files)

-z : Compress file data during the transfer

H : Preserve hard links (i.e. copy hard links as hard links)

--delete : Delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the directories that are being synchronized i.e. keep exact replica of your /path/to/timeshift directory.

--numeric-ids : Transfer numeric group and user IDs rather than using user and group names and mapping them at both ends.

--progress : Show progress during transfer.

--log-file="/var/log/my-rsync-script.log" : Log what rsync command is doing to the /var/log/my-rsync-script.log file.


Thanks to @skullgiver@popplesburger.hilciferous.nl

Original Comment: https://lemmy.world/comment/11611743

7
submitted 2 months ago* (last edited 2 months ago) by gpstarman@lemmy.today to c/linux4noobs@programming.dev

I want to copy (not move) my Timeshift Snapshots (Rsync) from my existing drive to another drive. Both drives are ext4. As far as I searched I am not able to find any viable results.

If not possible, just why?



Solved

https://www.cyberciti.biz/faq/linux-unix-apple-osx-bsd-rsync-copy-hard-links/

TLDR

sudo rsync -az -H --delete --numeric-ids /path/to/timeshift path/to/destination/

Where,

-a : Archive mode (i.e. recurse into directories, and preserve symlinks, file permissions, file modification times, file group, file owner, device files & special files)

-z : Compress file data during the transfer

H : Preserve hard links (i.e. copy hard links as hard links)

--delete : Delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the directories that are being synchronized i.e. keep exact replica of your /path/to/timeshift directory.

--numeric-ids : Transfer numeric group and user IDs rather than using user and group names and mapping them at both ends.

--progress : Show progress during transfer.

--log-file="/var/log/my-rsync-script.log" : Log what rsync command is doing to the /var/log/my-rsync-script.log file.


Thanks to @skullgiver@popplesburger.hilciferous.nl

Original Comment: https://lemmy.world/comment/11611743

view more: next โ€บ

gpstarman

joined 4 months ago