Autor Tópico: boot duplo ! alguem me ajuda (resolvido)  (Lida 3778 vezes)

Offline papaum

  • Usuário Ubuntu
  • *
  • Mensagens: 19
    • Ver perfil
boot duplo ! alguem me ajuda (resolvido)
« Online: 28 de Setembro de 2007, 23:32 »
Ola

eu ja tinha o windows instalado e agora
eu instalei o Ubuntu mas na hora do boot
ele não pergunta com qual sistema eu quero
entra, ele entra direto no Ubuntu.
Alguem me ajuda
« Última modificação: 03 de Outubro de 2007, 15:41 por papaum »

Offline jomafras

  • Usuário Ubuntu
  • *
  • Mensagens: 2.009
  • 17.04 Zesty Zapus
    • Ver perfil
Re: boot duplo ! alguem me ajuda
« Resposta #1 Online: 28 de Setembro de 2007, 23:41 »
Posta aí o seu menu.lst.

Código: [Selecionar]
sudo gedit boot/grub/menu.lst
O Ubuntu sem dúvida é a melhor Distro.
Pesquise primeiro... só depois abra um tópico.
Canal do YouTube - Blog

Offline papaum

  • Usuário Ubuntu
  • *
  • Mensagens: 19
    • Ver perfil
Re: boot duplo ! alguem me ajuda
« Resposta #2 Online: 29 de Setembro de 2007, 09:34 »
Ola
ta ai

# 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 change this entry to 'saved' 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=55fab7e7-e5a3-4788-a9a0-5a45a198f621 ro

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

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,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

## 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

## ## End Default Options ##

title      Ubuntu, kernel 2.6.20-16-generic
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=55fab7e7-e5a3-4788-a9a0-5a45a198f621 ro quiet splash
initrd      /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=55fab7e7-e5a3-4788-a9a0-5a45a198f621 ro single
initrd      /boot/initrd.img-2.6.20-16-generic

title      Ubuntu, kernel 2.6.20-15-generic
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=55fab7e7-e5a3-4788-a9a0-5a45a198f621 ro quiet splash
initrd      /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=55fab7e7-e5a3-4788-a9a0-5a45a198f621 ro single
initrd      /boot/initrd.img-2.6.20-15-generic

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

### END DEBIAN AUTOMAGIC KERNELS LIST

Offline Versuri

  • Usuário Ubuntu
  • *
  • Mensagens: 912
  • Linux#436528 ● Ubuntu#9933 MacBook Pro SL 10.6.7
    • Ver perfil
Re: boot duplo ! alguem me ajuda
« Resposta #3 Online: 29 de Setembro de 2007, 09:37 »
Inclua estas linhas no final do seu Grub

Citar
title      Windows XP Professional
root      (hd0,0)
savedefault
makeactive
chainloader   +1

Para editar o arquivo, abra um terminal e digite:

Citar
sudo gedit /boot/grub/menu.lst

Offline papaum

  • Usuário Ubuntu
  • *
  • Mensagens: 19
    • Ver perfil
Re: boot duplo ! alguem me ajuda
« Resposta #4 Online: 29 de Setembro de 2007, 10:24 »
Ola
eu consigui mais ainda tem um problema
quando ele inicia o sistema ele me da 3 seg pra pressiona
esc pra entra no menu e escolher o sistema.
Nos computadores da minha escola estão instalados o Windows e o Linux SUSE
e na hora do boot aparece uma tela em modo grafico que pergunta se vc quer entra no windows
ou no SUSE. e eu queria sabe se esse recurso e possivel no Ubuntu.

Flw, e obrigado pela ajuda
« Última modificação: 29 de Setembro de 2007, 11:10 por papaum »

Offline auei

  • Usuário Ubuntu
  • *
  • Mensagens: 72
  • AUEIII
    • Ver perfil
Re: boot duplo ! alguem me ajuda
« Resposta #5 Online: 29 de Setembro de 2007, 11:12 »
Ola
eu consigui mais ainda tem um problema
quando ele inicia o sistema ele me da 3 seg pra pressiona
esc pra entra no menu e escolher o sistema.
Nos computadores da minha escola estão instalados o Windows e o Linux SUSE
e na hora do boot aparece uma tela em modo grafico que pergunta se vc quer entra no linux
ou no SUSE. e eu queria sabe se esse recurso e possivel no Ubuntu.

Flw, e obrigado pela ajuda

lá pela 18ª linha procure por:
Citar
timeout      3

e subtitua o "3" por qualquer numero. O numero que você colocar vai ser o tempo em segundos que você terá para escolher o SO
se quiser ainda pode por o...
Citar
title      Windows XP Professional
root      (hd0,0)
savedefault
makeactive
chainloader   +1

etre o
Citar
## ## End Default Options ##
e o
Citar
title      Ubuntu, kernel 2.6.20-16-generic
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=55fab7e7-e5a3-4788-a9a0-5a45a198f621 ro quiet splash
initrd      /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

fazendo isso o Windows será a primeira opção e se você não selecionar nenhuma opção...quando o tempo acabar vai entrar direto no ruindows  ;)
Não tente transformar o Linux num Windows

Offline papaum

  • Usuário Ubuntu
  • *
  • Mensagens: 19
    • Ver perfil
Re: boot duplo ! alguem me ajuda
« Resposta #6 Online: 29 de Setembro de 2007, 11:25 »
o vlw mesmo
so mais uma coisa. quanto a interface grafica pra seleção de OS.
e tambem tem uma parte no codigo que eu acho q serve pra ele abri o menu sem precisa
pressiona ESC

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

mais eu prefiro pergunta do que sai mexendo e acaba com tudo

flw

ChausDevereaux

  • Visitante
Re: boot duplo ! alguem me ajuda
« Resposta #7 Online: 29 de Setembro de 2007, 11:33 »
Tem uma opção legal, também, se você quiser que o GRUB se lembre do último sistema utilizado:

Citar
Código: [Selecionar]
## ## End Default Options ##

title      Ubuntu, kernel 2.6.20-16-generic
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=55fab7e7-e5a3-4788-a9a0-5a45a198f621 ro quiet splash
initrd      /boot/initrd.img-2.6.20-16-generic
quiet
savedefault ## (aqui é onde você diz para o GRUB se lembrar desta opção)

(...)

title      Ubuntu, kernel 2.6.20-15-generic
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=55fab7e7-e5a3-4788-a9a0-5a45a198f621 ro quiet splash
initrd      /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

Aí, lá em cima, troque isto:

Código: [Selecionar]
default 0
por isto:

Código: [Selecionar]
default saved
Assim, se você escolher o Windows, no próximo boot ele vai deixar o Windows selecionado. Se você escolher o Ubuntu, o GRUB vai deixar o Ubuntu selecionado no próximo boot.

Sobre a tela gráfica, leia este tópico:

http://ubuntuforum-br.org/index.php/topic,13223.0.html

Offline papaum

  • Usuário Ubuntu
  • *
  • Mensagens: 19
    • Ver perfil
Re: boot duplo ! alguem me ajuda
« Resposta #8 Online: 29 de Setembro de 2007, 14:59 »
Ola
eu segui o tutorial do modo grafico mais naum funciono
o resto ta funcionando perfeitamente
flw

Offline wmjunior

  • Usuário Ubuntu
  • *
  • Mensagens: 2
    • Ver perfil
Re: boot duplo ! alguem me ajuda
« Resposta #9 Online: 01 de Outubro de 2007, 17:41 »
Ola
eu segui o tutorial do modo grafico mais naum funciono
o resto ta funcionando perfeitamente
flw


Só para registrar, também usei os dados acima e funcionou tudo direitinho.

SDS - Walter
Arapoti PR

Offline Versuri

  • Usuário Ubuntu
  • *
  • Mensagens: 912
  • Linux#436528 ● Ubuntu#9933 MacBook Pro SL 10.6.7
    • Ver perfil
Re: boot duplo ! alguem me ajuda
« Resposta #10 Online: 01 de Outubro de 2007, 19:18 »
Ola
eu segui o tutorial do modo grafico mais naum funciono
o resto ta funcionando perfeitamente
flw


Experimente o Gfxboot: http://reiversuri.blogspot.com/2007/06/personalizando-o-grub.html


« Última modificação: 01 de Outubro de 2007, 19:30 por Versuri »

Offline papaum

  • Usuário Ubuntu
  • *
  • Mensagens: 19
    • Ver perfil
Re: boot duplo ! alguem me ajuda
« Resposta #11 Online: 02 de Outubro de 2007, 19:10 »
Ola
consegui, e que no tutorial q vc passo ele falava pra adiciona um codigo "logo no inicio" do menu.lst
e eu pensei q fosse na primeira linha, então eu colequei no espaço vazio logo embaixo dai funfo direito.
flw