Joey Hess wrote:
> We can probably detect with with a size check heuristic. (A minimal
> installation system such as d-i doesn't have the file command).

Sure, either that, or you could emulate the magic number check that file 
does.

> > The entries in the original GRUB menu of the SUSE installation
> > were:
> >
> > title linux
> >     kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 vga=0x31a  acpi=off
> > splash=silent showopts initrd (hd0,4)/boot/initrd
> >
> > title failsafe
> >     kernel (hd0,4)/boot/vmlinuz.shipped root=/dev/hda5 showopts
> > ide=nodma apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3
> > initrd (hd0,4)/boot/initrd.shipped
>
> Where does SuSE hide its grub menu? If the installer can find one of
> those it simply uses it, instead of trying to hunt down kernel images
> on its own.

/boot/grub/menu.lst (the same /boot that the kernel images mentioned 
above are in).  The only noticeable difference to Debian is that it has 
-rw------- permissions; maybe that matters.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to