Difference between revisions of "Talk:Archiso"

From ArchWiki
Jump to: navigation, search
(41 intermediate revisions by 10 users not shown)
Line 1: Line 1:
Hi thar! If you guys have any questions or trouble when following this guide, please do post it here, I will come back to you!
+
==Archiso doesn't work on non stock kernel==
  
--[[User:Svenstaro|Svenstaro]] 19:14, 3 June 2009 (EDT)
+
I've been having on and off issues when building ISOs with archiso and the other day when I was working on one I did a pacman -Syu before working but didn't reboot. I was running on the stock kernel at that point because the linux-ck kernel had not updated yet. My ISO built fine. Later that day I rebooted and was now running on the updated linux-ck kernel and suddenly the build process would simply die without any errors, even with the -v option. Right after installing all the custom packages, a dd output appears and then a mkfs.vfat version message appears and that's where it dies. Rebooting back to the stock arch kernel fixed the issue. I'm guessing it has something to do with hardcoded names or something like that in the build scripts.
  
During the build process, I receive a number of errors (I don't know if they are fatal):
+
Is this normal behaviour? I don't mind using the stock kernel on the ISOs I build but I figured I'd at least be able to build them on a different one.
  
==> Starting build: 3.0-ARCH
+
On that note, is it possible to use a kernel other than the stock one within the ISOs we build?    
   -> Parsing hook: [base]
+
[[User:Biltong|Biltong]] ([[User talk:Biltong|talk]]) Sun May 6 2012, 21:47 SAST
  -> Parsing hook: [udev]
+
  -> Parsing hook: [memdisk]
+
  -> Parsing hook: [archiso]
+
  -> Parsing hook: [archiso_pxe_nbd]
+
==> ERROR: file not found: `/tmp/baseline/work/root-image/usr/sbin/nbd-client'
+
==> ERROR: file not found: `/tmp/baseline/work/root-image/lib/initcpio/ipconfig'
+
==> ERROR: file not found: `/tmp/baseline/work/root-image/lib/initcpio/hooks/archiso_pxe_nbd'
+
  -> Parsing hook: [archiso_loop_mnt]
+
==> ERROR: file not found: `/tmp/baseline/work/root-image/lib/initcpio/hooks/archiso_loop_mnt'
+
...
+
These files however are within the /lib/initcpio/hooks/ directory. Are these the same ones it is looking for?
+
 
+
[mkarchiso] INFO: Creating ISO image...
+
/usr/sbin/mkarchiso: line 318: mkisofs: command not found
+
 
+
Also, where does one put the packages.list file? I've tried placing it within the same directory as the build script and mkinitcpio.conf file, but it does not seem to read it.
+
 
+
Thank you.
+

Revision as of 15:24, 27 February 2013

Archiso doesn't work on non stock kernel

I've been having on and off issues when building ISOs with archiso and the other day when I was working on one I did a pacman -Syu before working but didn't reboot. I was running on the stock kernel at that point because the linux-ck kernel had not updated yet. My ISO built fine. Later that day I rebooted and was now running on the updated linux-ck kernel and suddenly the build process would simply die without any errors, even with the -v option. Right after installing all the custom packages, a dd output appears and then a mkfs.vfat version message appears and that's where it dies. Rebooting back to the stock arch kernel fixed the issue. I'm guessing it has something to do with hardcoded names or something like that in the build scripts.

Is this normal behaviour? I don't mind using the stock kernel on the ISOs I build but I figured I'd at least be able to build them on a different one.

On that note, is it possible to use a kernel other than the stock one within the ISOs we build? Biltong (talk) Sun May 6 2012, 21:47 SAST