Boot to Console Incorrect Resolution

Posts: 1,028
SamK
Joined: 21 Aug 2011
#1
Boot to Console Incorrect Resolution

Conventional installation to hard disk
cat /proc/cmdline

Code: Select all

BOOT_IMAGE=/boot/vmlinuz-4.0.5-antix.1-486-smp root=UUID=blurb... ro quiet 3

Code: Select all

Graphics:  Card: Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA Display Adapter
           Display Server: X.org 1.16.4 driver: N/A
           tty size: 80x25 Advanced Data: N/A out of X
The vga setting used in the live installation media is not carried across to the hard disk installation. The resolution of 25 lines is for all practical purposes unusable. The minimum resolution should be the equivalent of 800x600 which corresponds to the lowest resolution in the antiX live mode.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
its the vga= line that you need to add. The default in the live is vga=788 (I think) which will give 100x37 (800x600) resolution. vga=791 will give you 128x48 (1024x768).

just add that on the kernel line with the"3".

OR the current method...

use on its own line BEFORE the linux kernel line

gfxpayload=1024x768x16, 1024x768

to get the resolution set the way you want. just replace the numbers with the resolution of your choice.

so my custom init 3 entry looks like this:

Code: Select all

load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f66c6f73-b657-4954-bfdb-695088d591a9
else
  search --no-floppy --fs-uuid --set=root f66c6f73-b657-4954-bfdb-695088d591a9
fi
echo    'Loading Linux 4.0.5-antix.1-486-smp ...'
gfxpayload=1024x768x16, 1024x768
linux    /boot/vmlinuz-4.0.5-antix.1-486-smp root=UUID=f66c6f73-b657-4954-bfdb-695088d591a9 ro  quiet 3
echo    'Loading initial ramdisk ...'
initrd    /boot/initrd.img-4.0.5-antix.1-486-smp
Posts: 1,028
SamK
Joined: 21 Aug 2011
#3
@dolphin_oracle, thanks for the info. I use gfxpayload in other GRUB2 setups but not quite in the way you describe. It is good to learn another way. Even though the use of the vga= parameter is deprecated but still works in GRUB2, I was using that setting with antiX-15 to successfully boot with that resolution.

My post was not really aiming at how to do it. Quite a while back there were discussions that settled on using vga=788 (800x600x16) as the minimum resolution for antiX-15. It is the case for live, but installed has not followed suit and still uses the old 80x25. The latter works but is unusable for most purposes. The former produces a useful environment straight-from-the-box. Both live and installed should automatically use the same minimum vga=788.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#4
It appears that the installer is not carrying over live boot parameters to the installed system. This is a bug IMO and may be the worst bug found so far. Good catch SamK!