Wszystko zrobiłem tak jak opisałem w pierwszym poście. Z Windows7 poradziłem sobie w ten sposób, że zmieniłem wpis na poniższy:
Kod: Zaznacz cały
menuentry "Windows 7" {
set root=(hd0,1)
chainloader +1
}
Po tym zabiegu niby wszystko działało prawidłowo. Czyli mogłem uruchomić bez problemów Windows7 i Debiana.
Następnie dokonałem aktualizacji systemu, restart i zamiast gruba mam:
Czy dobrze zainstalowałem gruba?
Mati75, skorzystałem także z Twojej opcji. Grub został faktycznie zaktualizowany, ale podczas wyboru Windowsa7 mam tylko napis "GRUB" na czarnym tle.
Na chwilę obecną mój plik grub.cfg wygląda tak:
Kod: Zaznacz cały
#
# 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 $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
}
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-686" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 82e8de77-2851-4e31-93f4-a8b627c07a9d
echo Loading Linux 2.6.30-2-686 ...
linux /boot/vmlinuz-2.6.30-2-686 root=UUID=82e8de77-2851-4e31-93f4-a8b627c07a9d ro quiet
echo Loading initial ramdisk ...
initrd /boot/initrd.img-2.6.30-2-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-686 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 82e8de77-2851-4e31-93f4-a8b627c07a9d
echo Loading Linux 2.6.30-2-686 ...
linux /boot/vmlinuz-2.6.30-2-686 root=UUID=82e8de77-2851-4e31-93f4-a8b627c07a9d ro single
echo Loading initial ramdisk ...
initrd /boot/initrd.img-2.6.30-2-686
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c06a10006a0ff248
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_otheros ###
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
menuentry "Microsoft Windows XP Professional" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set e6987c5f987c3063
drivemap -s (hd0) $root
chainloader +1
}
### END /etc/grub.d/30_otheros ###
### 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 ###
fdisk -l
Kod: Zaznacz cały
/dev/sda1 * 1 5549 44572311 7 HPFS/NTFS
/dev/sda2 5550 14593 72645930 f W95 Ext'd (LBA)
/dev/sda5 5550 12578 56460411 7 HPFS/NTFS
/dev/sda6 12579 12680 819283+ 82 Linux swap / Solaris
/dev/sda7 12681 14593 15366141 83 Linux
Dodane:
Odświeżam temat.
Ma ktoś jakiś pomysł jak uruchomić Windows7 z gruba? Za nic nie mogę sobie z tym poradzić.