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 cyberoidx

It 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
Quote (jfley @ Jan. 20 2006,09: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..

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
Code Sample
dsl@box:~$lilo
 reboot it should work every boot that way.

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.
Code Sample

lba32          #enable large disk support
timeout=30     #wait 3 seconds before auto-booting
vga=788     #set screen dimensions and bit depth
boot=/dev/hda   #put boot loader in MBR of target disk
root=/dev/hda1 #set root to be partition of target disk
image=/boot/linux24
label=DSL
initrd=/boot/minirt24.gz
read-only
APPEND="ramdisk_size=100000 init=/etc/init lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce nodma quiet frugal BOOT_IMAGE=/KNOPPIX/KNOPPIX restore=hda5 opt=hda5 home=hda5 dma   mydsl=hda5"

Hope that was useful,
Rob

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.