I got problems with grub again...as by always I cannot deal with it (seriously I think its the worst program ever made after ms windows)
I trying to install grub on the remote server with linux (debian stable) image loaded into the ram.
Firstly grub said there is no stage1 file, but its there:
[root@rescue /]# file /boot/grub/stage1
/boot/grub/stage1: x86 boot sector, code offset 0x48
then I cleaned boot sector by dd if=/dev/zero of=/dev/sda bs=466 count=1
Now it says there is no first partition:
grub> root (hd0,0)
Error 22: No such partition
I tried to reread partition table by hdparm -z /dev/sda but nothing changed.
Anyone please help