i wanted to switch from lilo to grub so this is what i did to install grub
when ubuntu starts i logged in two of the consoles (strg+alt+F1 and F2)
in the first console i started "sudo install-grub /dev/sda"
when it hangs now i switched to the second console and typed: "sudo xfs_freeze -u ." repeat it until grub-install finishes on the first console!
following site helped me to install grub: http:// anti.teamidiot. de/nei/ 2006/10/ debian_ grubinstall_ freeze_ on_x/
i wanted to switch from lilo to grub so this is what i did to install grub
when ubuntu starts i logged in two of the consoles (strg+alt+F1 and F2)
in the first console i started "sudo install-grub /dev/sda"
when it hangs now i switched to the second console and typed: "sudo xfs_freeze -u ." repeat it until grub-install finishes on the first console!
it works now!