LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-01-2014, 08:57 PM   #1
haziz
Member
 
Registered: Jan 2012
Location: /dev/null
Distribution: Slackware, Fedora, Debian, Arch, Ubuntu
Posts: 101

Rep: Reputation: 4
How Do You Pass VGA/VESA Modes with GRUB2?


One of my machines has a 3 TB HD setup to triple boot into Mint 14 (Ubuntu 12.10 variant), Slackware 14.1 and Arch Linux. The HD is formatted using the GPT/Guid system. The Grub2 technically "belongs" to the Linux Mint install but is used to triple boot all 3 systems. Setting it up about 1 year ago was an extremely painful procedure and required 2-3 days of wrestling with it, and tweaking it, to allow it to recognize the Slackware and Arch installs; it would always recognized the Mint Linux install easily.

I need to be able to pass VGA/VESA modes to Slackware and Arch. I use Slackware and Arch from the command line and therefore console resolution and font size are important factors.
 
Old 01-01-2014, 11:12 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
We had a discussion on this in LFS, but it'll translate to Slackware fine.

http://www.linuxquestions.org/questi...ed-4175488179/

You'll have to edit /etc/default/grub as shown in my example with the lines specifically for GRUB_CMDLINE_LINUX_DEFAULT and GRUB_CMDLINE_LINUX to pass the vga=# setting. This will pass the appropriate vesa/vga settings to the framebuffer.

Last edited by ReaperX7; 01-01-2014 at 11:13 PM.
 
Old 01-02-2014, 01:06 AM   #3
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,979

Rep: Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614
That should translate to Slackware just fine but doesn't Arch have enough systemd stuff in it now that it will be compromised by the fact that Grub2's "nomodesetting" doesn't work in such systems (apparently get's overriden in a headlong rush to faster boot times)?
 
Old 01-02-2014, 01:13 AM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
It should work with Arch, but yes, due to how systemd works, it might be hit or miss, however, because most of these are kernel settings, it should be init-independent.
 
  


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
startx terminates with VESA(0) No matching modes wufo Slackware 3 08-05-2009 11:16 PM
Intel GMA X3100 VESA no valid modes lzcn Red Hat 16 06-08-2009 05:36 PM
vesa modes question..... chunlee Linux - Software 1 01-07-2006 03:34 PM
VESA modes sh4d0w331 Linux - Newbie 1 02-23-2005 05:12 AM
xorg.conf and VESA modes Dark_Helmet Linux - General 2 12-28-2004 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:54 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