The officially official Devuan Forum!

You are not logged in.

#1 2018-02-04 11:58:07

inukaze
Member
Registered: 2018-01-28
Posts: 18  

GRUB2 - I can't access to my Slackware64 14.2

Hi there, i have another GNU/Linux Distribution installed on another Hard Drive. Slackware64 14.2 when i just finished a fresh install of Devuan with GRUB. all works fine the Entry for Slackware was working. but i don't know why after i installed the package "starfield" theme modifying /etc/default/grub

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Devuan`
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset video=uvesafb:mode_option=1024x768-32,mtrr=3,scroll=ywrap"
GRUB_CMDLINE_LINUX="set gfxpayload=1024x768x32,1024x768 splash quiet"

# 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=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=1024x768
GRUB_GFXPAYLOAD=keep
GRUB_BACKGROUND=/boot/images/Devuan.png
GRUB_THEME="/boot/grub/themes/starfield/theme.txt"

# 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_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

and update grub with

su -c "update-grub" root

#update-grub output:
Contraseña: 
Generating grub configuration file ...
Encontrado tema: /boot/grub/themes/starfield/theme.txt
Found background image: /boot/images/Devuan.png
Encontrada imagen de linux: /boot/vmlinuz-3.16.0-5-amd64
Encontrada imagen de memoria inicial: /boot/initrd.img-3.16.0-5-amd64
Encontrado Slackware Linux (Slackware 14.2) en /dev/sda3
hecho

When i reboot and test, the entry just shows me "/boot/vmlinuz-huge-4.4.111 not found"

su -c "blkid" root

#blkid output :
/dev/sda1: LABEL="2Slackini" UUID="59774ae4-7b95-4aee-a16f-40e9adc3c4db" TYPE="ext2" PARTUUID="000cb1e8-01"
/dev/sda2: LABEL="Intercambio" UUID="3321c287-cb97-4ac4-8411-5e5c9309eb29" TYPE="swap" PARTUUID="000cb1e8-02"
/dev/sda3: LABEL="2Slackware64" UUID="1c07b419-4a08-4326-b4c4-fd9ac9cce46e" UUID_SUB="3ec2cd19-212c-42e4-9630-8c5c2baa3250" TYPE="btrfs" PARTUUID="000cb1e8-03"
/dev/sda4: LABEL="Compartido" UUID="8e83f0c2-f133-4bda-97ca-f136b8bbf7a7" TYPE="ext3" PARTUUID="000cb1e8-04"
/dev/sdb1: LABEL="AV" UUID="03c03b57-42fe-40f9-83ff-2ebefa5957c7" TYPE="ext3" PARTUUID="000a723c-01"
/dev/sdc1: LABEL="1SlackIni" UUID="841f50d0-7bc8-42ec-83e5-de5478b4fb4b" TYPE="ext2" PARTUUID="000762df-01"
/dev/sdc2: UUID="5044993c-7b26-41ad-85c9-b455ae6ddd11" TYPE="swap" PARTUUID="000762df-02"
/dev/sdc3: LABEL="Devuan" UUID="9df5c924-2cd5-4f2a-b9c8-0940b8886626" UUID_SUB="f977c429-9ff9-4592-9636-745dd72cadc3" TYPE="btrfs" PARTUUID="000762df-03"
cat /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 ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  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_msdos
insmod btrfs
set root='hd2,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos3 --hint-efi=hd2,msdos3 --hint-baremetal=ahci2,msdos3  9df5c924-2cd5-4f2a-b9c8-0940b8886626
else
  search --no-floppy --fs-uuid --set=root 9df5c924-2cd5-4f2a-b9c8-0940b8886626
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=es_VE
  insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  841f50d0-7bc8-42ec-83e5-de5478b4fb4b
else
  search --no-floppy --fs-uuid --set=root 841f50d0-7bc8-42ec-83e5-de5478b4fb4b
fi
insmod gfxmenu
loadfont ($root)/grub/themes/starfield/dejavu_10.pf2
loadfont ($root)/grub/themes/starfield/dejavu_12.pf2
loadfont ($root)/grub/themes/starfield/dejavu_14.pf2
loadfont ($root)/grub/themes/starfield/dejavu_16.pf2
loadfont ($root)/grub/themes/starfield/dejavu_bold_14.pf2
insmod png
set theme=($root)/grub/themes/starfield/theme.txt
export theme
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=30
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=30
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  841f50d0-7bc8-42ec-83e5-de5478b4fb4b
else
  search --no-floppy --fs-uuid --set=root 841f50d0-7bc8-42ec-83e5-de5478b4fb4b
fi
insmod png
if background_image /images/Devuan.png; then
  true
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Devuan GNU/Linux' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9df5c924-2cd5-4f2a-b9c8-0940b8886626' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd2,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  841f50d0-7bc8-42ec-83e5-de5478b4fb4b
	else
	  search --no-floppy --fs-uuid --set=root 841f50d0-7bc8-42ec-83e5-de5478b4fb4b
	fi
	echo	'Cargando Linux 3.16.0-5-amd64...'
	linux	/vmlinuz-3.16.0-5-amd64 root=UUID=9df5c924-2cd5-4f2a-b9c8-0940b8886626 ro set gfxpayload=1024x768x32,1024x768 splash quiet nomodeset video=uvesafb:mode_option=1024x768-32,mtrr=3,scroll=ywrap
	echo	'Cargando imagen de memoria inicial...'
	initrd	/initrd.img-3.16.0-5-amd64
}
submenu 'Opciones avanzadas para Devuan GNU/Linux' $menuentry_id_option 'gnulinux-advanced-9df5c924-2cd5-4f2a-b9c8-0940b8886626' {
	menuentry 'Devuan GNU/Linux, con Linux 3.16.0-5-amd64' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-5-amd64-advanced-9df5c924-2cd5-4f2a-b9c8-0940b8886626' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd2,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  841f50d0-7bc8-42ec-83e5-de5478b4fb4b
		else
		  search --no-floppy --fs-uuid --set=root 841f50d0-7bc8-42ec-83e5-de5478b4fb4b
		fi
		echo	'Cargando Linux 3.16.0-5-amd64...'
		linux	/vmlinuz-3.16.0-5-amd64 root=UUID=9df5c924-2cd5-4f2a-b9c8-0940b8886626 ro set gfxpayload=1024x768x32,1024x768 splash quiet nomodeset video=uvesafb:mode_option=1024x768-32,mtrr=3,scroll=ywrap
		echo	'Cargando imagen de memoria inicial...'
		initrd	/initrd.img-3.16.0-5-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 3.16.0-5-amd64 (sysvinit)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-5-amd64-init-sysvinit-9df5c924-2cd5-4f2a-b9c8-0940b8886626' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd2,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  841f50d0-7bc8-42ec-83e5-de5478b4fb4b
		else
		  search --no-floppy --fs-uuid --set=root 841f50d0-7bc8-42ec-83e5-de5478b4fb4b
		fi
		echo	'Cargando Linux 3.16.0-5-amd64...'
		linux	/vmlinuz-3.16.0-5-amd64 root=UUID=9df5c924-2cd5-4f2a-b9c8-0940b8886626 ro set gfxpayload=1024x768x32,1024x768 splash quiet nomodeset video=uvesafb:mode_option=1024x768-32,mtrr=3,scroll=ywrap init=/lib/sysvinit/init
		echo	'Cargando imagen de memoria inicial...'
		initrd	/initrd.img-3.16.0-5-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 3.16.0-5-amd64 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-5-amd64-recovery-9df5c924-2cd5-4f2a-b9c8-0940b8886626' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd2,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  841f50d0-7bc8-42ec-83e5-de5478b4fb4b
		else
		  search --no-floppy --fs-uuid --set=root 841f50d0-7bc8-42ec-83e5-de5478b4fb4b
		fi
		echo	'Cargando Linux 3.16.0-5-amd64...'
		linux	/vmlinuz-3.16.0-5-amd64 root=UUID=9df5c924-2cd5-4f2a-b9c8-0940b8886626 ro single set gfxpayload=1024x768x32,1024x768 splash quiet
		echo	'Cargando imagen de memoria inicial...'
		initrd	/initrd.img-3.16.0-5-amd64
	}
}

### 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 'Slackware Linux (Slackware 14.2) (en /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-1c07b419-4a08-4326-b4c4-fd9ac9cce46e' {
	insmod part_msdos
	insmod btrfs
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  1c07b419-4a08-4326-b4c4-fd9ac9cce46e
	else
	  search --no-floppy --fs-uuid --set=root 1c07b419-4a08-4326-b4c4-fd9ac9cce46e
	fi
	linux /boot/vmlinuz-huge-4.4.111 root=/dev/sda3
}
submenu 'Opciones avanzadas para Slackware Linux (Slackware 14.2) (en /dev/sda3)' $menuentry_id_option 'osprober-gnulinux-advanced-1c07b419-4a08-4326-b4c4-fd9ac9cce46e' {
	menuentry 'Slackware Linux (Slackware 14.2) (en /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-4.4.111--1c07b419-4a08-4326-b4c4-fd9ac9cce46e' {
		insmod part_msdos
		insmod btrfs
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  1c07b419-4a08-4326-b4c4-fd9ac9cce46e
		else
		  search --no-floppy --fs-uuid --set=root 1c07b419-4a08-4326-b4c4-fd9ac9cce46e
		fi
		linux /boot/vmlinuz-huge-4.4.111 root=/dev/sda3
	}
}

### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

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

Offline

Board footer