Δημοσιεύτηκε: 12 Δεκ 2009, 18:36
από kermit
vagrale13 έγραψε:Μπες απο livecd και δωσε τα παρακατω ενα-ενα

Κώδικας: Επιλογή όλων
sudo mount /dev/sda3 /mnt
sudo mount --bind /dev /mnt/dev
sudo chroot /mnt
update-grub
grub-install /dev/sda3
grub-install --recheck /dev/sda3

Μετα πατησε Ctrl+d

και μετα δωσε τα παρακατω
Κώδικας: Επιλογή όλων
sudo umount /mnt/dev
sudo umount /mnt

μετα κανε επανεκκινηση και δες αν εισαι ενταξει!


Να και τα αποτελεσματα:

Κώδικας: Επιλογή όλων
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@ubuntu:~$ sudo mount /dev/sda3 /mnt
ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
^[[3~ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-16-generic
Found initrd image: /boot/initrd.img-2.6.31-16-generic
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found memtest86+ image: /boot/memtest86+.bin
grep: /proc/mounts: No such file or directory
Cannot find list of partitions!
done
root@ubuntu:/# grub-install /dev/sda3
grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0) /dev/fd0
(hd0) /dev/sda
root@ubuntu:/# grub-install --recheck /dev/sda3
grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0) /dev/fd0
(hd0) /dev/sda
root@ubuntu:/#

Το ξαναεκανα μηπως εκανα καποιο λαθος. Κανω restart κ μετα θα κανω οτι προτεινεις στο παραπανω post