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

Bug#615599: debian-installer prefers usb Blockdevices over "real" harddrives



Marc Haber <mh+debian-bugs@zugschlus.de> writes:

> On Mon, Feb 28, 2011 at 06:33:55AM +0100, Christian PERRIER wrote:
>
>> Quoting Thomas Mieslinger (thomas@mieslinger.de):
>>
>>> Package: debian-installer
>>> Version: 20110106+b1
>>> 
>>> Tried to autoinstall squeeze on dell poweredge hardware with drac5
>>> or idrac6 KVM. The installer always tried to use 40MB usb vflash
>>> (/dev/sda) instead of the 1tb real harddrive (/dev/sdb).
>> 
>> Hmmm, when there are several storage devices, you get, at some point,
>> the choice of what drive the installation should be made to.
>
> Thomas is talking about unattended installation of an obscene number
> of servers, so "getting a choice" is not the intended behavior.
>
>> So, what exactly makes you think that the installer "prefers" USB
>> block devices?
>
> I guess that he would prefer to have USB block devices treated with
> lower (lowest?) precedence over "real" storage devices, which
> can/should avoid a prompt which may be undesireable during an unaended
> install.

I don't think any concept of "preference" is present in the
partitioner.  However, let me quote the preseeding documentation:

# This command is run immediately before the partitioner starts. It may be
# useful to apply dynamic partitioner preseeding that depends on the state
# of the disks (which may not be visible when preseed/early_command runs).
#d-i partman/early_command \
#       string debconf-set partman-auto/disk "$(list-devices disk | head -n1)"

Isn't this something you could use?
-- 
Regards,
Feri.



Reply to: