Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-10-2010, 01:16 PM   #1
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Using GRUB2 and want to boot Slackware in different resolution

I have, for awhile, had Ubuntu 10.04 as my main OS. I decided to go back to SW13.1, and added it in as dual-boot, with grub2 as my bootloader.

grub sees/boots SW fine.

But SW boots in 640x480, and is fugly, to say the least.

How do I change this? Grub currently runs at 1024x768. And in lilo, it's easy as pie to change the kernel boot resolution.

How do I do this in grub2? (Notice I said grub2, because it's MUCH different than grub, as far as config files and the like)
Old 09-10-2010, 03:32 PM   #2
Richard Cranium
Senior Member
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 2,913

Rep: Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315
I think that you edit /etc/default/grub and add a line setting "GRUB_CMDLINE_LINUX_DEFAULT" to "ro vga=791". See

If you look in /etc/grub.d/10_linux, you'll see:
linux_entry "${OS}" "${version}" false \
I couldn't find a place where GRUB_CMDLINE_LINUX_DEFAULT was set, so I assume that you can set it to something yourself.

You *can* hand edit /boot/grub/grub.cfg to add the vga=XXX stuff; you just can't re-run the grub-install stuff.

None of the above is tested. I'm still running legacy grub, but have been looking at Grub2.
Old 09-10-2010, 04:03 PM   #3
LQ Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
I'm using grub2 via Slackbuilds on my -current setup
it works great, but make sure you make executable everything in /etc/grub.d prior to doing grub-install/update-grub,etc

salixos has a nice gui grub2 installer/configurer script too

they also have grub2 too
just read the dep file
heres the repo

I think Richard is right on
Old 09-10-2010, 06:36 PM   #4
Senior Member
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,308

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Yes, as Richard Cranium says editing /default/grub line "GRUB_CMDLINE_LINUX_DEFAULT=" or is it "GRUB_CMDLINE_LINUX=". From what I've read, one only affects the ubuntu entries and the other affects all entries, not sure which is which. Another way of doing it is to add a slack menu entry in /etc/grub.d/40_custom file that will keep after grub updates. If you don't have a /etc/grub.d/40_custom file you can create one,
Old 09-10-2010, 10:51 PM   #5
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Originally Posted by colorpurple21859 View Post
Another way of doing it is to add a slack menu entry in /etc/grub.d/40_custom file that will keep after grub updates. If you don't have a /etc/grub.d/40_custom file you can create one,
Here is exactly how to do that:
This is how I boot to the Slackware 13.1 generic-smp kernel from Ubuntu 10.04's grub2. Be sure to make the file executable, and be sure to run: sudo update-grub after creating the executable file.


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
Starting slackware installer via grub2 jordanwb Slackware 3 08-31-2010 03:39 PM
[SOLVED] Editing the grub2 boot menu in a dual boot machine Chriscrof Linux - Newbie 13 07-15-2010 01:14 AM
[SOLVED] Trying to chainboot Slackware from Grub2 trumpet_tom Slackware 3 06-07-2010 11:35 AM
[SOLVED] How to get Grub2 to boot OS X with Graphics Mode boot option PaulFXH Linux - General 3 04-17-2010 03:58 AM
How to increase Slackware boot screen resolution to 1280x1024? sertmusluman Slackware 9 12-24-2008 08:53 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration