Autore Topic: come modificare script contenenti in /etc/grub.d ?  (Letto 3732 volte)

Offline jonny

  • *
  • Post: 111
  • Reputazione: -5
    • Mostra profilo
Re:come modificare script contenenti in /etc/grub.d ?
« Risposta #30 il: 01 Ottobre 2013 ore 23:12 »
ho fatto come mi hai deto, ho riaviato senza rigenerare il grub pero facendo cosi si è risolto pero facendo cosi non risulta
manjaro, alora lo riaceso e rigenerato il grub e ritorna con il problema di prima.

Offline UnderTheGun

  • *
  • Post: 716
  • Reputazione: 69
  • [ Official Packager ]
    • Mostra profilo
    • kernel-CK repository
Re:come modificare script contenenti in /etc/grub.d ?
« Risposta #31 il: 01 Ottobre 2013 ore 23:13 »

Copia e incolla questo:
Codice: [Seleziona]
#
# 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
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
}

set menu_color_normal=light-blue/black
set menu_color_highlight=light-cyan/blue

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  612bdd88-c678-4694-b930-ceff279a3205
else
  search --no-floppy --fs-uuid --set=root 612bdd88-c678-4694-b930-ceff279a3205
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=it_IT
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  612bdd88-c678-4694-b930-ceff279a3205
else
  search --no-floppy --fs-uuid --set=root 612bdd88-c678-4694-b930-ceff279a3205
fi
insmod gfxmenu
loadfont ($root)/usr/share/grub/themes/dark_squares/dejavu_10.pf2
loadfont ($root)/usr/share/grub/themes/dark_squares/dejavu_14.pf2
insmod png
set theme=($root)/usr/share/grub/themes/dark_squares/theme.txt
export theme
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Chakra Linux' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-612bdd88-c678-4694-b930-ceff279a3205' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  612bdd88-c678-4694-b930-ceff279a3205
else
  search --no-floppy --fs-uuid --set=root 612bdd88-c678-4694-b930-ceff279a3205
fi
echo 'Caricamento Linux linux...'
linux /boot/vmlinuz-linux root=UUID=612bdd88-c678-4694-b930-ceff279a3205 ro  quiet rw splash
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initramfs-linux.img
}
submenu 'Opzioni avanzate per Chakra Linux' $menuentry_id_option 'gnulinux-advanced-612bdd88-c678-4694-b930-ceff279a3205' {
menuentry 'Chakra Linux, con Linux linux' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-612bdd88-c678-4694-b930-ceff279a3205' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  612bdd88-c678-4694-b930-ceff279a3205
else
  search --no-floppy --fs-uuid --set=root 612bdd88-c678-4694-b930-ceff279a3205
fi
echo 'Caricamento Linux linux...'
linux /boot/vmlinuz-linux root=UUID=612bdd88-c678-4694-b930-ceff279a3205 ro  quiet rw splash
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initramfs-linux.img
}
menuentry 'Chakra Linux, con Linux linux (modalità ripristino)' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-recovery-612bdd88-c678-4694-b930-ceff279a3205' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  612bdd88-c678-4694-b930-ceff279a3205
else
  search --no-floppy --fs-uuid --set=root 612bdd88-c678-4694-b930-ceff279a3205
fi
echo 'Caricamento Linux linux...'
linux /boot/vmlinuz-linux root=UUID=612bdd88-c678-4694-b930-ceff279a3205 ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initramfs-linux.img
}
}

### 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 'openSUSE 12.3 (x86_64)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-470c852a-7071-412a-a436-648a721be4d9' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,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  470c852a-7071-412a-a436-648a721be4d9
else
  search --no-floppy --fs-uuid --set=root 470c852a-7071-412a-a436-648a721be4d9
fi
linux /boot/vmlinuz-3.11.1-29.g2fa222d-desktop root=UUID=470c852a-7071-412a-a436-648a721be4d9 resume=/dev/disk/by-id/ata-Hitachi_HTS543232A7A384_E2034233CYY7JP-part1 splash=silent quiet showopts
initrd /boot/initrd-3.11.1-29.g2fa222d-desktop
}
submenu 'Opzioni avanzate per openSUSE 12.3 (x86_64)' $menuentry_id_option 'osprober-gnulinux-advanced-470c852a-7071-412a-a436-648a721be4d9' {
menuentry 'openSUSE 12.3 (su /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.1-29.g2fa222d-desktop--470c852a-7071-412a-a436-648a721be4d9' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,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  470c852a-7071-412a-a436-648a721be4d9
else
  search --no-floppy --fs-uuid --set=root 470c852a-7071-412a-a436-648a721be4d9
fi
linux /boot/vmlinuz-3.11.1-29.g2fa222d-desktop root=UUID=470c852a-7071-412a-a436-648a721be4d9 resume=/dev/disk/by-id/ata-Hitachi_HTS543232A7A384_E2034233CYY7JP-part1 splash=silent quiet showopts
initrd /boot/initrd-3.11.1-29.g2fa222d-desktop
}
menuentry 'openSUSE 12.3, with Linux 3.11.1-29.g2fa222d-desktop (su /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.1-29.g2fa222d-desktop--470c852a-7071-412a-a436-648a721be4d9' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,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  470c852a-7071-412a-a436-648a721be4d9
else
  search --no-floppy --fs-uuid --set=root 470c852a-7071-412a-a436-648a721be4d9
fi
linux /boot/vmlinuz-3.11.1-29.g2fa222d-desktop root=UUID=470c852a-7071-412a-a436-648a721be4d9 resume=/dev/disk/by-id/ata-Hitachi_HTS543232A7A384_E2034233CYY7JP-part1 splash=silent quiet showopts
initrd /boot/initrd-3.11.1-29.g2fa222d-desktop
}
menuentry 'openSUSE 12.3, with Linux 3.11.1-29.g2fa222d-desktop (recovery mode) (su /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.1-29.g2fa222d-desktop--470c852a-7071-412a-a436-648a721be4d9' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,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  470c852a-7071-412a-a436-648a721be4d9
else
  search --no-floppy --fs-uuid --set=root 470c852a-7071-412a-a436-648a721be4d9
fi
linux /boot/vmlinuz-3.11.1-29.g2fa222d-desktop root=UUID=470c852a-7071-412a-a436-648a721be4d9 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
initrd /boot/initrd-3.11.1-29.g2fa222d-desktop
}
}

menuentry 'Ubuntu 13.04 (13.04)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-57ab0d39-7f6d-405d-8d82-f5eb18684ce5' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  57ab0d39-7f6d-405d-8d82-f5eb18684ce5
else
  search --no-floppy --fs-uuid --set=root 57ab0d39-7f6d-405d-8d82-f5eb18684ce5
fi
linux /boot/vmlinuz-3.8.0-31-generic root=UUID=57ab0d39-7f6d-405d-8d82-f5eb18684ce5 ro quiet splash
initrd /boot/initrd.img-3.8.0-31-generic
}
submenu 'Opzioni avanzate per Ubuntu 13.04 (13.04)' $menuentry_id_option 'osprober-gnulinux-advanced-57ab0d39-7f6d-405d-8d82-f5eb18684ce5' {
menuentry 'Antergos (su /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.8.0-31-generic--57ab0d39-7f6d-405d-8d82-f5eb18684ce5' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  57ab0d39-7f6d-405d-8d82-f5eb18684ce5
else
  search --no-floppy --fs-uuid --set=root 57ab0d39-7f6d-405d-8d82-f5eb18684ce5
fi
linux /boot/vmlinuz-3.8.0-31-generic root=UUID=57ab0d39-7f6d-405d-8d82-f5eb18684ce5 ro quiet splash
initrd /boot/initrd.img-3.8.0-31-generic
}
}

menuentry 'Manjaro Linux (0.8.7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-68e2244c-224f-4c6c-9bb8-a2b908f38221' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  68e2244c-224f-4c6c-9bb8-a2b908f38221
else
  search --no-floppy --fs-uuid --set=root 68e2244c-224f-4c6c-9bb8-a2b908f38221
fi
linux /boot/vmlinuz-310-x86_64 root=UUID=68e2244c-224f-4c6c-9bb8-a2b908f38221 rw quiet splash resume=UUID=2b99358b-e8ee-4169-9a02-b05a4f718cff
initrd /boot/initramfs-310-x86_64.img
}
submenu 'Opzioni avanzate per Manjaro Linux (0.8.7)' $menuentry_id_option 'osprober-gnulinux-advanced-68e2244c-224f-4c6c-9bb8-a2b908f38221' {
menuentry 'Manjaro Linux (Kernel 3.10.12-1-MANJARO x64) (su /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-310-x86_64--68e2244c-224f-4c6c-9bb8-a2b908f38221' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  68e2244c-224f-4c6c-9bb8-a2b908f38221
else
  search --no-floppy --fs-uuid --set=root 68e2244c-224f-4c6c-9bb8-a2b908f38221
fi
linux /boot/vmlinuz-310-x86_64 root=UUID=68e2244c-224f-4c6c-9bb8-a2b908f38221 rw quiet splash resume=UUID=2b99358b-e8ee-4169-9a02-b05a4f718cff
initrd /boot/initramfs-310-x86_64.img
}
menuentry 'Manjaro Linux (Kernel 3.10.12-1-MANJARO x64 - fallback initramfs) (su /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-310-x86_64--68e2244c-224f-4c6c-9bb8-a2b908f38221' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  68e2244c-224f-4c6c-9bb8-a2b908f38221
else
  search --no-floppy --fs-uuid --set=root 68e2244c-224f-4c6c-9bb8-a2b908f38221
fi
linux /boot/vmlinuz-310-x86_64 root=UUID=68e2244c-224f-4c6c-9bb8-a2b908f38221 rw quiet splash resume=UUID=2b99358b-e8ee-4169-9a02-b05a4f718cff
initrd /boot/initramfs-310-x86_64-fallback.img
}
}

### 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 ###
« Ultima modifica: 01 Ottobre 2013 ore 23:18 da UnderTheGun »

Kernel ottimizzati per Chakra
*Kernel CK - Kernel PF*

Offline jonny

  • *
  • Post: 111
  • Reputazione: -5
    • Mostra profilo
Re:come modificare script contenenti in /etc/grub.d ?
« Risposta #32 il: 01 Ottobre 2013 ore 23:30 »
ok ho copiato, ora mi lege una voce di antergos , mi ero dimenticato prima che erano due le voci
pero vedo nel file che ho coppiato non c'e la voce di antergos.

scusate se vi faccio tribulare

Offline UnderTheGun

  • *
  • Post: 716
  • Reputazione: 69
  • [ Official Packager ]
    • Mostra profilo
    • kernel-CK repository
Re:come modificare script contenenti in /etc/grub.d ?
« Risposta #33 il: 02 Ottobre 2013 ore 00:20 »
ok ho copiato, ora mi lege una voce di antergos , mi ero dimenticato prima che erano due le voci
pero vedo nel file che ho coppiato non c'e la voce di antergos.

scusate se vi faccio tribulare

Ok, ho capito.
Copia questo qui e SICURAMENTE funziona!  :)
Codice: [Seleziona]
#
# 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
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
}

set menu_color_normal=light-blue/black
set menu_color_highlight=light-cyan/blue

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  612bdd88-c678-4694-b930-ceff279a3205
else
  search --no-floppy --fs-uuid --set=root 612bdd88-c678-4694-b930-ceff279a3205
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=it_IT
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  612bdd88-c678-4694-b930-ceff279a3205
else
  search --no-floppy --fs-uuid --set=root 612bdd88-c678-4694-b930-ceff279a3205
fi
insmod gfxmenu
loadfont ($root)/usr/share/grub/themes/dark_squares/dejavu_10.pf2
loadfont ($root)/usr/share/grub/themes/dark_squares/dejavu_14.pf2
insmod png
set theme=($root)/usr/share/grub/themes/dark_squares/theme.txt
export theme
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Chakra Linux' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-612bdd88-c678-4694-b930-ceff279a3205' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  612bdd88-c678-4694-b930-ceff279a3205
else
  search --no-floppy --fs-uuid --set=root 612bdd88-c678-4694-b930-ceff279a3205
fi
echo 'Caricamento Linux linux...'
linux /boot/vmlinuz-linux root=UUID=612bdd88-c678-4694-b930-ceff279a3205 ro  quiet rw splash
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initramfs-linux.img
}
submenu 'Opzioni avanzate per Chakra Linux' $menuentry_id_option 'gnulinux-advanced-612bdd88-c678-4694-b930-ceff279a3205' {
menuentry 'Chakra Linux, con Linux linux' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-612bdd88-c678-4694-b930-ceff279a3205' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  612bdd88-c678-4694-b930-ceff279a3205
else
  search --no-floppy --fs-uuid --set=root 612bdd88-c678-4694-b930-ceff279a3205
fi
echo 'Caricamento Linux linux...'
linux /boot/vmlinuz-linux root=UUID=612bdd88-c678-4694-b930-ceff279a3205 ro  quiet rw splash
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initramfs-linux.img
}
menuentry 'Chakra Linux, con Linux linux (modalità ripristino)' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-recovery-612bdd88-c678-4694-b930-ceff279a3205' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  612bdd88-c678-4694-b930-ceff279a3205
else
  search --no-floppy --fs-uuid --set=root 612bdd88-c678-4694-b930-ceff279a3205
fi
echo 'Caricamento Linux linux...'
linux /boot/vmlinuz-linux root=UUID=612bdd88-c678-4694-b930-ceff279a3205 ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initramfs-linux.img
}
}

### 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 'openSUSE 12.3 (x86_64)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-470c852a-7071-412a-a436-648a721be4d9' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,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  470c852a-7071-412a-a436-648a721be4d9
else
  search --no-floppy --fs-uuid --set=root 470c852a-7071-412a-a436-648a721be4d9
fi
linux /boot/vmlinuz-3.11.1-29.g2fa222d-desktop root=UUID=470c852a-7071-412a-a436-648a721be4d9 resume=/dev/disk/by-id/ata-Hitachi_HTS543232A7A384_E2034233CYY7JP-part1 splash=silent quiet showopts
initrd /boot/initrd-3.11.1-29.g2fa222d-desktop
}
submenu 'Opzioni avanzate per openSUSE 12.3 (x86_64)' $menuentry_id_option 'osprober-gnulinux-advanced-470c852a-7071-412a-a436-648a721be4d9' {
menuentry 'openSUSE 12.3 (su /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.1-29.g2fa222d-desktop--470c852a-7071-412a-a436-648a721be4d9' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,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  470c852a-7071-412a-a436-648a721be4d9
else
  search --no-floppy --fs-uuid --set=root 470c852a-7071-412a-a436-648a721be4d9
fi
linux /boot/vmlinuz-3.11.1-29.g2fa222d-desktop root=UUID=470c852a-7071-412a-a436-648a721be4d9 resume=/dev/disk/by-id/ata-Hitachi_HTS543232A7A384_E2034233CYY7JP-part1 splash=silent quiet showopts
initrd /boot/initrd-3.11.1-29.g2fa222d-desktop
}
menuentry 'openSUSE 12.3, with Linux 3.11.1-29.g2fa222d-desktop (su /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.1-29.g2fa222d-desktop--470c852a-7071-412a-a436-648a721be4d9' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,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  470c852a-7071-412a-a436-648a721be4d9
else
  search --no-floppy --fs-uuid --set=root 470c852a-7071-412a-a436-648a721be4d9
fi
linux /boot/vmlinuz-3.11.1-29.g2fa222d-desktop root=UUID=470c852a-7071-412a-a436-648a721be4d9 resume=/dev/disk/by-id/ata-Hitachi_HTS543232A7A384_E2034233CYY7JP-part1 splash=silent quiet showopts
initrd /boot/initrd-3.11.1-29.g2fa222d-desktop
}
menuentry 'openSUSE 12.3, with Linux 3.11.1-29.g2fa222d-desktop (recovery mode) (su /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.1-29.g2fa222d-desktop--470c852a-7071-412a-a436-648a721be4d9' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,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  470c852a-7071-412a-a436-648a721be4d9
else
  search --no-floppy --fs-uuid --set=root 470c852a-7071-412a-a436-648a721be4d9
fi
linux /boot/vmlinuz-3.11.1-29.g2fa222d-desktop root=UUID=470c852a-7071-412a-a436-648a721be4d9 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
initrd /boot/initrd-3.11.1-29.g2fa222d-desktop
}
}

menuentry 'Ubuntu 13.04 (13.04)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-57ab0d39-7f6d-405d-8d82-f5eb18684ce5' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  57ab0d39-7f6d-405d-8d82-f5eb18684ce5
else
  search --no-floppy --fs-uuid --set=root 57ab0d39-7f6d-405d-8d82-f5eb18684ce5
fi
linux /boot/vmlinuz-3.8.0-31-generic root=UUID=57ab0d39-7f6d-405d-8d82-f5eb18684ce5 ro quiet splash
initrd /boot/initrd.img-3.8.0-31-generic
}
submenu 'Opzioni avanzate per Ubuntu 13.04 (13.04)' $menuentry_id_option 'osprober-gnulinux-advanced-57ab0d39-7f6d-405d-8d82-f5eb18684ce5' {
menuentry 'Ubuntu 13.04 (13.04) (Kernel 3.8.0-31-generic) (su /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.8.0-31-generic--57ab0d39-7f6d-405d-8d82-f5eb18684ce5' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  57ab0d39-7f6d-405d-8d82-f5eb18684ce5
else
  search --no-floppy --fs-uuid --set=root 57ab0d39-7f6d-405d-8d82-f5eb18684ce5
fi
linux /boot/vmlinuz-3.8.0-31-generic root=UUID=57ab0d39-7f6d-405d-8d82-f5eb18684ce5 ro quiet splash
initrd /boot/initrd.img-3.8.0-31-generic
}
}

menuentry 'Manjaro Linux (0.8.7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-68e2244c-224f-4c6c-9bb8-a2b908f38221' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  68e2244c-224f-4c6c-9bb8-a2b908f38221
else
  search --no-floppy --fs-uuid --set=root 68e2244c-224f-4c6c-9bb8-a2b908f38221
fi
linux /boot/vmlinuz-310-x86_64 root=UUID=68e2244c-224f-4c6c-9bb8-a2b908f38221 rw quiet splash resume=UUID=2b99358b-e8ee-4169-9a02-b05a4f718cff
initrd /boot/initramfs-310-x86_64.img
}
submenu 'Opzioni avanzate per Manjaro Linux (0.8.7)' $menuentry_id_option 'osprober-gnulinux-advanced-68e2244c-224f-4c6c-9bb8-a2b908f38221' {
menuentry 'Manjaro Linux (Kernel 3.10.12-1-MANJARO x64) (su /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-310-x86_64--68e2244c-224f-4c6c-9bb8-a2b908f38221' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  68e2244c-224f-4c6c-9bb8-a2b908f38221
else
  search --no-floppy --fs-uuid --set=root 68e2244c-224f-4c6c-9bb8-a2b908f38221
fi
linux /boot/vmlinuz-310-x86_64 root=UUID=68e2244c-224f-4c6c-9bb8-a2b908f38221 rw quiet splash resume=UUID=2b99358b-e8ee-4169-9a02-b05a4f718cff
initrd /boot/initramfs-310-x86_64.img
}
menuentry 'Manjaro Linux (Kernel 3.10.12-1-MANJARO x64 - fallback initramfs) (su /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-310-x86_64--68e2244c-224f-4c6c-9bb8-a2b908f38221' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  68e2244c-224f-4c6c-9bb8-a2b908f38221
else
  search --no-floppy --fs-uuid --set=root 68e2244c-224f-4c6c-9bb8-a2b908f38221
fi
linux /boot/vmlinuz-310-x86_64 root=UUID=68e2244c-224f-4c6c-9bb8-a2b908f38221 rw quiet splash resume=UUID=2b99358b-e8ee-4169-9a02-b05a4f718cff
initrd /boot/initramfs-310-x86_64-fallback.img
}
}

### 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 ###

Kernel ottimizzati per Chakra
*Kernel CK - Kernel PF*

Offline jonny

  • *
  • Post: 111
  • Reputazione: -5
    • Mostra profilo
Re:come modificare script contenenti in /etc/grub.d ?
« Risposta #34 il: 02 Ottobre 2013 ore 10:26 »
ok con questo sono riuscito, ma ho fato un ulteriore casino

per vedere se era temporaneo la risoluzione ho giornato grub, e come pensavo era temporaneo ora  ho rimesso
quanto ho fatto prima.

ora il menu di grub ha dopie voci e l'uniche distoro che arrivo a far partire
sono manjaro e  opensuse con supergrub arivo a far partire ubuntu.

mentre per quanto riguarda chakra non arrivo a farla partire

se vado su opzioni chackra mi parte manjaro.

mentre se  clicco su chackra

mi fa il testuale
Codice: [Seleziona]
ok reached target  root file e altri ok
modalita ripristino  did not acpet message 1 (conection refused)
kill it reboot systemtctl  after login in type journal -xb

ma la cosa strana perche prima non me la fatta orache lo ricopiata è uscito sto casino.
non so se entrare con la live di chakra ed reinstallare il grub cambia qualcosa o a far gestire grub ad un altro os

Offline Cylon

  • *
  • Post: 1960
  • Reputazione: 78
  • CYbernetic Life fOrm Node
    • Mostra profilo
Re:come modificare script contenenti in /etc/grub.d ?
« Risposta #35 il: 02 Ottobre 2013 ore 10:42 »
non è che ogni volta che ti si incasina grub.cfg devi reinstallare grub, devi solo rigenerare quel file.. ovviamente per il momento non c'è una soluzione al problema della misteriosa comparsa della distro che non hai più.
We are the Cylons. Lower your firewalll and surrender.Your PC will adapt to service our GNU/Linux systems. Resistance is futile. Extermination of human race has began!
                                                                     Non rispondo a PM

Offline jonny

  • *
  • Post: 111
  • Reputazione: -5
    • Mostra profilo
Re:come modificare script contenenti in /etc/grub.d ?
« Risposta #36 il: 02 Ottobre 2013 ore 12:27 »
sono riuscito a risolvere questa volta definitivamente o almeno penso.
sono entrato in chakra e ho copiato
come mi ha detto  UnderTheGun
poi ho riaviato sono entrato con ubuntu è anche li ho modificato  il file grub.con eliminando la voce di antergos
rientro in chackra e aggiorno il grub per vedere se è realmente modifica, posso dire di si
la voce di antergos non c'è piu.

pero non mi spiego como posso avere fatto cuesto casino prima, vi ringrazio tutti di avermi aiutato


Offline Cylon

  • *
  • Post: 1960
  • Reputazione: 78
  • CYbernetic Life fOrm Node
    • Mostra profilo
Re:come modificare script contenenti in /etc/grub.d ?
« Risposta #37 il: 02 Ottobre 2013 ore 12:40 »
quindi grub và a leggersi il grub di un'altra distro  ::) ::) ::)

sarà che io non ho mai installato più di un grub nei miei pc multi-distro.. non si smette mai di imaprare... ;D ;D ;D

ricorda di segnare il topic come risolto (clicca sul tasto risolto)
We are the Cylons. Lower your firewalll and surrender.Your PC will adapt to service our GNU/Linux systems. Resistance is futile. Extermination of human race has began!
                                                                     Non rispondo a PM

Offline jonny

  • *
  • Post: 111
  • Reputazione: -5
    • Mostra profilo
Re:come modificare script contenenti in /etc/grub.d ?
« Risposta #38 il: 02 Ottobre 2013 ore 18:50 »
pensavo da aver risolto ma ad agiornamento kernel di ubuntu e agiornando grub di chakra ritorna il punto di partenza,
ma puo essere un problema di ubuntu. ma mi chido cosa puo essere?

questa volta ho risolto definitivamente, era colpa di uno script di ubuntu,
che era presente nella sua cartella di boot che legeva anche antergos, l'ho eliminato,
ora dovrebbe essere tutto aposto.

vi ringrazio di tutto per il vostro aiuto che mi avete dato
« Ultima modifica: 04 Ottobre 2013 ore 09:28 da jonny »

Offline UnderTheGun

  • *
  • Post: 716
  • Reputazione: 69
  • [ Official Packager ]
    • Mostra profilo
    • kernel-CK repository
Re:come modificare script contenenti in /etc/grub.d ?
« Risposta #39 il: 15 Ottobre 2013 ore 21:45 »
Non c'è di che :)

Kernel ottimizzati per Chakra
*Kernel CK - Kernel PF*

 

Template by Homey | Sito ufficiale | Disclaimer