Skip Navigation
Question: How to merge 2 btrfs partions using subvolumes?
  • What I ended up doing:

    • Moving the root partition from one partition to the other, using btrfs send | btrfs receive
    • Updated fstab to use the correct partitions
    • The computer kept using the old root partition then booting, I had to use ubuntu's boot repair (https://help.ubuntu.com/community/Boot-Repair) to fix that
    • I probably should have moved the home partition instead of the root one. I would have avoided much trouble.
  • The Ups and Downs of Montreal’s new Transit Plan
  • My understanding is that trams are much more cost effective long-term than buses, because the rails last much much longer than asphalt or even concrete.

    They also have other benefits:

    • Smoother, less bumpy ride
    • Bigger capacity than buses, with the possibility to add up to 5 cars
    • Don't have to wait at traffic lights (We can install sensors to detect a tram is coming and switch the light so that it can go ahead without waiting. That's technically doable for an BRT/SRB, but it's more complex and as you can see, they didn't do it for SRB Pie-IX...🙁)
    • Less noisy
    • Easier to electrify
    • Easier to automate (make them self-driving)
    • No tires means less pollution
    • Grass can be added between the 2 rails, making it more pleasant looking, absorbing heat and noise
    • Level boarding make them more accessible
    • and more

    You can see this thread for more benefits: https://www.reddit.com/r/notjustbikes/comments/qftru7/why_trams_and_trains_over_buses/

  • Question: How to merge 2 btrfs partions using subvolumes?
  • Can I do this while the system is running? I guess it would be safer to boot to a liveUSB before attempting this?

    Also, what do you mean by "After a rebuild of the initrd" ? That's something I have to do after editing fstab? How do I do that?

  • btrfs @lemmy.ml narF @lemmy.ca
    Question: How to merge 2 btrfs partions using subvolumes?

    Hi! I'm learning how to use btrfs and I need some advice.

    One one of my desktop, I made the mistake of creating 2 partitions, one for /(root) and one for home. Both are btrfs. I didn't know that I could use subvolumes so that they could share the same physical space.

    My question: How can I merge the root and home btrfs partitions into only 1 partition that would use btrfs subvolumes?

    I'm looking for something like that:

    • Partition1 (btrfs)
      • subvolume 1: @root (mounted to /)
      • subvolume 2: @home (mounted to /home)
    • Partition 2, 3, 4...

    My current setup:

    • 1 physical hard drive (1 TB), shown as sda below
    • The partitions I want to merge are sda7 and sda8
    • That computer is an iMac also running MacOS so it has a few other partitions that I should not touch

    $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 931,5G 0 disk ├─sda1 8:1 0 200M 0 part /boot/efi ├─sda2 8:2 0 371,1G 0 part ├─sda3 8:3 0 619,9M 0 part ├─sda4 8:4 0 600M 0 part ├─sda5 8:5 0 1023M 0 part ├─sda7 8:7 0 422,9G 0 part /home └─sda8 8:8 0 135,1G 0 part / sdb 8:16 1 0B 0 disk sr0 11:0 1 1024M 0 rom $ blkid /dev/sda4: UUID="d970eea2-142b-3f1c-9650-5e496d1e9b4b" BLOCK_SIZE="4096" LABEL="Linux HFS+ ESP" TYPE="hfsplus" PARTLABEL="Linux HFS+ ESP" PARTUUID="eab00592-b96d-4ecb-b2e9-816c95eaf860" /dev/sda2: UUID="6a26963c-eabb-3e42-9e8d-8677a8282b61" BLOCK_SIZE="4096" LABEL="DD Macintosh" TYPE="hfsplus" PARTLABEL="DD Mac" PARTUUID="8257316c-1fd7-4885-bf2b-7e99557acd85" /dev/sda7: UUID="22f5e59e-8509-484a-92d5-e7dc03bb70cd" UUID_SUB="78a998f5-db55-4a31-9506-afe548ec8d5e" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="Mint Home" PARTUUID="20b6c31d-5e2d-416f-beb3-faa295af67df" /dev/sda5: UUID="587b0093-4b64-468a-9a01-b933630d184b" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="a47a3fbf-534a-435d-8916-0f83edebf296" /dev/sda3: UUID="d0c171e8-572d-39f9-8bdc-38f33744a19a" BLOCK_SIZE="4096" LABEL="Recovery HD" TYPE="hfsplus" PARTLABEL="Recovery HD" PARTUUID="c9d0673b-bb2e-4322-9bf9-c661f7de6856" /dev/sda1: LABEL_FATBOOT="EFI" LABEL="EFI" UUID="67E3-17ED" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="d30954cb-b9b6-40fa-9202-a18cf146f7df" /dev/sda8: UUID="7027382a-4369-4276-b916-9997c1007e5b" UUID_SUB="3e516464-dee1-4bda-9621-29591d54dc2d" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="Mint root" PARTUUID="f2fdb8cc-54fd-46c8-bf1f-85954c1dc363"

    4
    Continuons: un jeu «di'ss'ile» mettant en vedette le Front Commun et la CAQ

    Un petit jeu drôle et gratuit où tu es dans le rôle de Legault et tu dois tout faire pour retarder de négocier avec les travailleurs du secteur public.

    !

    !

    1
    There Is No Housing Crisis
  • I remember reading that city taxes should change from being based on the value of the building to only be based on the value of the land. This way it discourages only single-family homes.

  • Shouldn't we be switching buses with light railway?
  • Tramways and Light Rails are much more silent and comfortable. Rails are smooth, no pothole etc. They are also much much more durable than asphalt.

    Rails take less space and can be covered with grass/greeneries. Looks prettier and absorb heat.

  • 'Limitless' energy: how floating solar panels near the equator could power future population hotspots
  • Yes, and no. It's not as easy. We do need to switch to renewable energy if we want to solve the crisis, but more importantly we need to stop using fossil fuel. Unfortunately, if you look at history, every time we discovered a new energy source like solar, hydro or wind, we never actually stopped using the older energy sources. For example, if you look at coal, we use more coal today than ever before in history, despite having found "better" options like petrol.

    So yeah, it cool that we have new ways to build solar panel, but unless we actually stop using fossil fuel, then it won't stop the crisis.

  • 'Limitless' energy: how floating solar panels near the equator could power future population hotspots
  • Does it include recycling cost? And more importantly, does it include the batteries to store that electricity? Batteries are not clean nor renewable. For example, just look at how cobalt is mined today and how it ruins ecosystem and populations.

  • I hate my mother
  • Im really sorry to read that. It sounds like a giant mess that is affecting everyone. It must feel bad to do all those efforts and still feel like it's pointless.

    Have you considered getting therapy for yourself? I think it's would be the best thing to do in your situation.

  • 'Limitless' energy: how floating solar panels near the equator could power future population hotspots
  • We still haven't figured out how to make solar panels that produce more energy in their lifespan than what it take to build them.

    This seems like greenwashing... We won't solve the climate crisis by generating more energy if we don't stop using fossile fuel...

  • Recommendations for handwriting text recognition (OCR)

    Hi! I'm looking for a FOSS app or software that can recognize text based on a photo of my handwriting.

    Any suggestions?

    4
    Plugin or app to transcribe hand written text

    Allo

    I'm wondering if there is a way in Joplin (or with another app?) to transcribe hand written text Into plain text.

    Basically, I'd like to have an archive copy of my personal journal in Joplin.

    I would greatly prefer something open source that runs locally. Ideally free or cheap.

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)NA
    narF @lemmy.ca
    Posts 4
    Comments 30