Instalação não detectou windos no grub.cfg

Críticas, opiniões, sugestões e colaboração para o desenvolvimento do Epidemic 3.2
Avatar do usuário
ricardo
Desenvolvedor
Mensagens: 1150
Registrado em: Sex Set 19, 2008 11:51 am
Localização: Goiânia-GO
Contato:

Instalação não detectou windos no grub.cfg

Mensagempor ricardo » Sáb Dez 11, 2010 11:10 am

Olá amigos,

Na instalação do Epidemic 3.2 beta 2 não foi configurado o Windows automaticamente no grub. Tive que reconfigurar o grub para que fosse novamente detectado e instalado.

Código: Selecionar todos

root@ebox:~# cat /proc/partitions
major minor  #blocks  name

   8        0  488386584 sda
   8        1   52436128 sda1
   8        2          1 sda2
   8        5    4200966 sda5
   8        6   41720773 sda6
   8        7  157292383 sda7
   8        8  105771928 sda8
   8        9  105763896 sda9
   8       10   21197736 sda10
root@ebox:~#


Código: Selecionar todos

root@ebox:~# lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12)                                                                         
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 12)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.1 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.2 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.7 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.1 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.2 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.7 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
root@ebox:~#


Código: Selecionar todos

root@ebox:~# cat /etc/fstab
#/etc/fstab: static information about filesystems, generated by eInstaller

/dev/sda1 /media/sda1 ntfs-3g noauto,users,exec,dev,suid,charset=UTF-8 0 0
/dev/sda-1 /media/sda-1 free noauto,users,exec,dev,suid 0 0
/dev/sda5 none swap sw 0 0
/dev/sda6 /media/sda6 ext4 noauto,users,exec,dev,suid 0 0
/dev/sda10 / ext4 users,exec,dev,suid 0 0
/dev/sda7 /media/sda7 ext4 noauto,users,exec,dev,suid 0 0
/dev/sda8 /media/sda8 vfat noauto,users,exec,dev,suid,shortname=mixed,quiet,umask=000 0 0
/dev/sda9 /media/sda9 vfat noauto,users,exec,dev,suid,shortname=mixed,quiet,umask=000 0 0
root@ebox:~#


Código: Selecionar todos

root@ebox:~# cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set 6b290c64-5c02-470b-9a90-0426be96a70d
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=800x600
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set 6b290c64-5c02-470b-9a90-0426be96a70d
set locale_dir=($root)/boot/grub/locale
set lang=
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_epidemic_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set 6b290c64-5c02-470b-9a90-0426be96a70d
insmod png
if background_image /boot/grub/epidemic.png ; then
  set color_normal=green/black
  set color_highlight=light-green/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_epidemic_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Epidemic GNU/Linux, with Linux 2.6.34-epidemic-686' --class epidemic --class gnu-linux --class gnu --class os {
        set gfxpayload=keep
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos10)'
        search --no-floppy --fs-uuid --set 6b290c64-5c02-470b-9a90-0426be96a70d
        echo    'Loading Linux 2.6.34-epidemic-686 ...'
        linux   /boot/vmlinuz-2.6.34-epidemic-686 root=UUID=6b290c64-5c02-470b-9a90-0426be96a70d ro  quiet splash vga=787
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-2.6.34-epidemic-686
}
menuentry 'Epidemic GNU/Linux, with Linux 2.6.34-epidemic-686 (recovery mode)' --class epidemic --class gnu-linux --class gnu --class os {
        set gfxpayload=keep
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos10)'
        search --no-floppy --fs-uuid --set 6b290c64-5c02-470b-9a90-0426be96a70d
        echo    'Loading Linux 2.6.34-epidemic-686 ...'
        linux   /boot/vmlinuz-2.6.34-epidemic-686 root=UUID=6b290c64-5c02-470b-9a90-0426be96a70d ro single
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-2.6.34-epidemic-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Debian GNU/Linux (squeeze/sid) (on /dev/sda6)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos6)'
        search --no-floppy --fs-uuid --set cd9239e8-b412-43b0-8730-94a15d900593
        linux /boot/vmlinuz-2.6.32-5-686 root=/dev/sda6 quiet splash vga=787
        initrd /boot/initrd.img-2.6.32-5-686
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
root@ebox:~#


Quando fiz o comando para reconfigurar foi detectado corretamente

Código: Selecionar todos

root@ebox:~# dpkg-reconfigure grub-pc
Replacing config file /etc/default/grub with new version
Installation finished. No error reported.
Generating grub.cfg ...
Found Epidemic background: epidemic.png
Found linux image: /boot/vmlinuz-2.6.34-epidemic-686
Found initrd image: /boot/initrd.img-2.6.34-epidemic-686
Found Microsoft Windows XP Professional on /dev/sda1
Found Debian GNU/Linux (squeeze/sid) on /dev/sda6
done
root@ebox:~#
Imagem

Voltar para “Epidemic 3.2 Beta 2”

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 2 visitantes