aval az hame sharmande man farsi nadram chon alan ba cd boot shodam
linki ke dadin ro enga kardam amma dar in marhle be moshkel khordam:
vaghti in dastro zadam:
sudo grub-install --root-directory=/mnt/ /dev/sda
Report bugs to <bug-grub@gnu.org>.
ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt/ /dev/sda
/usr/sbin/grub-setup: warn: Your embedding area is unusually small. core.img won't fit in it..
/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 its use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
albate kole dastooratamam ke zadam ina bood :
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
224 heads, 19 sectors/track, 229504 cylinders
Units = cylinders of 4256 * 512 = 2179072 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1c2e8382
Device Boot Start End Blocks Id System
/dev/sda1 * 1 96241 204800838+ 7 HPFS/NTFS
/dev/sda2 96242 229503 283581527+ f W95 Ext'd (LBA)
/dev/sda5 96242 229503 283581526+ 83 Linux
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /mnt
ubuntu@ubuntu:~$ sudo mount --bind /dev/ /mnt/dev
ubuntu@ubuntu:~$ sudo mount --bind /proc /mnt/proc