How to use a cheat code in hd install????Forum: HD Install Topic: How to use a cheat code in hd install???? started by: jfley Posted by jfley on Jan. 20 2006,14:43
Hi there..I have a truoble with my laptop display, so I need need use a cheat code vga=xxx at the boot time this work fine with the live cd, but how can i use it in the hd install?? Thanks.. Posted by torp on Jan. 20 2006,14:54
I used grub as my boot loader. When I boot up it gives me several different cheat code lines. One matches my display..fb800x600....i select that one and away I go. Thats it... You can also edit the cheat codes before booting with grub.torp Posted by cyberoidx on Jan. 20 2006,14:55
After you install, at rebbot, hit tab... then type linux (or whatever the linux option was) and type: vga=normal so => linux vga=normal and boot The next step is different for lilo and grub FOR LILO open /etc/lilo.conf in you fav editor as root, and you will see the Linux title with stuff like image = /boot/vmlinuz root = /dev/hda1 label = Linux read-only put append="vga=normal" after it, save the file, and do sudo /sbin/lilo this will rewrite lilo to make vga=normal default FOR GRUB You'll have stuff like title Linux kernel (hd0,9)/boot/vmlinuz root=/dev/hda10 splash=silent desktop hdc=ide-scsi hdclun=0 showopts initrd (hd0,9)/boot/initrd put vga=normal after root=/dev/hXYZ and then sudo /sbin/grub-install /dev/hda (change hda to whatever you got) HOPE THIS WORKS Links : GRUB CONFIGURE : < http://www.google.com/search?q=GRUB+CONFIGURE+install > LiLO : < http://www.google.com/search?q=LILO+CONFIGURE > have fun, and experiment. Posted by jfley on Jan. 20 2006,15:18
Thanks cyberoidxIt work excellent..!!! Posted by cyber620 on Jan. 26 2006,00:41
Alternativly you can boot into root and open/boot/grub/menu.1st in beaver and edit it directly. Be careful what you change though. Posted by starcannon on Jan. 26 2006,18:19
I see that you've solved it but thought I'd drop in my .02 anyway. Add vga=xxx somewhere near the top of your lilo.conf file,open a command prompt and issue the command
Heres an example lilo.conf file that works using this method with correct placement of the vga=xxx line . DO NOT copy paste this file. USE IT FOR REFERENCE ONLY as your setup is quite likely different than the one this conf file was generated for.
Hope that was useful, Rob |