LinuxForum.Fans
Тема

В GRUB2 исчез пунктик загрузки

Автор: dezhurant 121 сообщений 19560 просмотров
18.03.2013 07:50 #309897

После перехода на 12.3 (через обновление) в GRUB2 исчез пунктик загрузки Windows. В ясте в настройках загрузчика ставил галочку "Найти другие ОС", пользовался рекомендациями из "Советов", эффекта не получил. Подскажите пожалуйста, как исправить ситуацию?

18.03.2013 08:20 #309898

dezhurant,
Покажите:

text
# cat /boot/grub2/grub.cfg
# cat /etc/default/grub
# cat /etc/default/grub_installdevice

Ещё:

text
rpm -qa | grep grub
rpm -qa | grep os-prober

Так же попробуйте эту программу.

18.03.2013 08:27 #309899

Спасибо, verg, после обеда выложу.

18.03.2013 11:06 #309922

Насколько я помню os-prober видит системы только на других hdd... Если винда стоит просто в другом разделе то тут нужно ручками прописывать....

18.03.2013 11:09 #309924
"NoVASpirit⇓" написал:
Насколько я помню os-prober видит системы только на других hdd...

Нет.

18.03.2013 11:35 #309931
verg написал:
[quote="NoVASpirit⇓"]Насколько я помню os-prober видит системы только на других hdd...

Нет.[/quote]

По крайней мере у меня пару месяцев назад отказался находить винду...

18.03.2013 14:37 #309973

Итак, выводы:

text
cat /boot/grub2/grub.cfg
Показать
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-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="${saved_entry}"

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi

export menuentry_id_option

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 {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
font="/usr/share/grub2/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_RU
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if [ x${boot_once} = xtrue ]; then
set timeout=0
elif sleep --interruptible 0 ; then
set timeout=8
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE 12.3' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7a3428de-6da8-4484-a33b-eb94d250759c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
echo 'Загружается Linux 3.8.2-3-desktop …'
linux /boot/vmlinuz-3.8.2-3-desktop root=UUID=7a3428de-6da8-4484-a33b-eb94d250759c video=1366x768 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.8.2-3-desktop
}
submenu 'Дополнительные параметры для openSUSE 12.3' $menuentry_id_option 'gnulinux-advanced-7a3428de-6da8-4484-a33b-eb94d250759c' {
menuentry 'openSUSE 12.3, с Linux 3.8.2-3-desktop' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.2-3-desktop-advanced-7a3428de-6da8-4484-a33b-eb94d250759c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
echo 'Загружается Linux 3.8.2-3-desktop …'
linux /boot/vmlinuz-3.8.2-3-desktop root=UUID=7a3428de-6da8-4484-a33b-eb94d250759c video=1366x768 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.8.2-3-desktop
}
menuentry 'openSUSE 12.3, с Linux 3.8.2-3-desktop (режим восстановления)' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.2-3-desktop-recovery-7a3428de-6da8-4484-a33b-eb94d250759c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
echo 'Загружается Linux 3.8.2-3-desktop …'
linux /boot/vmlinuz-3.8.2-3-desktop root=UUID=7a3428de-6da8-4484-a33b-eb94d250759c showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.8.2-3-desktop
}
menuentry 'openSUSE 12.3, с Linux 3.7.10-1.1-desktop' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.1-desktop-advanced-7a3428de-6da8-4484-a33b-eb94d250759c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
echo 'Загружается Linux 3.7.10-1.1-desktop …'
linux /boot/vmlinuz-3.7.10-1.1-desktop root=UUID=7a3428de-6da8-4484-a33b-eb94d250759c video=1366x768 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.7.10-1.1-desktop
}
menuentry 'openSUSE 12.3, с Linux 3.7.10-1.1-desktop (режим восстановления)' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.1-desktop-recovery-7a3428de-6da8-4484-a33b-eb94d250759c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
echo 'Загружается Linux 3.7.10-1.1-desktop …'
linux /boot/vmlinuz-3.7.10-1.1-desktop root=UUID=7a3428de-6da8-4484-a33b-eb94d250759c showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.7.10-1.1-desktop
}
}

### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

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

### 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/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
text
cat /etc/default/grub 
Показать
# Modified by YaST2. Last modification on Пн мар 18 00:38:04 YEKT 2013
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader

# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.
GRUB_DISTRIBUTOR="openSUSE 12.3"
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=8
GRUB_CMDLINE_LINUX_DEFAULT=" video=1366x768 splash=silent quiet showopts"
# kernel command line options for failsafe mode
GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM=0x01234567,0xfefefefe,0x89abcdef,0xefefefef
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=gfxterm
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY=true
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# Skip 30_os-prober if you experienced very slow in probing them
# WARNING foregin OS menu entries will be lost if set true here
GRUB_DISABLE_OS_PROBER=false
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
text
cat /etc/default/grub_installdevice
Показать
(hd1,2)
activate
text
rpm -qa | grep grub
Показать
grub2-2.00-19.5.2.x86_64
grub2-x86_64-efi-2.00-83.1.x86_64
grub2-i386-pc-2.00-19.5.2.x86_64
grub2-efi-2.00-19.5.2.i586
grub-0.97-188.1.1.x86_64
grub2-branding-openSUSE-12.3-184.4.noarch
grub2-i386-efi-2.00-19.5.2.i586
text
rpm -qa | grep os-prober
Показать
os-prober-1.49-7.4.1.x86_64
18.03.2013 14:48 #309981
"dezhurant⇓" написал:
grub-0.97-188.1.1.x86_64

А это что за пакет, он имеет отношение к grub2???

18.03.2013 14:54 #309983

verg, всё сделал, только обновил не через dup, a через up, потому что dup очень много откатить предлагает. Винды в грубе не появилось... :(
kisil, не знаю... *SORRY*

18.03.2013 14:56 #309984
"kisil" написал:
А это что за пакет, он имеет отношение к grub2???

GRUB-Legacy.
Не имеет.

Не мешает.

18.03.2013 14:57 #309985

dezhurant,
Покажите ещё раз выводы.

18.03.2013 14:59 #309987

Все?

18.03.2013 15:00 #309988
dezhurant написал:
Все?

Все.

18.03.2013 15:07 #309990
Показать
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-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="${saved_entry}"

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi

export menuentry_id_option

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 {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
font="/usr/share/grub2/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_RU
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if [ x${boot_once} = xtrue ]; then
set timeout=0
elif sleep --interruptible 0 ; then
set timeout=8
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE 12.3' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7a3428de-6da8-4484-a33b-eb94d250759c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
echo 'Загружается Linux 3.8.2-3-desktop …'
linux /boot/vmlinuz-3.8.2-3-desktop root=UUID=7a3428de-6da8-4484-a33b-eb94d250759c video=1366x768 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.8.2-3-desktop
}
submenu 'Дополнительные параметры для openSUSE 12.3' $menuentry_id_option 'gnulinux-advanced-7a3428de-6da8-4484-a33b-eb94d250759c' {
menuentry 'openSUSE 12.3, с Linux 3.8.2-3-desktop' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.2-3-desktop-advanced-7a3428de-6da8-4484-a33b-eb94d250759c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
echo 'Загружается Linux 3.8.2-3-desktop …'
linux /boot/vmlinuz-3.8.2-3-desktop root=UUID=7a3428de-6da8-4484-a33b-eb94d250759c video=1366x768 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.8.2-3-desktop
}
menuentry 'openSUSE 12.3, с Linux 3.8.2-3-desktop (режим восстановления)' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.2-3-desktop-recovery-7a3428de-6da8-4484-a33b-eb94d250759c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
echo 'Загружается Linux 3.8.2-3-desktop …'
linux /boot/vmlinuz-3.8.2-3-desktop root=UUID=7a3428de-6da8-4484-a33b-eb94d250759c showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.8.2-3-desktop
}
menuentry 'openSUSE 12.3, с Linux 3.7.10-1.1-desktop' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.1-desktop-advanced-7a3428de-6da8-4484-a33b-eb94d250759c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
echo 'Загружается Linux 3.7.10-1.1-desktop …'
linux /boot/vmlinuz-3.7.10-1.1-desktop root=UUID=7a3428de-6da8-4484-a33b-eb94d250759c video=1366x768 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.7.10-1.1-desktop
}
menuentry 'openSUSE 12.3, с Linux 3.7.10-1.1-desktop (режим восстановления)' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.1-desktop-recovery-7a3428de-6da8-4484-a33b-eb94d250759c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd1,msdos2' 7a3428de-6da8-4484-a33b-eb94d250759c
else
search --no-floppy --fs-uuid --set=root 7a3428de-6da8-4484-a33b-eb94d250759c
fi
echo 'Загружается Linux 3.7.10-1.1-desktop …'
linux /boot/vmlinuz-3.7.10-1.1-desktop root=UUID=7a3428de-6da8-4484-a33b-eb94d250759c showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.7.10-1.1-desktop
}
}

### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

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

### 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/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
Показать
Modified by YaST2. Last modification on Пн мар 18 16:56:37 YEKT 2013
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader

# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.
GRUB_DISTRIBUTOR="openSUSE 12.3"
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=8
GRUB_CMDLINE_LINUX_DEFAULT=" video=1366x768 splash=silent quiet showopts"
# kernel command line options for failsafe mode
GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM=0x01234567,0xfefefefe,0x89abcdef,0xefefefef
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=gfxterm
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY=true
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# Skip 30_os-prober if you experienced very slow in probing them
# WARNING foregin OS menu entries will be lost if set true here
GRUB_DISABLE_OS_PROBER=false
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
cat /etc/default/grub_installdevice
Показать
(hd0)
activate

cat /etc/default/grub_installdevice

Показать
grub2-2.00-19.5.2.x86_64
grub2-x86_64-efi-2.00-83.1.x86_64
grub2-i386-pc-2.00-19.5.2.x86_64
grub2-efi-2.00-19.5.2.i586
grub-0.97-188.1.1.x86_64
grub2-branding-openSUSE-12.3-184.4.noarch
grub2-i386-efi-2.00-19.5.2.i586
Показать
os-prober-1.57-30.1.x86_64
18.03.2013 15:29 #309996

dezhurant,
Настройки загрузчика, как у меня на картинке?

18.03.2013 15:33 #309997

Да, но вот только сейчас увидел-"Записать общий загрузочный код в MBR", не было у меня там галочки, поставил, перезагрузил-винды всё равно нет...

18.03.2013 15:35 #309998

dezhurant,
Покажите:

text
# fdisk -l
# os-prober
18.03.2013 15:39 #309999
text
fdisk -l
Показать
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, всего 625142448 секторов
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf40ae7c2

Устр-во Загр Начало Конец Блоки Id Система
/dev/sda1 63 96775559 48387748+ 7 HPFS/NTFS/exFAT
/dev/sda2 * 96776192 203077631 53150720 83 Linux
/dev/sda3 203077728 625137344 211029808+ 5 Расширенный
/dev/sda5 203077730 414252089 105587180 7 HPFS/NTFS/exFAT
/dev/sda6 414252153 625137344 105442596 7 HPFS/NTFS/exFAT

Диск /dev/mmcblk0: 1977 МБ, 1977614336 байт
62 heads, 61 sectors/track, 1021 cylinders, всего 3862528 секторов
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc115c115

Устр-во Загр Начало Конец Блоки Id Система
/dev/mmcblk0p1
text
os-prober
Показать
No volume groups found
18.03.2013 15:43 #310000

dezhurant,
Винда на sda1?

Войдите или зарегистрируйтесь, чтобы ответить.