Problema no dual boot com ubuntu 13.04 e windows 7 [RESOLVIDO]

1. Problema no dual boot com ubuntu 13.04 e windows 7 [RESOLVIDO]

enio
eniojs

(usa Ubuntu)

Enviado em 25/09/2013 - 04:04h

Caros amigos,

Sou iniciante no Linux e sinceramente estou com muita dificuldade para resolver o seguinte problema:

Instalei o Ubuntu ju8nto ao windows 7, mas minha máquina não inicia com dual boot, só inicia o windows 7, que diga-se de passagem ja estou pegando raiva dele.

Já tentei várias formas de recuperar o grub seguindo os tutoriais que encontro, mas sempre em vão.

O ultimo que tentei apareceu a seguinte mensagem depois de aplicar os comandos seguindo um certo tutorial:

"ubuntu@ubuntu:~$ sudo mount /dev/sda3 /mnt
mount: /dev/sda3 already mounted or /mnt busy
mount: according to mtab, /dev/sda3 is already mounted on /mnt
ubuntu@ubuntu:~$ sudo grub-install -root-directory=/mnt/ /dev/sda
Unrecognized option `-root-directory=/mnt/'
Usage: grub-install [OPTION] [INSTALL_DEVICE]
Install GRUB on your drive.

-h, --help print this message and exit
-v, --version print the version information and exit
--modules=MODULES pre-load specified modules MODULES
--boot-directory=DIR install GRUB images under the directory DIR/grub
instead of the /boot/grub directory
--target=TARGET install GRUB for TARGET platform
[default=current]
--directory=DIR use GRUB images from DIR. Takes precedence
over target
--grub-setup=FILE use FILE as grub-setup
--grub-mkimage=FILE use FILE as grub-mkimage
--grub-mkrelpath=FILE use FILE as grub-mkrelpath
--grub-probe=FILE use FILE as grub-probe
--allow-floppy make the drive also bootable as floppy (default
for fdX devices). May break on some BIOSes.
--recheck delete device map if it already exists
--force install even if problems are detected
--force-file-id use identifier file even if UUID is available
--disk-module=MODULE disk module to use (biosdisk or native). This
option is only available on BIOS target.
--no-nvram don't update the `boot-device' NVRAM
variable. This option is only available on
IEEE1275 targets.
--removable the installation device is removable. This option
is only available on EFI.
--bootloader-id=ID the ID of bootloader. This option is only
available on EFI.
--efi-directory=DIR use DIR as the EFI System Partition root.
--uefi-secure-boot install an image usable with UEFI Secure
Boot. This option is only available on EFI and if
the grub-efi-amd64-signed package is installed.
--no-uefi-secure-boot do not install an image usable with UEFI Secure
Boot, even if the system was currently started
using it. This option is only available on EFI.

INSTALL_DEVICE must be system device filename.

grub-install copies GRUB images into /boot/grub, and uses grub-setup
to install grub into the boot sector."

Quando tentei traduzir o conteudo minha dúvidas aumentaram mais ainda! Fico no aguardo da ajuda de vocês.

Abraços!




  


2. MELHOR RESPOSTA

Pedro
px

(usa Debian)

Enviado em 25/09/2013 - 06:16h

Tá quase certo colega, falta só o grub mesmo para o boot reconhecer os SO

Dá uma olhada em:
https://help.ubuntu.com/community/Boot-Repair


ubuntu@ubuntu:~$ sudo mount /dev/sda3 /mnt
mount: /dev/sda3 already mounted or /mnt busy
mount: according to mtab, /dev/sda3 is already mounted on /mnt
ubuntu@ubuntu:~$ sudo grub-install -root-directory=/mnt/ /dev/sda
Unrecognized option `-root-directory=/mnt/'
Usage: grub-install [OPTION] [INSTALL_DEVICE]
Install GRUB on your drive.


Verifique se tem um arquivo em "/boot/grub/grub.cfg" no seu "/boot", as vezes não foi gerado o arquivo de configuração corretamente, vale a pena conferir.

O erro ali é na opção "-root-directory=/mnt/" não seria "--root-directory=/mnt"?

3. Problema no dual boot com ubuntu 13.04 e windows 7

Edwal F. Paiva Filho
nicolo

(usa Ubuntu)

Enviado em 25/09/2013 - 07:52h

Se eu me lembro esse comando não está perfeito
sudo grub-install -root-directory=/mnt/ /dev/sda

deveria ser algo como

sudo grub-install -root-directory=/mnt/boot/grub /dev/sda
ou
sudo grub-install --root-directory=/mnt/boot/grub /dev/sda

Boa sorte


4. Re: Problema no dual boot com ubuntu 13.04 e windows 7 [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 25/09/2013 - 10:48h

1-recupere o grub do ubuntu usando live-cd ou pendrive
http://www.vivaolinux.com.br/dica/Como-recuperar-o-GRUB-em-3-comandos-Esse-funciona/

2-reinicie pc >> entre no Ubuntu >> abra terminal >> rode comando: sudo update-grub

3-reinicie pc >> escolha linux ou windows




5. dual boot windows 8 e ubuntu

Alexandrino
neto18

(usa Ubuntu)

Enviado em 12/10/2013 - 17:06h

Aproveitando a pergunta. Estou com um problema parecido, instalei o ubuntu em dual boot com windows 8, instalação certinha, tudo ok, mas quando reinicio ele não me dá a opção de escolher entre o ubuntu e o windows, inicia direto pelo ubuntu.

Alguém tem ideia do que seja?








Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts