You are not logged in.
Pages: 1
It just sits there and doesn't auto start unless I choose a boot option, I have no idea where to look to fix it either. I can either select Arch or the backup, no matter how long I let it sit there, I can hit enter and then it goes through the boot up, it is not game breaking, but the point of the system is mainly to be used remotely. If for any reason I reboot it, I need to go to it and attach a keyboard to press enter and continue. Any thoughts?
EDIT:
Fixed it by using regular parted and then regular grub instead of 2.
Last edited by Never (2011-12-25 00:42:36)
Offline
Timed display.
The default delay is 10 seconds. If no user input is made Grub 2 boots to the default entry.
The countdown can be stopped by pressing any key. The user must then make a selection manually.
The booted entry is determined by the DEFAULT= setting in /etc/default/grub, The first "menuentry" is 0.
These settings should be in /etc/default/grub
http://www.gnu.org/software/grub/manual/grub.html
Tim
Offline
It just sits there and doesn't auto start unless I choose a boot option, I have no idea where to look to fix it either. I can either select Arch or the backup, no matter how long I let it sit there, I can hit enter and then it goes through the boot up, it is not game breaking, but the point of the system is mainly to be used remotely. If for any reason I reboot it, I need to go to it and attach a keyboard to press enter and continue. Any thoughts?
Looks like you have messed GRUB_TIMEOUT or GRUB_HIDDEN_TIMEOUT options.
Fix them in
/etc/default/grub
then run
grub-mkconfig -o /boot/grub/grub.cfg
See more
http://www.gnu.org/software/grub/manual … figuration
https://wiki.archlinux.org/index.php/GR … figuration
Offline
My original /etc/default/grub:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch Linux"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# 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 to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-blue/black"
GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
my original /boot/grub/grub.cfg:
#
# 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="0"
insmod part_gpt
insmod part_msdos
# Include fat fs module - required for uefi systems.
insmod fat
insmod ext2
insmod ext2
insmod search_fs_file
insmod search_fs_uuid
insmod search_label
insmod linux
insmod chain
set pager=1
set locale_dir=${prefix}/locale
# DEVICE DETAILS: /dev/hda3 UUID=cb37554d-a6ed-438c-b07e-189a1e873f00 LABEL=BOOT_ARCH
# DEVICE DETAILS: /dev/hda4 UUID=ca19f354-f367-4626-bea4-af5909a37aab LABEL=SWAP_ARCH
# DEVICE DETAILS: /dev/hda5 UUID=6e0e7ba8-6268-4791-9638-8630da290149 LABEL=ROOT_ARCH
# DEVICE DETAILS: /dev/hda6 UUID=7df146c7-8db1-49ce-98bd-64aaa35eb522 LABEL=HOME_ARCH
# (0) Arch Linux
menuentry "Arch Linux" {
search --fs-uuid --no-floppy --set=root cb37554d-a6ed-438c-b07e-189a1e873f00
linux /vmlinuz26-lts root=/dev/disk/by-uuid/6e0e7ba8-6268-4791-9638-8630da290149 rootfstype=ext3 ro add_efi_memmap
initrd /kernel26-lts.img
}
# (1) Arch Linux Fallback
menuentry "Arch Linux Fallback" {
search --fs-uuid --no-floppy --set=root cb37554d-a6ed-438c-b07e-189a1e873f00
linux /vmlinuz26-lts root=/dev/disk/by-uuid/6e0e7ba8-6268-4791-9638-8630da290149 rootfstype=ext3 ro add_efi_memmap
initrd /kernel26-lts-fallback.img
}
## (2) Windows BIOS
## Will work only in grub2 bios
#menuentry \"Microsoft Windows 7 BIOS-MBR\" {
# insmod part_msdos
# insmod ntfs
# insmod search_fs_uuid
# insmod ntldr
# search --fs-uuid --no-floppy --set=root 69B235F6749E84CE
# ntldr ()/bootmgr
#}
## (3) Windows x86_64 UEFI
## Will work only in grub2 uefi x86_64
#menuentry \"Microsoft Windows x86_64 UEFI-GPT\" {
# insmod part_gpt
# insmod fat
# insmod search_fs_uuid
# insmod chain
# search --fs-uuid --no-floppy --set=root 1CE5-7F28
# chainloader ()/efi/Microsoft/Boot/bootmgfw.efi
#}
I don't know why I have the "# Include fat fs module - required for uefi systems." parts, I don't have a UEFI system, but I did let the software auto partition the drive.
new grub.cfg after sudo grub-mkconfig -o /boot/grub/grub.cfg:
#
# 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="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
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
set menu_color_normal=light-blue/black
set menu_color_highlight=light-cyan/blue
insmod part_gpt
insmod ext2
set root='(hd0,gpt5)'
search --no-floppy --fs-uuid --set=root 6e0e7ba8-6268-4791-9638-8630da290149
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set=root cb37554d-a6ed-438c-b07e-189a1e873f00
set locale_dir=($root)/grub/locale
set lang=en_US
insmod gettext
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 vmlinuz26-lts' --class archlinux --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set=root cb37554d-a6ed-438c-b07e-189a1e873f00
echo 'Loading Linux vmlinuz26-lts ...'
linux /vmlinuz26-lts root=UUID=6e0e7ba8-6268-4791-9638-8630da290149 ro quiet
echo 'Loading initial ramdisk ...'
initrd /kernel26-lts.img
}
menuentry 'Arch Linux, with Linux vmlinuz26-lts Fallback' --class archlinux --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set=root cb37554d-a6ed-438c-b07e-189a1e873f00
echo 'Loading Linux vmlinuz26-lts ...'
linux /vmlinuz26-lts root=UUID=6e0e7ba8-6268-4791-9638-8630da290149 ro quiet
echo 'Loading initial ramdisk ...'
initrd /kernel26-lts-fallback.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/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### 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 $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
It flashed welcome to grub and then immediately went to black, so now I can't access the system at all.
Offline
It flashed welcome to grub and then immediately went to black, so now I can't access the system at all.
Maybe something wrong with GRUB's video support, can you boot with Live CD/USB, chroot into your /, mount /boot, uncomment
GRUB_TERMINAL_OUTPUT=console
then comment out
#GRUB_GFXMODE=auto
regenerate grub.cfg and report back?
What video card and drivers do you use? Maybe it's worth to comment out
#GRUB_GFXPAYLOAD_LINUX=keep
also.
Offline
@Never: The old grub.cfg you showed is the grub.cfg created by Archboot iso while the new one is generated by grub-mkconfig . I guess grub2 is not able to find any suitable video mode for display with the system's GPU/videocard. If grub2 went blank after "Welcome to GRUB", try re-installing it with grub_bios-install. Or try grub2-bios-bzr https://aur.archlinux.org/packages.php?ID=41055 . Grub2 is still WIP and many fixes are added to upstream bzr repo.
Offline
Pages: 1