LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2017, 12:59 PM   #1
kat35601
LQ Newbie
 
Registered: Aug 2017
Posts: 5

Rep: Reputation: Disabled
Parrot os Grub problem


I installed Parrot os on a laptop. No other os is on the laptop. When I boot I get

GNU Grub version 2.02

minimal Bash-like line editing etc...

and a grub prompt

I can type exit and get the boot menu.

How can I make grub go to the boot menu without having to type exit?
 
Old 08-10-2017, 01:19 PM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch
Posts: 1,253

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
Quote:
Originally Posted by kat35601 View Post
I installed Parrot os on a laptop. No other os is on the laptop. When I boot I get

GNU Grub version 2.02

minimal Bash-like line editing etc...

and a grub prompt

I can type exit and get the boot menu.

How can I make grub go to the boot menu without having to type exit?
Hi kat35601,

Welcome to LQ.

Several members here are more expert in matters Grub-related than I - they may chime in with better suggestions. However, it sounds like your Grub configuration needs adjusting. Did you try updating it once back in your system (update-grub) ?
 
Old 08-10-2017, 01:34 PM   #3
kat35601
LQ Newbie
 
Registered: Aug 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Yes I ran grub-update it did not help.

Thanks
 
Old 08-10-2017, 01:38 PM   #4
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch
Posts: 1,253

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
Quote:
Originally Posted by kat35601 View Post
Yes I ran grub-update it did not help.

Thanks
OK - perhaps posting the content of your grub.cfg file (please use code tags) would help our members zero in more easily on what is causing the behaviour you describe.
 
Old 08-10-2017, 01:49 PM   #5
kat35601
LQ Newbie
 
Registered: Aug 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
My Grub config

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="noautomount"
 
Old 08-10-2017, 02:10 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,396

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
What you posted in your last post is not what was asked for, Post the grub.cfg file contents from /boot/grub/grub.cfg
 
Old 08-10-2017, 02:51 PM   #7
kat35601
LQ Newbie
 
Registered: Aug 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
#
# 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_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' a2177bcc-e3ac-4547-a25b-2f98f18b582a
else
search --no-floppy --fs-uuid --set=root a2177bcc-e3ac-4547-a25b-2f98f18b582a
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_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' a2177bcc-e3ac-4547-a25b-2f98f18b582a
else
search --no-floppy --fs-uuid --set=root a2177bcc-e3ac-4547-a25b-2f98f18b582a
fi
insmod png
if background_image /usr/share/desktop-base/parrot-theme/grub/grub-4x3.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 'Parrot GNU/Linux' --class parrot --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a2177bcc-e3ac-4547-a25b-2f98f18b582a' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' a2177bcc-e3ac-4547-a25b-2f98f18b582a
else
search --no-floppy --fs-uuid --set=root a2177bcc-e3ac-4547-a25b-2f98f18b582a
fi
echo 'Loading Linux 4.11.0-parrot6-amd64 ...'
linux /boot/vmlinuz-4.11.0-parrot6-amd64 root=UUID=a2177bcc-e3ac-4547-a25b-2f98f18b582a ro noautomount quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.11.0-parrot6-amd64
}
submenu 'Advanced options for Parrot GNU/Linux' $menuentry_id_option 'gnulinux-advanced-a2177bcc-e3ac-4547-a25b-2f98f18b582a' {
menuentry 'Parrot GNU/Linux, with Linux 4.11.0-parrot6-amd64' --class parrot --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.0-parrot6-amd64-advanced-a2177bcc-e3ac-4547-a25b-2f98f18b582a' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' a2177bcc-e3ac-4547-a25b-2f98f18b582a
else
search --no-floppy --fs-uuid --set=root a2177bcc-e3ac-4547-a25b-2f98f18b582a
fi
echo 'Loading Linux 4.11.0-parrot6-amd64 ...'
linux /boot/vmlinuz-4.11.0-parrot6-amd64 root=UUID=a2177bcc-e3ac-4547-a25b-2f98f18b582a ro noautomount quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.11.0-parrot6-amd64
}
menuentry 'Parrot GNU/Linux, with Linux 4.11.0-parrot6-amd64 (recovery mode)' --class parrot --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.0-parrot6-amd64-recovery-a2177bcc-e3ac-4547-a25b-2f98f18b582a' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' a2177bcc-e3ac-4547-a25b-2f98f18b582a
else
search --no-floppy --fs-uuid --set=root a2177bcc-e3ac-4547-a25b-2f98f18b582a
fi
echo 'Loading Linux 4.11.0-parrot6-amd64 ...'
linux /boot/vmlinuz-4.11.0-parrot6-amd64 root=UUID=a2177bcc-e3ac-4547-a25b-2f98f18b582a ro single noautomount
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.11.0-parrot6-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 ###
### 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 ###
 
Old 08-11-2017, 07:05 AM   #8
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch
Posts: 1,253

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
Hey kat35601,

Thanks for posting your file.

I took a look at your grub.cfg and I can't immediately see what is causing your problem. As I mentioned in my first post, however, many members here are more knowledgeable about grub than I am and will surely contribute suggestions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Parrot security os Jazspergareth Linux - Newbie 4 10-09-2017 11:55 AM
Problem activation of a linux Parrot live start ru men Linux - Newbie 2 08-07-2017 08:23 PM
Parrot, Debian 9 based, mounting partitions problem CA.RIA Debian 6 07-03-2017 02:07 PM
Need help with Parrot OS Aritra Kundu Linux - Newbie 8 06-09-2016 12:03 AM
Dead parrot jolphil Debian 7 04-21-2005 06:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration