[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#712907: grub-installer: No longer installs automatically on a normal machine with one hard drive



Salvatore Bonaccorso <carnil@debian.org> (2014-03-20):
> It looks bootdev could be preseeded[1], at least for a test for a VM
> preseed the following worked for me:
> 
> d-i grub-installer/bootdev string /dev/vda
> 
>  [1] https://bugs.debian.org/666974
> 
> But having string (hd0) does not seem to work here (have not checked
> why), which would be nicer to have more generalised preseed files as
> previous possible (for say when having machines having a /dev/vda or a
> /dev/sda ...).
> 
> Petter, does this also work for you?

First of all, I'm not familiar with d-i best practices. So maybe the
following won't make sense.

We could imagine either proposing another variable which would take
specifications like “(hd0)” and do what's needed to convert them back to
/dev/foo stuff, or detect (based on what? parens?) when a conversion is
needed for the bootdev variable that was passed, and do that.

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: