Autor Tópico: Não consigo recuperar partição Windows após instalação do Ubuntu  (Lida 9593 vezes)

warlockpi

  • Visitante
Re: Não consigo recuperar partição Windows após instalação do Ubuntu
« Resposta #15 Online: 22 de Fevereiro de 2008, 15:57 »
Talvez você precise instalar o NTFS-3G. Com ele você pode "enxergar" a partição do Windows no Seu Ubuntu. Então vamos a obra...

Instalação - Para Feisty e Gutsy Gibbon

Basta digitar no terminal "sudo apt-get install ntfs-config" - Ou então ir no Synaptic e selecionar o pacote ntfs-config para a instalação.

instalação - Para Ubuntu Drapper e Edgy

Abra o terminal e digite:

Código: [Selecionar]
$ sudo gedit /etc/apt/sources.list
Adicione essas linhas ao final do documento:

Código: [Selecionar]
#ntfs-3g & fuse-2.5 repositório:
deb http://flomertens.keo.in/ubuntu/ dapper main
deb-src http://flomertens.keo.in/ubuntu/ dapper main

#Givre's repository (ntfs-3g & fuse 2.5.3)

deb http://givre.cabspace.com/ubuntu/ dapper main
deb-src http://givre.cabspace.com/ubuntu/ dapper main

NOTA: Para Edgy, mudar "dapper" por "edgy".

Vamos adicionar as chaves do APT:
Código: [Selecionar]
$ wget http://flomertens.keo.in/ubuntu/givre_key.asc -O- | gksu apt-key add -
$ wget http://givre.cabspace.com/ubuntu/givre_key.asc -O- | gksu apt-key add -

Agora instalamos o Ntfs-3g via apt:

Código: [Selecionar]
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install ntfs-3g

Agora é ativarmos o módulo Fuse durante o início do sistema:

Código: [Selecionar]
$ sudo echo fuse | sudo tee -a /etc/modulesConfigurar o NTFS-3G
Digite isso no terminal:

Código: [Selecionar]
$ sudo fdisk -l | grep NTFS
Agora é preciso configurar no /etc/fstab. Siga os comandos:

Código: [Selecionar]
$ sudo cp /etc/fstab /etc/fstab.bak
$ gksu gedit /etc/fstab

/dev/(sua part) /media/ ntfs-3g silent,umask=0,locale=utf8 0 0

Se não tiverem na lista, primeiro crie uma pasta para montar a partição:

Código: [Selecionar]
$ sudo mkdir /media/
Agora é ativar o NTFS-3G com o comando:

Código: [Selecionar]
$ sudo modprobe fuse
$ sudo umount -a
$ sudo mount -a
$ sudo apt-get install ntfs-3g-nautilus-tools

Pronto! O NTFS-3G está instalando, ele aparace em Aplicações > Ferramentas do Sistema > Ferramenta de configuração NTFS

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Não consigo recuperar partição Windows após instalação do Ubuntu
« Resposta #16 Online: 22 de Fevereiro de 2008, 16:01 »
O seu problema então é no GRUB (menu que existe no boot do sistema) que não tem como acessar o windows. Tem como colocar aqui o conteúdo do arquivo /boot/grub/menu.lst?
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline daquinho

  • Usuário Ubuntu
  • *
  • Mensagens: 200
    • Ver perfil
Re: Não consigo recuperar partição Windows após instalação do Ubuntu
« Resposta #17 Online: 23 de Fevereiro de 2008, 00:38 »
Talvez você precise instalar o NTFS-3G. Com ele você pode "enxergar" a partição do Windows no Seu Ubuntu. Então vamos a obra...
CARAMBA GENTE..... desculpem-me, mas dá para lerem os tópicos!?

O seu problema então é no GRUB (menu que existe no boot do sistema) que não tem como acessar o windows. Tem como colocar aqui o conteúdo do arquivo /boot/grub/menu.lst?
dá sim, dei umas lidinhas por ai e fiquei todo confuso...

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default      0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,0)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,1)
# kernel   /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=77f14211-b5d8-4162-84f3-309142c11ed3 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=pt_BR

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title      Ubuntu 7.10, kernel 2.6.22-14-generic
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=UUID=77f14211-b5d8-4162-84f3-309142c11ed3 ro quiet splash locale=pt_BR
initrd      /boot/initrd.img-2.6.22-14-generic
quiet

title      Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=UUID=77f14211-b5d8-4162-84f3-309142c11ed3 ro single
initrd      /boot/initrd.img-2.6.22-14-generic

title      Ubuntu 7.10, memtest86+
root      (hd0,0)
kernel      /boot/memtest86+.bin
quiet


### END DEBIAN AUTOMAGIC KERNELS LIST

Offline jomafras

  • Usuário Ubuntu
  • *
  • Mensagens: 2.009
  • 17.04 Zesty Zapus
    • Ver perfil
Re: Não consigo recuperar partição Windows após instalação do Ubuntu
« Resposta #18 Online: 23 de Fevereiro de 2008, 01:24 »
Já que o clcampos não está logado no momento vou ver se consigo te ajudar.
Realmente não existe nenhuma entrada para o Windows no menu.lst do Grub, por isso vc não consegue bootar o Windows.
Como vc tem o Windows instalado num HD diferente do Ubuntu pode ser mais complicado incluir a entrada para ele.

No seu menu.lst inclua depois de :

### END DEBIAN AUTOMAGIC KERNELS LIST

title      Windows
root      (hd1,0)
makeactive
chainloader   +1

se não der certo mude para :

title       Windows
root      (hd1,0)
savedefault
makeactive
map      (hd0) (hd1)
map      (hd1) (hd0)
chainloader   +1
O Ubuntu sem dúvida é a melhor Distro.
Pesquise primeiro... só depois abra um tópico.
Canal do YouTube - Blog

Offline daquinho

  • Usuário Ubuntu
  • *
  • Mensagens: 200
    • Ver perfil
Re: Não consigo recuperar partição Windows após instalação do Ubuntu
« Resposta #19 Online: 23 de Fevereiro de 2008, 16:02 »
Não, o win não está no 2 HD, mas sim particionado no  HD1 com o ubuntu. Dê uma olhadinha melhor lá no que coloquei, por favor.

Offline jomafras

  • Usuário Ubuntu
  • *
  • Mensagens: 2.009
  • 17.04 Zesty Zapus
    • Ver perfil
Re: Não consigo recuperar partição Windows após instalação do Ubuntu
« Resposta #20 Online: 23 de Fevereiro de 2008, 18:47 »
Se está no HD junto com o Ubuntu, não vai bootar mesmo porque está numa partição extendida...
O Ubuntu sem dúvida é a melhor Distro.
Pesquise primeiro... só depois abra um tópico.
Canal do YouTube - Blog

Offline daquinho

  • Usuário Ubuntu
  • *
  • Mensagens: 200
    • Ver perfil
Re: Não consigo recuperar partição Windows após instalação do Ubuntu
« Resposta #21 Online: 24 de Fevereiro de 2008, 14:07 »
Se está no HD junto com o Ubuntu, não vai bootar mesmo porque está numa partição extendida...

?

Offline jomafras

  • Usuário Ubuntu
  • *
  • Mensagens: 2.009
  • 17.04 Zesty Zapus
    • Ver perfil
« Última modificação: 24 de Fevereiro de 2008, 14:20 por pintinho »
O Ubuntu sem dúvida é a melhor Distro.
Pesquise primeiro... só depois abra um tópico.
Canal do YouTube - Blog