
nicolo
(usa Ubuntu)
Enviado em 20/03/2011 - 11:28h
Se você removeu a parte do sistema vai precisar reinstalar o Linux.
Se vocÇe removeu só o grub, precisa dar boot com um LIVE-CD e assim voce pode copiar o que quiser para pendrive ou disco externo USB
Se quiser consertar o grub veja as instruções abaixo
No manula do segundo Link tem os comandos internos do grub explicados.
http://www.gnu.org/software/grub/manual/
http://www.gnu.org/software/grub/manual/grub.pdf
If you still do want to install GRUB under a UNIX-like OS (such as gnu), invoke the
program grub-install (see Chapter 18 [Invoking grub-install], page 69) as the superuser
(root).
The usage is basically very simple. You only need to specify one argument to the
program, namely, where to install the boot loader. The argument can be either a device file
(like ‘/dev/hda’) or a partition specified in GRUB’s notation. For example, under Linux
the following will install GRUB into the MBR of the first IDE disk:
# grub-install /dev/hda
Likewise, under GNU/Hurd, this has the same effect:
# grub-install /dev/hd0
But all the above examples assume that GRUB should use images under the root
directory. If you want GRUB to use images under a directory other than the root directory,
10 GNU GRUB Manual 1.99~rc1
you need to specify the option ‘--root-directory’. The typical usage is that you create a
GRUB boot floppy with a filesystem. Here is an example:
# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --root-directory=/mnt fd0
# umount /mnt
Boa sorte.