You are not logged in.

#1 2011-07-11 04:43:52

lif3l355
Member
Registered: 2011-06-20
Posts: 7

Archiso archwiki issues

I've been trying to (so far has been so good) create a custom arch live cd that just zero's hard disks in computers (for a part time job I have refurbing computers).

Anyways, when I get to the ./build.sh portion of the article it wont build the iso because it can't find archiso.img, which cant be found using `find . | grep archiso.img`.

[root@127 /]# cp -r /usr/share/archiso/configs/baseline /tmp
[root@127 /]# cp -r /usr/share/archiso/configs/baseline /tmp
[root@127 /]# cd /tmp/baseline
[root@127 baseline]# ./build.sh

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   create
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:        Pacman config file:   /etc/pacman.conf
[mkarchiso] INFO:                  Packages:   base

[mkarchiso] INFO: These packages are already installed, skipping.

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   create
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:        Pacman config file:   /etc/pacman.conf
[mkarchiso] INFO:                  Packages:   syslinux

[mkarchiso] INFO: These packages are already installed, skipping.
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
FATAL: Hook 'archiso' can not be found.

I've done everything so far: copied over my script, edited rc.local and installed bc and eject.

Only issue I have is that the archiso can't be found. I'm lost, any fill me in?
I've tried it the manual way except I get the same error (because it obviously attempts to do the same thing)

James

Offline

#2 2011-07-11 04:47:13

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Archiso archwiki issues

Please start threads in appropriate forum.

Moving to Newbie Corner...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-07-11 05:17:06

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Archiso archwiki issues

FATAL: Hook 'archiso' can not be found.

Hi

You are using old archiso with new mkinitcpio, that all wink

[root@gerardo baseline]# time ./build.sh 

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   create
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:        Pacman config file:   /etc/pacman.conf
[mkarchiso] INFO:                  Packages:   base

[mkarchiso] INFO: Installing packages to 'work/root-image/'...
[mkarchiso] INFO: Packages installed successfully!

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   create
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:        Pacman config file:   /etc/pacman.conf
[mkarchiso] INFO:                  Packages:   syslinux

[mkarchiso] INFO: Installing packages to 'work/root-image/'...
[mkarchiso] INFO: Packages installed successfully!
==> Starting build: 2.6.39-ARCH
  -> Parsing hook: [base]
  -> Parsing hook: [udev]
  -> Parsing hook: [archiso]
  -> Parsing hook: [sata]
  -> Parsing hook: [filesystems]
==> Generating module dependencies
==> Creating xz initcpio image: work/iso/arch/boot/i686/archiso.img
18562 blocks
==> Image generation successful

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   prepare
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch

[mkarchiso] INFO: Cleaning up what we can on root-image
[mkarchiso] INFO: Target 'work/iso/arch/i686/root-image.fs.sfs' does not exist, making it from 'work/root-image'
[mkarchiso] INFO: Creating ext4 image of 851 MiB
[mkarchiso] INFO: Mounting 'work/root-image.fs' on 'work/mnt/root-image'
[mkarchiso] INFO: Total: 838 MiB (100%) | Used: 1 MiB (1%) | Avail: 837 MiB (99%)
[mkarchiso] INFO: Copying 'work/root-image/' to 'work/mnt/root-image/'
[mkarchiso] INFO: Total: 838 MiB (100%) | Used: 425 MiB (51%) | Avail: 413 MiB (49%)
[mkarchiso] INFO: Unmounting 'work/mnt/root-image'
[mkarchiso] INFO: Creating SquashFS image for 'work/root-image.fs', This may take some time...
[mkarchiso] INFO: Image creation done in 01:40 minutes

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   iso
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:                Image name:   archlinux-2011.07.11-i686.iso
[mkarchiso] INFO:                Disk label:   ARCH_201107
[mkarchiso] INFO:            Disk publisher:   Arch Linux <http://www.archlinux.org>
[mkarchiso] INFO:          Disk application:   Arch Linux Live/Rescue CD

[mkarchiso] INFO: Target 'archlinux-2011.07.11-i686.iso' does not exist, making it from 'work/iso'
[mkarchiso] INFO: Creating ISO image...
[mkarchiso] INFO: Done! | 146M archlinux-2011.07.11-i686.iso

real    2m41.708s
user    3m47.140s
sys     0m15.428s
[root@gerardo baseline]# 

Offline

#4 2011-07-12 03:36:20

lif3l355
Member
Registered: 2011-06-20
Posts: 7

Re: Archiso archwiki issues

I apologize, it seemed to me like it was something lacking in the wiki. Thank you for moving the post. djgera what version of mkinitcpio are you using? I have the most up to date version from the git repos which I guess is why archiso is broken (after pacman -Syu).

I'm going to start hunting for old versions of mkinitcpio and see if I can guess which version will work (I hate this tongue)

James

Offline

#5 2011-07-12 03:49:26

lif3l355
Member
Registered: 2011-06-20
Posts: 7

Re: Archiso archwiki issues

Okay so I downgraded to every package below in my cache,

[root@127 baseline]# ls /var/cache/pacman/pkg | grep mkinitcpio                 
mkinitcpio-0.6.11-1-any.pkg.tar.xz
mkinitcpio-0.6.12-1-any.pkg.tar.xz
mkinitcpio-0.6.15-1-any.pkg.tar.xz
mkinitcpio-0.6.8-2-any.pkg.tar.xz
mkinitcpio-0.7.2-1-any.pkg.tar.xz

Yet none of these packages fix this issue. I even tried to upgrade to 0.7.2-1 and it just gives me the same old error. (of course)
James

Offline

#6 2011-07-12 04:23:37

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Archiso archwiki issues

Hello.

mkinitcpio-0.7.2-1 and

http://projects.archlinux.org/archiso.g … ter.tar.gz

looking in the logs, you are running and older mkinitcpio, ensure all things up-to-date.

[root@gerardo ~]# mkarchroot /tmp/chroot base
:: Synchronizing package databases...
 core                                                                                               35.8K   10.8M/s 00:00:00 [###########################################################################] 100%
 extra                                                                                             467.9K   11.2M/s 00:00:00 [###########################################################################] 100%
 community                                                                                         450.3K   11.1M/s 00:00:00 [###########################################################################] 100%
:: There are 59 members in group base:
:: Repository core
   1) bash  2) binutils  3) bzip2  4) coreutils  5) cronie  6) cryptsetup  7) dash  8) device-mapper  9) dhcpcd  10) diffutils  11) e2fsprogs  12) file  13) filesystem  14) findutils  15) gawk  16) gcc-libs
   17) gettext  18) glibc  19) grep  20) grub  21) gzip  22) heirloom-mailx  23) initscripts  24) iputils  25) jfsutils  26) kernel26  27) less  28) libpipeline  29) licenses  30) logrotate  31) lvm2
   32) man-db  33) man-pages  34) mdadm  35) nano  36) pacman  37) pciutils  38) pcmciautils  39) perl  40) ppp  41) procps  42) psmisc  43) reiserfsprogs  44) sed  45) shadow  46) sysfsutils  47) syslog-ng
   48) sysvinit  49) tar  50) tcp_wrappers  51) texinfo  52) udev  53) usbutils  54) util-linux  55) vi  56) wget  57) which  58) wpa_supplicant  59) xfsprogs

Enter a selection (default=all): 
resolving dependencies...
looking for inter-conflicts...

Targets (98): linux-api-headers-2.6.39.1-1  tzdata-2011h-1  glibc-2.14-4  ncurses-5.9-1  readline-6.2.001-2  bash-4.2.010-1  zlib-1.2.5-3  binutils-2.21.1-1  bzip2-1.0.6-1  gcc-libs-4.6.1-2  db-5.2.28-1
              cracklib-2.8.18-1  pam-1.1.3-2  attr-2.4.46-1  acl-2.2.51-1  shadow-4.1.4.3-2  gmp-5.0.2-1  libcap-2.21-1  coreutils-8.12-3  run-parts-3.4.4-1  cronie-1.4.8-1  iana-etc-2.30-2
              filesystem-2011.04-1  util-linux-2.19.1-2  libusb-1.0.8-1  libusb-compat-0.1.3-1  pcre-8.12-1  glib2-2.28.8-1  module-init-tools-3.16-1  pciutils-3.1.7-4  udev-171-2  device-mapper-2.02.85-3
              libgpg-error-1.9-3  libgcrypt-1.4.6-3  popt-1.16-3  cryptsetup-1.3.1-2  dash-0.5.6.1-2  dhcpcd-5.2.12-1  diffutils-3.0-2  e2fsprogs-1.41.14-1  file-5.07-3  findutils-4.4.2-3  gawk-4.0.0-1
              gettext-0.18.1.1-3  grep-2.9-1  sed-4.2.1-3  grub-0.97-17  gzip-1.4-2  gdbm-1.8.3-8  perl-5.14.1-3  openssl-1.0.0.d-1  heirloom-mailx-12.5-1  iproute2-2.6.38-4  kbd-1.15.3-1  sysvinit-2.88-2
              initscripts-2011.06.4-1  sysfsutils-2.1.0-6  iputils-20101006-1  jfsutils-1.1.15-2  linux-firmware-20110512-2  mkinitcpio-busybox-1.18.4-1  xz-5.0.3-1  expat-2.0.1-6  libarchive-2.8.4-2
              which-2.20-4  mkinitcpio-0.7.2-1  kernel26-2.6.39.3-1  less-444-1  libpipeline-1.2.0-1  licenses-2.8-1  logrotate-3.8.0-1  lvm2-2.02.85-3  texinfo-4.13a-5  groff-1.21-1  man-db-2.6.0.2-2
              man-pages-3.32-1  mdadm-3.2.2-2  nano-2.2.6-1  libfetch-2.33-3  pacman-mirrorlist-20110703-1  pacman-3.5.3-1  pcmciautils-017-2  libnl-1.1-2  libpcap-1.1.1-2  ppp-2.4.5-2  procps-3.2.8-3
              psmisc-22.14-1  reiserfsprogs-3.6.21-3  eventlog-0.2.12-2  tcp_wrappers-7.6-12  syslog-ng-3.2.4-2  tar-1.26-1  usbutils-002-3  vi-1:050325-1  wget-1.12-7  dbus-core-1.4.12-1
              wpa_supplicant-0.7.3-3  xfsprogs-3.1.5-1

Total Download Size:    0.00 MB
Total Installed Size:   379.32 MB

Proceed with installation? [Y/n] 
(98/98) checking package integrity                                                                                           [###########################################################################] 100%
(98/98) checking for file conflicts                                                                                          [###########################################################################] 100%
( 1/98) installing linux-api-headers                                                                                         [###########################################################################] 100%
( 2/98) installing tzdata                                                                                                    [###########################################################################] 100%
Optional dependencies for tzdata
    bash: required by tzselect
( 3/98) installing glibc                                                                                                     [###########################################################################] 100%
( 4/98) installing ncurses                                                                                                   [###########################################################################] 100%
( 5/98) installing readline                                                                                                  [###########################################################################] 100%
( 6/98) installing bash                                                                                                      [###########################################################################] 100%
( 7/98) installing zlib                                                                                                      [###########################################################################] 100%
( 8/98) installing binutils                                                                                                  [###########################################################################] 100%
( 9/98) installing bzip2                                                                                                     [###########################################################################] 100%
(10/98) installing gcc-libs                                                                                                  [###########################################################################] 100%
(11/98) installing db                                                                                                        [###########################################################################] 100%
(12/98) installing cracklib                                                                                                  [###########################################################################] 100%
(13/98) installing pam                                                                                                       [###########################################################################] 100%
(14/98) installing attr                                                                                                      [###########################################################################] 100%
(15/98) installing acl                                                                                                       [###########################################################################] 100%
(16/98) installing shadow                                                                                                    [###########################################################################] 100%
(17/98) installing gmp                                                                                                       [###########################################################################] 100%
(18/98) installing libcap                                                                                                    [###########################################################################] 100%
(19/98) installing coreutils                                                                                                 [###########################################################################] 100%
(20/98) installing run-parts                                                                                                 [###########################################################################] 100%
(21/98) installing cronie                                                                                                    [###########################################################################] 100%
Optional dependencies for cronie
    smtp-server: sending cron job output via email
(22/98) installing iana-etc                                                                                                  [###########################################################################] 100%
(23/98) installing filesystem                                                                                                [###########################################################################] 100%
(24/98) installing util-linux                                                                                                [###########################################################################] 100%
Optional dependencies for util-linux
    perl: for chkdupexe support
(25/98) installing libusb                                                                                                    [###########################################################################] 100%
(26/98) installing libusb-compat                                                                                             [###########################################################################] 100%
(27/98) installing pcre                                                                                                      [###########################################################################] 100%
(28/98) installing glib2                                                                                                     [###########################################################################] 100%
(29/98) installing module-init-tools                                                                                         [###########################################################################] 100%
(30/98) installing pciutils                                                                                                  [###########################################################################] 100%
Optional dependencies for pciutils
    sh: required by update-pciids
(31/98) installing udev                                                                                                      [###########################################################################] 100%
(32/98) installing device-mapper                                                                                             [###########################################################################] 100%
(33/98) installing libgpg-error                                                                                              [###########################################################################] 100%
(34/98) installing libgcrypt                                                                                                 [###########################################################################] 100%
(35/98) installing popt                                                                                                      [###########################################################################] 100%
(36/98) installing cryptsetup                                                                                                [###########################################################################] 100%
(37/98) installing dash                                                                                                      [###########################################################################] 100%
(38/98) installing dhcpcd                                                                                                    [###########################################################################] 100%
(39/98) installing diffutils                                                                                                 [###########################################################################] 100%
(40/98) installing e2fsprogs                                                                                                 [###########################################################################] 100%
(41/98) installing file                                                                                                      [###########################################################################] 100%
(42/98) installing findutils                                                                                                 [###########################################################################] 100%
(43/98) installing gawk                                                                                                      [###########################################################################] 100%
(44/98) installing gettext                                                                                                   [###########################################################################] 100%
Optional dependencies for gettext
    cvs: for autopoint tool
(45/98) installing grep                                                                                                      [###########################################################################] 100%
(46/98) installing sed                                                                                                       [###########################################################################] 100%
(47/98) installing grub                                                                                                      [###########################################################################] 100%
(48/98) installing gzip                                                                                                      [###########################################################################] 100%
(49/98) installing gdbm                                                                                                      [###########################################################################] 100%
(50/98) installing perl                                                                                                      [###########################################################################] 100%
(51/98) installing openssl                                                                                                   [###########################################################################] 100%
Optional dependencies for openssl
    ca-certificates
(52/98) installing heirloom-mailx                                                                                            [###########################################################################] 100%
Optional dependencies for heirloom-mailx
    smtp-forwarder: for sending mail
(53/98) installing iproute2                                                                                                  [###########################################################################] 100%
Optional dependencies for iproute2
    linux-atm: ATM support
(54/98) installing kbd                                                                                                       [###########################################################################] 100%
(55/98) installing sysvinit                                                                                                  [###########################################################################] 100%
(56/98) installing initscripts                                                                                               [###########################################################################] 100%
Optional dependencies for initscripts
    bridge-utils: Network bridging support
    dhcpcd: DHCP network configuration
    net-tools: legacy network support
    wireless_tools: Wireless networking
(57/98) installing sysfsutils                                                                                                [###########################################################################] 100%
(58/98) installing iputils                                                                                                   [###########################################################################] 100%
(59/98) installing jfsutils                                                                                                  [###########################################################################] 100%
(60/98) installing linux-firmware                                                                                            [###########################################################################] 100%
(61/98) installing mkinitcpio-busybox                                                                                        [###########################################################################] 100%
(62/98) installing xz                                                                                                        [###########################################################################] 100%
(63/98) installing expat                                                                                                     [###########################################################################] 100%
(64/98) installing libarchive                                                                                                [###########################################################################] 100%
(65/98) installing which                                                                                                     [###########################################################################] 100%
(66/98) installing mkinitcpio                                                                                                [###########################################################################] 100%
Optional dependencies for mkinitcpio
    xz: Use lzma or xz compression for the initramfs image
    bzip2: Use bzip2 compression for the initramfs image
    lzop: Use lzo compression for the initramfs image
    mkinitcpio-nfs-utils: Support for root filesystem on NFS
(67/98) installing kernel26                                                                                                  [###########################################################################] 100%
>>> Updating module dependencies. Please wait ...
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image from preset: 'default'
  -> -k 2.6.39-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
==> Starting build: 2.6.39-ARCH
  -> Parsing hook: [base]
  -> Parsing hook: [udev]
  -> Parsing hook: [autodetect]
==> ERROR: failed to detect root filesystem
  -> Parsing hook: [pata]
  -> Parsing hook: [scsi]
  -> Parsing hook: [sata]
  -> Parsing hook: [filesystems]
  -> Parsing hook: [usbinput]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/kernel26.img
14120 blocks
==> Image generation successful
==> Building image from preset: 'fallback'
  -> -k 2.6.39-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
==> Starting build: 2.6.39-ARCH
  -> Parsing hook: [base]
  -> Parsing hook: [udev]
  -> Parsing hook: [pata]
  -> Parsing hook: [scsi]
  -> Parsing hook: [sata]
  -> Parsing hook: [filesystems]
  -> Parsing hook: [usbinput]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/kernel26-fallback.img
23164 blocks
==> Image generation successful
Optional dependencies for kernel26
    crda: to set the correct wireless channels of your country
(68/98) installing less                                                                                                      [###########################################################################] 100%
(69/98) installing libpipeline                                                                                               [###########################################################################] 100%
(70/98) installing licenses                                                                                                  [###########################################################################] 100%
(71/98) installing logrotate                                                                                                 [###########################################################################] 100%
(72/98) installing lvm2                                                                                                      [###########################################################################] 100%
(73/98) installing texinfo                                                                                                   [###########################################################################] 100%
(74/98) installing groff                                                                                                     [###########################################################################] 100%
Optional dependencies for groff
    netpbm: for use together with man -H command interaction in browsers
    psutils: for use together with man -H command interaction in browsers
(75/98) installing man-db                                                                                                    [###########################################################################] 100%
it's recommended to create an initial
database running as root:
"/usr/bin/mandb --quiet"
Optional dependencies for man-db
    less
    gzip
(76/98) installing man-pages                                                                                                 [###########################################################################] 100%
(77/98) installing mdadm                                                                                                     [###########################################################################] 100%
(78/98) installing nano                                                                                                      [###########################################################################] 100%
(79/98) installing libfetch                                                                                                  [###########################################################################] 100%
(80/98) installing pacman-mirrorlist                                                                                         [###########################################################################] 100%
(81/98) installing pacman                                                                                                    [###########################################################################] 100%
Optional dependencies for pacman
    fakeroot: for makepkg usage as normal user
    curl: for rankmirrors usage
(82/98) installing pcmciautils                                                                                               [###########################################################################] 100%
(83/98) installing libnl                                                                                                     [###########################################################################] 100%
(84/98) installing libpcap                                                                                                   [###########################################################################] 100%
(85/98) installing ppp                                                                                                       [###########################################################################] 100%
(86/98) installing procps                                                                                                    [###########################################################################] 100%
(87/98) installing psmisc                                                                                                    [###########################################################################] 100%
(88/98) installing reiserfsprogs                                                                                             [###########################################################################] 100%
(89/98) installing eventlog                                                                                                  [###########################################################################] 100%
(90/98) installing tcp_wrappers                                                                                              [###########################################################################] 100%
(91/98) installing syslog-ng                                                                                                 [###########################################################################] 100%
Optional dependencies for syslog-ng
    logrotate: for rotating log files
(92/98) installing tar                                                                                                       [###########################################################################] 100%
(93/98) installing usbutils                                                                                                  [###########################################################################] 100%
Optional dependencies for usbutils
    python2: for lsusb.py usage
    coreutils: for lsusb.py usage
(94/98) installing vi                                                                                                        [###########################################################################] 100%
Optional dependencies for vi
    mailx: used by the preserve command for notification
(95/98) installing wget                                                                                                      [###########################################################################] 100%
Optional dependencies for wget
    ca-certificates: HTTPS downloads
(96/98) installing dbus-core                                                                                                 [###########################################################################] 100%
(97/98) installing wpa_supplicant                                                                                            [###########################################################################] 100%
Optional dependencies for wpa_supplicant
    wpa_supplicant_gui: wpa_gui program
(98/98) installing xfsprogs                                                                                                  [###########################################################################] 100%
Generating locales...
  en_US.UTF-8... done
  de_DE.UTF-8... done
Generation complete.
[root@gerardo ~]# git clone git://projects.archlinux.org/archiso.git
Cloning into archiso...
remote: Counting objects: 2860, done.
remote: Compressing objects: 100% (1189/1189), done.
remote: Total 2860 (delta 1488), reused 2860 (delta 1488)
Receiving objects: 100% (2860/2860), 1.27 MiB | 157 KiB/s, done.
Resolving deltas: 100% (1488/1488), done.
[root@gerardo ~]# make -C archiso/archiso DESTDIR=/tmp/chroot install
make: Entering directory `/root/archiso/archiso'
# install to sbin since script only usable by root
install -D -m 755 mkarchiso /tmp/chroot/usr/sbin/mkarchiso
# testiso can be used by anyone
install -D -m 755 testiso /tmp/chroot/usr/bin/testiso
# hooks/install are needed by mkinitcpio
install -D -m 644 hooks/archiso /tmp/chroot/lib/initcpio/hooks/archiso
install -D -m 644 install/archiso /tmp/chroot/lib/initcpio/install/archiso
install -D -m 644 hooks/archiso_pxe_nbd /tmp/chroot/lib/initcpio/hooks/archiso_pxe_nbd
install -D -m 644 install/archiso_pxe_nbd /tmp/chroot/lib/initcpio/install/archiso_pxe_nbd
install -D -m 644 hooks/archiso_loop_mnt /tmp/chroot/lib/initcpio/hooks/archiso_loop_mnt
install -D -m 644 install/archiso_loop_mnt /tmp/chroot/lib/initcpio/install/archiso_loop_mnt
# install examples
install -d -m 755 /tmp/chroot/usr/share/archiso/
cp -r ../configs /tmp/chroot/usr/share/archiso/configs
install -d -m 755 /tmp/chroot/usr/share/archiso/
install -D -m 644 ../README /tmp/chroot/usr/share/doc/archiso/README
make: Leaving directory `/root/archiso/archiso'
[root@gerardo ~]# mkarchroot -r bash /tmp/chroot
[root@gerardo /]# mknod /dev/loop0 b 7 0
[root@gerardo /]# pacman -S devtools squashfs-tools syslinux cdrkit
resolving dependencies...
looking for inter-conflicts...

Targets (30): libffi-3.0.9-1  python-3.2-2  pyalpm-0.4.3-1  namcap-3.1-1  libsasl-2.1.23-6  libldap-2.4.24-1  keyutils-1.4-1  krb5-1.9.1-2  libedit-20110227_3.0-1  openssh-5.8p2-8
              ca-certificates-20110421-3  neon-0.29.6-2  apr-1.4.5-1  mpfr-3.0.1.p4-1  libmpc-0.9-1  isl-0.06-1  cloog-0.16.2-1  ppl-0.11.2-1  gcc-4.6.1-2  libtool-2.4-4  unixodbc-2.3.0-1  apr-util-1.3.12-2
              sqlite3-3.7.7.1-1  subversion-1.6.17-6  rsync-3.0.8-2  devtools-0.9.23-1  lzo2-2.05-1  squashfs-tools-4.2-1  syslinux-4.04-1  cdrkit-1.1.11-1

Total Download Size:    16.51 MB
Total Installed Size:   203.33 MB

Proceed with installation? [Y/n] 
:: Retrieving packages from core...
 gcc-4.6.1-2-i686                                                                                   16.0M   11.1M/s 00:00:01 [###########################################################################] 100%
:: Retrieving packages from extra...
 cdrkit-1.1.11-1-i686                                                                              537.8K    8.4M/s 00:00:00 [###########################################################################] 100%
(30/30) checking package integrity                                                                                           [###########################################################################] 100%
(30/30) checking for file conflicts                                                                                          [###########################################################################] 100%
( 1/30) installing libffi                                                                                                    [###########################################################################] 100%
( 2/30) installing python                                                                                                    [###########################################################################] 100%
Optional dependencies for python
    tk: for tkinter
( 3/30) installing pyalpm                                                                                                    [###########################################################################] 100%
( 4/30) installing namcap                                                                                                    [###########################################################################] 100%
( 5/30) installing libsasl                                                                                                   [###########################################################################] 100%
Optional dependencies for libsasl
    cyrus-sasl: saslauthd
    cyrus-sasl-plugins: authentication plugins other than sasldb
( 6/30) installing libldap                                                                                                   [###########################################################################] 100%
( 7/30) installing keyutils                                                                                                  [###########################################################################] 100%
( 8/30) installing krb5                                                                                                      [###########################################################################] 100%
( 9/30) installing libedit                                                                                                   [###########################################################################] 100%
(10/30) installing openssh                                                                                                   [###########################################################################] 100%
(11/30) installing ca-certificates                                                                                           [###########################################################################] 100%
(12/30) installing neon                                                                                                      [###########################################################################] 100%
(13/30) installing apr                                                                                                       [###########################################################################] 100%
(14/30) installing mpfr                                                                                                      [###########################################################################] 100%
(15/30) installing libmpc                                                                                                    [###########################################################################] 100%
(16/30) installing isl                                                                                                       [###########################################################################] 100%
(17/30) installing cloog                                                                                                     [###########################################################################] 100%
(18/30) installing ppl                                                                                                       [###########################################################################] 100%
(19/30) installing gcc                                                                                                       [###########################################################################] 100%
(20/30) installing libtool                                                                                                   [###########################################################################] 100%
(21/30) installing unixodbc                                                                                                  [###########################################################################] 100%
(22/30) installing apr-util                                                                                                  [###########################################################################] 100%
(23/30) installing sqlite3                                                                                                   [###########################################################################] 100%
(24/30) installing subversion                                                                                                [###########################################################################] 100%
Optional dependencies for subversion
    libgnome-keyring
    kdeutils-kwallet
    bash-completion: for svn bash completion
(25/30) installing rsync                                                                                                     [###########################################################################] 100%
(26/30) installing devtools                                                                                                  [###########################################################################] 100%
(27/30) installing lzo2                                                                                                      [###########################################################################] 100%
(28/30) installing squashfs-tools                                                                                            [###########################################################################] 100%
(29/30) installing syslinux                                                                                                  [###########################################################################] 100%
==> If you want to use syslinux as your bootloader
==> edit /boot/syslinux/syslinux.cfg and run
==>   # /usr/sbin/syslinux-install_update -i -a -m
==> to install it.
Optional dependencies for syslinux
    perl-passwd-md5: For md5pass
    perl-digest-sha1: For sha1pass
    mtools: For mkdiskimage and syslinux
(30/30) installing cdrkit                                                                                                    [###########################################################################] 100%
[root@gerardo /]# cp -r /usr/share/archiso/configs/baseline /tmp
[root@gerardo /]# cd /tmp/baseline
[root@gerardo baseline]# ./build.sh 

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   create
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:        Pacman config file:   /etc/pacman.conf
[mkarchiso] INFO:                  Packages:   base

[mkarchiso] INFO: Installing packages to 'work/root-image/'...
[mkarchiso] INFO: Packages installed successfully!

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   create
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:        Pacman config file:   /etc/pacman.conf
[mkarchiso] INFO:                  Packages:   syslinux

[mkarchiso] INFO: Installing packages to 'work/root-image/'...
[mkarchiso] INFO: Packages installed successfully!
==> Starting build: 2.6.39-ARCH
  -> Parsing hook: [base]
  -> Parsing hook: [udev]
  -> Parsing hook: [archiso]
  -> Parsing hook: [sata]
  -> Parsing hook: [filesystems]
==> Generating module dependencies
==> Creating xz initcpio image: work/iso/arch/boot/i686/archiso.img
18562 blocks
==> Image generation successful

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   prepare
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch

[mkarchiso] INFO: Cleaning up what we can on root-image
[mkarchiso] INFO: Target 'work/iso/arch/i686/root-image.fs.sfs' does not exist, making it from 'work/root-image'
[mkarchiso] INFO: Creating ext4 image of 851 MiB
[mkarchiso] INFO: Mounting 'work/root-image.fs' on 'work/mnt/root-image'
[mkarchiso] INFO: Total: 838 MiB (100%) | Used: 1 MiB (1%) | Avail: 837 MiB (99%)
[mkarchiso] INFO: Copying 'work/root-image/' to 'work/mnt/root-image/'
[mkarchiso] INFO: Total: 838 MiB (100%) | Used: 426 MiB (51%) | Avail: 413 MiB (49%)
[mkarchiso] INFO: Unmounting 'work/mnt/root-image'
[mkarchiso] INFO: Creating SquashFS image for 'work/root-image.fs', This may take some time...
[mkarchiso] INFO: Image creation done in 01:30 minutes

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   iso
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:                Image name:   archlinux-2011.07.12-i686.iso
[mkarchiso] INFO:                Disk label:   ARCH_201107
[mkarchiso] INFO:            Disk publisher:   Arch Linux <http://www.archlinux.org>
[mkarchiso] INFO:          Disk application:   Arch Linux Live/Rescue CD

[mkarchiso] INFO: Target 'archlinux-2011.07.12-i686.iso' does not exist, making it from 'work/iso'
[mkarchiso] INFO: Creating ISO image...
[mkarchiso] INFO: Done! | 146M archlinux-2011.07.12-i686.iso
[root@gerardo baseline]# 

Last edited by djgera (2011-07-12 04:40:26)

Offline

#7 2011-07-13 05:14:37

lif3l355
Member
Registered: 2011-06-20
Posts: 7

Re: Archiso archwiki issues

It was upgraded before I even tried so I tried downgrading because you said I was using new mkinitcpio.

I tried downloading what you got me to download. I don't understand why the wiki or source wasn't officially updated on the wiki then.

I'll try to mess around with that gz that you got me to download. It doesn't seem to be too familiar, but I'll look into it when I have some more free time after work.

Any pointers or suggestions? I'm kinda frustrated right about now. been working on trying to get a functional custom live cd for like 2 weeks now.

Thanks djgera

Offline

#8 2011-07-13 14:51:16

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Archiso archwiki issues

Just take a minute, and start again. Are you using a chroot?

downloading snapshot or using git-clone is the same, just another option.

In resume (copy & paste in a terminal, just works)

mkarchroot /tmp/chroot base
git clone git://projects.archlinux.org/archiso.git
make -C archiso/archiso DESTDIR=/tmp/chroot install
mkarchroot -r bash /tmp/chroot
mknod /dev/loop0 b 7 0
pacman -S devtools squashfs-tools syslinux cdrkit --noconfirm
cp -r /usr/share/archiso/configs/baseline /tmp
cd /tmp/baseline
./build.sh

Offline

#9 2011-09-03 01:52:47

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Archiso archwiki issues

I want to make archlive gnome3; archiso based on archwiki is always making "base" 145mb iso; which boots properly; but trying these doesn't help to install

mkarchroot /tmp/chroot base gnome xorg xorg-xinit xterm

or
after mkarchroot -r bash /tmp/chroot

 pacman -Sy gnome xorg xorg-xinit xterm 

either way, I'm only getting 145mb base rescue iso which boots fine with qemu, but there is no /usr/bin/gnome-session!

Please help. I want to have archgnome3_live along with installtion option. is it possible? Thanks.

Offline

#10 2011-09-03 02:10:30

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Archiso archwiki issues

What are you doing is installing gnome/xorg in your build chroot, not in root-image.

Edit build.sh from baseline profile, add what your want.

Example:

--- /usr/share/archiso/configs/baseline/build.sh        2011-09-02 18:54:13.939993000 -0300
+++ build.sh    2011-09-02 23:08:27.611993002 -0300
@@ -19,6 +19,11 @@
     mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "syslinux" create
 }
 
+# Additional packages (root-image)
+make_packages() {
+    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "gnome xorg xorg-xinit xterm" create
+}
+
 # Copy mkinitcpio archiso hooks (root-image)
 make_setup_mkinitcpio() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
@@ -91,6 +96,7 @@
 fi
 
 make_basefs
+make_packages
 make_setup_mkinitcpio
 make_boot
 make_syslinux

Last edited by djgera (2011-09-03 02:12:34)

Offline

#11 2011-09-03 04:27:00

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Archiso archwiki issues

djgera wrote:

What are you doing is installing gnome/xorg in your build chroot, not in root-image.

Edit build.sh from baseline profile, add what your want.

Thank you so much, now gnome3 crashes in qemu as expected smile due to lack of 3d. Archlinux and gnome3 is a very good combination.

djgera,

Please, to complete the archlive gnome3 cd, help me with:

1. rc.conf  (I want to enable dbus, networkmanager, bluetooth in the livecd)
2. inittab (I want to enable x:gdm instead of xdm)
3. add user with permissions (user "arch", named "Arch Linux User"; password "arch") (need to edit group and passwd files)

I don't know how to edit the live-system's configuration files, should I edit files directly in chroot folder or need to edit the script files inside baseline folder before running ./build.sh?

EDIT: I've just looked into /usr/share/archiso/configs/releng/build.sh and found some hints...

# Customize installation (root-image)
make_customize_root_image() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
        cp -af ${script_path}/root-image ${work_dir}
        chmod 750 ${work_dir}/root-image/etc/sudoers.d
        chmod 440 ${work_dir}/root-image/etc/sudoers.d/g_wheel
        mkdir -p ${work_dir}/root-image/etc/pacman.d
        wget -O ${work_dir}/root-image/etc/pacman.d/mirrorlist http://www.archlinux.org/mirrorlist/all/
        sed -i "s/#Server/Server/g" ${work_dir}/root-image/etc/pacman.d/mirrorlist
        sed -i "s/#x\:5\:respawn\:\/usr\/sbin\/gdm/x\:5\:respawn\:\/usr\/sbin\/gdm/g" ${work_dir}/root-image/etc/inittab
        sed -i "s/x\:5\:respawn\:\/usr\/sbin\/xdm/#x\:5\:respawn\:\/usr\/sbin\/xdm/g" ${work_dir}/root-image/etc/inittab
        sed -i "s/DAEMONS=/DAEMONS=\(syslog-ng network netfs crond dbus networkmanager bluetooth \)\n#DEMONS/g" ${work_dir}/root-image/etc/rc.conf
	chroot ${work_dir}/root-image /usr/sbin/locale-gen
        chroot ${work_dir}/root-image /usr/sbin/useradd -m -p "" -g users -G "audio,disk,optical,wheel" arch
        : > ${work_dir}/build.${FUNCNAME}
    fi
}

and the whole build.sh (which i have to copy paste in terminal) after chrooting, can we copy build.sh from $HOME/build.sh to chroot?


Thanks a lot for helping.

Last edited by fast_rizwaan (2011-09-03 05:30:56)

Offline

#12 2011-09-03 05:29:46

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Archiso archwiki issues

You are welcome.
You can see configs/releng profile for more advanced things like this. Anyway, all you need to do is make a directory inside your custom profile, for example "root-image", put all files you want inside it (your custom rc.conf inittab, and others. root-image/etc/rc.conf , root-image/etc/inittab, ...). These files will be copied with this change:

--- build-v2.sh 2011-09-03 02:27:27.027818994 -0300
+++ build.sh    2011-09-03 02:26:14.295819003 -0300
@@ -24,6 +24,16 @@
     mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "gnome xorg xorg-xinit xterm" create
 }
 
+# Customize installation (root-image)
+make_customize_root_image() {
+    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
+        cp -af ${script_path}/root-image ${work_dir}
+        chroot ${work_dir}/root-image /usr/sbin/useradd -m -p "" -g users -G "audio,optical,storage,uucp,wheel" pepito
+        chroot ${work_dir}/root-image /bin/bash -c "echo "pepito:pepitopass" | chpasswd"
+        : > ${work_dir}/build.${FUNCNAME}
+    fi
+}
+
 # Copy mkinitcpio archiso hooks (root-image)
 make_setup_mkinitcpio() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
@@ -97,6 +107,7 @@
 
 make_basefs
 make_packages
+make_customize_root_image
 make_setup_mkinitcpio
 make_boot
 make_syslinux

now understand the logic? wink

Last edited by djgera (2011-09-03 06:06:39)

Offline

#13 2011-09-03 06:51:21

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Archiso archwiki issues

hi djgera, i'm getting this error:

[root@arch32 baseline]# ./build.sh 

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   create
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:        Pacman config file:   /etc/pacman.conf
[mkarchiso] INFO:                  Packages:   base

[mkarchiso] INFO: Installing packages to 'work/root-image/'...
[mkarchiso] INFO: Packages installed successfully!

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   create
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:        Pacman config file:   /etc/pacman.conf
[mkarchiso] INFO:                  Packages:   syslinux

[mkarchiso] INFO: Installing packages to 'work/root-image/'...
[mkarchiso] INFO: Packages installed successfully!

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   create
[mkarchiso] INFO:              Architecture:   i686
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:        Pacman config file:   /etc/pacman.conf
[mkarchiso] INFO:                  Packages:   gnome xorg xorg-xinit xterm

[mkarchiso] INFO: Installing packages to 'work/root-image/'...
[mkarchiso] INFO: Packages installed successfully!
cp: cannot stat `/tmp/baseline/root-image': No such file or directory

and the build2.sh is this (please correct my mistakes, Instead of patching I manually entered the +)

#!/bin/bash

set -e -u

iso_name=archlinux
iso_label="ARCH_$(date +%Y%m)"
iso_version=$(date +%Y.%m.%d)
install_dir=arch
arch=$(uname -m)
work_dir=work
out_dir=out
verbose="n"

script_path=$(readlink -f ${0%/*})

# Base installation (root-image)
make_basefs() {
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "base" create
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "syslinux" create
}

# Additional packages (root-image)
make_packages() {
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "gnome xorg xorg-xinit xterm" create
}

# Customize installation (root-image)
make_customize_root_image() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
        cp -af ${script_path}/root-image ${work_dir}
        chroot ${work_dir}/root-image /usr/sbin/useradd -m -p "" -g users -G "audio,optical,storage,uucp,wheel" pepito
        chroot ${work_dir}/root-image /bin/bash -c "echo "pepito:pepitopass" | chpasswd"
        : > ${work_dir}/build.${FUNCNAME}
    fi
}

# Copy mkinitcpio archiso hooks (root-image)
make_setup_mkinitcpio() {
   if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
        cp /lib/initcpio/hooks/archiso ${work_dir}/root-image/lib/initcpio/hooks
        cp /lib/initcpio/install/archiso ${work_dir}/root-image/lib/initcpio/install
        : > ${work_dir}/build.${FUNCNAME}
   fi
}

# Prepare ${install_dir}/boot/
make_boot() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
        mkdir -p ${work_dir}/iso/${install_dir}/boot/${arch}
        mkinitcpio \
            -c ${script_path}/mkinitcpio.conf \
            -b ${work_dir}/root-image \
            -k /boot/vmlinuz-linux \
            -g ${work_dir}/iso/${install_dir}/boot/${arch}/archiso.img
        cp ${work_dir}/root-image/boot/vmlinuz-linux ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz
        : > ${work_dir}/build.${FUNCNAME}
    fi
}

# Prepare /${install_dir}/boot/syslinux
make_syslinux() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
        mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux
        sed "s|%ARCHISO_LABEL%|${iso_label}|g;
            s|%INSTALL_DIR%|${install_dir}|g;
            s|%ARCH%|${arch}|g" ${script_path}/syslinux/syslinux.cfg > ${work_dir}/iso/${install_dir}/boot/syslinux/syslinux.cfg
        cp ${work_dir}/root-image/usr/lib/syslinux/menu.c32 ${work_dir}/iso/${install_dir}/boot/syslinux/
        : > ${work_dir}/build.${FUNCNAME}
    fi
}

# Prepare /isolinux
make_isolinux() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
        mkdir -p ${work_dir}/iso/isolinux
        sed "s|%INSTALL_DIR%|${install_dir}|g" ${script_path}/isolinux/isolinux.cfg > ${work_dir}/iso/isolinux/isolinux.cfg
        cp ${work_dir}/root-image/usr/lib/syslinux/isolinux.bin ${work_dir}/iso/isolinux/
        cp ${work_dir}/root-image/usr/lib/syslinux/isohdpfx.bin ${work_dir}/iso/isolinux/
        : > ${work_dir}/build.${FUNCNAME}
    fi
}

# Process aitab
make_aitab() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
        sed "s|%ARCH%|${arch}|g" ${script_path}/aitab > ${work_dir}/iso/${install_dir}/aitab
        : > ${work_dir}/build.${FUNCNAME}
    fi
}

# Build all filesystem images specified in aitab (.fs .fs.sfs .sfs)
make_prepare() {
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare
}

# Build ISO
make_iso() {
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" checksum
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-${arch}.iso"
}

if [[ $verbose == "y" ]]; then
    verbose="-v"
else
    verbose=""
fi

make_basefs
make_packages
make_customize_root_image
make_setup_mkinitcpio
make_boot
make_syslinux
make_isolinux
make_aitab
make_prepare
make_iso

thanks.

Offline

#14 2011-09-03 07:34:00

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Archiso archwiki issues

fast_rizwaan wrote:

hi djgera, i'm getting this error:

cp: cannot stat `/tmp/baseline/root-image': No such file or directory

do you read this?

djgera wrote:

...all you need to do is make a directory inside your custom profile, for example "root-image", put all files you want inside it (your custom rc.conf inittab, and others. root-image/etc/rc.conf , root-image/etc/inittab, ...). These files will be copied with this change:

Offline

#15 2011-09-03 08:32:03

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Archiso archwiki issues

Yes, I did read it, and misunderstood that "root-image" means "/tmp/baseline/work" folder (as in root of the iso image);

On looking the second time, I got it, I needed to create a directory named "root-image" in /tmp/baseline/ in which I have to create the file-system structure/layout, and put files/folder as I want to be overwritten in the livecd iso.

e.g., I created /tmp/baseline/root-image/etc and copied my custom inittab, and on running build2.sh, it worked like a charm smile

thank you, i'll be soon sharing archgnome iso in a day or two, if I get it right. (need to add proper dependencies, drivers etc. to iso)

Thank you again for the guidance and your precious time.

Offline

#16 2011-09-03 22:31:57

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Archiso archwiki issues

hurray, gnome3 live dvd boots fine. and one can see and use archlinux with gnome3 live!

Unfortunately the live usb created by 

 dd if=myiso.iso of=/dev/sdb 

  is not booting, it is stopping at arch label something.

Installing iso to usb disk using unetbootin also do not boot live-gnome3 image sad

Please guide me for live-usb creation of the custom iso live image. instructions at https://wiki.archlinux.org/index.php/US … NU.2FLinux not working (I did not try the manual one). I'll do if you suggest.

Please!

Offline

#17 2011-09-03 23:00:40

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Archiso archwiki issues

All you need to know is archisolabel=XXXX must match filesystem label where "arch" is found.

I suggest the method non-hybrid method wink

https://wiki.archlinux.org/index.php/Ar … h_Linux.22

Offline

#18 2011-09-03 23:34:08

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Archiso archwiki issues

Hi, acutally

 dd if=myiso.iso of=/dev/sdb bs=4m 

the usb is booting after I changed "Removable media type" to "All fixed" from "All removable" in the BIOS settings; and now the usb boots, and I'm writing this from liveusb  smile

I'll share the torrent soon. just need to make one first smile

Offline

#19 2011-09-04 00:02:09

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Archiso archwiki issues

Cool smile

Prepare your engine for comming feature in archiso (cow_persistent) wink https://github.com/djgera/archiso/compa … persistent

Offline

#20 2011-09-04 00:02:26

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Archiso archwiki issues

Here a little screenshot of arch-gnome3-liveusb
archlinuxgnome3live.png

Offline

#21 2011-09-04 03:48:21

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Archiso archwiki issues

Here's the torrent (archlinux-gnome3-live-dvd-iso):
Archlinux+ Gnome3+libreoffice+firefox+plugins

torrent:
http://www.mediafire.com/?8plegkd2qjjp47v

Last edited by fast_rizwaan (2011-09-04 04:23:36)

Offline

#22 2011-09-08 13:49:26

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Archiso archwiki issues

Hi again, Archiso wiki does not show how to make a custom install iso, and custom install + live iso.

I'd really, really appreciate and I'd love to make a custom install + live iso with gnome3 and archlinux together. as gnome-shell is very easy and simple for computer newbies. I hope to share linux with regular computer users not just geeks and nerds.

Here's the live gnome-shell + archlinux's "build4.sh" which can be used with archiso wiki to create a live gnome-shell based arch live iso. I used 2 terminals, one to chroot to /tmp/archiso and other to copy build4.sh to /tmp/.../.../baseline

build4.sh:
http://www.mediafire.com/?uyjbhvm0e7j27ap

p.s. I did search wiki, google, but could not make anything on how to make a custom install iso. Archlinux is the best base to install all the linux desktop stuff on it.

Please consider updating archiso wiki to include "custom (packages) install  iso" which can be installed like current arch install cd on the disk.

This way we can make arch+xfce, arch+lxde, arch+kde, arch+gnome-shell, arch+gnome2, arch+enlightenment and spread the spirit of OS freedom.

Thank you.

[edit: archiso -> archiso wiki]

Last edited by fast_rizwaan (2011-09-08 13:52:57)

Offline

#23 2011-09-08 14:06:56

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Archiso archwiki issues

You can edit wiki yourself wink

Thanks and enjoy!

Offline

#24 2011-09-08 15:08:59

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Archiso archwiki issues

djgera wrote:

You can edit wiki yourself wink

Thanks and enjoy!

I'd love to. As a matter of fact, today itself, I added one section to pulseaudio wiki, which solves the age old problem of noise in mic recording. https://wiki.archlinux.org/index.php/Pu … _Recording


But with archiso, I don't know how to make the "install iso" of my selected packages, base, xorg, gnome-shell, mplayer, firefox, etc.

The build4.sh is about "live cd" not "custom arch install cd"

Could you please guide me, on how to make a "custom arch install iso with gnome-shell packages included" which can be installed. And I'll be glad to update wiki, once I learn it.

how is it different from live-cd build4.sh? I am wondering where should I put the "to be installed" tar.xz files and how will the installer know/allow the custom packages in the install cd to be installed.

I really need your guidance.

Thanks.

Last edited by fast_rizwaan (2011-09-08 15:24:14)

Offline

#25 2011-09-08 22:18:32

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Archiso archwiki issues

Maybe the right tool for that case is AIF wink

Offline

Board footer

Powered by FluxBB