Commit 026e027a authored by constrict0r's avatar constrict0r 💬
Browse files

Adds iso to img instructions

parent 46d608e2
Loading
Loading
Loading
Loading
+36 −12
Original line number Diff line number Diff line
@@ -86,7 +86,6 @@ Contents
   * `Sync <#sync>`_
   * `Sync-Get-ISO <#sync-get-iso>`_
   * `Vars <#vars>`_
* `The Mad Villain Recomends <#Recomends>`_
* `Author <#Author>`_

Description
@@ -160,6 +159,42 @@ Usage
        vars:
          username: [mary]

* To use a USB stick to install a physical computer, use this role to
   generate a *remaster.iso* image (run next command replacing with
   your data):

..

   ::

      ansible localhost -m include_role -a name=constrict0r.iso -K -e \
          'username=constrict0r userpass=1234 rootpass=1234 device=sda preseed=true \
          preseed_wireless=true preseed_partitioning=true preseed_last_question=true \
          preseed_custom=/home/constrict0r/Documentos/madvillain.yml networkname="MY NETWORK" \
          networkpass="my-network-pass" hostname="latveria" domain="amanita" \
          firmware_path=/home/constrict0r/Instaladores/firmware/'

* Then use `dd <http://man7.org/linux/man-pages/man1/dd.1.html>`_ to
   copy the file to your USB stick (replacing *sdx* with your drive):

..

   ::

      su -c 'dd if=/path/to/remaster.iso of=/dev/sdx

* Some modern computer complaints about a **cdrom not detected**
   during the installation process (because they no longer include
   cdroms), to overpass this issue, rename the extension *.iso* to
   *.img* and use dd to copy the file:

..

   ::

      mv remaster.iso remaster.img
      su -c 'dd if=/path/to/remaster.img of=/dev/sdx

* To run tests:

..
@@ -1340,17 +1375,6 @@ The process of variable copying is shown below:
   :alt: variables


The Mad Villain Recomends
*************************

To copy the ISO file to an usb drive:

::

   # sdx = sdb, sdc, etc.
   su -c 'dd if=/path/to/remaster.iso of=/dev/sdx'


Author
******

+0 −2
Original line number Diff line number Diff line
@@ -45,6 +45,4 @@ Contents

   uml

   recommends

   author

docs/source/recommends.rst

deleted100644 → 0
+0 −9
Original line number Diff line number Diff line
The Mad Villain Recomends
------------------------------------------------------------------------------

To copy the ISO file to an usb drive:

.. code-block:: bash

   # sdx = sdb, sdc, etc.
   su -c 'dd if=/path/to/remaster.iso of=/dev/sdx'
+2 −0
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@ Usage

.. include:: parts/usage/role.inc

.. include:: usage/dd.inc

.. include:: parts/usage/testme.inc

.. include:: usage/virt_manager.inc
+27 −0
Original line number Diff line number Diff line
- To use a USB stick to install a physical computer, use this role to generate a
  *remaster.iso* image (run next command replacing with your data):

 .. code-block:: bash

  ansible localhost -m include_role -a name=constrict0r.iso -K -e \
      'username=constrict0r userpass=1234 rootpass=1234 device=sda preseed=true \
      preseed_wireless=true preseed_partitioning=true preseed_last_question=true \
      preseed_custom=/home/constrict0r/Documentos/madvillain.yml networkname="MY NETWORK" \
      networkpass="my-network-pass" hostname="latveria" domain="amanita" \
      firmware_path=/home/constrict0r/Instaladores/firmware/'

- Then use `dd <http://man7.org/linux/man-pages/man1/dd.1.html>`_ to copy
  the file to your USB stick (replacing *sdx* with your drive):

 .. code-block:: bash

  su -c 'dd if=/path/to/remaster.iso of=/dev/sdx

- Some modern computer complaints about a **cdrom not detected** during the
  installation process (because they no longer include cdroms), to overpass
  this issue, rename the extension *.iso* to *.img* and use dd to copy the file:

 .. code-block:: bash

  mv remaster.iso remaster.img
  su -c 'dd if=/path/to/remaster.img of=/dev/sdx