[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#864629: live-build: When build hdd img: chroot/usr/lib/syslinux/mbr.bin’: No such file or directory



Package: live-build
Version: 4.0.3-1
Severity: normal

Dear Maintainer,

On a freshly installed Debian Jessie I tried to build a live image with 
target hdd, following exactly the description in
https://debian-live.alioth.debian.org/live-manual/stable/manual/html/live-manual.en.html
4.7 Building and using an HDD image.
........
At the end of the build I get no image and the reason seems to be this:
P: Mounting /dev/loop1 with offset 0
dd: failed to open ‘chroot/usr/lib/syslinux/mbr.bin’: No such file or directory
.......
I checked and found chroot/usr/lib/syslinux not existing.
Instead chroot/usr/lib/SYSLINUX exists and contains the file mbr.bin.
As a workaround I copied chroot/usr/lib/SYSLINUX/* to chroot/usr/lib/syslinux/*
and finally could build the hdd image.

One other note: the built hdd image is missing the .img extension but it works.


-- Package-specific info:

-- System Information:
Debian Release: 8.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages live-build depends on:
ii  debootstrap  1.0.67

Versions of packages live-build recommends:
ii  cpio                            2.11+dfsg-4.1+deb8u1
ii  live-boot-doc                   4.0.2-1
ii  live-config-doc                 4.0.4-1
ii  live-manual-html [live-manual]  1:4.0.1-1

live-build suggests no packages.

-- no debconf information


............................
part of console log

The following NEW packages will be installed:
  dosfstools libparted2 parted syslinux
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/740 kB of archives.
After this operation, 1354 kB of additional disk space will be used.
Selecting previously unselected package libparted2:amd64.
(Reading database ... 22002 files and directories currently installed.)
Preparing to unpack .../libparted2_3.2-7_amd64.deb ...
Unpacking libparted2:amd64 (3.2-7) ...
Selecting previously unselected package dosfstools.
Preparing to unpack .../dosfstools_3.0.27-1_amd64.deb ...
Unpacking dosfstools (3.0.27-1) ...
Selecting previously unselected package parted.
Preparing to unpack .../parted_3.2-7_amd64.deb ...
Unpacking parted (3.2-7) ...
Selecting previously unselected package syslinux.
Preparing to unpack .../syslinux_3%3a6.03+dfsg-5+deb8u1_amd64.deb ...
Unpacking syslinux (3:6.03+dfsg-5+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libparted2:amd64 (3.2-7) ...
Setting up dosfstools (3.0.27-1) ...
Setting up parted (3.2-7) ...
Setting up syslinux (3:6.03+dfsg-5+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u9) ...
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00028981 s, 0.0 kB/s
!!! The following error/warning messages can be ignored !!!
P: Mounting /dev/loop1 with offset 0
dd: failed to open ‘chroot/usr/lib/syslinux/mbr.bin’: No such file or directory
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
root@jessie:/home/franz/live-default# 
root@jessie:/home/franz/live-default# ls -l
total 249624
drwxr-xr-x  2 root  root       4096 Jun 11 22:11 auto
drwxr-xr-x  5 root  root       4096 Jun 11 22:18 binary
drwxr-xr-x  7 root  root       4096 Jun 11 22:12 cache
drwxr-xr-x 22 root  root       4096 Jun 11 22:18 chroot
-rw-r--r--  1 root  root    1188505 Jun 11 22:13 chroot.files
-rw-r--r--  1 root  root       5816 Jun 11 22:13 chroot.packages.install
-rw-r--r--  1 root  root       5816 Jun 11 22:13 chroot.packages.live
drwxr-xr-x 18 franz franz      4096 Jun 11 15:47 config
-rw-r--r--  1 root  root        441 Jun 11 22:18 live-image-amd64.contents
-rw-r--r--  1 root  root    1188505 Jun 11 22:17 live-image-amd64.files
-rw-r--r--  1 root  root       5816 Jun 11 22:17 live-image-amd64.packages
drwxr-xr-x  3 root  root       4096 Jun 11 22:11 local


Reply to: