我试图通过一个instalinux.com图像来安装Debian Squeeze,该图像预先播种了或多或less的默认设置。 (只有值得注意的是openssh服务器,它是Instalinux界面中的一个可点击的选项)
然而,这是提高了错误:
The current kernel doesn't support the Logical Volume Manager. You may need to load the lvm-mod module.
部分方式通过安装。 我做了大量的阅读,并从这个广泛重新发布的debian邮件列表线程中发现 。 这可能是linux和initrd.gz在netboot和准备好的ISO之间不同步的问题。
为了修补isolinux.conf ,我必须打开ISO,所以修补这些文件并不是一个很大的困难,我已经在下面包含了我的Makefile的相关部分:
provision: tmp/empty.img isos/debian-squeeze-preseed-unattended.iso virt-install -n demo -r 256 -vcpus=1 -f tmp/empty.img \ -b br0 --accelerate -v -c isos/debian-squeeze-preseed.iso \ --os-type=linux --os-variant=debiansqueeze --nographics \ --extra-args="auto=true hostname=demo domain= \ file=preseed.txt text console=tty1 console=ttyS0,115200" isos/debian-squeeze-preseed-unattended.iso: mkdir -p tmp/debian-squeeze-preseed mount -t iso9660 -o loop isos/debian-squeeze-preseed.iso tmp/debian-squeeze-preseed cp -a tmp/debian-squeeze-preseed/ tmp/debian-squeeze-preseed-unattended echo "timeout 5" >> tmp/debian-squeeze-preseed-unattended/isolinux.cfg # # These two curl commands relate to the problem here http://lists.debian.org/debian-boot/2012/01/msg00340.html # curl -0 ftp://ftp.ch.debian.org/debian/dists/squeeze/main/installer-i386/current/images/netboot/debian-installer/i386/linux > tmp/debian-squeeze-preseed-unattended/linux curl -0 ftp://ftp.ch.debian.org/debian/dists/squeeze/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz > tmp/debian-squeeze-preseed-unattended/initrd.gz genisoimage -l -r -J -V "LinuxCOE" -b isolinux.bin -no-emul-boot \ -boot-load-size 4 -boot-info-table -c boot.cat -o $@ \ tmp/debian-squeeze-preseed-unattended umount tmp/debian-squeeze-preseed rm -r tmp/debian-squeeze-preseed
通过读取噪音,你可以看到我打开了ISO并修改了isolinux.conf中的超时时间,并试图更新linux和initrd.gz文件,但无济于事。
无论我尝试在VirtualBox中使用预先映射的映像(无需修改)启动,还是使用libvirt或virtualbox启动无人照pipe的映像,结果总是相同“当前内核不支持逻辑卷pipe理器”。
我不确定Squeeze Instalinux工具给我的版本是什么,但是我觉得它是6.0.3,但现在我已经find它了,我找不到它了。 我能够从失败后的安装控制台中提取以下内容:
$ cat /etc/lsb-release DISTRIB_ID=Debian DISTRIB_DESCRIPTION="Debian GNU/Linux Installer" DISTRIB_RELEASE="6.0 (squeeze) - installer build 20110106+b1" X_INSTALLATION_MEDIUM=netboot
我错过了图像信息中的修补程序版本,但是考虑到FTP目录上的时间戳是从26-09-2012开始的,那么很长时间以来,情况就会变得不同步。
我想知道在哪里可以find解决scheme,是否需要预先设定的ISO,或者是否有更好的解决方法。