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

Bug#687099: live-boot: Breaks booting when used from Squeeze



Package: live-boot
Version: 3.0~b2-1
Severity: important

When building an Squeeze debian live cd inside an Squeeze system and trying to use live-boot* packages from unstable seems to be broken.

When I boot I get:

Loading, please wait..., run-init: nuking initramfs contents: Directory not empty. Kernel panic - not syncing: Attempted to kill init.

How to reproduce a minimal bootable iso:
---------------------------------------
#!/bin/bash
RESCATUX_STR="rescatux"
TEMP_FOLDER="/tmp/${RESCATUX_STR}-tmp-build-$$"
SID_CHROOT_CONFIG="config/chroot_sources/sid.chroot"
CHROOT_SOURCES_FOLDER="config/chroot_sources"
APT_PREFERENCES="config/chroot_apt/preferences"
CHROOT_APT_CONFIG_FOLDER="config/chroot_apt"

SID_MIRROR="http://snapshot.debian.org/archive/debian/20120727T111800Z/";


mkdir --parents $TEMP_FOLDER/${CHROOT_SOURCES_FOLDER}
mkdir --parents $TEMP_FOLDER/${CHROOT_APT_CONFIG_FOLDER}

echo -e -n "deb ${SID_MIRROR} sid main" > $TEMP_FOLDER/${SID_CHROOT_CONFIG}
cat >>$TEMP_FOLDER/${APT_PREFERENCES} <<END

Package: live-boot
Pin: release n=sid
Pin-Priority: 600

Package: live-boot-initramfs-tools
Pin: release n=sid
Pin-Priority: 600

Package: live-config
Pin: release n=sid
Pin-Priority: 600

Package: live-config-sysvinit
Pin: release n=sid
Pin-Priority: 600

Package: *
Pin: release n=sid
Pin-Priority: 1

END
cd $TEMP_FOLDER
lh config -d squeeze \
  --apt-options "--yes -o Acquire::Check-Valid-Until=false"

sudo lb build

echo -e -n "\nLocalizacion: ${TEMP_FOLDER}\n"

How to reproduce a minimal NON bootable iso:
--------------------------------------------
#!/bin/bash
RESCATUX_STR="rescatux"
TEMP_FOLDER="/tmp/${RESCATUX_STR}-tmp-build-$$"
SID_CHROOT_CONFIG="config/chroot_sources/sid.chroot"
CHROOT_SOURCES_FOLDER="config/chroot_sources"
APT_PREFERENCES="config/chroot_apt/preferences"
CHROOT_APT_CONFIG_FOLDER="config/chroot_apt"

SID_MIRROR="http://ftp.de.debian.org/debian/";


mkdir --parents $TEMP_FOLDER/${CHROOT_SOURCES_FOLDER}
mkdir --parents $TEMP_FOLDER/${CHROOT_APT_CONFIG_FOLDER}

echo -e -n "deb ${SID_MIRROR} sid main" > $TEMP_FOLDER/${SID_CHROOT_CONFIG}
cat >>$TEMP_FOLDER/${APT_PREFERENCES} <<END

Package: live-boot
Pin: release n=sid
Pin-Priority: 600

Package: live-boot-initramfs-tools
Pin: release n=sid
Pin-Priority: 600

Package: live-config
Pin: release n=sid
Pin-Priority: 600

Package: live-config-sysvinit
Pin: release n=sid
Pin-Priority: 600

Package: *
Pin: release n=sid
Pin-Priority: 1

END
cd $TEMP_FOLDER
lh config -d squeeze

sudo lb build

echo -e -n "\nLocalizacion: ${TEMP_FOLDER}\n"

---------------
When I force the old version from snapshots.debian.org which it is 3.0~a38-1 it boots without any problem.. If I use the current version which it is 3.0~b2-1 then I get the kernel panic error.

This error is quite probably related to: #685375 because it gets the same kernel error.


-- Package-specific info:

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.21 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- no debconf information


Reply to: