GRUB Section in 11.04 Preseed file

Marc Deslauriers marcdeslauriers at videotron.ca
Thu Jun 16 22:43:44 UTC 2011


On Thu, 2011-06-16 at 15:23 -0500, nikhil . wrote:
> Hi Guys, 
>  
> In my company we use the Ubuntu alternate ISO to automate our Ubuntu
> deployments on many hundreds of systems. I'm trying to test Ubuntu
> 11.04 installs now and have gone past several issues in the preseed
> file but I'm stuck with an error in GRUB install. 
>  
> In 11.04 x64 installer, I get a prompt for "Select location for
> installing GRUB" and then I enter /dev/sda but this does not work. I
> have tried /dev/sda1, /dev/sda3, /dev/sda5 (all are valid partitions).
> My section in preseed file is 
>  
> d-i grub-installer/only_debian boolean false
> d-i grub-installer/with_other_os boolean false
> d-i grub-installer/bootdev  string /dev/sda1
> 
>  What is strange is that the above section works for the 11.04 32-bit
> installer without a problem. 
>  
> Has anyone seen this? Please help.

I think you need to specify the partition in a grub format, ie:

d-i grub-installer/bootdev  string (hd0)

Marc.







More information about the ubuntu-users mailing list