I installed Lubuntu 11.10 and it run without problems. I decided to install Ubuntu 11.10 mini instead of Lubuntu 11.10.
After the installation the operating system didn't boot. I only saw the black screen.
I used sysresccd and tried to repair grub according to this guide and I tried solution 2. It didn't help.
I tried to repair it with lilo. I remembered that at some time in the past I repaired mbr with lilo and everything was OK.
After using the command:
lilo -M /dev/sda mbr
I restarted the laptop and a message appeared (I don't remember what it said). I understood that I had to install grub again and repeated the procedure with sysresccd, which didn't help.
EDIT: fdisk -l /dev/sda
EDIT: content of /boot directory of sda1 partition
EDIT: I used google and found this link. It seems that this is my problem. It was only sufficient to press ctrl+alt+F1 and Ubuntu started booting. After commenting the line containing vt.handoff in /etc/grub.d/10_linux everything was OK.
How to close this question?