Find the answer to your Linux question:
Results 1 to 6 of 6
hi i use a kvm, and sometimes when i boot my machine the kvm will be switched to another machine. if i don't switch it over to my ubuntu box ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2004
    Posts
    29

    howto force resolution at boot?


    hi

    i use a kvm, and sometimes when i boot my machine the kvm will be switched to another machine. if i don't switch it over to my ubuntu box during boot i can only get 640x480 rather than 1280x1024. i need a way to force the proper res every time as the 'make default' option doesn't work in the preferences settings.

    thanks

  2. #2
    Linux User Kojak's Avatar
    Join Date
    Apr 2006
    Posts
    421
    Try with appending
    vga=1280x1024
    to the grub entry.
    Windows free since 2002 | computing since 1984

  3. #3
    Just Joined!
    Join Date
    Dec 2004
    Posts
    29
    thanks for replying, but sorry i'm a noob. how do i do that? i had a quick look around but couldn't see how

  4. #4
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    edit your
    Code:
    /boot/grub/menu.lst
    file as root
    go to near the bottom, and on the line that looks like
    Code:
    kernel          /boot/vmlinuz-2.6.16-1-k7 root=/dev/hda1 ro
    add vga=1280x1024 so it looks like
    Code:
    kernel          /boot/vmlinuz-2.6.16-1-k7 root=/dev/hda1 ro vga=1280x1024
    Brilliant Mediocrity - Making Failure Look Good

  5. #5
    Just Joined!
    Join Date
    Dec 2004
    Posts
    29
    thanks for the reply. i tried it but it didn't work. any more ideas?

  6. #6
    Just Joined!
    Join Date
    Apr 2006
    Posts
    97
    Are you sure you edited the correct entry? I have many grub entries. Try adding vga=1280x1024 to every line that begins with 'kernel'.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •