Zanim 
zrestartuję, podam co zrobiłem:
Kod: Zaznacz cały
debian:~#  dpkg --purge lilo
(Odczytywanie bazy danych ... 203122 plików i katalogów obecnie zainstalowanych.)
Usuwanie lilo ...
Czyszczenie z plików konfiguracyjnych dla lilo ...
Przetwarzanie wyzwalaczy dla menu...
debian:~# dpkg-reconfigure grub-common
debian:~# dpkg-reconfigure grub-pc
Konfiguracja pakietu
    ┌─────────────────────────────────────────┤ Konfiguracja pakietu grub-pc ├─────────────────────────────────────────┐
    │ The following Linux command line was extracted from /etc/default/grub or the `kopt' parameter in GRUB Legacy's   │ 
    │ menu.lst.  Please verify that it is correct, and modify it if necessary.                                         │ 
    │                                                                                                                  │ 
    │ Linux command line:    root(hd0,0)                                                                               │ 
    │                                                                                                                  │ 
    │ ________________________________________________________________________________________________________________ │ 
    │                                                                                                                  │ 
    │                                                      <OK>                                                        │ 
    │                                                                                                                  │ 
    └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ 
                                                                                                                         
Konfiguracja pakietu
    ┌─────────────────────────────────────────┤ Konfiguracja pakietu grub-pc ├─────────────────────────────────────────┐
    │ The following string will be used as Linux parameters for the default menu entry but not for the recovery mode.  │ 
    │                                                                                                                  │ 
    │ Linux default command line:                                                                                      │ 
    │                                                                                                                  │ 
    │ ________________________________________________________________________________________________________________ │ 
    │                                                                                                                  │ 
    │                                                      <OK>                                                        │ 
    │                                                                                                                  │ 
    └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ 
Konfiguracja pakietu
 ┌────────────────────────────────────────────┤ Konfiguracja pakietu grub-pc ├────────────────────────────────────────────┐
 │ The grub-pc package is being upgraded.  This menu allows you to select which devices you'd like grub-install to be     │ 
 │ automatically run for, if any.                                                                                         │ 
 │                                                                                                                        │ 
 │ It is recommended that you do this in most situations, to prevent the installed GRUB from getting out of sync with     │ 
 │ other components such as grub.cfg or with newer Linux images it will have to load.                                     │ 
 │                                                                                                                        │ 
 │ If you're unsure which drive is designated as boot drive by your BIOS, it is often a good idea to install GRUB to all  │ 
 │ of them.                                                                                                               │ 
 │                                                                                                                        │ 
 │ Note: It is possible to install GRUB to partition boot records as well, and some appropriate partitions are offered    │ 
 │ here.  However, this forces GRUB to use the blocklist mechanism, which makes it less reliable, and therefore is not    │ 
 │ recommended.                                                                                                           │ 
 │                                                                                                                        │ 
 │ GRUB install devices:                                                                                                  │ 
 │                                                                                                                        │ 
 │    [ ] /dev/sda (250059 MB, Hitachi_HTS545025B9A300)                                                                   │ 
 │    
[*] - /dev/sda1 (32218 MB, /)                                                                                       │ 
 │                                                                                                                        │ 
 │                                                                                                                        │ 
 │                                                         <OK>                                                           │ 
 │                                                                                                                        │ 
 └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ 
Replacing config file /etc/default/grub with new version
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found linux image: /boot/vmlinuz-2.6.32-3-686
Found initrd image: /boot/initrd.img-2.6.32-3-686
done
debian:~#
Dla pewności jeszcze:
Kod: Zaznacz cały
debian:~# dpkg -l |grep lilo
debian:~# dpkg -l |grep grub
ii  grub-common                          1.98+20100710-1                GRand Unified Bootloader, version 2 (common files)
ii  grub-pc                              1.98+20100710-1                GRand Unified Bootloader, version 2 (PC/BIOS version)
debian:~#
Teraz zrestartuję i dam znać czy zadziałało...
Dodane:
Nie zadziałało. Teraz przy starcie widzę czarny ekran wypełniony do połowy "99" (jak w załączonym zdjęciu). Spróbuję jeszcze wykonać kroki z podanego linka tzn. 
http://jakilinux.org/linux/ubuntu/przyw ... i-windows/ i zamelduję czy zadziała.
Dodane
Nie działa. Wykonałem polecenia jak z poradnika, z tym, że aby zamontować 
oraz
musiałem stworzyć katalogi
oraz
i dopiero potem montować. Pomimo tego nie udało się wykonać
Kod: Zaznacz cały
ubuntu@ubuntu:~$ sudo chroot /mnt
chroot: cannot run command `/bin/bash': No such file or directory
ubuntu@ubuntu:~$
Dlatego zrobiłem
Kod: Zaznacz cały
ubuntu@ubuntu:~$ sudo chroot /
root@ubuntu:/#
Niestety przy próbie reinstalacji gruba, otrzymuję komunikat, którego nie rozumiem:
Kod: Zaznacz cały
root@ubuntu:/# grub-install /dev/sda
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
No path or device is specified.
Try `/usr/sbin/grub-probe --help' for more information.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
root@ubuntu:/#
Z komunikatów domyślam się, że coś chyba źle zamontowałem i dlatego ścieżki są niewłaściwe, ale nie rozumiem co dokładnie powinienem zrobić, aby działało. Będę wdzięczny za wskazówkę.
Dodam jeszcze:
mój dysk
Kod: Zaznacz cały
root@ubuntu:/#fdisk -l
Disk /dev/sda: 250.1GB 250059350016 bytes
255 heads, 63 sectors/track,
[i]bla bla bla[/i]
Device    Boot  Start      End             Blocks      Id   System
/dev/sda1    *       1     3917        31463271     83   Linux
/dev/sda2        3918    4179          2104515     82   Linux swap / Solaris
/dev/sda3         4180    30398   210604117+    83   Linux
/dev/sda4       30399    30401           17088+    ef  (FAT-12/16/32)
moje zamontowanie
Kod: Zaznacz cały
root@ubuntu:/# mount
aufs on / type aufs (rw)
none on /roc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
/dev/sr0 on cdrom type iso 9660 (ro,noatime)
dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sda3 on /mnt type ext3 (rw)
/dev on /mnt/dev type none (rw,bind)
/proc on /mnt/proc type none (rw,bind)
/dev on /mnt/dev type none (rw,bind)
/dev on /dev type none (rw,bind)
/proc on /mnt/proc type none (rw,bind)
/proc on /mnt/proc type none (rw,bind)
/proc on /proc type none (rw,bind)
root@ubuntu:/#
lokalizacja katalogów
Kod: Zaznacz cały
root@ubuntu:/# ls -a
.   bin    cdrom   etc       initrd.img   media   opt     rofs   sbin       srv    tmp   var
..  boot  dev       home   lib             mnt       proc   root   selinux   sys   usr     vmlinuz
root@ubuntu:/# ls -a /mnt
.   ..   dane   dev   lost+found   proc   ja
Przy czym w "oryginalnej" strukturze katalogi /mnt/dev oraz /mnt/proc nie istnieją.