Bootstrapping Debian, how to I load appropriate corresponding hooks to the initrd in Debian that I have in Arch to run on my system?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am trying to dual-boot Debian with my Arch system and I have done before on a simple setup but not with the specifics of this one.

I have Arch installed with:

- Full System Encryption (dm-crypt)

- Btrfs subvolumes

- Swap encryption w/ suspend-to-disk support



I have the following hooks added to my Arch initial ramdisk to load correctly.




  1. encrypt

    Build: First adds the dm_crypt kernel module and the cryptsetup tool to the image.



    Runtime: Detects and unlocks an encrypted root partition.




  2. openswap(custom hook)



    Build: Nothing.



    Runtime: A hook to open the swap at boot time by loading a keyfile from a crypted root device.




  3. resume



    Build: Nothing.



    Runtime: Tries to resume from the "suspend to disk" state.




  4. btrfs



    Build: Sets the required modules to enable Btrfs for using multiple devices with Btrfs.



    Runtime: Runs btrfs device scan to assemble a multi-device Btrfs root file system



How do I go about installing the corresponding hooks Debians initial ramdisk given I have Debian installed on its own subvolume and grubs menu -entry setup.










share|improve this question

























    up vote
    0
    down vote

    favorite












    I am trying to dual-boot Debian with my Arch system and I have done before on a simple setup but not with the specifics of this one.

    I have Arch installed with:

    - Full System Encryption (dm-crypt)

    - Btrfs subvolumes

    - Swap encryption w/ suspend-to-disk support



    I have the following hooks added to my Arch initial ramdisk to load correctly.




    1. encrypt

      Build: First adds the dm_crypt kernel module and the cryptsetup tool to the image.



      Runtime: Detects and unlocks an encrypted root partition.




    2. openswap(custom hook)



      Build: Nothing.



      Runtime: A hook to open the swap at boot time by loading a keyfile from a crypted root device.




    3. resume



      Build: Nothing.



      Runtime: Tries to resume from the "suspend to disk" state.




    4. btrfs



      Build: Sets the required modules to enable Btrfs for using multiple devices with Btrfs.



      Runtime: Runs btrfs device scan to assemble a multi-device Btrfs root file system



    How do I go about installing the corresponding hooks Debians initial ramdisk given I have Debian installed on its own subvolume and grubs menu -entry setup.










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to dual-boot Debian with my Arch system and I have done before on a simple setup but not with the specifics of this one.

      I have Arch installed with:

      - Full System Encryption (dm-crypt)

      - Btrfs subvolumes

      - Swap encryption w/ suspend-to-disk support



      I have the following hooks added to my Arch initial ramdisk to load correctly.




      1. encrypt

        Build: First adds the dm_crypt kernel module and the cryptsetup tool to the image.



        Runtime: Detects and unlocks an encrypted root partition.




      2. openswap(custom hook)



        Build: Nothing.



        Runtime: A hook to open the swap at boot time by loading a keyfile from a crypted root device.




      3. resume



        Build: Nothing.



        Runtime: Tries to resume from the "suspend to disk" state.




      4. btrfs



        Build: Sets the required modules to enable Btrfs for using multiple devices with Btrfs.



        Runtime: Runs btrfs device scan to assemble a multi-device Btrfs root file system



      How do I go about installing the corresponding hooks Debians initial ramdisk given I have Debian installed on its own subvolume and grubs menu -entry setup.










      share|improve this question













      I am trying to dual-boot Debian with my Arch system and I have done before on a simple setup but not with the specifics of this one.

      I have Arch installed with:

      - Full System Encryption (dm-crypt)

      - Btrfs subvolumes

      - Swap encryption w/ suspend-to-disk support



      I have the following hooks added to my Arch initial ramdisk to load correctly.




      1. encrypt

        Build: First adds the dm_crypt kernel module and the cryptsetup tool to the image.



        Runtime: Detects and unlocks an encrypted root partition.




      2. openswap(custom hook)



        Build: Nothing.



        Runtime: A hook to open the swap at boot time by loading a keyfile from a crypted root device.




      3. resume



        Build: Nothing.



        Runtime: Tries to resume from the "suspend to disk" state.




      4. btrfs



        Build: Sets the required modules to enable Btrfs for using multiple devices with Btrfs.



        Runtime: Runs btrfs device scan to assemble a multi-device Btrfs root file system



      How do I go about installing the corresponding hooks Debians initial ramdisk given I have Debian installed on its own subvolume and grubs menu -entry setup.







      swap btrfs dm-crypt debootstrap






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 13 at 19:47









      Quantum88

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f468883%2fbootstrapping-debian-how-to-i-load-appropriate-corresponding-hooks-to-the-initr%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f468883%2fbootstrapping-debian-how-to-i-load-appropriate-corresponding-hooks-to-the-initr%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?