emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#27967: closed ([PATCH] maint: Create an ISO9660 in


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27967: closed ([PATCH] maint: Create an ISO9660 installation image in the 'release' target.)
Date: Sat, 19 Aug 2017 02:43:02 +0000

Your message dated Sat, 19 Aug 2017 04:42:06 +0200
with message-id <address@hidden>
and subject line Re: [PATCH] maint: Create an ISO9660 installation image in the 
'release' target.
has caused the debbugs.gnu.org bug report #27967,
regarding [PATCH] maint: Create an ISO9660 installation image in the 'release' 
target.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27967: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27967
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] maint: Create an ISO9660 installation image in the 'release' target. Date: Sat, 5 Aug 2017 12:12:21 +0200
* Makefile.am (GUIXSD_IMAGE_BASE): Adapt target file name.
(release): Use file-system-type iso9660.
* doc/guix.texi: Document installation from DVD.
---
 Makefile.am   |  9 +++---
 doc/guix.texi | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 84 insertions(+), 16 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 91a9113d2..7f6887cce 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -577,7 +577,7 @@ GUIXSD_SUPPORTED_SYSTEMS ?= x86_64-linux i686-linux
 GUIXSD_VM_SYSTEMS ?= x86_64-linux
 
 # Prefix of the GuixSD installation image file name.
-GUIXSD_IMAGE_BASE = guixsd-usb-install-$(PACKAGE_VERSION)
+GUIXSD_IMAGE_BASE = guixsd-install-$(PACKAGE_VERSION)
 
 # Prefix of the GuixSD VM image file name.
 GUIXSD_VM_IMAGE_BASE = guixsd-vm-image-$(PACKAGE_VERSION)
@@ -628,15 +628,16 @@ release: dist
        for system in $(GUIXSD_SUPPORTED_SYSTEMS) ; do                          
        \
          image=`$(top_builddir)/pre-inst-env                                   
        \
            guix system disk-image                                              
        \
+           --file-system-type=iso9660                                          
        \
             --system=$$system                                                  
        \
            gnu/system/install.scm` ;                                           
        \
          if [ ! -f "$$image" ] ; then                                          
        \
            echo "failed to produced GuixSD installation image for $$system" 
>&2 ;      \
            exit 1 ;                                                            
        \
          fi ;                                                                  
        \
-         xz < "$$image" > "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.xz.tmp" 
;       \
-         mv "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.xz.tmp"               
        \
-            "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.xz" ;                 
        \
+         xz < "$$image" > 
"$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.iso.xz.tmp" ;   \
+         mv "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.iso.xz.tmp"           
        \
+            "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.iso.xz" ;             
        \
        done
        for system in $(GUIXSD_VM_SYSTEMS) ; do                                 
        \
          image=`$(top_builddir)/pre-inst-env                                   
        \
diff --git a/doc/guix.texi b/doc/guix.texi
index 88bf0bb62..20dd09a6d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -7464,6 +7464,7 @@ available.
 * Limitations::                 What you can expect.
 * Hardware Considerations::     Supported hardware.
 * USB Stick Installation::      Preparing the installation medium.
+* DVD Installation::            Preparing the installation medium.
 * Preparing for Installation::  Networking, partitioning, etc.
 * Proceeding with the Installation::  The real thing.
 * Installing GuixSD in a VM::   GuixSD playground.
@@ -7553,7 +7554,7 @@ about their support in GNU/Linux.
 @subsection USB Stick Installation
 
 An installation image for USB sticks can be downloaded from
address@hidden://alpha.gnu.org/gnu/guix/address@hidden@var{system}.xz},
address@hidden://alpha.gnu.org/gnu/guix/address@hidden@var{system}.iso.xz},
 where @var{system} is one of:
 
 @table @code
@@ -7569,8 +7570,8 @@ Make sure to download the associated @file{.sig} file and 
to verify the
 authenticity of the image against it, along these lines:
 
 @example
-$ wget ftp://alpha.gnu.org/gnu/guix/address@hidden@var{system}.xz.sig
-$ gpg --verify address@hidden@var{system}.xz.sig
+$ wget ftp://alpha.gnu.org/gnu/guix/address@hidden@var{system}.iso.xz.sig
+$ gpg --verify address@hidden@var{system}.iso.xz.sig
 @end example
 
 If that command fails because you do not have the required public key,
@@ -7584,9 +7585,8 @@ $ gpg --keyserver pgp.mit.edu --recv-keys 
@value{OPENPGP-SIGNING-KEY-ID}
 and rerun the @code{gpg --verify} command.
 @c end duplication
 
-This image contains a single partition with the tools necessary for an
-installation.  It is meant to be copied @emph{as is} to a large-enough
-USB stick.
+This image contains the tools necessary for an installation.
+It is meant to be copied @emph{as is} to a large-enough USB stick or DVD.
 
 To copy the image to a USB stick, follow these steps:
 
@@ -7595,7 +7595,7 @@ To copy the image to a USB stick, follow these steps:
 Decompress the image using the @command{xz} command:
 
 @example
-xz -d address@hidden@var{system}.xz
+xz -d address@hidden@var{system}.iso.xz
 @end example
 
 @item
@@ -7604,7 +7604,7 @@ its device name.  Assuming that the USB stick is known as 
@file{/dev/sdX},
 copy the image with:
 
 @example
-dd address@hidden of=/dev/sdX
+dd address@hidden of=/dev/sdX
 sync
 @end example
 
@@ -7618,12 +7618,79 @@ UEFI boot menu, where you can choose to boot from the 
USB stick.
 @xref{Installing GuixSD in a VM}, if, instead, you would like to install
 GuixSD in a virtual machine (VM).
 
address@hidden DVD Installation
address@hidden DVD Installation
+
+An installation image for DVDs can be downloaded from
address@hidden://alpha.gnu.org/gnu/guix/address@hidden@var{system}.iso.xz},
+where @var{system} is one of:
+
address@hidden @code
address@hidden x86_64-linux
+for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;
+
address@hidden i686-linux
+for a 32-bit GNU/Linux system on Intel-compatible CPUs.
address@hidden table
+
address@hidden start duplication of authentication part from ``Binary 
Installation''
+Make sure to download the associated @file{.sig} file and to verify the
+authenticity of the image against it, along these lines:
+
address@hidden
+$ wget ftp://alpha.gnu.org/gnu/guix/address@hidden@var{system}.iso.xz.sig
+$ gpg --verify address@hidden@var{system}.iso.xz.sig
address@hidden example
+
+If that command fails because you do not have the required public key,
+then run this command to import it:
+
address@hidden
+$ gpg --keyserver pgp.mit.edu --recv-keys @value{OPENPGP-SIGNING-KEY-ID}
address@hidden example
+
address@hidden
+and rerun the @code{gpg --verify} command.
address@hidden end duplication
+
+This image contains the tools necessary for an installation.
+It is meant to be copied @emph{as is} to a large-enough USB stick or DVD.
+
+To copy the image to a DVD, follow these steps:
+
address@hidden
address@hidden
+Decompress the image using the @command{xz} command:
+
address@hidden
+xz -d address@hidden@var{system}.iso.xz
address@hidden example
+
address@hidden
+Insert a blank DVD into your machine, and determine
+its device name.  Assuming that the DVD drive is known as @file{/dev/srX},
+copy the image with:
+
address@hidden
+growisofs -dvd-compat -Z /dev/address@hidden
address@hidden example
+
+Access to @file{/dev/srX} usually requires root privileges.
address@hidden enumerate
+
+Once this is done, you should be able to reboot the system and boot from
+the DVD.  The latter usually requires you to get in the BIOS or
+UEFI boot menu, where you can choose to boot from the DVD.
+
address@hidden GuixSD in a VM}, if, instead, you would like to install
+GuixSD in a virtual machine (VM).
+
 @node Preparing for Installation
 @subsection Preparing for Installation
 
-Once you have successfully booted the image on the USB stick, you should
-end up with a root prompt.  Several console TTYs are configured and can
-be used to run commands as root.  TTY2 shows this documentation,
+Once you have successfully booted your computer using the installation medium,
+you should end up with a root prompt.  Several console TTYs are configured
+and can be used to run commands as root.  TTY2 shows this documentation,
 browsable using the Info reader commands (@pxref{Top,,, info-stnd,
 Stand-alone GNU Info}).  The installation system runs the GPM mouse
 daemon, which allows you to select text with the left mouse button and
@@ -7978,7 +8045,7 @@ Boot the USB installation image in an VM:
 @example
 qemu-system-x86_64 -m 1024 -smp 1 \
   -net user -net nic,model=virtio -boot menu=on \
-  -drive address@hidden@var{system} \
+  -drive address@hidden@var{system}.iso \
   -drive file=guixsd.img
 @end example
 



--- End Message ---
--- Begin Message --- Subject: Re: [PATCH] maint: Create an ISO9660 installation image in the 'release' target. Date: Sat, 19 Aug 2017 04:42:06 +0200
Pushed to master as d79013f66a98dca24e11193c43e78364043d0c16 with minimal 
changes (to the generated filename to keep it the same as before).  This means 
that our releases can now also be booted from DVD.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]