So i have sort of chopped my way to a minor solution. Using the basic command: lb config --mode ubuntu --architecture i386 --distribution precise --archive-areas "main restricted universe multiverse"
I am able to run: lb build But that errors out with a missing or obsolete package of: linux-firmware I can work my way around that by creating a separate chroot for precise outside of live build and copy it into my working directory overwriting the original one. This gets rid of the firmware issue. I then build again and get an error about no vmlinuz-* present in my chroot/boot folder. I copy the vmlinuz- and the initrd from my host system as i am using precise. These changes enable me to get a binary.iso built but upon testing in vm i get error about missing casper/vmlinuz as shown in link. On Fri, Jun 1, 2012 at 11:25 PM, Matthew Byers <faintstlsa...@gmail.com>wrote: > root@devcore:/home/stlsaint/Projects/testeruce# ls -aFl chroot/ > total 0 > drwxr-xr-x 1 root root 136 Jun 1 21:23 ./ > drwxr-xr-x 1 root root 74 Jun 1 22:56 ../ > drwxr-xr-x 1 root root 1426 Jun 1 22:53 bin/ > drwxr-xr-x 1 root root 0 Apr 19 04:32 boot/ > drwxr-xr-x 1 root root 882 Jun 1 20:58 dev/ > drwxr-xr-x 1 root root 2038 Jun 1 22:53 etc/ > drwxr-xr-x 1 root root 0 Apr 19 04:32 home/ > drwxr-xr-x 1 root root 754 Jun 1 21:10 lib/ > drwxr-xr-x 1 root root 0 Jun 1 20:24 media/ > drwxr-xr-x 1 root root 0 Apr 19 04:32 mnt/ > drwxr-xr-x 1 root root 0 Jun 1 20:24 opt/ > drwxr-xr-x 1 root root 0 Apr 19 04:32 proc/ > drwx------ 1 root root 60 Jun 1 22:54 root/ > drwxr-xr-x 1 root root 84 Jun 1 21:10 run/ > drwxr-xr-x 1 root root 1890 Jun 1 22:53 sbin/ > drwxr-xr-x 1 root root 0 Mar 5 07:48 selinux/ > drwxr-xr-x 1 root root 0 Jun 1 20:24 srv/ > drwxr-xr-x 1 root root 0 Apr 14 04:26 sys/ > drwxrwxrwt 1 root root 0 Jun 1 21:20 tmp/ > drwxr-xr-x 1 root root 70 Jun 1 20:24 usr/ > drwxr-xr-x 1 root root 90 Jun 1 20:24 var/ > > > On Fri, Jun 1, 2012 at 11:22 PM, Richard Nelson <unix...@gmail.com> wrote: > >> Greetings, >> >> On Fri, Jun 1, 2012 at 11:03 PM, Matthew Byers <faintstlsa...@gmail.com> >> wrote: >> > Nothing in the dir: >> > >> > ls -aFl chroot/boot/ >> > total 0 >> > drwxr-xr-x 1 root root 0 Apr 19 04:32 ./ >> > drwxr-xr-x 1 root root 136 Jun 1 21:23 ../ >> > >> > >> >> Can you post the output from the build dir of: >> >> ls -aFl chroot/ >> >> >> Thanks. >> >> > On Fri, Jun 1, 2012 at 10:58 PM, Richard Nelson <unix...@gmail.com> >> wrote: >> >> >> >> Greetings, >> >> >> >> On Fri, Jun 1, 2012 at 10:45 PM, Matthew Byers < >> faintstlsa...@gmail.com> >> >> wrote: >> >> > Thank you again for your help. Attached is the build log. >> >> > >> >> > Added in the archives and ran again and it errors with: >> >> > >> >> > cp: cannot stat `chroot/boot/vmlinuz-*': No such file or directory >> >> > >> >> > Below is the output from the grep command: >> >> > >> >> > root@devcore:/home/stlsaint/Projects/testeruce# grep main config/* >> >> > config/bootstrap:# (Default: main restricted universe multiverse) >> >> > config/bootstrap:LB_ARCHIVE_AREAS="main restricted universe >> multiverse" >> >> > config/bootstrap:# (Default: main restricted) >> >> > config/bootstrap:LB_PARENT_ARCHIVE_AREAS="main restricted" >> >> > >> >> > >> >> > Also a whole heap of these errors came through, (i recognize them >> from >> >> > previous ubuntu issues not related to live-build though!) >> >> > >> >> > ... >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_default >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_default >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_access >> >> > Unrecognised xattr prefix system.posix_acl_default >> >> > ... >> >> > >> >> >> >> On the above see >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614582 >> >> >> >> As for the build log can you from the build dir post the output of: >> >> >> >> ls -aFl chroot/boot/ >> >> >> >> Thanks. >> >> >> >> > >> >> > On Fri, Jun 1, 2012 at 10:14 PM, Richard Nelson <unix...@gmail.com> >> >> > wrote: >> >> >> >> >> >> Greetings, >> >> >> >> >> >> On Fri, Jun 1, 2012 at 9:55 PM, Matthew Byers < >> faintstlsa...@gmail.com> >> >> >> wrote: >> >> >> > run as you gave command here is output where it errors. >> >> >> > >> >> >> > P: Begin installing packages (install pass)... >> >> >> > Reading package lists... Done >> >> >> > Building dependency tree... Done >> >> >> > Note, selecting 'linux-firmware' instead of 'atmel-firmware' >> >> >> > Note, selecting 'linux-firmware' instead of 'atmel-firmware' >> >> >> > Note, selecting 'linux-firmware' instead of 'atmel-firmware' >> >> >> > Note, selecting 'linux-firmware' instead of 'atmel-firmware' >> >> >> > E: Unable to locate package libertas-firmware >> >> >> > E: Unable to locate package firmware-crystalhd >> >> >> > E: Unable to locate package linux-firmware-nonfree >> >> >> > E: Unable to locate package linux-firmware-nonfree >> >> >> > E: Unable to locate package nouveau-firmware >> >> >> > E: Unable to locate package libsbigudrv2 >> >> >> > E: Unable to locate package libertas-firmware >> >> >> > E: Unable to locate package linux-image-3.2.0-23-lowlatency >> >> >> > E: Couldn't find any package by regex >> >> >> > 'linux-image-3.2.0-23-lowlatency' >> >> >> > E: Unable to locate package linux-image-3.2.0-23-lowlatency-pae >> >> >> > E: Couldn't find any package by regex >> >> >> > 'linux-image-3.2.0-23-lowlatency-pae' >> >> >> > E: Unable to locate package prism2-usb-firmware-installer >> >> >> > E: Unable to locate package libertas-firmware >> >> >> > E: Unable to locate package firmware-crystalhd >> >> >> > E: Unable to locate package linux-firmware-nonfree >> >> >> > E: Unable to locate package linux-firmware-nonfree >> >> >> > E: Unable to locate package nouveau-firmware >> >> >> > E: Unable to locate package libsbigudrv2 >> >> >> > E: Unable to locate package libertas-firmware >> >> >> > E: Unable to locate package linux-image-3.2.0-23-lowlatency >> >> >> > E: Couldn't find any package by regex >> >> >> > 'linux-image-3.2.0-23-lowlatency' >> >> >> > E: Unable to locate package linux-image-3.2.0-23-lowlatency-pae >> >> >> > E: Couldn't find any package by regex >> >> >> > 'linux-image-3.2.0-23-lowlatency-pae' >> >> >> > E: Unable to locate package prism2-usb-firmware-installer >> >> >> > P: Begin unmounting filesystems... >> >> >> > P: Saving caches... >> >> >> > Reading package lists... Done >> >> >> > Building dependency tree... Done >> >> >> > >> >> >> >> >> >> Ok, hmm let us try this lb config: >> >> >> >> >> >> lb config --mode ubuntu --architecture i386 --distribution precise >> >> >> --archive-areas "main restricted universe multiverse" >> >> >> --iso-application "Ubuntu Christian Edition" --iso-publisher UCE >> >> >> >> >> >> And after that command in your build directory would you be so kind >> as >> >> >> to run and send back the output of: >> >> >> >> >> >> grep main config/* >> >> >> >> >> >> And try another build to see if this moves us further along. >> >> >> >> >> >> >> >> >> > >> >> >> > >> >> >> > On Fri, Jun 1, 2012 at 8:24 PM, Richard Nelson <unix...@gmail.com >> > >> >> >> > wrote: >> >> >> >> >> >> >> >> Greetings, >> >> >> >> >> >> >> >> On Fri, Jun 1, 2012 at 8:17 PM, Richard Nelson < >> unix...@gmail.com> >> >> >> >> wrote: >> >> >> >> > Greetings >> >> >> >> > >> >> >> >> > On Fri, Jun 1, 2012 at 7:04 PM, Matthew Byers >> >> >> >> > <faintstlsa...@gmail.com> >> >> >> >> > wrote: >> >> >> >> >> Thank you for the reply. >> >> >> >> >> >> >> >> >> >> I did as suggested and still same result. >> >> >> >> >> >> >> >> >> >> W: Failed to fetch >> >> >> >> >> http://archive.ubuntu.com/ubuntu/dists/precise/Release >> >> >> >> >> Unable to find expected entry 'contrib/source/Sources' in >> >> >> >> >> Release >> >> >> >> >> file >> >> >> >> >> (Wrong sources.list entry or malformed file) >> >> >> >> >> >> >> >> >> >> E: Some index files failed to download. They have been >> ignored, >> >> >> >> >> or >> >> >> >> >> old >> >> >> >> >> ones >> >> >> >> >> used instead. >> >> >> >> >> P: Begin unmounting filesystems... >> >> >> >> >> P: Saving caches... >> >> >> >> >> Reading package lists... Done >> >> >> >> >> Building dependency tree... Done >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> > Ok let us try just a basic build with this: >> >> >> >> > >> >> >> >> > 1. Create a new build folder. >> >> >> >> > 2. cd to the new build folder and try this: >> >> >> >> > >> >> >> >> > lb config --mode ubuntu --architecture i386 --distribution >> >> >> >> > precise >> >> >> >> > --iso-application "Ubuntu Christian Edition" --iso-publisher >> UCE >> >> >> >> > >> >> >> >> > 3. Then attempt build. >> >> >> >> > >> >> >> >> > At my current location I do not have the bandwidth to test with >> >> >> >> > you >> >> >> >> > or >> >> >> >> > I would. Please report back results. >> >> >> >> > >> >> >> >> >> >> >> >> I forgot to also ask for the complete build log on that build >> >> >> >> attempt. >> >> >> >> >> >> >> >> Thanks. >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> On Fri, Jun 1, 2012 at 6:42 PM, Richard Nelson >> >> >> >> >> <unix...@gmail.com> >> >> >> >> >> wrote: >> >> >> >> >>> >> >> >> >> >>> Greetings, >> >> >> >> >>> >> >> >> >> >>> On Fri, Jun 1, 2012 at 4:21 PM, Matthew Byers >> >> >> >> >>> <faintstlsa...@gmail.com> >> >> >> >> >>> wrote: >> >> >> >> >>> > Still with same issue: >> >> >> >> >>> > >> >> >> >> >>> > live-build, version 3.0~a48-1 >> >> >> >> >>> > >> >> >> >> >>> > Config command: >> >> >> >> >>> > lb config -b iso-hybrid --mode ubuntu --architecture i386 >> >> >> >> >>> > --distribution >> >> >> >> >>> > precise --archive-areas "main contrib non-free partner >> >> >> >> >>> > security" >> >> >> >> >>> > --iso-application "Ubuntu Christian Edition" >> --iso-publisher >> >> >> >> >>> > UCE >> >> >> >> >>> > --memtest >> >> >> >> >>> > memtest86+ >> >> >> >> >>> > >> >> >> >> >>> > I change NOTHING. No added package list. No messing with >> >> >> >> >>> > config/bootstrap or >> >> >> >> >>> > anything else. I simply run config then lb build with no >> >> >> >> >>> > options >> >> >> >> >>> > and >> >> >> >> >>> > it >> >> >> >> >>> > runs >> >> >> >> >>> > until i hit this: >> >> >> >> >>> > >> >> >> >> >>> > W: Failed to fetch >> >> >> >> >>> > http://archive.ubuntu.com/ubuntu/dists/precise/Release >> >> >> >> >>> > Unable to find expected entry 'contrib/source/Sources' in >> >> >> >> >>> > Release >> >> >> >> >>> > file >> >> >> >> >>> > (Wrong sources.list entry or malformed file) >> >> >> >> >>> > >> >> >> >> >>> > E: Some index files failed to download. They have been >> >> >> >> >>> > ignored, >> >> >> >> >>> > or >> >> >> >> >>> > old >> >> >> >> >>> > ones >> >> >> >> >>> > used instead. >> >> >> >> >>> > P: Begin unmounting filesystems... >> >> >> >> >>> > P: Saving caches... >> >> >> >> >>> > Reading package lists... Done >> >> >> >> >>> > Building dependency tree... Done >> >> >> >> >>> > >> >> >> >> >>> >> >> >> >> >>> I am not sure but the mirror >> >> >> >> >>> archive.ubuntu.com/ubuntu/dists/precise/ >> >> >> >> >>> only shows: >> >> >> >> >>> >> >> >> >> >>> [DIR] main/ 05-Dec-2011 18:03 - >> >> >> >> >>> [DIR] multiverse/ 14-Oct-2011 00:29 - >> >> >> >> >>> [DIR] restricted/ 14-Oct-2011 00:29 - >> >> >> >> >>> [DIR] universe/ 14-Oct-2011 00:29 >> >> >> >> >>> >> >> >> >> >>> So try: >> >> >> >> >>> >> >> >> >> >>> lb config --mode ubuntu --architecture i386 --distribution >> >> >> >> >>> precise >> >> >> >> >>> --archive-areas "main multiverse restricted universe" >> >> >> >> >>> --iso-application "Ubuntu Christian Edition" --iso-publisher >> UCE >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> Also I believe the -b iso-hybrid and --memtest memtest86+ are >> >> >> >> >>> already >> >> >> >> >>> defaults. >> >> >> >> >>> >> >> >> >> >>> See if that gets you any further. >> >> >> >> >>> >> >> >> >> >>> > >> >> >> >> >>> > >> >> >> >> >>> > On Thu, May 31, 2012 at 12:08 AM, Daniel Baumann >> >> >> >> >>> > <daniel.baum...@progress-technologies.net> wrote: >> >> >> >> >>> >> >> >> >> >> >>> >> On 05/31/2012 04:57 AM, Matthew Byers wrote: >> >> >> >> >>> >> > lb config --mode ubuntu --package-lists "standard" --a >> i386 >> >> >> >> >>> >> > --d >> >> >> >> >>> >> > precise >> >> >> >> >>> >> > --archive-areas "main contrib non-free partner security" >> >> >> >> >>> >> > --hostname >> >> >> >> >>> >> > UCE >> >> >> >> >>> >> > --iso-application "Ubuntu Christian Edition" >> >> >> >> >>> >> > --iso-publisher >> >> >> >> >>> >> > UCE >> >> >> >> >>> >> > --memtest memtest86+ >> >> >> >> >>> >> >> >> >> >> >>> >> what Richard said, plus.. check your parameters (see man >> >> >> >> >>> >> lb_config), >> >> >> >> >>> >> it's '--long-option FOO' but '-shortoption BAR', not >> >> >> >> >>> >> '--shortoption >> >> >> >> >>> >> BAR'. >> >> >> >> >>> >> >> >> >> >> >>> >> -- >> >> >> >> >>> >> Address: Daniel Baumann, Donnerbuehlweg 3, CH-3012 >> >> >> >> >>> >> Bern >> >> >> >> >>> >> Email: daniel.baum...@progress-technologies.net >> >> >> >> >>> >> Internet: >> >> >> >> >>> >> http://people.progress-technologies.net/~daniel.baumann/ >> >> >> >> >>> >> >> >> >> >> >>> >> >> >> >> >> >>> >> -- >> >> >> >> >>> >> To UNSUBSCRIBE, email to >> debian-live-requ...@lists.debian.org >> >> >> >> >>> >> with a subject of "unsubscribe". Trouble? Contact >> >> >> >> >>> >> listmas...@lists.debian.org >> >> >> >> >>> >> Archive: >> >> >> >> >>> >> >> >> >> >> >>> >> >> >> >> >> >>> >> >> http://lists.debian.org/4fc6fcc9.9010...@progress-technologies.net >> >> >> >> >>> >> >> >> >> >> >>> > >> >> >> >> >>> > >> >> >> >> >>> > >> >> >> >> >>> > -- >> >> >> >> >>> > God Bless >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> >> God Bless >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > God Bless >> >> > >> >> > >> >> > >> >> > >> >> > -- >> >> > God Bless >> > >> > >> > >> > >> > -- >> > God Bless >> > > > > -- > God Bless > -- God Bless