Help to update grub
Hello,
I have tried to follow https:/
In Cubic's Terminal environment, I made the small change I want to /etc/default/grub :
GRUB_DISTRIBUTO
to
GRUB_DISTRIBUTO
Then, I did cp /etc/default/grub /usr/share/
And finally, on Cubic's Options page, I clicked on the Boot tab and here is my preseed file named auto-preseed.seed :
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-
d-i debian-
d-i debian-
d-i debian-
# Keyboard selection.
d-i console-
d-i keyboard-
d-i keyboard-
# Cette commande permet de régler l'horloge matérielle sur UTC :
d-i clock-setup/utc boolean true
# Vous pouvez mettre toute valeur acceptée pour $TZ.
# Voyez ce que contient /usr/share/
d-i time/zone string Europe/Paris
# La ligne suivante autorise l'utilisation de NTP pour régler l'horloge
# pendant l'installation :
d-i clock-setup/ntp boolean true
# (a) Generate /boot/grub/grub.cfg using the customized version of /etc/default/grub.
# (b) Revert the customized version of /etc/default/grub after it has been overwritten.
ubiquity ubiquity/
in-target bash -c 'update-grub'; \
in-target bash -c 'cp /usr/share/
My grub.cfg is as follow :
function load_video {
if [ x$feature_
then
insmod all_video
else
insmod video_bochs
insmod video_cirrus
if test "${grub_platform}" == "efi"
then
insmod efi_gop
insmod efi_uga
elif test "${grub_platform}" == "pc"
then
insmod vbe
insmod vga
fi
fi
}
if loadfont /boot/grub/font.pf2
then
set gfxmode=auto
export gfxmode
load_video
insmod gfxterm
terminal_output gfxterm
insmod gfxmenu
insmod png
set theme=/
export theme
fi
set color_normal=
set color_highlight
set menu_color_
set menu_color_
set timeout=10
set timeout_style=menu
menuentry "Essayer ou Installer Mon OS" --class mon {
set gfxpayload=keep
linux /casper/vmlinuz boot=casper file=/cdrom/
initrd /casper/initrd.lz
}
menuentry "Essayer ou Installer Mon OS (basse résolution)" --class display {
set gfxpayload=keep
linux /casper/vmlinuz boot=casper file=/cdrom/
initrd /casper/initrd.lz
}
menuentry "Essayer ou Installer Mon OS (Drivers NVIDIA)" --class nvidia {
set gfxpayload=keep
linux /casper/vmlinuz boot=casper file=/cdrom/
initrd /casper/initrd.lz
}
grub_platform
if [ "$grub_platform" = "efi" ]; then
menuentry 'UEFI Firmware Settings' --class settings{
fwsetup
}
fi
menuentry "Éteindre" --class poweroff {
halt
}
And my loopback.cfg is as follow :
menuentry "Essayer ou Installer Mon OS" --class mon {
set gfxpayload=keep
linux /casper/vmlinuz boot=casper file=/cdrom/
initrd /casper/initrd.lz
}
menuentry "Essayer ou Installer Mon OS (basse résolution)" --class display {
set gfxpayload=keep
linux /casper/vmlinuz boot=casper file=/cdrom/
initrd /casper/initrd.lz
}
menuentry "Essayer ou Installer Mon OS (Drivers NVIDIA)" --class nvidia {
set gfxpayload=keep
linux /casper/vmlinuz boot=casper file=/cdrom/
initrd /casper/initrd.lz
}
menuentry "Éteindre" --class poweroff {
halt
}
The Grub doesn't seem to update as it should...
After installing, when rebooting, after withdrawing the dvdrom, I get a black screen with the <grub> invite command only.
If I don't modify /etc/default/grub and keep
GRUB_DISTRIBUTO
then it works.
Could you help me to correct my auto-preseed.seed file or loopback.cfg or grub.cfg if one of the three is wrong or if I'm missing something?
Thank you in advance,
Thatoo
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Cubic Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Thatoo for more information if necessary.