Bug#637183: live-build: Building tar target fails when using grub as bootloader

2011-08-09 Thread Axel
Package: live-build
Version: 2.0.12-2
Severity: important

When builidng a tar target, the process stops at the grub install.
Maybe this step could install the grub configuration files in the tar.gz file.
Those would be used later when manually extracting the tar file on a filesystem.


From the build log :

Setting up grub-common (1.98+20100804-14) ...
Setting up grub-pc (1.98+20100804-14) ...

Creating config file /etc/default/grub with new version
grub-probe: error: cannot find a device for / (is /dev mounted?).
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
Setting up grub (0.97-64) ...
cp: cannot stat `chroot/usr/lib/grub/*/stage1': No such file or directory
cp: cannot stat `chroot/usr/lib/grub/*/e2fs_stage1_5': No such file or directory
cp: cannot stat `chroot/usr/lib/grub/*/stage2': No such file or directory
P: Begin unmounting filesystems...


-- Package-specific info:

-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  debootstrap  1.0.26+squeeze1 Bootstrap a basic Debian system

Versions of packages live-build recommends:
ii  cpio  2.11-4 GNU cpio -- a program to manage ar
ii  gnu-fdisk 1.2.4-3Linux fdisk replacement based on l

Versions of packages live-build suggests:
pn  dosfstools   none  (no description available)
ii  fakeroot 1.14.4-1Gives a fake root environment
pn  genisoimage  none  (no description available)
pn  memtest86+ | memtest none  (no description available)
pn  mtools   none  (no description available)
pn  parted   none  (no description available)
ii  squashfs-tools   1:4.0-8 Tool to create and append to squas
ii  sudo 1.7.4p4-2.squeeze.2 Provide limited super user privile
pn  syslinux | grub  none  (no description available)
ii  uuid-runtime 2.17.2-9runtime components for the Univers
pn  win32-loader none  (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#637183: live-build: Building tar target fails when using grub as bootloader

2011-08-09 Thread Daniel Baumann
severity 637183 normal
retitle 637183 building tar target fails when using grub as bootloader
thanks

On 08/09/2011 10:48 AM, Axel wrote:
 When builidng a tar target, the process stops at the grub install.
 Maybe this step could install the grub configuration files in the tar.gz file.
 Those would be used later when manually extracting the tar file on a 
 filesystem.

please retry with a current live-build 3.x version.

-- 
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-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#637183: live-build: Building tar target fails when using grub as bootloader

2011-08-09 Thread Axel

Le 09/08/2011 11:24, Daniel Baumann a écrit :

severity 637183 normal
retitle 637183 building tar target fails when using grub as bootloader
thanks

On 08/09/2011 10:48 AM, Axel wrote:

When builidng a tar target, the process stops at the grub install.
Maybe this step could install the grub configuration files in the tar.gz file.
Those would be used later when manually extracting the tar file on a filesystem.


please retry with a current live-build 3.x version.



Indeed, on wheezy (live-build-3.0~a21-1) grub target is built without 
problem.


On squeeze (live-build-2.0.12-2) grub bootloader doesn't work, a 
target with grub2 bootloader is built successfully (though grub2 is 
not in the list of the supported targets according to the manual).


Thanks for your answer.
Axel



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org