[+] Zmiana rozdzielczo
[+] Zmiana rozdzielczości konsoli TTY
Zainstalowałem czystego Debiana w wersji 7.2.0 bez środowiska graficznego, na laptopie Sony Vaio fx 101, grafika firmy Intel I815.
Chciałbym zmienić rozdzielczość "czystej " konsoli z 800x600 na 1024x768. System startuje z Lilo.
Za wszelką pomoc bardzo dziękuję.
Chciałbym zmienić rozdzielczość "czystej " konsoli z 800x600 na 1024x768. System startuje z Lilo.
Za wszelką pomoc bardzo dziękuję.
Spróbuj uruchomić system z odpowiednim parametrem vga: http://lilo.alioth.debian.org/olddoc/ht ... 450004.2.4
No właśnie, to nic nie daje, chyba że źle wpisuję wartość w lilo.conf:
to otrzymuje informacje przy starcie że:
i największą rozdzielczość jaką mogę wybrać to vga 800x600. Czy jest inny sposób?
Kod: Zaznacz cały
vga=773
Kod: Zaznacz cały
undefined video mode number: 305 wait or scan
A próbowałeś zgodnie z dokumentacją:
Jak nie zadziała to uzupełnij informacje o sprzęcie: threads/12771-Zakładając-temat-przeczyt ... #post81406
I dodaj wynik polecenia (jako root):
Kod: Zaznacz cały
vga=mode
Specifies the VGA text mode that should be selected when booting. The following values are recognized (case is ignored):
normal
select normal 80x25 text mode.
extended
select 80x50 text mode. The word extended can be abbreviated to ext.
[b]ask [/b]
stop and ask for user input (at boot time).
number
use the corresponding text mode. [b]A list of available modes can be obtained by booting with vga=ask and pressing [Enter][/b].
If this variable is omitted, the VGA mode setting contained in the kernel image is used. rdev supports manipulation of the VGA text mode setting in the kernel image.
I dodaj wynik polecenia (jako root):
Kod: Zaznacz cały
hwinfo --framebuffer
To jest problem ponownego uaktywnienia pliku konfiguracyjnego lilo.
Z tego co pamiętam aby zmiany w pliku konfiguracyjnym zostały uwzględnione należy wykonać polecenie:
Z tego co pamiętam aby zmiany w pliku konfiguracyjnym zostały uwzględnione należy wykonać polecenie:
Kod: Zaznacz cały
liloconfig
Kod: Zaznacz cały
man lilo
man lilo.conf
Kiedy w lilo.conf zmieniłem parametr na:
i zatwierdziłem zmiany poprzez:
to otrzymałem coś takiego
Kod: Zaznacz cały
vga=773
Kod: Zaznacz cały
liloconfig
Kod: Zaznacz cały
#Another way is the use of frame buffer mode. Then the Kernel will switch from normal vga text mode (80x25) to the frame
#buffer mode ( if frame buffer support is in the kernel)
#vga=0x317 1024x768 @ 16 bit
#vga=0x318 1024x768 @ 24 bit
#vga = ask
vga = normal
#vga = 0x317
Sądzisz, że jesteśmy wróżkami? Kiedy przedstawisz jakieś konkrety? Konfig lilo i wyniki poleceń:
Kod: Zaznacz cały
fdisk -l
uname -a
Tak wygląda po wykonaniu polecenia:
A to jest wynik polecenia:
Przedstawiam konfiguracje mojego lilo.conf
Przedstawiam wynik polecenia:
Czy ktoś ma jakiś pomysł, jak to rozwiązać, a może potrzebny jest jeszcze jakiś wynik polecenia?
Kod: Zaznacz cały
fdisk -l
Dysk /dev/sda: 160.0 GB, bajtów: 160041885696
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 19457, w sumie sektorów: 312581808
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora
(logiczny/fizyczny) w bajtach: 512 / 512
Rozmiar we/wy (minimalny/optymalny)
w bajtach: 512 / 512
Identyfikator dysku: 0x403b403a
Urządzenie Rozruch Początek Koniec Bloków ID System
/dev/sda1 19533822 99618815 40042497 5 Rozszerzona
/dev/sda2 * 2048 19531775 9764864 83 Linux
/dev/sda3 99619065 312560639 106470787+ 7 HPFS/NTFS/exFAT
/dev/sda5 19533824 39063551 9764864 83 Linux
/dev/sda6 39065600 58595327 9764864 83 Linux
/dev/sda7 58597376 78127103 9764864 83 Linux
/dev/sda8 78129152 97658879 9764864 83 Linux
/dev/sda9 97660928 99618815 978944 82 Linux swap / Solaris
Wpisy w tablicy partycji nie są w tej kolejności, co na dysku
A to jest wynik polecenia:
Kod: Zaznacz cały
uname -a
Linux debian 3.2.0-4-486 #1 debian 3.2.51-1 i686 GNU/Linux
Przedstawiam konfiguracje mojego lilo.conf
Kod: Zaznacz cały
# /etc/lilo.conf - systemwide LILO configuration (LILO 23)
# details see in manpages: lilo(8) and lilo.conf(5)
# +-------------------------------------------------------------+
# | !! Reminder !! |
# | |
# | Don't forget to run 'lilo' after you make changes to this |
# | conffile or you have installed a new kernel. |
# +-------------------------------------------------------------+
# #################### LILO global section ######################
# With all newer systems (until year 2004) you can use the RAM
# above 15 MB. This option allows the use of this range of RAM.
#large-memory
# With all newer systems you can boot from any partition on disks
# with more than 1024 cylinders. This option allows the use of
# partitions above 1024 cylinders.
lba32
# Specifies the boot device. This is where Lilo installs its boot
# block. It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
# With newer kernel you should use the ID of the boot device, which
# can be found here: /dev/disks/by-id/ata*.
#boot = /dev/sda
boot = /dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TJDRZ348520
# This option may be needed for some software RAID installs.
#raid-extra-boot = mbr-only
# Enable map compaction. This tries to merge read requests for
# adjacent sectors into a single read request. This drastically
# reduces load time and keeps the map smaller. Using 'compact'
# is especially recommended when booting from a floppy disk.
# It is disabled here by default because it doesn't always work.
#compact
# Set the verbose level for bootloader installation. Value range:
# 0 to 5. Default value is 0.
#verbose = 1
# Specifies the location of the map file. Lilo creates the (sector)
# map file of direct sector addresses which are independent of any
# filesystem.
map = /boot/map
# ---------------------------------------------------------------
# Specifies the menu interface. You have the choice between:
# text: simple text menu with black background and white text
# menu: configurable text menu with background and text colors.
# bmp: graphical menu with 640x480 bitmap background.
install = menu
# A) Customized boot message for choice 'text'.
# For the simple text menu you can set an extra message in the
# created file. Its text will be displayed before boot prompt.
#message = /boot/message.txt
# B) Configuration of the scheme for choice 'menu'.
# Use following coding: <text>:<highlight>:<border>:<title>
# The first character of each part sets the text frontcolor,
# the second character of earch part sets the text backcolor,
# an upper-case character sets bold face text (frontcolor).
# i.g. 'menu-scheme=wm:rw:wm:Wm'. Possible colors:
# k=black, b=blue, g=green, c=cyan, r=red, m=magenta, y=yellow, w=white.
menu-scheme = Wb:Yr:Wb:Wb
#menu-title = " DESDEMONA Boot-Manager "
# C) Configuration of the image for choice 'bmp'.
# For the graphical menu you need a bitmap file, which needs a special
# menu configuration in the file header (see: lilo -E). Ideally you
# use one of the delivered images of the lilo package.
# with 16 colors: onlyblue, tuxlogo, inside
# with 256 colors: coffee
# for Debian: debianlilo, debian, debian-de
#bitmap = /boot/tuxlogo.bmp
# ---------------------------------------------------------------
# Specifies the number of deciseconds (0.1 seconds) how long LILO
# should wait before booting the first image. LILO doesn't wait if
# 'delay' is omitted or set to zero. You do not see the defined menu.
#delay = 20
# Prompt to start one certain kernel from the displayed menu.
# It is very recommeded to also set 'timeout'. Without timeout boot
# will not take place unless you hit return. Timeout is the number
# of deciseconds (0.1 seconds) after there the default image will
# be started. With 'single-key' alias numbers for each menu line can
# be used.
prompt
timeout = 100
#single-key
# ---------------------------------------------------------------
# Specifying the VGA text mode that should be selected when booting.
# The following values are recognized (case is ignored):
# vga=normal 80x25 text mode (default)
# vga=extended 80x50 text mode (abbreviated to 'ext')
# vga=ask stop and ask for user input: choice of text mode
# vga=<mode> use the corresponding text mode number. A list of
# available modes can be obtained by booting with
# vga=ask' and then pressing [Enter].
# Another way is the use of frame buffer mode. Then the kernel
# will switch from the normal vga text mode (80x25) to the frame
# buffer mode (if frame buffer support is in the kernel):
# vga=0x314 800x600 @ 16 bit
# vga=0x317 1024x768 @ 16 bit
# vga=0x318 1024x768 @ 24 bit
#vga = ask
vga = normal
#vga = 0x317
# ---------------------------------------------------------------
# Kernel command line options that apply to all installed images go
# here. See 'kernel-parameters.txt' in the Linux kernel 'Documentation'
# directory. I.g. for start into 'init 5' write: append="5"
#append = ""
# If you used a serial console to install Debian, this option should be
# enabled by default.
#serial = 0,9600
# Set the image which should be started after delay or timeout.
# If not set, the first defined image will be started.
#default = Linux
# ################### LILO per-image section ####################
# Each image is configured with the linux kernel (=image) and
# usually with the initrd file. Configure all GNU/Linux systems
# on other partitions, too.
image = /boot/vmlinuz-3.2.0-4-486
label = "Linux"
#root = /dev/sda2
root = "UUID=5c9cb65c-c2ec-4be0-a73d-06d9f28cfb98"
read-only
# restricted
# alias = 1
# optional
initrd = /boot/initrd.img-3.2.0-4-486
Przedstawiam wynik polecenia:
Kod: Zaznacz cały
root@debian:~# hwinfo --framebuffer
> hal.1: read hal dataprocess 3263: arguments to dbus_move_error() were incorrec
t, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../.
./dbus/dbus-errors.c line 282.
This is normally a bug in some application using the D-Bus library.
libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.H
al was not provided by any .service files
Czy dobrze podajesz ścieżki do odpowiednich partycji?Kod: Zaznacz cały
Wpisy w tablicy partycji nie są w tej kolejności, co na dysku
Przedstaw wynik polecenia wykonanego jako root:
Kod: Zaznacz cały
blkid
Z tego co widzę VGA=773 to 1024x768x256 (ostatni parametr to kolory).
Spróbuj jeszcze:
Spotkałem się z informacją że w lilo szesnastkowo może nie zadziałać, ale to był post z przed kilku lat.
Spróbuj jeszcze:
- VGA=790 czyli 1024x768x32k
- VGA=791 czyli 1024x768x64k => możesz też spróbować szesnastkowo tak jak było w komunikacie po liloconfig VGA=0x317
- VGA=792 czyli 1024x768x16M => szesnastkowo VGA=0x318
Spotkałem się z informacją że w lilo szesnastkowo może nie zadziałać, ale to był post z przed kilku lat.