I am preseeding ubuntu server using a local installation tree, everything works fine until the installation gets to 83%. The progress bar will read "Installing the kernel - retrieving and installing linux-generic".<br>
<br>I was able to copy the syslog using preseed command "preseed/late_command: cp /var/log/syslog /target/root/preseed-install.log"<br><br>From the logs, I can see its going out to the internet to fetch linux-generic and linux-ubuntu-modules-2.6.24-23-generic, and this takes a very long time to download.<br>
<br>How can I force it to only fetch packages from my local installation tree? My installation tree is just the Ubuntu alternate CD mounted on my webserver. If I boot from the Ubuntu alternate CD and and point to my preceed file via http, eveything goes fine and the installation does not try to fetch any packages from the internet, eveything is loaded from the CD.<br>
<br><br>Apr 25 16:20:26 base-installer: info: arch_kernel: linux-generic (present)<br>Apr 25 16:20:26 base-installer: info: Using kernel 'linux-generic'<br>Apr 25 16:20:27 in-target:   binutils-static linux-image-2.6.24-23-generic linux-image-generic<br>
Apr 25 16:20:27 in-target:   linux-restricted-modules-2.6.24-23-generic linux-restricted-modules-common<br>Apr 25 16:20:27 in-target:   linux-restricted-modules-generic linux-ubuntu-modules-2.6.24-23-generic<br>Apr 25 16:20:27 in-target:   binutils-static linux-generic linux-image-2.6.24-23-generic<br>
Apr 25 16:20:27 in-target:   linux-image-generic linux-restricted-modules-2.6.24-23-generic<br>Apr 25 16:20:27 in-target:   linux-restricted-modules-common linux-restricted-modules-generic<br>Apr 25 16:20:27 in-target:   linux-ubuntu-modules-2.6.24-23-generic nvidia-kernel-common<br>
Apr 25 16:20:27 in-target: Get:2 <a href="http://10.69.14.23">http://10.69.14.23</a> hardy/main linux-image-generic 2.6.24.23.25 [26.6kB]<br>Apr 25 16:20:27 in-target: Get:5 <a href="http://10.69.14.23">http://10.69.14.23</a> hardy/restricted linux-restricted-modules-2.6.24-23-generic 2.6.24.16-23.56 [15.6MB]<br>
Apr 25 16:20:27 in-target: Get:6 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> hardy-security/main linux-image-2.6.24-23-generic 2.6.24-23.52 [17.8MB]<br>Apr 25 16:20:27 in-target: Get:7 <a href="http://10.69.14.23">http://10.69.14.23</a> hardy/restricted linux-restricted-modules-generic 2.6.24.23.25 [26.6kB]<br>
Apr 25 16:20:27 in-target: Get:8 <a href="http://10.69.14.23">http://10.69.14.23</a> hardy/restricted linux-generic 2.6.24.23.25 [26.6kB]<br>Apr 25 17:07:58 in-target: Get:9 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> hardy-security/main linux-ubuntu-modules-2.6.24-23-generic 2.6.24-23.37 [5618kB]<br>
Apr 25 17:26:41 debconf: Obsolete command TITLE Configuring linux-image-2.6.24-23-generic called<br>Apr 25 17:28:51 main-menu[3703]: (process:12712): update-initramfs: Generating /boot/initrd.img-2.6.24-23-generic <br>Apr 25 17:28:51 grub-installer: info: architecture: amd64/generic<br>
Apr 25 17:28:56 grub-installer: Found kernel: /vmlinuz-2.6.24-23-generic<br><br>