Tiny Core Linux
Tiny Core Base => CorePlus => Topic started by: toasted on January 17, 2017, 06: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.
-
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.
-
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.
-
Hi toasted
Try checking for:
/mnt/sda1/boot/extlinux/extlinux.conf
Add vga=791 to the APPEND line.
-
That file does not exist. What should I do?
-
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.
-
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.
-
Thank you guys for pointing me in the right direction!! I found it! :D
For anyone else who is interesting it is located at..
/mnt/sda1/tce/boot/extlinux/extlinux.conf