Building from git repo gives invalid grub configuration

37 views
Skip to first unread message

Jared Hoover

unread,
Jan 17, 2012, 6:41:19 PM1/17/12
to Webconverger Users
I am working again at building a custom Webconverger build for some
internal uses here after a 6 month break from it. I am using a Debian
6.0 amd64 workstation for building it and the following live packages:
ii live-boot-doc
3.0~a21+20111008.113554~70wheezy+1 Debian Live - System Boot
Scripts (documentation)
ii live-build
3.0~a35+20111013.073832~70wheezy+1 Debian Live - System Build
Scripts
ii live-config
3.0~a28+20111012.185239~70wheezy+1 Debian Live - System
Configuration Scripts
ii live-config-doc
3.0~a28+20111012.185239~70wheezy+1 Debian Live - System
Configuration Scripts (documentation)
ii live-config-sysvinit
3.0~a28+20111012.185239~70wheezy+1 Debian Live - System
Configuration Scripts (sysvinit backend)
ii live-helper
2.0.12-2 Debian Live - System Build
Scripts (transitional package)
ii live-manual-html
1:3.0~a8+20111011.153009~70wheezy+1 Debian Live - Documentation
(html)
ii live-tools
3.0~a5+20111008.113636~70wheezy+1 Debian Live - System Support
Scripts

To build I am doing:
git clone git://git.debian.org/git/debian-live/config-webc.git
cd config-webc/webconverger
lb config
sudo lb build
sudo lb binary syslinux

Everything seems to build without error and I get a nice shiny binary-
hybrid.iso which I throw into VirtualBox. Unfortunately, the fun ends
here. Grub starts up but the parameters given to it by default are
pointing to an incorrect location on the disc. It's trying to boot a
kernel and initrd in a folder called "live" but on my disc there is no
folder with that name. On the iso I only have boot and isolinux as
directories. I haven't made any changes to the auto/config file in
this particular build because I am trying to track down this problem
in a custom build I am having the same issue on. The auto/config file
is as follows:

#!/bin/sh

#MIRROR_DEBIAN="ftp://mirror.hetzner.de/ftp.de.debian.org/debian/"
#MIRROR_DEBIAN="http://ftp.de.debian.org/debian"

lb config noauto --clean \
--bootappend-live "homepage=http://webconverger.com
hostname=webconverger nonetworking nopersistent quickreboot nomodeset
splash username=webc vga=current quiet noroot" \
-k 486 \
-a i386 \
-b iso-hybrid \
--username webc \
--hostname webconverger \
--parent-archive-areas "main contrib non-free" \
--mode progress --distribution artax \
--debian-installer false \
--syslinux-theme webc \
--apt-indices false \
--iso-publisher "http://webconverger.com" \
--iso-volume "Webconverger" \
--iso-application "Webconverger" \
--archive-areas "main contrib non-free" \
--apt-recommends false \
--memtest none \
--source false \
--archives live \
${@}

Let me know if you'd like me to | tee a build if you need to see more
information.

Thanks,
Jared

Kai Hendry

unread,
Jan 19, 2012, 11:08:32 PM1/19/12
to webc-...@googlegroups.com
Hello there Jared,

Please use the latest unstable Debian Live.

http://packages.qa.debian.org/l/live-build.html says live-build 3.0~a42-1 atm

Tbh I've yet to update my build server to that version, but I'll
hopefully get it done soon.

As for Grub. I despise Grub from 2 (bloatware) and I don't support it.
Webconverger uses the much saner syslinux.

Are you really sure you are using Grub and/or want to use it? :)


Kind regards,

Jared Hoover

unread,
Jan 23, 2012, 8:26:02 PM1/23/12
to Webconverger Users
Kai,

Updating to a newer version of live-build solved my problem. Thanks.

I said grub but meant syslinux...

Everything seems to be working well now.

-Jared

On Jan 19, 8:08 pm, Kai Hendry <hen...@webconverger.com> wrote:
> Hello there Jared,
>
> Please use the latest unstable Debian Live.
>
> http://packages.qa.debian.org/l/live-build.htmlsays live-build 3.0~a42-1 atm
Reply all
Reply to author
Forward
0 new messages