unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Thomas Schmitt" <scdbackup@gmx.net>
To: bug-xorriso@gnu.org
Cc: 33639@debbugs.gnu.org
Subject: bug#33639: ISO installer image is broken on i686
Date: Sat, 15 Dec 2018 19:40:02 +0100	[thread overview]
Message-ID: <23902682647998386729@scdbackup.webframe.org> (raw)
In-Reply-To: <87va46is9h.fsf@gnu.org>

Hi,

just to report that i did not forget this problem:

I have now a qemu-system-i386 VM with Debian GNU/Linux from
debian-9.6.0-i386-netinst.iso without desktop environment and reachable
via SSH. Very minimal. (I only did "apt-get install build-essential" to
feel not lonely without C compiler and friends.)

Then i followed the instructions of
  https://www.gnu.org/software/guix/manual/en/html_node/Binary-Installation.html
with
  https://alpha.gnu.org/gnu/guix/guix-binary-0.16.0.i686-linux.tar.xz
  https://alpha.gnu.org/gnu/guix/guix-binary-0.16.0.i686-linux.tar.xz.sig
up to step 7 ("guix archive --authorize ...").

Then i made the mistake to do the proposed

  guix package -i hello

It downloads and builds and blows away the free space on the virtual 8 GB
disk ... /gnu is growing steadily and /tmp breathes between 50 MB and 2 GB.
I abort this after 100 minutes before the virtual disk gets too full and
my CPU melts.

"guix pull" happily begins to build that gcc-5.5.0 which is too much for my
feeble VM.

Back to step 0 ("rm -r /gnu /var/guix") and again to step 7.
(A small fight starts between me and systemd, to get guix-daemon running.
 "start" did not help. It had to be "restart".)

Then

  # guix system disk-image --file-system-type=iso9660 \
  >   -s i686-linux \
  >   ~/.config/guix/current/share/guile/site/2.2/gnu/system/install.scm

and the activities to build the world start again. Extra verbose.
This time i abort after 30 minutes.

Everything i do ends up in enormous production of gcc-5.5.0 related
software.

-------------------------------------------------------------------------

So for xorriso and a 32-bit system:

  # apt-get install xorriso
  ...
  # xorriso -version
  xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.
  ...

I try what happens if i pack up the /gnu tree:

  # xorriso -as mkisofs -o /tmp/test.iso -J /gnu
  ...
  ISO image produced: 643046 sectors
  Written to medium : 643046 sectors at LBA 0
  Writing to 'stdio:/tmp/test.iso' completed successfully.

Inspection shows that the size ideas of xorriso match the image file size:

  # xorriso -indev /tmp/test.iso
  ... no warning about size mismatch ...
  Media summary: 1 session, 643046 data blocks, 1256m data, 3234m free

  # ls -l /tmp/test.iso
  -rw-r--r-- 1 root root 1316958208 Dec 15 19:17 /tmp/test.iso

  # expr 1316958208 / 2048
  643046

Now with GNU xorriso 1.5.0:

  $ wget https://www.gnu.org/software/xorriso/xorriso-1.5.0.tar.gz
  ...
  $ tar xzf xorriso-1.5.0.tar.gz
  $ cd xorriso-1.5.0
  $ ./configure && make
  ...
  $ xorriso/xorriso -version
  GNU xorriso 1.5.0 : RockRidge filesystem manipulator, libburnia project.
  ...

  # rm /tmp/test.iso
  # xorriso/xorriso -as mkisofs -o /tmp/test.iso -J /gnu
  GNU xorriso 1.5.0 : RockRidge filesystem manipulator, libburnia project.
  ...
  ISO image produced: 643046 sectors
  Written to medium : 643046 sectors at LBA 0
  ...

Inspection yields the same result. No truncation.

-------------------------------------------------------------------------

If i shall try again with "guix system disk-image", then i need more
guidance. E.g. about the required disk size and ways to curb the build
effort.


Have a nice day :)

Thomas

  parent reply	other threads:[~2018-12-15 18:41 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-06  0:02 bug#33639: ISO installer image is broken on i686 Ludovic Courtès
2018-12-06  7:19 ` Ludovic Courtès
2018-12-06 10:34   ` Ludovic Courtès
2018-12-06 14:08     ` Thomas Schmitt
2018-12-06 15:34       ` Ludovic Courtès
2018-12-06 16:59         ` Thomas Schmitt
2018-12-15 18:40         ` Thomas Schmitt [this message]
2018-12-15 19:24           ` Thomas Schmitt
2018-12-16 15:52           ` Ludovic Courtès
2018-12-16 16:52             ` Thomas Schmitt
2018-12-18 11:16               ` Ludovic Courtès
2018-12-18 21:45                 ` Thomas Schmitt
2018-12-19 14:05                   ` Ludovic Courtès
2018-12-19 14:51                     ` Thomas Schmitt
2018-12-20 13:38                       ` Thomas Schmitt
2018-12-21 20:44                         ` Ludovic Courtès
2018-12-21 21:42                           ` Thomas Schmitt
2019-04-07 20:18                             ` pelzflorian (Florian Pelz)
2019-04-07 21:35                               ` Thomas Schmitt
2019-04-08  8:50                                 ` Ludovic Courtès
2019-04-09 22:13                                   ` pelzflorian (Florian Pelz)
2019-04-10 11:17                                     ` Thomas Schmitt
2019-04-10 21:23                                       ` pelzflorian (Florian Pelz)
2019-04-12 21:26                                       ` Ludovic Courtès
2019-04-13  6:37                                         ` Thomas Schmitt
2019-04-13 13:46                                         ` pelzflorian (Florian Pelz)
2019-04-13 16:20                                           ` Thomas Schmitt
2019-04-14 21:43                                             ` Ludovic Courtès
2019-04-15  6:07                                               ` pelzflorian (Florian Pelz)
2019-04-15  8:16                                               ` Thomas Schmitt
2019-04-15  8:35                                                 ` Thomas Schmitt
2019-04-19 11:40                                             ` bug#35283: ISO images are not reproducible Ludovic Courtès
2019-04-19 12:46                                               ` Thomas Schmitt
2019-04-20 22:57                                                 ` Ludovic Courtès
2019-04-21  8:17                                                   ` Thomas Schmitt
2019-04-21 16:42                                                     ` Ludovic Courtès
2019-04-21 18:44                                                       ` Thomas Schmitt
2019-04-20 23:03                                                 ` bug#35283: [PATCH] mformat: initialize boot sector before writing it Ludovic Courtès
2019-04-21 16:32                                                 ` bug#35283: [PATCH] grub-mkrescue: Allow users to specify a FAT serial number Ludovic Courtès
2019-04-14 15:47                                           ` bug#33639: ISO installer image is broken on i686 Ludovic Courtès
2019-04-15 16:54                                           ` pelzflorian (Florian Pelz)
2019-04-15 17:55                                             ` Thomas Schmitt
2019-04-16  9:57                                               ` Gábor Boskovits
2019-04-16 21:01                                             ` Ludovic Courtès
2019-04-17  9:03                                               ` pelzflorian (Florian Pelz)
2018-12-06 16:28       ` Ludovic Courtès
2018-12-06 17:29         ` Thomas Schmitt
2018-12-07 22:51           ` Ludovic Courtès
2018-12-08 12:42             ` Thomas Schmitt
2018-12-06  9:35 ` swedebugia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23902682647998386729@scdbackup.webframe.org \
    --to=scdbackup@gmx.net \
    --cc=33639@debbugs.gnu.org \
    --cc=bug-xorriso@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).