Choose style:

Author Topic: 2 nomodeset or not to 2 nomodeset [Solved]  (Read 2830 times)

0 Members and 1 Guest are viewing this topic.

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 420
  • Karma: 55
  • Caveman
    • View Profile
    • PeppermentOS Pixies
  • Peppermint version(s): Peppermint Eight
2 nomodeset or not to 2 nomodeset [Solved]
« on: June 07, 2015, 08:40:50 am »
Fresh install of P6, and the boot process is not landing or seating properly on the unlock crypt screen. Only shows a blank screen.

I've since discovered I can prompt a text based screen via the "Esc" key and enter my crypt passphrase, then gain access to my system in the normal manner.

tony@tower ~ $ uname -a
Linux tower 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
tony@tower ~ $ inxi -c 5 -b
System:    Host: tower Kernel: 3.16.0-38-generic x86_64 (64 bit) Desktop: N/A Distro: Peppermint Six
Machine:   System: Gigabyte product: N/A
           Mobo: Gigabyte model: F2A58M-HD2 version: x.x Bios: American Megatrends version: F1 date: 03/24/2014
CPU:       Quad core AMD A8-5600K APU with Radeon HD Graphics (-MCP-) clocked at 2400.00 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Trinity [Radeon HD 7560D]
           X.Org: 1.16.0 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1920x1080@60.0hz
           GLX Renderer: Gallium 0.4 on AMD ARUBA GLX Version: 3.0 Mesa 10.3.2
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
Drives:    HDD Total Size: 500.1GB (2.1% used)
Info:      Processes: 177 Uptime: 1:26 Memory: 380.3/15171.8MB Client: Shell (bash) inxi: 1.9.17

This my current default "gksu gedit /etc/default/grub" file: UNALTERED

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

I have googled and found numerous opinions, how to edit the GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" line, but have become more confused.
Which of the following edited line would be the correct version for P6 and overcome this annoying glitch....?

1. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vt.handoff=7"

2. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

3. GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"

4. GRUB_CMDLINE_LINUX_DEFAULT="nomodeset vt.handoff"

5. GRUB_CMDLINE_LINUX_DEFAULT="nomodeset quiet splash"

Cheers cavy  :-\
« Last Edit: June 07, 2015, 10:16:59 am by cavy »
“We know what we are, but not what we may be.”

Desktop Dell 7040 i7-6700 500Gb-SSD 32Gb ram
Laptop    Dell 7470 i5-6300 500Gb-SSD  16Gb ram
Various antiques to sample other OS's etc

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: 2 nomodeset or not to 2 nomodeset
« Reply #1 on: June 07, 2015, 09:22:30 am »
How to test a kernel boot parameter for a single boot .. so if anything goes wrong, a reboot will clear the added parameter and you're back to normal.

the following show how to add the nomodeset kernel boot parameter, but you can add any one you want .. or even more than one by just separating them with a space.



Turn ON your PC, and as soon as your BIOS POST screen disappears, press the SHIFT key and hold it, until you are presented with the GRUB menu .. SIMILAR to this:
(you won't have long to hit the shift key, and the timing can be a little awkward, so it may even be easier to hit AND HOLD the Shift key DURING the BIOS POST .. ie. immediately after turning on your PC)


Select the 'default' kernel (usually the top one), and rather than pressing enter, press E to edit.

You will be presented with a screen SIMILAR to this:


Press DOWN ARROW until you get to the line that starts with:

Quote
linux /boot

and press the END key to position the cursor at the end of the that line... it *usually* ends with “quiet splash”.

Now you can enter additional kernel boot parameters... so add nomodeset .. so it now ends with:

Quote
quiet splash nomodeset
(doesn't matter if it moves down a line, as long as there is a space between splash and nomodeset)

Now hit Ctrl+X to boot.



If you find one that works, add it to you /etc/default/grub as you suggested, and update-grub



Generally the order of the boot parameters doesn't matter .. they're all gonna get acted upon anyway (unless they contradict each other)
« Last Edit: June 07, 2015, 09:29:21 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 420
  • Karma: 55
  • Caveman
    • View Profile
    • PeppermentOS Pixies
  • Peppermint version(s): Peppermint Eight
Re: 2 nomodeset or not to 2 nomodeset
« Reply #2 on: June 07, 2015, 10:15:55 am »
Bingo, that did the trick...!

NB At the boot splash edit screen, it read "quiet splash vt.handoff". I deleted vt.handoff and entered nomodeset, when I hit Ctrl+X it added an "X",
so read "quiet splash nomodesetx then booted to my crypt unlock screen. Err, okay, took a chance and edited the /etc/default/grub file and updated grub.
Job a good un   :D

“We know what we are, but not what we may be.”

Desktop Dell 7040 i7-6700 500Gb-SSD 32Gb ram
Laptop    Dell 7470 i5-6300 500Gb-SSD  16Gb ram
Various antiques to sample other OS's etc

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: 2 nomodeset or not to 2 nomodeset [Solved]
« Reply #3 on: June 07, 2015, 11:03:24 am »
Great stuff :)

and thanks for marking the topic solved.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 420
  • Karma: 55
  • Caveman
    • View Profile
    • PeppermentOS Pixies
  • Peppermint version(s): Peppermint Eight
Re: 2 nomodeset or not to 2 nomodeset [Solved]
« Reply #4 on: June 07, 2015, 06:40:47 pm »
No probs m8, the least I could do after your excellent guidance  ;)
“We know what we are, but not what we may be.”

Desktop Dell 7040 i7-6700 500Gb-SSD 32Gb ram
Laptop    Dell 7470 i5-6300 500Gb-SSD  16Gb ram
Various antiques to sample other OS's etc