On 01.10.2009 10:22, Vladimir 'phcoder' Serbinenko wrote:
To simulate brain damage of your BIOS
*shrug* I wonder how you can manage to simulate _that_ severe damage.
echo '(hd0) /dev/loop0'> /boot/grub/device.map
D'oh, didn't think of hardcoding it, I thought GRUB detects it properly.
However, phcoder, there were some crackheads back in January taking some
time with that matter and I tried almost every hack discussed on the
net. And out of nothing comes you, applying yet another hack and it just
seems to work. You're a true hero. :D
However when doing "ls (hd0)" in the GRUB rescue shell that fires up,
I'm getting "Partition table". I guess this is part of the hack?
Is it possible to apply this workaround in the codebase so that others
with that broken BIOS (remember I have another MBR file of a guy who
reported identical behaviour) or is this something that should be left
to people with broken BIOS?
All in all, thank you very much, now that I have a rescue shell, I can
start playing.
--
Mierswa, Daniel
If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
--- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel