Network preseed install stalls during kernel setup

Rodrique Heron swygue at rodhouse.org
Sat Apr 25 18:41:15 UTC 2009


 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".

I was able to copy the syslog using preseed command "preseed/late_command:
cp /var/log/syslog /target/root/preseed-install.log"

>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.

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.


Apr 25 16:20:26 base-installer: info: arch_kernel: linux-generic (present)
Apr 25 16:20:26 base-installer: info: Using kernel 'linux-generic'
Apr 25 16:20:27 in-target:   binutils-static linux-image-2.6.24-23-generic
linux-image-generic
Apr 25 16:20:27 in-target:   linux-restricted-modules-2.6.24-23-generic
linux-restricted-modules-common
Apr 25 16:20:27 in-target:   linux-restricted-modules-generic
linux-ubuntu-modules-2.6.24-23-generic
Apr 25 16:20:27 in-target:   binutils-static linux-generic
linux-image-2.6.24-23-generic
Apr 25 16:20:27 in-target:   linux-image-generic
linux-restricted-modules-2.6.24-23-generic
Apr 25 16:20:27 in-target:   linux-restricted-modules-common
linux-restricted-modules-generic
Apr 25 16:20:27 in-target:   linux-ubuntu-modules-2.6.24-23-generic
nvidia-kernel-common
Apr 25 16:20:27 in-target: Get:2 http://10.69.14.23 hardy/main
linux-image-generic 2.6.24.23.25 [26.6kB]
Apr 25 16:20:27 in-target: Get:5 http://10.69.14.23 hardy/restricted
linux-restricted-modules-2.6.24-23-generic 2.6.24.16-23.56 [15.6MB]
Apr 25 16:20:27 in-target: Get:6
http://security.ubuntu.comhardy-security/main
linux-image-2.6.24-23-generic 2.6.24-23.52 [17.8MB]
Apr 25 16:20:27 in-target: Get:7 http://10.69.14.23 hardy/restricted
linux-restricted-modules-generic 2.6.24.23.25 [26.6kB]
Apr 25 16:20:27 in-target: Get:8 http://10.69.14.23 hardy/restricted
linux-generic 2.6.24.23.25 [26.6kB]
Apr 25 17:07:58 in-target: Get:9
http://security.ubuntu.comhardy-security/main
linux-ubuntu-modules-2.6.24-23-generic 2.6.24-23.37
[5618kB]
Apr 25 17:26:41 debconf: Obsolete command TITLE Configuring
linux-image-2.6.24-23-generic called
Apr 25 17:28:51 main-menu[3703]: (process:12712): update-initramfs:
Generating /boot/initrd.img-2.6.24-23-generic
Apr 25 17:28:51 grub-installer: info: architecture: amd64/generic
Apr 25 17:28:56 grub-installer: Found kernel: /vmlinuz-2.6.24-23-generic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090425/593669df/attachment.html>


More information about the ubuntu-users mailing list