WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to boot to 1024x768 resolution?  (Read 990 times)

Offline toasted

  • WikiUser
  • *
  • Posts: 13
How to boot to 1024x768 resolution?
« on: January 17, 2017, 03:20:50 PM »
Hi all,

How can I make Tiny Core boot up to 1024x768 resolution? Which file would I have to modify? My preference is vga=791

Thanks in advance!

EDIT: I did a frugal install on my hdd.
« Last Edit: January 17, 2017, 03:27:12 PM by toasted »

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1594
Re: How to boot to 1024x768 resolution?
« Reply #1 on: January 17, 2017, 03:34:40 PM »
If you want the linux console to be set to this resolution, then you would add the boot code  vga=791  to your boot loader's config file.
F.e.  /mnt/sda1/menu.lst 
or  /mnt/sda1/boot/grub2/grub.cfg
depending on what boot loader you use.
http://tinycorelinux.net/faq.html#bootcodes

To change the desktop resolution...
If using Xvesa, either run  xsetup.sh  or click "Xvesa" in the "Control Panel" (accessible from wbar or WM menu).
If using Xorg, you need to create a custom  /etc/X11/xorg.conf  if the native resolution hasn't been detected correctly.
« Last Edit: January 17, 2017, 03:36:43 PM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline toasted

  • WikiUser
  • *
  • Posts: 13
Re: How to boot to 1024x768 resolution?
« Reply #2 on: January 17, 2017, 04:17:47 PM »
Thanks Misalf

Both of those files that you told me to configure are empty. And I don't think grub was loaded. I did a frugal install by using tc-install from command line.

EDIT: I just checked to see if grub was loaded by typing 'grub' and nothing happened so I guess grub is not loaded.
« Last Edit: January 17, 2017, 04:47:22 PM by toasted »

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5493
Re: How to boot to 1024x768 resolution?
« Reply #3 on: January 17, 2017, 05:07:01 PM »
Hi toasted
Try checking for:
Code: [Select]
/mnt/sda1/boot/extlinux/extlinux.confAdd  vga=791  to the  APPEND  line.

Offline toasted

  • WikiUser
  • *
  • Posts: 13
Re: How to boot to 1024x768 resolution?
« Reply #4 on: January 17, 2017, 05:44:04 PM »
That file does not exist. What should I do?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1594
Re: How to boot to 1024x768 resolution?
« Reply #5 on: January 17, 2017, 06:39:34 PM »
You need to find out what boot loader is installed on your boot partition.

If you don't get any useful output from running the  grub  command, it doesn't mean that grub isn't installed on your boot partition but only that you don't have the files to install grub currently installed on your running OS.

Actually, Rich's advice to check for  extlinux.conf  makes the most sense, as syslinux is the default boot loader installed by Core when using tc-install, IIRC.
syslinux uses  extlinux.conf  by default if installed on ext2/3/4 filesystems but it also searches for  syslinux.conf  if the former wasn't found.
Also, boot loaders search in more than one directory for their config files.
Common places are, depending on the boot loader...
/
/boot
/boot/grub
/boot/extlinux
/grub
/extlinux
also depending on the boot loader...
menu.lst
grub.cfg
syslinux.conf
extlinux.conf

Try to find one of these or similar and check if a Tiny Core related entry is contained.
Download a copy and keep it handy: Core book ;)

Offline polikuo

  • Sr. Member
  • ****
  • Posts: 250
Re: How to boot to 1024x768 resolution?
« Reply #6 on: January 17, 2017, 08:43:12 PM »
I did a frugal install by using tc-install from command line.

In that case, the full path of extlinux.conf is /mnt/sda1/tce/boot/extlinux.conf

Add  vga=791  to the  APPEND  line.

Offline toasted

  • WikiUser
  • *
  • Posts: 13
Re: How to boot to 1024x768 resolution?
« Reply #7 on: January 17, 2017, 09:13:47 PM »
Thank you guys for pointing me in the right direction!! I found it!  :D

For anyone else who is interesting it is located at..

Code: [Select]
/mnt/sda1/tce/boot/extlinux/extlinux.conf