누락된 단계: debian-installer-launcher

누락된 단계: debian-installer-launcher

Debian Live 이미지를 만들었지만 debian-live-installer를 작동시키는 단계가 없습니다. 나는 다음 단계를 수행했습니다.

##needed packages
apt-get install --assume-yes xorriso live-build syslinux squashfs-tools

##create basic system
mkdir ~/livework && cd ~/livework
debootstrap --arch=amd64 wheezy chroot

##chroot
cd ~/livework
chroot chroot
mount none -t proc /proc
mount none -t sysfs /sys
mount none -t devpts /dev/pts
export HOME=/root
export LC_ALL=C
export PS1="\e[01;31m(live):\W \$ \e[00m"

##kernel and set password
apt-get install --assume-yes dialog dbus
dbus-uuidgen > /var/lib/dbus/machine-id
apt-get install --assume-yes linux-image-amd64 live-boot
passwd

##install packages
apt-get install --assume-yes xserver-xorg slim fluxbox debian-installer debian-installer-launcher


##finished chroot
apt-get clean
rm /var/lib/dbus/machine-id && rm -rf /tmp/*
umount /proc /sys /dev/pts
exit

##setup isolinux
cd ~/livework
rm chroot/root/.bash_history
mkdir -p binary/live && mkdir -p binary/isolinux
cp chroot/boot/vmlinuz-3.2.0-4-amd64 binary/live/vmlinuz
cp chroot/boot/initrd.img-3.2.0-4-amd64 binary/live/initrd
rm binary/live/filesystem.squashfs
mksquashfs chroot binary/live/filesystem.squashfs -comp xz -e boot
cp /usr/lib/syslinux/isolinux.bin binary/isolinux/.
cp /usr/lib/syslinux/menu.c32 binary/isolinux/.

##sample binary/isolinux/isolinux.cfg
ui menu.c32
prompt 0
menu title CASED Boot Menu
timeout 50

label live-amd64
menu label Live amd64
menu default
linux /live/vmlinuz
append initrd=/live/initrd boot=live persistence quiet

label live-amd64-failsafe
menu label ^Live (amd64 failsafe)
linux /live/vmlinuz
append initrd=/live/initrd boot=live persistence config memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal

endtext

##build iso
cd ~/livework
xorriso -as mkisofs -r -J -joliet-long -l -cache-inodes -isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin -partition_offset 16 -A "Debian Live"  -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o my-debian.iso binary

내 Live System에 로그인한 후 내 하드 드라이브에 설치할 수 있기를 원합니다. debian-installer-launcher를 실행하면 다음 오류가 발생합니다:

no suitable d-i initrd image found, aborting

구글링을 해봤지만 답을 찾을 수 없었습니다. 어떤 단계를 놓치고 있나요?

답변1

알겠습니다. 해결되었습니다. 다음 단계에 따라 작업이 완료됩니다.

cd ~
## [ get debian-live iso... ]

## create folder for mounting the iso
mkdir debian
mount debian.iso debian/

## copy install (contains initrd(gtk/normal) and vmlinuz)
cp -r debian/install livework/binary/
## copy needed files for installation
cp -r debian/pool livework/binary/
cp -r debian/dists livework/binary/

## create iso
cd ~/livework
xorriso -as mkisofs -r -J -joliet-long -l -cache-inodes -isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin -partition_offset 16 -A "Debian Live"  -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o my-debian.iso binary

이것이 다른 사람들에게도 도움이 되기를 바랍니다;)

관련 정보