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

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4013
  • Karma: 373
  • 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, 05:11:05 pm by perknh »
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-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, 06:31:30 am »
can we have the contents of
Code: [Select]
/boot/grub/grub.cfgfrom 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

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2355
  • Karma: 618
  • 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, 08: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
Respect science, respect nature, respect each other.

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

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4013
  • Karma: 373
  • 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, 08:48:17 am »
can we have the contents of
Code: [Select]
/boot/grub/grub.cfgfrom 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.
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-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, 08: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.cfgbut you'll have to figure out what text editor Manjaro uses, or (if not already installed) install gedit
« Last Edit: March 31, 2016, 05: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: 4013
  • Karma: 373
  • 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, 09:14:42 am »
Well, I've installed gedit in Manjaro now.  :)
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3233
  • Karma: 625
  • 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, 10:17:12 am »
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

P10r x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4013
  • Karma: 373
  • 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, 01: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)
[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, 02:40:34 pm by perknh »
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-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, 02: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.cfglike 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: 4013
  • Karma: 373
  • 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, 02: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)
[close]


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


Spoiler (click here to view / hide)
[close]
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-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, 04: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_customa 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-grubNow 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, 04: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: 4013
  • Karma: 373
  • 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, 05: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, 02:58:50 pm by perknh »
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2355
  • Karma: 618
  • 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, 12:55:50 am »
@ PCNetSpec (but also for perknh):

I'm almost certain that the file

Code: [Select]
/etc/grub.d/40_customcan 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_customto

Code: [Select]
/etc/grub.d/40_custom_Manjarowhich 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
Respect science, respect nature, respect each other.

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

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 4013
  • Karma: 373
  • 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, 08: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
[T]here are a lot of people happily running Peppermint ICE which hasn't been receiving ANY updates for a while now .. and I personally would STILL consider that MUCH more secure than any version of Windows with up-to-date AV/Anti-malware ;)

--  PCNetSpec, Cornwall, Eng.  Dec 03, 2013 5:18 pm

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2179
  • Karma: 456
  • 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, 01: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"...   :-\