ווטסאפ - לינוקס, BSD, קוד פתוח ותוכנה חופשית בעברית. Whatsup - Linux, BSD, open source and free software in Hebrew

 
 
  כניסת חברים · רישום · שכחתי סיסמה  
tux the penguin
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
מייקילא בפורום כעת ת.הצטרפות: 22/04/2006 · הודעות: 692 · מיקום: גליל
 

הודעה פורסם: 18/12/2013 - 18:30
נושא ההודעה: חלונות לא מופיע ב"תפריט" GRUB

שלום,
השלמתי התקנה טריה dual boot Arch/Win7.
למרות שההפניות המתאימות k WIN מופיעות פעמיים! ב grub.cfg הן לא מופיעות בתפריט לאחר האתחול (מופיעים רק 3 תפריטי הארץ').

פרוט מלא-בהמשך.

אשמח לעזרה

תודה מראש
מיקי

קוד:

Hi,
Just finished a fresh dual boot (Arch-64/Win7-64), dual HDs installation.
I've installed os-prober prior to installing grub, and indeed a (seemingly) correct menu entry was added (in segment 30-see below).
Yet after reboot, this entry does NOT appear!

I've tried adding a respective entry in the 40-custom, (and ran ' grub-mkconfig -o /boot/grub/grub.cfg' afterwards), yet still the same (menu entry appears in grub.cfg yet does NOT appear after reboot!).

Please advise!

Thanks!




my grub.cfg (note existing grub 30 & 40 segments

קוד:

#
# 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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

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_gpt                                                                                                                                                                                                                                                               
insmod ext2                                                                                                                                                                                                                                                                   
set root='hd0,gpt2'                                                                                                                                                                                                                                                           
if [ x$feature_platform_search_hint = xy ]; then                                                                                                                                                                                                                               
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  6ee857d9-95d1-47c4-ad47-18b979f49e74                                                                                                                           
else                                                                                                                                                                                                                                                                           
  search --no-floppy --fs-uuid --set=root 6ee857d9-95d1-47c4-ad47-18b979f49e74                                                                                                                                                                                                 
fi                                                                                                                                                                                                                                                                             
    font="/usr/share/grub/unicode.pf2"                                                                                                                                                                                                                                         
fi                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                               
if loadfont $font ; then                                                                                                                                                                                                                                                       
  set gfxmode=auto                                                                                                                                                                                                                                                             
  load_video                                                                                                                                                                                                                                                                   
  insmod gfxterm                                                                                                                                                                                                                                                               
fi                                                                                                                                                                                                                                                                             
terminal_input console                                                                                                                                                                                                                                                         
terminal_output gfxterm                                                                                                                                                                                                                                                       
set timeout=5                                                                                                                                                                                                                                                                 
### END /etc/grub.d/00_header ###                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                               
### BEGIN /etc/grub.d/10_linux ###                                                                                                                                                                                                                                             
menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-6ee857d9-95d1                                                                                                   -47c4-ad47-18b979f49e74' {                                                                                                                                                                                                                                                     
        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=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  76af1051-313e-4736-a61c-7c6c8dbaf6ba                                                                                                             
        else                                                                                                                                                                                                                                                                   
          search --no-floppy --fs-uuid --set=root 76af1051-313e-4736-a61c-7c6c8dbaf6ba                                                                                                                                                                                         
        fi                                                                                                                                                                                                                                                                     
        echo    'Loading Linux core repo kernel ...'                                                                                                                                                                                                                           
        linux   /vmlinuz-linux root=UUID=6ee857d9-95d1-47c4-ad47-18b979f49e74 rw  quiet                                                                                                                                                                                       
        echo    'Loading initial ramdisk ...'                                                                                                                                                                                                                                 
        initrd  /initramfs-linux.img                                                                                                                                                                                                                                           
}                                                                                                                                                                                                                                                                             
menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kern                                                                                                   el-fallback-6ee857d9-95d1-47c4-ad47-18b979f49e74' {                                                                                                                                                                                                                           
        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=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  76af1051-313e-4736-a61c-7c6c8dbaf6ba                                                                                                             
        else                                                                                                                                                                                                                                                                   
          search --no-floppy --fs-uuid --set=root 76af1051-313e-4736-a61c-7c6c8dbaf6ba                                                                                                                                                                                         
        fi                                                                                                                                                                                                                                                                     
        echo    'Loading Linux core repo kernel ...'                                                                                                                                                                                                                           
        linux   /vmlinuz-linux root=UUID=6ee857d9-95d1-47c4-ad47-18b979f49e74 rw  quiet                                                                                                                                                                                       
        echo    'Loading initial ramdisk ...'                                                                                                                                                                                                                                 
        initrd  /initramfs-linux-fallback.img                                                                                                                                                                                                                                 
}                                                                                                                                                                                                                                                                             
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6ee857d9-95d1-47c4-ad47-18b979f49e74' {                                                                                                                     
        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=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  76af1051-313e-4736-a61c-7c6c8dbaf6ba                                                                                                             
        else                                                                                                                                                                                                                                                                   
          search --no-floppy --fs-uuid --set=root 76af1051-313e-4736-a61c-7c6c8dbaf6ba                                                                                                                                                                                         
        fi                                                                                                                                                                                                                                                                     
        echo    'Loading Linux core repo kernel ...'                                                                                                                                                                                                                           
        linux   /vmlinuz-linux root=UUID=6ee857d9-95d1-47c4-ad47-18b979f49e74 rw  quiet                                                                                                                                                                                       
        echo    'Loading initial ramdisk ...'                                                                                                                                                                                                                                 
        initrd  /initramfs-linux-fallback.img                                                                                                                                                                                                                                 
}                                                                                                                                                                                                                                                                             
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-6ee857d9-95d1-47c4-ad47-18b979f49e74' {                                                                                                                                                     

### 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 'Windows 7 (loader) (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-67AD726A113E664B' {
        insmod part_msdos
        insmod ntfs
        set root='hd1,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  67AD726A113E664B
        else
          search --no-floppy --fs-uuid --set=root 67AD726A113E664B
        fi
        chainloader +1
}
### 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.
# Windows 7
menuentry "Windows 7" {
  set root=(hd1,1)
  chainloader +1
}


### 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/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
אורח · ·
 

הודעה פורסם: 18/12/2013 - 19:46
נושא ההודעה:

https://bbs.archlinux.org/viewtopic.php?id=98531
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
shulamyלא בפורום כעת ת.הצטרפות: 12/09/2003 · הודעות: 1118 · מיקום: רגבה
 

הודעה פורסם: 18/12/2013 - 22:36
נושא ההודעה:

אני חושב שחסר לך "}" שסוגר את ה "submenu"

איציק
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
מייקילא בפורום כעת ת.הצטרפות: 22/04/2006 · הודעות: 692 · מיקום: גליל
 

הודעה פורסם: 19/12/2013 - 05:01
נושא ההודעה: תודה !

תודה איציק! צדקת-הבעיה נפתרה בהוספת ה {

מיקי
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
הצגת הודעות מלפני:     
מעבר אל:  
כל הזמנים הם GMT + 2 שעות
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
PNphpBB2 © 2003-2004 

תוכן הדיון

  1. מייקי
  2. אורח
  3. shulamy
  4. מייקי