Re: Installing elilo on MacMiniIntel fails
Hi,
> > $ chroot /target apt-get install refit
> > $ /target/sbin/gptsync /dev/sda
> > $ chroot /target
> > $ lilo /dev/sda3
> > (ignoring some warnings from lilo)
> > After this the installation continued fine, and I have no a running Debian
> > system.
>
> If we can identify a way to discover if it's truely a MacIntel machine
> we can make it transparent to end user ... let's see if we can do
> that.
dmidecode tells you that it's:
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Apple Computer, Inc.
Product Name: MacBook1,1
Version: 1.0
Serial Number: 4H6231PKU9D
UUID: 9CFE245E-D0C8-BD45-A79F-54EA5FBD3D97
Wake-up Type: Power Switch
SKU Number: System SKUNumber
Family: Napa Mac
Product Name should be enough.
Looking around at kernel patches, they seem to be checking for this also:
http://lkml.org/lkml/2006/7/16/18
+static struct dmi_system_id __initdata pci_mmcfg_dmi_system_apple[] = {
+ { pci_mmcfg_force_system, "iMac4,1", {
+ DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."),
+ DMI_MATCH(DMI_BIOS_VERSION,"iMac4,1") }},
+ { pci_mmcfg_force_system, "MacBookPro1,1", {
+ DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."),
+ DMI_MATCH(DMI_BIOS_VERSION,"MacBookPro1,1") }},
+ { pci_mmcfg_force_system, "MacBook1,1", {
+ DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME,"MacBook1,1")}},
+ { pci_mmcfg_force_system, "Macmini1,1", {
+ DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME,"Macmini1,1")}},
+ {},
+};
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
Reply to: