On Mon, 2003-02-17 at 04:27, Giulio Orsero wrote: > On Mon, 17 Feb 2003 16:46:49 +0800, Patrick Law <[EMAIL PROTECTED]> > wrote: > > >Is there a command or way to know the pc boot up with lilo or grub without > >restarting the pc? > > Assuming you are on ide, with boot on hda mbr, you can do > > dd if=/dev/hda of=file.tmp bs=1 count=10 > > $ cat file.tmp > úë|lbaLILO$ > > So, guess what I'm using... > > -- > [EMAIL PROTECTED]
Not so fast. :) I have 'lbaLILO' at the beginning of my mbr as well but LILO is not the boot loader that I have installed. Here's what I tried # dd if=/dev/hda of=file.tmp bs=512 count=1 # strings file.tmp lbaLILO ZRrI D|f1 GRUB Geom Hard Disk Read Error LILO and GRUB both show up. -- Caleb Groom <[EMAIL PROTECTED]> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list