Reataurare grub

Dec

8

2010

Se pare ca am asteptat degeaba tutorialul despre reinstalarea grub-ului. Credeam ca imi scapa ceva dar nu…

Am facut exact ca in tutorial, si imi da urmatoarea eroare:

/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.

Cum instalez grub-ul pana la urma?

Etichete: , ,

Categoria: Linux Intrebat de: [68 Blue Star Level]
Answer #1

Hai sa fim logici… fa un print cu Gparted ca sa vad exact ce ai acolo, ok? dar fal in asa fel incat sa incapa toate partitiile in print…maresti fereastra….vezi ca ai in ubuntu utilitar de print screen prin Applications > Accessories > Snap Shoot sau Screen shot se cheama daca nu ma insel…si il urci pe tynipic.com si dai aici al 4-lea link, apoi imi spui exact ce comenzi ai dat tu in terminal.

Answers Answered By: LuC1F3R [1167 Orange Star Level]
Answer #2

http://tinypic.com/r/eb9bnm/7

Am incercat si cu metoda urmatoare si primesc aceeasi eroare.

This method of installation uses the chroot command to gain access to the broken system’s files. Once the chroot command is issued, the LiveCD treats the broken system’s / as its own. Commands run in a chroot environment will affect the broken systems filesystems and not those of the LiveCD.

1.

Boot to the LiveCD Desktop (Ubuntu 9.10 or later). Please note that the Live CD must be the same as the system you are fixing – either 32-bit or 64-bit (if not then the chroot will fail).
2.

Open a terminal – Applications, Accessories, Terminal.
3. Determine your normal system partition – (the switch is a lowercase „L”)

sudo fdisk -l
* If you aren’t sure, run

df -Th. Look for the correct disk size and ext3 or ext4 format.
4. Mount your normal system partition:
* Substitute the correct partition: sda1, sdb5, etc.

sudo mount /dev/sdXX /mnt # Example: sudo mount /dev/sda1 /mnt
5.

Only if you have a separate boot partition:
* sdYY is the /boot partition designation (for example sdb3)
*

sudo mount /dev/sdYY /mnt/boot
6. Mount the critical virtual filesystems:

sudo mount –bind /dev /mnt/dev
sudo mount –bind /dev/pts /mnt/dev/pts
sudo mount –bind /proc /mnt/proc
sudo mount –bind /sys /mnt/sys
7. Chroot into your normal system device:

sudo chroot /mnt
8. If there is no /boot/grub/grub.cfg or it’s not correct, create one using

update-grub
9. Reinstall GRUB 2:
*

Substitute the correct device – sda, sdb, etc. Do not specify a partition number.

grub-install /dev/sdX
10.

Verify the install (use the correct device, for example sda. Do not specify a partition): sudo grub-install –recheck /dev/sdX
11.

Exit chroot: CTRL-D on keyboard
12. Unmount virtual filesystems:

sudo umount /mnt/dev/pts
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
* If you mounted a separate /boot partition:

sudo umount /mnt/boot
13. Unmount the LiveCD’s /usr directory:

sudo umount /mnt/usr
14. Unmount last device:

sudo umount /mnt
15. Reboot.

sudo reboot

Answers Answered By: Bambilici [68 Blue Star Level]
Answer #3

Pai acum zici ca ai aplicat ce am spus in tutorial si acum vii si zici ca defapt ai aplicat alta metoda…Da exact commenzile care le-ai dat tu, in textu de sus scrie sdaxx…e important ce ai pus tu in locul X-ului, ce comenzi ai dat tu exact, fa ce am aratat eu in tutorialul de aseara, te-ai uitat cap-coada fara sa derulezi? Scrie exact ce comenzi ai dat tu (daca folosesti metoda mea sunt doar 3 comenzi dar e important cum le dai, in ce ordine, ce ai pus tu sda, sda1, sda2…. asta ma intereseaza…ca sa stiu unde ai gresit)

Answers Answered By: Adrian [42 Green Star Level]
Answer #4

sudo mount /dev/sda7 /mnt
sudo grub-install –root-directory=/mnt/ /dev/sda

dupa ce dau a 2 a comanda imi apare mesajul acela .

Answers Answered By: Bambilici [68 Blue Star Level]
Answer #5

da comanda fara „/” dupa mnt adica asa sudo grub-install –root-directory=/mnt /dev/sda

Answers Answered By: caramida [22 Grey Star Level]
Answer #6

am incercat si asa :))
nu a mers.

Answers Answered By: Bambilici [68 Blue Star Level]
Answer #7

incearca cu Supergrubdisk2.o sa scaneze hdd savada sistemele de operare instalezi grub ul faci un update la grub si a r trebui sa mearga

Answers Answered By: caramida [22 Grey Star Level]
Answer #8

am incercat si asta. nu merge :))
o sa reinstalez linuxul.

Answers Answered By: Bambilici [68 Blue Star Level]
Answer #9

SI eu am dezinstalat Ubuntul 10.10 cand dateam sa porneasca ubuntul imi aparea couldnt read file . reeor you need to load kernel first ,. l-am dezinstalat si acuma nu imi mai porneste windowsul ami scrie unknown filesystem grub resue> _

Answers Answered By: robert333 [45 Green Star Level]

Raspunde la intrebare

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »

Scara punctelor

Castiga puncte intreband si raspunzand la intrebari!!

Grey Sta Levelr [1 - 25 Grey Star Level]
Green Star Level [26 - 50 Green Star Level]
Blue Star Level [51 - 500 Blue Star Level]
Orange Star Level [501 - 5000 Orange Star Level]
Red Star Level [5001 - 25000 Red Star Level]
Black Star Level [25001+ Black Star Level]