Choose style:

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

0 Members and 1 Guest are viewing this topic.

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 [SOLVED]
« Reply #15 on: March 31, 2016, 04:42:55 pm »
@ 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

I'm pretty sure I tested the shortened stanza first and grub didn't rebuild properly (possibly a typo by me) .. but hey if it works for you ;)

and sure you can have as many custom files as you like, but I can't see the point .. you can add more than one stanza to 40_custom so why have multiple files ?

I didn't rename it because that's the place most likely to contain custom grub entries .. if in the future someone else was to assist perknh, that'd be where I'd expect them to look first ;)
« Last Edit: March 31, 2016, 08:55:42 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 [SOLVED]
« Reply #16 on: March 31, 2016, 05:57:03 pm »
Thank you PCNetSpec and Slim.Fatz. 

From what I can tell everything is working fine for this computer now.

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"...   :-\

Thanks for that info, murraymint.  I'm going to edit my post.  ;)
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 [SOLVED]
« Reply #17 on: March 31, 2016, 06:27:20 pm »
For my part, you're more than welcome perknh :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec