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)
I think that you edit /etc/default/grub and add a line setting "GRUB_CMDLINE_LINUX_DEFAULT" to "ro vga=791". See http://grub.enbug.org/Manual#head-db...4b625974134d7e
If you look in /etc/grub.d/10_linux, you'll see:
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.
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
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,
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.
|All times are GMT -5. The time now is 06:57 AM.|