cancel
Showing results for 
Search instead for 
Did you mean: 
EverestTiger
New member
6 5 0 0
Message 1 of 11
411
Flag Post

Can't boot from usb, dual boot linux and windows

HP Recommended
Z800 workstation
Linux

Basically I have the z800 workstation with linux mint 18.3 installed, but because of that i can't access lots of games that are only on windows, so i decided to dual boot the both OS.

I have Grub installed, all the required partitions, the boot usb. But the problem is that when i select the usb boot option with f9 it doesn't do anything and boots on linux.

+ the f10 manager of this computer doesn't have as many options as the other ones.

I have tried many things and i really want both OS running in dual boot.

 

Thanks for providing any type of help.

10 REPLIES 10
Lil_Boy_Blue
Level 12
7,692 7,654 332 701
Message 2 of 11
Flag Post
HP Recommended

Hi

Do you mean that you dont have a boot manager?

F5/F6 may re-arrrange the sequence.

Do you mean you haven't installed Grub?

A boot USB is what?  Dont understand the want or need for one.

 

Try rEFInd as a boot manager on this page.

https://www.rodsbooks.com/refind/

0 Kudos
EverestTiger
Author
New member
6 5 0 0
Message 3 of 11
Flag Post
HP Recommended

Hey

I will try my best to explain everything

 

The main problem i have is :

I want to install windows in my GRUB boot manager (GRUB is already installed and i have the choice between two types of linux mint), but to do so i have to plug in a usb/dvd with the windows iso image on it right ? And then when the computer is starting up press f9 (at least for me) and choose the option "boot from usb" (it is not related to grub, just the bios), but it doesnt do anything in order to install windows.

If i get anything wrong please tell me, because i'm still a beginner :v

And i don't think this problem is related to the boot manager (like grub or refind)

0 Kudos
Lil_Boy_Blue
Level 12
7,692 7,654 332 701
Message 4 of 11
Flag Post
HP Recommended

Hi

""I want to install windows in my GRUB boot manager""

 

Grub is the worst boot manager on the planet.

If one of those Linux installs was OpenSuSE we would not need this thread as it is done automaGically.

 

I will reboot into a Linux and have a look.

 

ELSE use Windows 10 and easyBCD.

0 Kudos
EverestTiger
Author
New member
6 5 0 0
Message 5 of 11
Flag Post
HP Recommended

ummh, i dont fancy changing too much stuff on my computer though 😕

And i really like linux mint as a main os

0 Kudos
Lil_Boy_Blue
Level 12
7,692 7,654 332 701
Message 6 of 11
Flag Post
HP Recommended

Hi

This is from my Lubuntu.... /boot/grub.cfg

This being perhaps relevant..

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-9A45-17E7' {
    insmod part_gpt
    insmod fat
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  9A45-17E7
    else
      search --no-floppy --fs-uuid --set=root 9A45-17E7
    fi
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

 

Some Linux versions have multiple choices, backup kernels, so its a long list.

# 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 recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; 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,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
else
  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
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=en_GB
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3b66ec36-1380-4376-ae22-5141980885a1' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt10'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
	else
	  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
	fi
        linux	/boot/vmlinuz-4.15.0-43-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.15.0-43-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-3b66ec36-1380-4376-ae22-5141980885a1' {
	menuentry 'Ubuntu, with Linux 4.15.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-advanced-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-43-generic ...'
	        linux	/boot/vmlinuz-4.15.0-43-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-43-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-recovery-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-43-generic ...'
	        linux	/boot/vmlinuz-4.15.0-43-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-43-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-38-generic-advanced-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-38-generic ...'
	        linux	/boot/vmlinuz-4.15.0-38-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-38-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-38-generic-recovery-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-38-generic ...'
	        linux	/boot/vmlinuz-4.15.0-38-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-38-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-36-generic-advanced-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-36-generic ...'
	        linux	/boot/vmlinuz-4.15.0-36-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-36-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-36-generic-recovery-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-36-generic ...'
	        linux	/boot/vmlinuz-4.15.0-36-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-36-generic
	}
}

### 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 ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-9A45-17E7' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  9A45-17E7
	else
	  search --no-floppy --fs-uuid --set=root 9A45-17E7
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry 'Debian GNU/Linux 9 (stretch) (on /dev/sda14)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-faab525d-906d-428e-b41a-fc89cc9a9b34' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt14'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
	else
	  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
	fi
	linux /boot/vmlinuz-3.16.0-7-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro quiet
	initrd /boot/initrd.img-3.16.0-7-amd64
}
submenu 'Advanced options for Debian GNU/Linux 9 (stretch) (on /dev/sda14)' $menuentry_id_option 'osprober-gnulinux-advanced-faab525d-906d-428e-b41a-fc89cc9a9b34' {
	menuentry 'Debian GNU/Linux (on /dev/sda14)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-7-amd64--faab525d-906d-428e-b41a-fc89cc9a9b34' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt14'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
		else
		  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
		fi
		linux /boot/vmlinuz-3.16.0-7-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro quiet
		initrd /boot/initrd.img-3.16.0-7-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-7-amd64 (on /dev/sda14)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-7-amd64--faab525d-906d-428e-b41a-fc89cc9a9b34' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt14'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
		else
		  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
		fi
		linux /boot/vmlinuz-3.16.0-7-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro quiet
		initrd /boot/initrd.img-3.16.0-7-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-7-amd64 (recovery mode) (on /dev/sda14)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-7-amd64-root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro single-faab525d-906d-428e-b41a-fc89cc9a9b34' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt14'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
		else
		  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
		fi
		linux /boot/vmlinuz-3.16.0-7-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro single
		initrd /boot/initrd.img-3.16.0-7-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-6-amd64 (on /dev/sda14)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-6-amd64--faab525d-906d-428e-b41a-fc89cc9a9b34' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt14'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
		else
		  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
		fi
		linux /boot/vmlinuz-3.16.0-6-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro quiet
		initrd /boot/initrd.img-3.16.0-6-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-6-amd64 (recovery mode) (on /dev/sda14)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-6-amd64-root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro single-faab525d-906d-428e-b41a-fc89cc9a9b34' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt14'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
		else
		  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
		fi
		linux /boot/vmlinuz-3.16.0-6-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro single
		initrd /boot/initrd.img-3.16.0-6-amd64
	}
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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 ###

 

0 Kudos
Lil_Boy_Blue
Level 12
7,692 7,654 332 701
Message 7 of 11
Flag Post
HP Recommended

@EverestTiger wrote:

ummh, i dont fancy changing too much stuff on my computer though 😕

And i really like linux mint as a main os


ERRRR  Linux aint for you, it is an interactive OS and requires interaction.

 

Windows isn't for you either as Microsoft make massive changes to your computer that you cannot control.

 

 

0 Kudos
EverestTiger
Author
New member
6 5 0 0
Message 8 of 11
Flag Post
HP Recommended

@Lil_Boy_Blue wrote:

@EverestTiger wrote:

ummh, i dont fancy changing too much stuff on my computer though 😕

And i really like linux mint as a main os


ERRRR  Linux aint for you, it is an interactive OS and requires interaction.

 

Windows isn't for you either as Microsoft make massive changes to your computer that you cannot control.

 

 


What i meant is that managing and modifying the linux system massively is really time-consumming, and i dont have that much of it

0 Kudos
EverestTiger
Author
New member
6 5 0 0
Message 9 of 11
Flag Post
HP Recommended

@Lil_Boy_Blue wrote:

Hi

This is from my Lubuntu.... /boot/grub.cfg

This being perhaps relevant..

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-9A45-17E7' {
    insmod part_gpt
    insmod fat
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  9A45-17E7
    else
      search --no-floppy --fs-uuid --set=root 9A45-17E7
    fi
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

 

Some Linux versions have multiple choices, backup kernels, so its a long list.

# 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 recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; 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,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
else
  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
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=en_GB
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3b66ec36-1380-4376-ae22-5141980885a1' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt10'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
	else
	  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
	fi
        linux	/boot/vmlinuz-4.15.0-43-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.15.0-43-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-3b66ec36-1380-4376-ae22-5141980885a1' {
	menuentry 'Ubuntu, with Linux 4.15.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-advanced-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-43-generic ...'
	        linux	/boot/vmlinuz-4.15.0-43-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-43-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-recovery-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-43-generic ...'
	        linux	/boot/vmlinuz-4.15.0-43-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-43-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-38-generic-advanced-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-38-generic ...'
	        linux	/boot/vmlinuz-4.15.0-38-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-38-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-38-generic-recovery-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-38-generic ...'
	        linux	/boot/vmlinuz-4.15.0-38-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-38-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-36-generic-advanced-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-36-generic ...'
	        linux	/boot/vmlinuz-4.15.0-36-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-36-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-36-generic-recovery-3b66ec36-1380-4376-ae22-5141980885a1' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3b66ec36-1380-4376-ae22-5141980885a1
		else
		  search --no-floppy --fs-uuid --set=root 3b66ec36-1380-4376-ae22-5141980885a1
		fi
		echo	'Loading Linux 4.15.0-36-generic ...'
	        linux	/boot/vmlinuz-4.15.0-36-generic root=UUID=3b66ec36-1380-4376-ae22-5141980885a1 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.15.0-36-generic
	}
}

### 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 ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-9A45-17E7' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  9A45-17E7
	else
	  search --no-floppy --fs-uuid --set=root 9A45-17E7
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry 'Debian GNU/Linux 9 (stretch) (on /dev/sda14)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-faab525d-906d-428e-b41a-fc89cc9a9b34' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt14'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
	else
	  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
	fi
	linux /boot/vmlinuz-3.16.0-7-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro quiet
	initrd /boot/initrd.img-3.16.0-7-amd64
}
submenu 'Advanced options for Debian GNU/Linux 9 (stretch) (on /dev/sda14)' $menuentry_id_option 'osprober-gnulinux-advanced-faab525d-906d-428e-b41a-fc89cc9a9b34' {
	menuentry 'Debian GNU/Linux (on /dev/sda14)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-7-amd64--faab525d-906d-428e-b41a-fc89cc9a9b34' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt14'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
		else
		  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
		fi
		linux /boot/vmlinuz-3.16.0-7-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro quiet
		initrd /boot/initrd.img-3.16.0-7-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-7-amd64 (on /dev/sda14)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-7-amd64--faab525d-906d-428e-b41a-fc89cc9a9b34' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt14'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
		else
		  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
		fi
		linux /boot/vmlinuz-3.16.0-7-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro quiet
		initrd /boot/initrd.img-3.16.0-7-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-7-amd64 (recovery mode) (on /dev/sda14)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-7-amd64-root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro single-faab525d-906d-428e-b41a-fc89cc9a9b34' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt14'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
		else
		  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
		fi
		linux /boot/vmlinuz-3.16.0-7-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro single
		initrd /boot/initrd.img-3.16.0-7-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-6-amd64 (on /dev/sda14)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-6-amd64--faab525d-906d-428e-b41a-fc89cc9a9b34' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt14'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
		else
		  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
		fi
		linux /boot/vmlinuz-3.16.0-6-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro quiet
		initrd /boot/initrd.img-3.16.0-6-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-6-amd64 (recovery mode) (on /dev/sda14)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-6-amd64-root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro single-faab525d-906d-428e-b41a-fc89cc9a9b34' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt14'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt14 --hint-efi=hd0,gpt14 --hint-baremetal=ahci0,gpt14  faab525d-906d-428e-b41a-fc89cc9a9b34
		else
		  search --no-floppy --fs-uuid --set=root faab525d-906d-428e-b41a-fc89cc9a9b34
		fi
		linux /boot/vmlinuz-3.16.0-6-amd64 root=UUID=faab525d-906d-428e-b41a-fc89cc9a9b34 ro single
		initrd /boot/initrd.img-3.16.0-6-amd64
	}
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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 ###

 


Ummh, I don't understand any of this x)

I dont think i can use any of this in a useful way

0 Kudos
EverestTiger
Author
New member
6 5 0 0
Message 10 of 11
Flag Post
HP Recommended

But anyway, is the boot manager really the source of the problem ? I think it may just be the bios, not sure

0 Kudos
Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation