Machines with > 16 drives not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
grub2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
lilo (Ubuntu) |
Fix Released
|
Medium
|
Joachim Wiedorn |
Bug Description
Installations of Ubuntu on machines with more than 16 disks are currently not (fully) supported. If the boot device is not within the first 16 scsi block devices (/dev/sd[a-p]), the installation of boot loaders grub/grub2 and lilo fails.
<cjwatson> that sounds /* The rest is SCSI disks. */
<cjwatson> for (i = 0; i < 16; i++)
<cjwatson> wow, lilo has the exact same limitation, 16 disks
Log excerpt from a grub installation attempt with boot drives /dev/sdy and /dev/sdac:
Feb 26 21:30:44 grub-installer: Probing devices to guess BIOS drives. This may take a long time.
Feb 26 21:30:45 grub-installer: /dev/sdy1 does not have any corresponding BIOS drive.
Feb 26 21:30:45 grub-installer: error: Running 'grub-install --no-floppy "(hd0)"' failed.
Feb 26 21:30:45 debconf: --> SUBST grub-installer/
Changed in grub2: | |
assignee: | nobody → cjwatson |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in grub: | |
assignee: | nobody → cjwatson |
importance: | Undecided → High |
status: | New → Triaged |
Changed in lilo: | |
assignee: | nobody → cjwatson |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in grub: | |
status: | Triaged → Fix Committed |
Changed in grub (Ubuntu): | |
assignee: | Colin Watson (cjwatson) → nobody |
Changed in lilo (Ubuntu): | |
assignee: | Colin Watson (cjwatson) → nobody |
Changed in grub2 (Ubuntu): | |
assignee: | Colin Watson (cjwatson) → nobody |
The issue appears not to be fully addressed by the committed fix; an Ubuntu install still fails if the boot device is not within the first 7 disks:
# chroot /target grub-install --no-floppy "(hd24)"
Searching for GRUB installation directory ... found: /boot/grub
The file /boot/grub/stage1 not read correctly.
A strace seems to indicate that the "dump" command fails. Some debugging:
grub> dump (hd7)/boot/ grub/stage1 /tmp/grubtest grub/stage1 /tmp/grubtest
dump (hd7)/boot/
Error 17: Cannot mount selected partition
grub> dump (hd8)/boot/ grub/stage1 /tmp/grubtest grub/stage1 /tmp/grubtest
dump (hd8)/boot/
Error 12: Invalid device requested