[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Problemas com o Boot/GRUB



Olá luiz. Obrigado pela força.

Tentei fazer o que você escreveu mas não consegui, segue:

fdsk -l:

----------------------------------------------------
Device       Start       End   Sectors   Size Type
/dev/sda1     2048   1953791   1951744   953M Linux filesystem
/dev/sda2  1953792 976771071 974817280 464,8G Linux filesystem
----------------------------------------------------


Ao tentar montar o /dev/sda2:
-----------------------------------------------
ubuntu@ubuntu:~$ sudo mount -t ext4 /dev/sda2 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
-------------------------------------------------


Consigo montar o /dev/sda1, mas não consigo instalar o grub:

-------------------------------------------------
ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sda1
Installing for i386-pc platform.
grub-install: warning: File system `ext2' doesn't support embedding.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
---------------------------------------------------


Bem, um detalhe. Minha partição é criptografada. Tentei dar uma busca em como, mas não achei nada claro para mim.

Obrigado

Em 2015-10-18 20:28, Luiz L. Marins escreveu:
Oi Isac,

Tenha em mão um live cd (ubuntu ou debian)

Então, tente isto:

=======================================










RECUPERANDO O GRUB


Dar boot com Live-cd do Ubuntu.


   1. Verifique o número da partição referente ao seu GNU/LINUX:

$ sudo fdisk -l

   (Supondo que seja n. 5, veja qual é a sua)

   2. Monte o seu sistema de arquivos na sua partição GNU/Linux no
diretório /mnt.

$ sudo mount -t ext4 /dev/sda5 /mnt

   3. Instalação do Grub:

$ sudo grub-install --root-directory=/mnt /dev/sda5

   4. Desmonte

$ sudo umount /mnt

   5. Reinicie

$ sudo reboot


___________________________________________






Date: Sun, 18 Oct 2015 13:46:37 -0300
From: isaacmob@riseup.net
To: debian-user-portuguese@lists.debian.org
Subject: Problemas com o Boot/GRUB

Olá turma.

Estou tendo problemas com o boot. O meu notebook não entra no grub.
Tenho quase certeza de que fiz besteira ao tentar instalar um grub em um
pendrive(estava instalando o hirens boot nele).

O comando que utilizei foi: sudo grub-install /dev/sdb (o pendrive era
sdb mesmo)

Agora só consigo entrar no grub e iniciar meu computador com o pendrive...

Para tentar consertar tentei:

[yzak@benedita /]$ sudo grub-install /dev/sda
Installing for i386-pc platform.
grub-install: aviso: this GPT partition label contains no BIOS Boot
Partition; embedding won't be possible.
grub-install: aviso: Embedding is not possible.  GRUB can only be
installed in this setup by using blocklists.  However, blocklists are
UNRELIABLE and their use is discouraged..
grub-install: erro: will not proceed with blocklists.

Mas pelo jeito sem sucesso...

Alguma luz?

--
Isaac Ferreira Filho
http://yzakius.eu
Jabber: isaacmob arroba riseup.net
@yzakius


--
Isaac Filho @yzakius
..:: yzakius.org
..:: rede.pelivre.org
      _
 ___-(o) ___
////\_|_/\\\\
      |
     '|`


Reply to: