Recuperar windows no grub

1. Recuperar windows no grub

Vítor José Machado Oliveira
vitoroli

(usa Ubuntu)

Enviado em 26/03/2010 - 13:00h

Viva,

Ocorreu-me um problema, penso eu que este deve ter surgido devido aos upgrades do kernel com que fez que desaparecesse do grub.cfg o windows7. Existe alguma solução simples de voltar a aparecer o windows no grub, ou de o voltar a inserir?

grub.cfg
_________________________
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ####
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-20-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-17-generic
}#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-20-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
menuentry "Ubuntu, Linux 2.6.31-17-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-20-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-20-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 5030bcc7-e645-4d64-bd22-78fd63952d5a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=5030bcc7-e645-4d64-bd22-78fd63952d5a ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###


  


2. Re: Recuperar windows no grub

Cleber Junio
cleberjunio

(usa Ubuntu)

Enviado em 26/03/2010 - 13:17h

essa configuração é feita no arquivo menu.lst
acredito que ele até gerou um backup, verifica na pasta /boot/grub/
na dúvida posta o conteúdo do menu.lst


3. Ubuntu 9.10

Vítor José Machado Oliveira
vitoroli

(usa Ubuntu)

Enviado em 26/03/2010 - 13:37h

Obrigada, mas no UBUNTU 9.10 o menu.lst não existe estando no grub.cfg as configurações do grub postei anteriormente.


4. Re: Recuperar windows no grub

Cleber Junio
cleberjunio

(usa Ubuntu)

Enviado em 26/03/2010 - 19:34h

desculpe pela informação errada

mas como dito na 1ª linha desse arquivo ele não pode ser editado("DO NOT EDIT THIS FILE"

o correto é vc editar o "/etc/default/grub"
e depois executar:
sudo update-grub



5. Re: Recuperar windows no grub

Ricardo Libanio
riesdra

(usa Debian)

Enviado em 26/03/2010 - 19:49h

crie está entrada no seu grub
veja se ajuda


# Entry 1 - Chainload another bootloader
menuentry "Chainload my OS" {
set root=(hd0,1)
chainloader +1
}

quando eu usei ele eu configurei direto no grub.cfg mesmo, embora não seja o mais correto.




6. Re: Recuperar windows no grub

j g meinhardt
meinhardt_jgbr

(usa Debian)

Enviado em 26/03/2010 - 20:02h

Tem um bom Artigo ou Dica aqui no VOL, cujo título era algo como onde está (ou onde ficou) o menu.list, e da as orientações para fazer este tipo de recuperação quando o gerenciador de boot é o GRUB2 e não mais o GRUB (Legacy). Vou procurar também depois e re-edito este post com o link. Acho até que mencionei os links na dica que publiquei sobre as diferenças dos dois GRUBs, nos comentários.

http://www.vivaolinux.com.br/dica/Informacoes-e-instrucoes-sobre-GRUB-(Legacy)-e-GRUB2/




7. Recuperar windows no grub

Paranagua
seg.paranagua

(usa Ubuntu)

Enviado em 21/06/2010 - 09:13h

Ola amigos também to com problema com o windows-7 no grub. depois de reinstalar o Ubuntu 9.4, já observando algumas instabilidades, estas aparte, fiz a atualização e apos reiniciar, no grub aparece windows vista, porém eu tinha instalado o windows seven, o que acontece quando seleciono o windows para iniciar da "erro 13 invalidor unsupported executable formax". Agora vem as instabilidades do já atualizado 9.4 para 9.10:
01-Não monta partição do cd/dvd,
02-Não monta a partição do hd windows não me dando acesso a partição windows,
03-No terminal da um tal de erro... não sei o que lá de 1 a 300, não me danado acesso a nada pelo terminal. Continuo com o menu.list.
O que faço para recuperar o Rwindows?




8. Recuperar windows no grub

Paranagua
seg.paranagua

(usa Ubuntu)

Enviado em 09/07/2010 - 15:58h

Galera vou instalar o linux de novo depois de formatar tudo tenho dois HDs, um IDE já com o windows e o outro hd para o linux um sata 160 gigas. To preocupado pq depois das ultimas instalações, disse ultimas instalações com o UBUNTU 8.4, depois de varias instalações particionado junto ao o windows, esta comrropendo o windows no grub apagando o windows no grub isto aconteceu com o seven gerando um erro onde o mesmo tentava se recuperar e nunca conseguia ( vi um macete aqui galera para vcs recuperar o windows seven comrropido temos que fazer o beckup virtual que o mesmo tem em tão quando comrroper, em umas das opções que é a de recuperar pelo beckup virtual, no qual eu não fiz e me ferrei). O que acontece o linux recuperamos mas o windows porque vi bem pouco tutorial e sem sucesso. Se puderem me enviar informação do que posso fazer e esta acontecendo agradeço.
O HD sata já esta formatado só esperando a instalação.

Obrigado
Paranaguá


9. Recuperar windows no grub - aconteceu denovo

Paranagua
seg.paranagua

(usa Ubuntu)

Enviado em 03/01/2011 - 16:38h

Que o windows apaga a partição Linux sem corromper o LINUX tudo bem mas, o LINUX corromper uma PARTIÇÂO , já tenho certeza e olha que vi vários tutoriais sobre o mesmo assunto.
Tenho dois HD´s, um IDE e Outro SATA, que por incrível que pareça toda vez que vou instalar os SISTEMAS , o WINDOWS vai direto pro ide e o LINUX vai direto pro SATA. Levei um tempo sem usar o LINUX, desde de esta data 09/072010, pois, até tinha esquecido que toda vez a instalação do LINUX dava pau no RWINDOWS. Ao instalar fui logo ao local do HD Windows, já para fazer um Backup para garantir os arquivos existente no Windows e ai, o desespero estava escrito SCI ou CSI sei lá, em tão quando clicava no ícone do HD WINDOWS vinha o aviso PARTIÇÂO NÂO ALOCADA o desespero era maior ainda porque aparecia um símbolo de um circulo vermelho com o sinal de – (menos) no meio do circulo procurei ficar calmo, mas quando vi um tutorial - [1] Enviado em 09/01/2009 - 17:46h:
Instalei o linux, mas o windows sumiu [RESOLVIDO] – ai disse, f... tudo, só quero saber uma coisa tem coisas que perdi como fotos que nem lembro o valor, mas só estou interessado em uma coisa um arquivo de texto, já tentei recuperar com os dois recuperadores de arquivos de partições deletadas mais usados e não conseguir pq por incrível que pareça os arquivos recuperados pelos dois programas são recentes ou seja nenhum é da ultima partição formatada e olha que ao instalar o Windows fiz a formatação rápida achando eu que facilitaria os programas de recuperação me ajudem só quero este arquivo, dos 50 g´s de arquivos que tinha. Pq arquivos mais velhos e não os mais novos?
O que faço e porque o Linux ta corrompendo o Windows?
Programas: Pci Inspector File Recovery e RECUVA





  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts