Comment 3 for bug 1307614

Revision history for this message
Jeff Lane  (bladernr) wrote :

I'd be more inclined to call this an installer bug, however, MAAS should not be doing FPI to the wrong place as well.

But in general, d-i has issues installing to the correct drive, by default, all ubuntu installs go to "/dev/sda" and /dev/sda is not always the onboard HDD, it really depends on what is presented to the OS as a disk first.

We saw this a LOT when doing automated SRU testing on laptops where the desktop installer and d-i would both, on some machines, install to the USB stick rather than the onboard HDD.

In fact, I did this just the other day with a 4GB USB STick and my own maas setup.

So there really should still be a d-i bug for this as well, but we do think it would be good to ensure that MAAS is a little smarter, or at least a little more configurable about where it installs.

MAAS knows what disks are present, it should be getting that data during commissioning. So really it could be a matter of editing the node and choosing:

[ ] /dev/sda ADATA Flash Drive 8GB
[*] /dev/sdb Western Digital ST01428927 500GB

which would tell MAAS either where to lay down the fast path image, or edit d-i preseed accordingly for partitioning