Bug#595095: Preseed options for hands-off install

Anthony L. Awtrey tony at awtrey.com
Tue Aug 31 23:00:45 UTC 2010


Package: grub2
Version: 1.98+20100804-4

I am attempting to migrate an automated preseed installation from Lenny
to Squeeze. In Lenny, when installing with only one internal hard drive,
grub picked it without requiring the device to be explicitly specified.
If it happened that there were more than one physical device present,
the installer would prompt for the correct drive. When upgrading to
grub2 during the late-command script, grub2 just used that previously
selected drive when running the postinstall / legacy upgrade script.

Now in Squeeze, it seems impossible to perform a preseeded installation
without putting a specific device (/dev/sda) in the preseed file. I
preferred the way the Lenny grub installer handled it. Sometimes if
another device is present there is a race at boot and an sd card or usb
key will sometimes be selected by the kernel to be the /dev/sda device
node. This means that the device might be inadvertently overwritten.

Is it possible to make a completely hands-off preseed installer without
putting a specific device node in the preseed file using grub2?

Does this make sense? Let me know if I need to clarify what I'm asking.

Tony





More information about the Pkg-grub-devel mailing list