Autor Tópico: Dual Boot - Windows 7 e Ubuntu  (Lida 17219 vezes)

Offline Johntec

  • Usuário Ubuntu
  • *
  • Mensagens: 5
    • Ver perfil
Dual Boot - Windows 7 e Ubuntu
« Online: 12 de Agosto de 2009, 20:31 »
Boa Noite a todos.
Instalei o Windows 7 e Ubuntu, como faço para tirar o tempo de inicialização do sistema?

No Aguardo

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Dual Boot - Windows 7 e Ubuntu
« Resposta #1 Online: 12 de Agosto de 2009, 21:00 »
Não entendi bem o que você deseja, pois se você tem dois sistemas você precisa daquele tempo para escolher qual usar, mas de qualquer forma o texto do wiki do ubuntu sobre o GRUB vai te ajudar.

GRUB
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline Johntec

  • Usuário Ubuntu
  • *
  • Mensagens: 5
    • Ver perfil
Re: Dual Boot - Windows 7 e Ubuntu
« Resposta #2 Online: 12 de Agosto de 2009, 21:22 »
Ao instalar 2 sistemas no computador, você tem um tempo limitado para escolher entre eles.
Por exemplo: Se você não escolher nenhum durante esse tempo, automaticamente é carregado o Ubuntu, como faço para tirar esse tempo de "8" segundos? Ou aumentar esse tempo para o usuário escolher entre os sistemas?

Aguardo

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Dual Boot - Windows 7 e Ubuntu
« Resposta #3 Online: 12 de Agosto de 2009, 21:47 »
Você pode aumentar muito o tempo, mas acho que não pode desabilitá-lo. No link que passei explica como alterar o tempo.
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline marcelus

  • Usuário Ubuntu
  • *
  • Mensagens: 7
    • Ver perfil
Re: Dual Boot - Windows 7 e Ubuntu
« Resposta #4 Online: 25 de Agosto de 2009, 20:11 »
Galera, é o seguinte... Estou tendo um problema hiper chato pra fazer funcionar o dual boot entre o W7 e o Ubuntu.

Eu tenho 3 HDs: Um SATA de 160Gb, outro SATA de 80Gb e uma ATA de 40Gb. No de 160Gb fica o Windows 7, drive C. O de 80Gb, drive D, é de backup. O de 40GB, drive E, é onde fica o Ubuntu.

Na "linguagem" do Linux, ficaria:

Drive C:
/dev/sda (HD Total)
/dev/sda1 (system reserved)
/dev/sda2 (Windows 7)

Drive D:
/dev/sdb (HD Total)
/dev/sdb1 (Backup)

Drive E:
/dev/sdc (HD Total)
/dev/sdc1 (ext3)
/dev/sdc2 (extended)
/dev/sdc5 (linux swap)

O lance é que o W7 já estava instalado e, ontem, reinstalei o Ubuntu. Até aparece o menu do dual boot, mas quando seleciono o Windows, simplesmente dá erro. E se eu der boot pelo drive C, por exemplo, não rola também, pq dá erro. Eu tenho que voltar no Windows pra entrar em alguns programas, por isso não posso deixar como está. E se eu reinstalar o W7, vai ser ainda pior.

Alguém pode me ajudar?

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Dual Boot - Windows 7 e Ubuntu
« Resposta #5 Online: 26 de Agosto de 2009, 08:46 »
marcelus poderia colocar aqui o conteúdo dos arquivos /boot/grub/menu.lst e /boot/grub/device.map. Poderia colocar também a resposta para os comandos abaixo (executados pelo terminal - Aplicações > Acessórios > Terminal), só para confirmarmos as informações.

Código: [Selecionar]
sudo       blkid
Código: [Selecionar]
sudo       fdisk       -l
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline marcelus

  • Usuário Ubuntu
  • *
  • Mensagens: 7
    • Ver perfil
Re: Dual Boot - Windows 7 e Ubuntu
« Resposta #6 Online: 26 de Agosto de 2009, 15:55 »
O primeiro é:
/dev/sda1: UUID="F66032016031C95F" LABEL="System Reserved" TYPE="ntfs"
/dev/sda2: UUID="9AC84833C8481045" LABEL="WINDOWS 7" TYPE="ntfs"
/dev/sdb1: UUID="9A58DF5758DF30AD" LABEL="FILES AND MUSICS" TYPE="ntfs"
/dev/sdc1: UUID="097359d1-76cd-4084-a7c9-4aabe9cfeb1d" TYPE="ext3"
/dev/sdc5: TYPE="swap" UUID="6af89d36-64d1-4563-a6eb-e4494279ba7f"

O segundo é:
Disco /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x33f133f0

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sda1   *           1          13      102400    7  HPFS ou NTFS
A partição 1 não termina no limite do cilindro.
/dev/sda2              13       19458   156185600    7  HPFS ou NTFS

Disco /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdd92cd92

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sdb1   *           1        9728    78140128+   7  HPFS ou NTFS

Disco /dev/sdc: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x50045003

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sdc1   *           1        4660    37431418+  83  Linux
/dev/sdc2            4661        4865     1646662+   5  Estendida
/dev/sdc5            4661        4865     1646631   82  Linux swap / Solaris

Valeu!

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Dual Boot - Windows 7 e Ubuntu
« Resposta #7 Online: 26 de Agosto de 2009, 16:19 »
Faltou o conteúdo dos arquivos.
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline marcelus

  • Usuário Ubuntu
  • *
  • Mensagens: 7
    • Ver perfil
Re: Dual Boot - Windows 7 e Ubuntu
« Resposta #8 Online: 26 de Agosto de 2009, 16:29 »
Po, foi mal! Vou por aqui!

Offline marcelus

  • Usuário Ubuntu
  • *
  • Mensagens: 7
    • Ver perfil
Re: Dual Boot - Windows 7 e Ubuntu
« Resposta #9 Online: 26 de Agosto de 2009, 16:36 »
menu.lst
# 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      10

## 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=097359d1-76cd-4084-a7c9-4aabe9cfeb1d ro locale=pt_BR

## default grub root device
## e.g. groot=(hd0,0)
# groot=097359d1-76cd-4084-a7c9-4aabe9cfeb1d

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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## 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 9.04, kernel 2.6.28-15-generic
uuid      097359d1-76cd-4084-a7c9-4aabe9cfeb1d
kernel      /boot/vmlinuz-2.6.28-15-generic root=UUID=097359d1-76cd-4084-a7c9-4aabe9cfeb1d ro locale=pt_BR quiet splash
initrd      /boot/initrd.img-2.6.28-15-generic
quiet

title      Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
uuid      097359d1-76cd-4084-a7c9-4aabe9cfeb1d
kernel      /boot/vmlinuz-2.6.28-15-generic root=UUID=097359d1-76cd-4084-a7c9-4aabe9cfeb1d ro locale=pt_BR  single
initrd      /boot/initrd.img-2.6.28-15-generic

title      Ubuntu 9.04, kernel 2.6.28-11-generic
uuid      097359d1-76cd-4084-a7c9-4aabe9cfeb1d
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=097359d1-76cd-4084-a7c9-4aabe9cfeb1d ro locale=pt_BR quiet splash
initrd      /boot/initrd.img-2.6.28-11-generic
quiet

title      Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid      097359d1-76cd-4084-a7c9-4aabe9cfeb1d
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=097359d1-76cd-4084-a7c9-4aabe9cfeb1d ro locale=pt_BR  single
initrd      /boot/initrd.img-2.6.28-11-generic

title      Ubuntu 9.04, memtest86+
uuid      097359d1-76cd-4084-a7c9-4aabe9cfeb1d
kernel      /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title      Windows Vista (loader)
rootnoverify   (hd0,0)
savedefault
makeactive
chainloader   +1

device.map
(hd0)   /dev/sda
(hd1)   /dev/sdb
(hd2)   /dev/sdc

Offline Uller

  • Usuário Ubuntu
  • *
  • Mensagens: 7
    • Ver perfil
Re: Dual Boot - Windows 7 e Ubuntu
« Resposta #10 Online: 28 de Agosto de 2009, 20:19 »
Procura timeout=10 e altera pro tempo que vc quer esperar (em segundos)