Choose style:

Author Topic: Suspected Hardware Problem Going Between P6 and Manjaro Kernel [SOLVED]  (Read 2508 times)

0 Members and 1 Guest are viewing this topic.

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3876
  • Karma: 303
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Hello Peppermint Forum,

I have Peppermint 6 installed on an external hard drive.  I have installed Peppermint this way in order for it to boot up first since Peppermint is my go-to, home distribution.  Now two days ago, last Monday, I installed Manjoro's Deepin to my computer's primary hard drive.

Now once in Manjaro, I can reboot the computer which will then take my right back into Peppermint by default.  However, if I'm in Peppermint, and then reboot the computer I go first to my boot screen, and then, if I scroll down to choose Manjaro, I can NOT enter into my internal hard drive which houses the Manjaro installation.  No, what I get instead, is a frozen black screen with lots technical mumble jumble, the end of which says:

Kernal Offset:  disabled

[end kernel panic -- not syncing :  VFS:  Unable to mount root fs on unknown-block (0,0)


My guess is that this is an hardware problem with my Toshiba laptop because it is unable to handle the Manjaro's kernel.  Am I probably right about this?

P.S.

I've installed Manjaro Deepin twice --once allowing it to format my internal hard drive, and the second time using the Ubuntu/Peppermint format method, which I like better.  I've also used the default Manjaro's default LTS 4.1 + kernel, and Manjaro's recommended LTS 4.3 + kernel.  The results are the same with either method. (Please don't hold me to those exact kernel numbers!)

Bottomline:  Same results both times --kernel panic going from Peppermint to Manjaro.  I then have to remove my external hard drive, do a hard shut down, and then listen to my computer whistle off.  ::)

P.P.S.

This is the first time that I've ever had this problem going from Peppermint to another distribution.  And, as I said before, I suspect this is because Manjaro's kernel doesn't agree with my computer --but this is only a guess.  I really don't know.  :-\

Any guesses as to what is happening here would be appreciated.  ;)

Thank you,

perknh

« Last Edit: March 30, 2016, 08:11:05 pm by perknh »
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #1 on: March 30, 2016, 09:31:30 am »
can we have the contents of
Code: [Select]
/boot/grub/grub.cfg
from both Manjaro and Peppermint



For  my reference
https://forum.manjaro.org/index.php?topic=19421.0
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1812
  • Karma: 474
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #2 on: March 30, 2016, 11:42:42 am »
Hi guys,

I'm 100% sure that PCNetSpec is on the right track here (a grub problem) rather than any hardware problem with your computer and the Manjaro kernel(s). There have been several postings elswhere here in the Peppermint Forum -- for example here complaining about Manjaro and how the grub that Manjaro installs has a bug that does not permit (or makes very difficult) the use of dual booting with not only Peppermint OS but other Linux distros as well.

Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3876
  • Karma: 303
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #3 on: March 30, 2016, 11:48:17 am »
can we have the contents of
Code: [Select]
/boot/grub/grub.cfg
from both Manjaro and Peppermint



For  my reference
https://forum.manjaro.org/index.php?topic=19421.0

Yes, thank you, PCNetSpec,

Contents from Peppermint:

perknh@peppermint ~ $ /boot/grub/grub.cfg
bash: /boot/grub/grub.cfg: Permission denied
perknh@peppermint ~ $
   
                                 &

Contents from Manjaro:

huevo@manjaro ~]$ /boot/grub/grub.cfg
bash: /boot/grub/grub.cfg: Permission denied
[huevo@manjaro ~]$

Note:  I did update both distributions GRUB

P.S.

Hello Slim.Fatz.  Thank you, also.  I see I'm getting the same results from both distributions running PCNetSpec's command.
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #4 on: March 30, 2016, 11:54:38 am »
Okay I purposely left out the text editor from the command because I don't know what text editor Manjaro/Deepin uses

In Peppermint (which uses gedit as the text editor) the command would be
Code: [Select]
gedit /boot/grub/grub.cfg
but you'll have to figure out what text editor Manjaro uses, or (if not already installed) install gedit
« Last Edit: March 31, 2016, 08:49:34 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3876
  • Karma: 303
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #5 on: March 30, 2016, 12:14:42 pm »
Well, I've installed gedit in Manjaro now.  :)
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3136
  • Karma: 567
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #6 on: March 30, 2016, 01:17:12 pm »
Code: [Select]
initrd	/boot/intel-ucode.img /boot/initramfs-4.4-x86_64.img

your Manjaro line starting with initrd needs to look like that above    with the kernel you have installed

then it should boot.     it is the "ODD" way manjaro do grub

Hope this helps
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadrippe 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 1 x 43" 1 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P10 x64 Laptop - i7-7700HQ - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3876
  • Karma: 303
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #7 on: March 30, 2016, 04:29:33 pm »
Hello PCNetSpec, zebeedeboss, and Slim.Fatz,

I found the line of which zebeedeboss was speaking, and it says exactly as he says it should:

Spoiler (click here to view / hide)
#
# 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
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
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
}

set menu_color_normal=light-gray/black
set menu_color_highlight=green/black

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  58c19a10-5cce-4ead-b019-a0374a87eb82
else
  search --no-floppy --fs-uuid --set=root 58c19a10-5cce-4ead-b019-a0374a87eb82
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_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  58c19a10-5cce-4ead-b019-a0374a87eb82
else
  search --no-floppy --fs-uuid --set=root 58c19a10-5cce-4ead-b019-a0374a87eb82
fi
insmod png
background_image -m stretch /usr/share/grub/background.png
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
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-58c19a10-5cce-4ead-b019-a0374a87eb82' {
   savedefault
   load_video
   set gfxpayload=keep
   insmod gzio
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  58c19a10-5cce-4ead-b019-a0374a87eb82
   else
     search --no-floppy --fs-uuid --set=root 58c19a10-5cce-4ead-b019-a0374a87eb82
   fi
   echo   'Loading Linux 4.4.5-1-MANJARO x64 ...'
   linux   /boot/vmlinuz-4.4-x86_64 root=UUID=58c19a10-5cce-4ead-b019-a0374a87eb82 rw  resume=UUID=97a4f63c-bbd9-49ca-bf53-9cab52982960 quiet splash
   echo   'Loading initial ramdisk ...'
   initrd   /boot/intel-ucode.img /boot/initramfs-4.4-x86_64.img
}
submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-58c19a10-5cce-4ead-b019-a0374a87eb82' {
   menuentry 'Manjaro Linux (Kernel: 4.4.5-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.5-1-MANJARO x64-advanced-58c19a10-5cce-4ead-b019-a0374a87eb82' {
   savedefault
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  58c19a10-5cce-4ead-b019-a0374a87eb82
      else
        search --no-floppy --fs-uuid --set=root 58c19a10-5cce-4ead-b019-a0374a87eb82
      fi
      echo   'Loading Linux 4.4.5-1-MANJARO x64 ...'
      linux   /boot/vmlinuz-4.4-x86_64 root=UUID=58c19a10-5cce-4ead-b019-a0374a87eb82 rw  resume=UUID=97a4f63c-bbd9-49ca-bf53-9cab52982960 quiet splash
      echo   'Loading initial ramdisk ...'
      initrd   /boot/intel-ucode.img /boot/initramfs-4.4-x86_64.img
   }
   menuentry 'Manjaro Linux (Kernel: 4.4.5-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.5-1-MANJARO x64-fallback-58c19a10-5cce-4ead-b019-a0374a87eb82' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  58c19a10-5cce-4ead-b019-a0374a87eb82
      else
        search --no-floppy --fs-uuid --set=root 58c19a10-5cce-4ead-b019-a0374a87eb82
      fi
      echo   'Loading Linux 4.4.5-1-MANJARO x64 ...'
      linux   /boot/vmlinuz-4.4-x86_64 root=UUID=58c19a10-5cce-4ead-b019-a0374a87eb82 rw  resume=UUID=97a4f63c-bbd9-49ca-bf53-9cab52982960 quiet splash
      echo   'Loading initial ramdisk ...'
      initrd   /boot/intel-ucode.img /boot/initramfs-4.4-x86_64-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/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  ${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 ###

### BEGIN /etc/grub.d/60_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
    menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
        search --fs-uuid --no-floppy --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  58c19a10-5cce-4ead-b019-a0374a87eb82
        linux16 /boot/memtest86+/memtest.bin
    }
fi
### END /etc/grub.d/60_memtest86+ ###
[close]


Thank you, guys.  This does seem to be as Slim.Fatz has said, "(a grub problem) rather than any hardware problem" --in which case, I would be posting in the wrong forum, and about a topic that is a non-hardware issue!  :-[

If you guys think Slim.Fatz right about this, please suggest what I should do about this thread.  Would I be wise to abandon it?

Thank you, PCNetSpec, Slim.Fatz, and zebeedeboss for all of your insights and help here.

It's been a long time since I've abandoned a thread, but maybe this is one of those times when I should.

Thank you, everyone.  ;)

perknh

P.S.

I'll share this issue at Manjaro forum.  I'll look for the Deepin crowd over there.  The Deepin folks did charming little distribution with the Deepin DE.  I'm sure they don't want their users to have an unaddressed GRUB problem either.
« Last Edit: March 30, 2016, 05:40:34 pm by perknh »
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #8 on: March 30, 2016, 05:38:48 pm »
So have you fixed it now ?

If so post the solution, then mark the topic solved

If not, post the contents of the Peppermint
Code: [Select]
gedit /boot/grub/grub.cfg
like I asked ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3876
  • Karma: 303
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #9 on: March 30, 2016, 05:57:15 pm »
Hello PCNetSpec.  I missed seeing that request.  Sorry about that.
 
Here are the results from your gedit command from the terminal:


Spoiler (click here to view / hide)
perknh@peppermint ~ $ gedit /boot/grub/grub.cfg

(gedit:3268): Gtk-WARNING **: Theme parsing error: gtk-main.css:28:32: Missing semicolon at end of color definition

(gedit:3268): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:7:19: Theming engine 'adwaita' not found

(gedit:3268): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:7702:76: Expected a valid selector

(gedit:3268): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:7716:22: Expected a valid selector
perknh@peppermint ~ $

[close]


And here are the results from grub.cfg (/boot/grub) - gedit


Spoiler (click here to view / hide)
#
# 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_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  4610981b-9c17-4652-9120-0b1fd66dc6be
else
  search --no-floppy --fs-uuid --set=root 4610981b-9c17-4652-9120-0b1fd66dc6be
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=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=light-gray/black
set menu_color_highlight=white/red
### 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=7
   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 'Peppermint GNU/Linux' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4610981b-9c17-4652-9120-0b1fd66dc6be' {
   recordfail
   load_video
   gfxmode $linux_gfx_mode
   insmod gzio
   insmod part_msdos
   insmod ext2
   set root='hd1,msdos2'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  4610981b-9c17-4652-9120-0b1fd66dc6be
   else
     search --no-floppy --fs-uuid --set=root 4610981b-9c17-4652-9120-0b1fd66dc6be
   fi
   linux   /boot/vmlinuz-3.16.0-67-generic root=UUID=4610981b-9c17-4652-9120-0b1fd66dc6be ro  quiet splash $vt_handoff
   initrd   /boot/initrd.img-3.16.0-67-generic
}
submenu 'Advanced options for Peppermint GNU/Linux' $menuentry_id_option 'gnulinux-advanced-4610981b-9c17-4652-9120-0b1fd66dc6be' {
   menuentry 'Peppermint GNU/Linux, with Linux 3.16.0-67-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-67-generic-advanced-4610981b-9c17-4652-9120-0b1fd66dc6be' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  4610981b-9c17-4652-9120-0b1fd66dc6be
      else
        search --no-floppy --fs-uuid --set=root 4610981b-9c17-4652-9120-0b1fd66dc6be
      fi
      echo   'Loading Linux 3.16.0-67-generic ...'
      linux   /boot/vmlinuz-3.16.0-67-generic root=UUID=4610981b-9c17-4652-9120-0b1fd66dc6be ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-3.16.0-67-generic
   }
   menuentry 'Peppermint GNU/Linux, with Linux 3.16.0-67-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-67-generic-recovery-4610981b-9c17-4652-9120-0b1fd66dc6be' {
      recordfail
      load_video
      insmod gzio
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  4610981b-9c17-4652-9120-0b1fd66dc6be
      else
        search --no-floppy --fs-uuid --set=root 4610981b-9c17-4652-9120-0b1fd66dc6be
      fi
      echo   'Loading Linux 3.16.0-67-generic ...'
      linux   /boot/vmlinuz-3.16.0-67-generic root=UUID=4610981b-9c17-4652-9120-0b1fd66dc6be ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-3.16.0-67-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+ ###
menuentry 'Memory test (memtest86+)' {
   insmod part_msdos
   insmod ext2
   set root='hd1,msdos2'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  4610981b-9c17-4652-9120-0b1fd66dc6be
   else
     search --no-floppy --fs-uuid --set=root 4610981b-9c17-4652-9120-0b1fd66dc6be
   fi
   knetbsd   /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
   insmod part_msdos
   insmod ext2
   set root='hd1,msdos2'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  4610981b-9c17-4652-9120-0b1fd66dc6be
   else
     search --no-floppy --fs-uuid --set=root 4610981b-9c17-4652-9120-0b1fd66dc6be
   fi
   linux16   /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Manjaro Linux (16.03) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-58c19a10-5cce-4ead-b019-a0374a87eb82' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  58c19a10-5cce-4ead-b019-a0374a87eb82
   else
     search --no-floppy --fs-uuid --set=root 58c19a10-5cce-4ead-b019-a0374a87eb82
   fi
   linux /boot/vmlinuz-4.4-x86_64 root=UUID=58c19a10-5cce-4ead-b019-a0374a87eb82 rw resume=UUID=97a4f63c-bbd9-49ca-bf53-9cab52982960 quiet splash
   initrd /boot/intel-ucode.img
}
submenu 'Advanced options for Manjaro Linux (16.03) (on /dev/sda1)' $menuentry_id_option 'osprober-gnulinux-advanced-58c19a10-5cce-4ead-b019-a0374a87eb82' {
   menuentry 'Manjaro Linux (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.4-x86_64--58c19a10-5cce-4ead-b019-a0374a87eb82' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  58c19a10-5cce-4ead-b019-a0374a87eb82
      else
        search --no-floppy --fs-uuid --set=root 58c19a10-5cce-4ead-b019-a0374a87eb82
      fi
      linux /boot/vmlinuz-4.4-x86_64 root=UUID=58c19a10-5cce-4ead-b019-a0374a87eb82 rw resume=UUID=97a4f63c-bbd9-49ca-bf53-9cab52982960 quiet splash
      initrd /boot/intel-ucode.img
   }
   menuentry 'Manjaro Linux (Kernel 4.4.5-1-MANJARO x64) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.4-x86_64--58c19a10-5cce-4ead-b019-a0374a87eb82' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  58c19a10-5cce-4ead-b019-a0374a87eb82
      else
        search --no-floppy --fs-uuid --set=root 58c19a10-5cce-4ead-b019-a0374a87eb82
      fi
      linux /boot/vmlinuz-4.4-x86_64 root=UUID=58c19a10-5cce-4ead-b019-a0374a87eb82 rw resume=UUID=97a4f63c-bbd9-49ca-bf53-9cab52982960 quiet splash
      initrd /boot/intel-ucode.img
   }
   menuentry 'Manjaro Linux (Kernel 4.4.5-1-MANJARO x64 - fallback initramfs) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.4-x86_64--58c19a10-5cce-4ead-b019-a0374a87eb82' {
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  58c19a10-5cce-4ead-b019-a0374a87eb82
      else
        search --no-floppy --fs-uuid --set=root 58c19a10-5cce-4ead-b019-a0374a87eb82
      fi
      linux /boot/vmlinuz-4.4-x86_64 root=UUID=58c19a10-5cce-4ead-b019-a0374a87eb82 rw resume=UUID=97a4f63c-bbd9-49ca-bf53-9cab52982960 quiet splash
      initrd /boot/intel-ucode.img
   }
}

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 ###
### 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 ###
[close]
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #10 on: March 30, 2016, 07:39:36 pm »
You'll notice the Manjaro initrd lines read:-

initrd   /boot/intel-ucode.img /boot/initramfs-4.4-x86_64.img

whereas the Peppermint ones (for Manjaro) read just:-

initrd /boot/intel-ucode.img

It's Manjaro basically doing weird stuff with GRUB ... I quote:

Quote
This intel-ucode thingy is a hack/modification by Arch/Manjaro into grub and it is not part of upstream grub developer package.
source = https://forum.manjaro.org/index.php?topic=19421.msg177520#msg177520

Here's a fix that won't break when Peppermint receives a kernel update (or anything else that updates grub)

The following must be done whilst booted to Peppermint, NOT Manjaro.

Open a terminal and run
Code: [Select]
sudo gedit /etc/grub.d/40_custom
a file should open that reads:-
Code: [Select]
#!/bin/sh
exec tail -n +3 $0
# 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.
make it read:
Code: [Select]
#!/bin/sh
exec tail -n +3 $0
# 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.

menuentry 'Use this entry to boot Manjaro Deepin' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-58c19a10-5cce-4ead-b019-a0374a87eb82' {
   savedefault
   load_video
   set gfxpayload=keep
   insmod gzio
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  58c19a10-5cce-4ead-b019-a0374a87eb82
   else
     search --no-floppy --fs-uuid --set=root 58c19a10-5cce-4ead-b019-a0374a87eb82
   fi
   echo   'Loading Linux 4.4.5-1-MANJARO x64 ...'
   linux   /boot/vmlinuz-4.4-x86_64 root=UUID=58c19a10-5cce-4ead-b019-a0374a87eb82 rw  resume=UUID=97a4f63c-bbd9-49ca-bf53-9cab52982960 quiet splash
   echo   'Loading initial ramdisk ...'
   initrd   /boot/intel-ucode.img /boot/initramfs-4.4-x86_64.img
}
(be sure to get all of that including the closing curly brace)

SAVE the file and exit gedit

Now run:
Code: [Select]
sudo update-grub
Now next time you boot, Peppermints GRUB menu will have an entry at the bottom called "Use this entry to boot Manjaro Deepin" .. guess what you're supposed to do with that ;)
« Last Edit: March 30, 2016, 07:46:56 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3876
  • Karma: 303
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #11 on: March 30, 2016, 08:09:28 pm »
How in the world do you do this, PCNetSpec?  :o   

I know, I know -- special species of frogs, and dreaming of eagles at night --but only when sleeping in England (which has no eagles outside of the dream state)!

I'm astonished here with your solution --a workaround only you could even imagined and then make work.

I'm going to mail this thread to Bernhard Landauer, Manjaro's Deepin Developer.  He's has to see this for himself.  And Team Manjaro has to fix its perpetual and ongoing GRUB problem.  I bet Manjaro is losing users because of it.

Thank you so much, PCNetSpec.  ;)

perknh
« Last Edit: March 31, 2016, 05:58:50 pm by perknh »
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1812
  • Karma: 474
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel [SOLVED]
« Reply #12 on: March 31, 2016, 03:55:50 am »
@ PCNetSpec (but also for perknh):

I'm almost certain that the file

Code: [Select]
/etc/grub.d/40_custom
can be greatly shortened/simplified (at least the following form is what I use in my modified/simplified grub files and have no problems with it).

Code: [Select]
#!/bin/sh
exec tail -n +3 $0
# 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.

menuentry 'Use this entry to boot Manjaro Deepin' {
   set root='hd0,msdos1'
   echo   'Loading Linux 4.4.5-1-MANJARO x64 ...'
   linux   /boot/vmlinuz-4.4-x86_64 root=UUID=58c19a10-5cce-4ead-b019-a0374a87eb82 rw  resume=UUID=97a4f63c-bbd9-49ca-bf53-9cab52982960 quiet splash
   echo   'Loading initial ramdisk ...'
   initrd   /boot/intel-ucode.img /boot/initramfs-4.4-x86_64.img
}
The name of the file can also be changed to be more informative, for example from:

Code: [Select]
/etc/grub.d/40_custom
to

Code: [Select]
/etc/grub.d/40_custom_Manjaro
which can save time when 6 months later perknh looks again in the grub.d directory and wants to modify the Manjaro entry. Further custom files can be created for each additional distro and given informative names such as:

Code: [Select]
/etc/grub.d/40_custom_Ubuntu-Dings-Booms

 :D

I currently have three different custom files, each with its own unique, informative name and find this to be an easy method for old tired brain cells like mine.  :P

Each custom file should also be made executable.

Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3876
  • Karma: 303
  • Soy un huevo, nada más.
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel [SOLVED]
« Reply #13 on: March 31, 2016, 11:01:40 am »
Hello Slim.Fatz,

You're thinking an awful lot like gohlip over at Manjaro --but you two have differing goals.  You're trying to give me a simpler reference point in the future, and gohlip is trying help when it comes time for future Manjaro kernel upgrades.  That is, if I understanding the gist of everything I'm reading correctly.

Slim, sometime later today, I going to take the liberty of copying your post, and bringing it over to the thread entitled  HOW DO I CHANGE PEPPERMINT 'S /ETC/GRUB.D/40_CUSTOM? --that is, unless you beat me to it.  zebedeeboss has written quite extensively in this new thread, and scifidude79 has contributed to it also.

I'm in and out today, but, in the meantime, here's the link to the thread of which I am speaking:

http://forum.peppermintos.com/index.php/topic,3254.0.html

Slim.Fatz, thank you very much.  My brain is spinning from all of these new ideas.  Well, at least they are new to me.  :)

perknh
We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1997
  • Karma: 344
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Suspected Hardware Problem Going Between P6 and Manjaro Kernel
« Reply #14 on: March 31, 2016, 04:22:00 pm »
How in the world do you do this, PCNetSpec?  :o   

I know, I know -- special species of frogs, and dreamimg of eagles at night --but only when sleeping in the UK (which has no eagles outside of the dream state)!

...
perknh

Very few eagles apart from the Golden and White-Tailed ones in Scotland. Scotland could, in a sense, be defined as a "dream state"...   :-\