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

Bug#380416: lilo fails to install when using XFS root partition on AMD64



Package: lilo-installer
Version: 1.16

I'm using the latest daily build of the AMD64 netinst CD.  I have a
single SATA drive, and I selected "use entire drive" in the
partitioner and it created one large root partition and one swap
partition.  Then I changed the root partition to XFS.  There was a
warning about XFS + grub and the lilo installer ran instead of the
grub one.

The LILO installer asks for the installation target and gives three choices:
1) /dev/hdc: Master Boot Record
2) /dev/sda1: new Debian partition
3) Other (advanced)

/dev/hdc is my CDROM, /dev/sda is my SATA HD, so I chose option 2.  It
asks if I would like to make the partition active and warns that
otherwise I won't be able to boot.  I say yes and there's an error
message: "An installation step failed.  You can try to run the
failing..." etc.  In any case, the "Install the LILO boot loader on a
hard disk" step fails.

Ctrl-Alt-F4, tells me:
grub-installer: /boot on xfs, unsafe to install grub
grub-installer: /boot on xfs, unsafe to install grub
main-menu: INFO: Menu item 'lilo-installer' selected
main-menu: I: setting partition to active
main-menu: /dev/scsi/host2/bus0/target0/lun1/disc: No medium found
main-menu:
main-menu: sfdisk:
main-menu: cannot open /dev/scsi/host2/bus0/target0/lun1/disc read-write
main-menu: WARNING **: Configuring 'lilo-installer' failed with error code 1
main-menu: WARNING **: Menu item 'lilo-installer' failed.

I went back to the main menu, enabled the web server that shows the
logs, noticed that the partman log says that my HD is
/dev/scsi/host1/bus0/target0/lun0/disc, so I went back to the LILO
menu and tried that in the Other option, but the result was the same:

Jul 29 18:06:59 grub-installer: /boot on xfs, unsafe to install grub
Jul 29 18:07:00 grub-installer: /boot on xfs, unsafe to install grub
Jul 29 18:07:07 main-menu[2214]: INFO: Menu item 'lilo-installer' selected
Jul 29 18:07:16 main-menu[2214]: (process:1635): I: Setting partition
/dev/sda1 to active...
Jul 29 18:07:16 main-menu[2214]: (process:1635):
/dev/scsi/host2/bus0/target0/lun1/disc: No medium found
Jul 29 18:07:16 main-menu[2214]: (process:1635):
Jul 29 18:07:16 main-menu[2214]: (process:1635): sfdisk:
Jul 29 18:07:16 main-menu[2214]: (process:1635): cannot open
/dev/scsi/host2/bus0/target0/lun1/disc read-write
Jul 29 18:07:16 main-menu[2214]: WARNING **: Configuring
'lilo-installer' failed with error code 1
Jul 29 18:07:16 main-menu[2214]: WARNING **: Menu item 'lilo-installer' failed.
Jul 29 18:07:17 grub-installer: /boot on xfs, unsafe to install grub
Jul 29 18:07:17 grub-installer: /boot on xfs, unsafe to install grub


Alex



Reply to: