Making minimal custom Debian ISO to recognize USB deviceWhy does the Debian installation manual suggest to do...

Can any NP-Complete Problem be solved using at most polynomial space (but while using exponential time?)

Require advice on power conservation for backpacking trip

How convert text to hex value?

How do I turn off a repeating trade?

3D Crossword, Cryptic, Statue View & Maze

When to remove insignificant variables?

Are all instances of trolls turning to stone ultimately references back to Tolkien?

How was Hillel permitted to go to the skylight to hear the shiur

Is it damaging to turn off a small fridge for two days every week?

Folding basket - is there such a thing?

Why do textbooks often include the solutions to odd or even numbered problems but not both?

Tantum religio potuit suadere malorum – Lucretius

Why change the size when print a object

Why aren't cotton tents more popular?

Should I prioritize my 401(k) over my student loans?

How does metta sutra develop loving kindness

STM Microcontroller burns every time

Why is the voltage measurement of this circuit different when the switch is on?

How would modern naval warfare have to have developed differently for battleships to still be relevant in the 21st century?

What is this tool/thing in an Aztec painting?

Hot coffee brewing solutions for deep woods camping

What is the legal status of travelling with methadone in your carry-on?

How risky is real estate?

How to get cool night-vision without lame drawbacks?



Making minimal custom Debian ISO to recognize USB device


Why does the Debian installation manual suggest to do “sync” after raw copy of image file to USB key?Grub Installed On Hard Drive after ElementaryOS Install on USB?How to burn debian iso to usbdisabling usb device debianCustom debian ISOHow I can download a blu-ray iso of Debian with the most amount of packages possible for work offline?What are the differences between cloud images and sealed virtual machines?Epson Pervection v39 scanner and Debian BusterTrying to install Debian straight to diskinstalling debian from a local repository






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm using Cubic to create a minimal ISO of Debian, based on one of the official ISOs.



The process goes like this:




  1. Select the ISO image.

  2. A chroot environment opens and let you manipulate the image.

  3. Generate the modified ISO.


My goal is to have a bootable ISO (like Clonezilla) that runs my program to scan plugged USBs.



To reduce debian:




  1. I start using this official guide

  2. Run Clonezilla (wich is based on Debian) in a virtual machine, and extract the packages installed into a file.

  3. In my Cubic chroot I use the later file and remove all the packages except the ones on the file.

  4. Install the packages (some may be not installed in Debian) from the file.


This process, so far, reduces the ISO to 350MB, give or take. Great.



Now I try the newly generated ISO in a virtual machine (VirtualBox), it boots Ok, I get to the root tty perfectly.



I insert a USB to the virtual machine, and then I find that the system does not scan for USBs. lsblk, fdisk, blkid don't see any USB.




  • If I plug in the USB before the system starts, it does recognize it.


My questions, maybe too vague: ¿Is recognizing USB package dependent?¿Which ones?



If not: ¿What part of the system performs this task?



For every little change in the process, I must regenerate the ISO to test the changes, which takes a lot of time.










share|improve this question































    0















    I'm using Cubic to create a minimal ISO of Debian, based on one of the official ISOs.



    The process goes like this:




    1. Select the ISO image.

    2. A chroot environment opens and let you manipulate the image.

    3. Generate the modified ISO.


    My goal is to have a bootable ISO (like Clonezilla) that runs my program to scan plugged USBs.



    To reduce debian:




    1. I start using this official guide

    2. Run Clonezilla (wich is based on Debian) in a virtual machine, and extract the packages installed into a file.

    3. In my Cubic chroot I use the later file and remove all the packages except the ones on the file.

    4. Install the packages (some may be not installed in Debian) from the file.


    This process, so far, reduces the ISO to 350MB, give or take. Great.



    Now I try the newly generated ISO in a virtual machine (VirtualBox), it boots Ok, I get to the root tty perfectly.



    I insert a USB to the virtual machine, and then I find that the system does not scan for USBs. lsblk, fdisk, blkid don't see any USB.




    • If I plug in the USB before the system starts, it does recognize it.


    My questions, maybe too vague: ¿Is recognizing USB package dependent?¿Which ones?



    If not: ¿What part of the system performs this task?



    For every little change in the process, I must regenerate the ISO to test the changes, which takes a lot of time.










    share|improve this question



























      0












      0








      0








      I'm using Cubic to create a minimal ISO of Debian, based on one of the official ISOs.



      The process goes like this:




      1. Select the ISO image.

      2. A chroot environment opens and let you manipulate the image.

      3. Generate the modified ISO.


      My goal is to have a bootable ISO (like Clonezilla) that runs my program to scan plugged USBs.



      To reduce debian:




      1. I start using this official guide

      2. Run Clonezilla (wich is based on Debian) in a virtual machine, and extract the packages installed into a file.

      3. In my Cubic chroot I use the later file and remove all the packages except the ones on the file.

      4. Install the packages (some may be not installed in Debian) from the file.


      This process, so far, reduces the ISO to 350MB, give or take. Great.



      Now I try the newly generated ISO in a virtual machine (VirtualBox), it boots Ok, I get to the root tty perfectly.



      I insert a USB to the virtual machine, and then I find that the system does not scan for USBs. lsblk, fdisk, blkid don't see any USB.




      • If I plug in the USB before the system starts, it does recognize it.


      My questions, maybe too vague: ¿Is recognizing USB package dependent?¿Which ones?



      If not: ¿What part of the system performs this task?



      For every little change in the process, I must regenerate the ISO to test the changes, which takes a lot of time.










      share|improve this question
















      I'm using Cubic to create a minimal ISO of Debian, based on one of the official ISOs.



      The process goes like this:




      1. Select the ISO image.

      2. A chroot environment opens and let you manipulate the image.

      3. Generate the modified ISO.


      My goal is to have a bootable ISO (like Clonezilla) that runs my program to scan plugged USBs.



      To reduce debian:




      1. I start using this official guide

      2. Run Clonezilla (wich is based on Debian) in a virtual machine, and extract the packages installed into a file.

      3. In my Cubic chroot I use the later file and remove all the packages except the ones on the file.

      4. Install the packages (some may be not installed in Debian) from the file.


      This process, so far, reduces the ISO to 350MB, give or take. Great.



      Now I try the newly generated ISO in a virtual machine (VirtualBox), it boots Ok, I get to the root tty perfectly.



      I insert a USB to the virtual machine, and then I find that the system does not scan for USBs. lsblk, fdisk, blkid don't see any USB.




      • If I plug in the USB before the system starts, it does recognize it.


      My questions, maybe too vague: ¿Is recognizing USB package dependent?¿Which ones?



      If not: ¿What part of the system performs this task?



      For every little change in the process, I must regenerate the ISO to test the changes, which takes a lot of time.







      debian usb






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago









      K7AAY

      2,0951 gold badge10 silver badges29 bronze badges




      2,0951 gold badge10 silver badges29 bronze badges










      asked 1 hour ago









      guillermo chamorroguillermo chamorro

      16810 bronze badges




      16810 bronze badges






















          0






          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          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%2f526146%2fmaking-minimal-custom-debian-iso-to-recognize-usb-device%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f526146%2fmaking-minimal-custom-debian-iso-to-recognize-usb-device%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

          The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

          Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...