LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2003, 06:48 AM   #1
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 7 prior Red Hat User
Posts: 473

Rep: Reputation: 30
Kernel Compact Mode


Hello yall,

I have RH9 with the most recent kernel. I have tried on one the more occasion to put the system in compact mode for faster booting. I edited the lilo.conf file and put compact in it. I even have a file called lilo.conf-up2date. . . and put it there too. However, it is still not going into compact mode.

The system before I did all of the updates had a "Boot Manager" listed in system tools, however, now it does not.

Does anyone have any ideas? Thanks.
 
Old 09-24-2003, 09:41 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,854

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
Could you post your lilo.conf file?
 
Old 09-24-2003, 10:06 PM   #3
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 7 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
I have posted lilo.conf and lilo.conf.up2date

"lilo.conf" 31L, 553C
prompt
timeout=50
compact
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.20-20.9
label=2.4.20-20.9
initrd=/boot/initrd-2.4.20-20.9.img
read-only
append="hdc=ide-scsi root=LABEL=/"

image=/boot/vmlinuz-2.4.20-8
label=linux.bak
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdc=ide-scsi root=LABEL=/"

other=/ptional
label=Windows

image=/boot/vmlinuz-2.4.20-20.9
label=linux
append="hdc=ide-scsi root=LABEL=/"
read-only
initrd=/boot/initrd-2.4.20-20.9.img
dev/hda1
-------------------------------------------------------------------------
"lilo.conf.up2date-1064033946.551687" 25L, 419C

prompt
timeout=50
default=linux
compact
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.20-20.9
label=2.4.20-20.9
initrd=/boot/initrd-2.4.20-20.9.img
read-only
append="hdc=ide-scsi root=LABEL=/"

image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdc=ide-scsi root=LABEL=/"

other=/dev/hda1
optional
label=Windows
 
Old 09-24-2003, 10:27 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,854

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
As I understand it compact means that you want to boot a flash card. Yet you are telling lilo to boot /dev/hda.

Try redirecting the boot to the flash card by adding two lines immediately after /boot=/dev/hda:

/boot=/dev/hda
disk=/dev/hda
bios=0x80

If this does not work you will probably need a boot floppy to get back into Linux.

See the disk= parameter in:
man lilo.conf
 
Old 09-24-2003, 10:30 PM   #5
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 7 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
Umm, no. I don't agree with you. If you can go to your gui boot manager and look for lilo, you will see a check box there that says compact mode. This makes the kernel boot much faster. For some reason, when I updated my kernel to 2-20 or whatever the most recent version is, the entire boot manager part of the gui disappeared.
 
Old 09-24-2003, 10:41 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,854

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
"Umm, no. I don't agree with you."

I did some searching with Google and you are right. I though that the compact option was used to boot from a flash card but it really means to boot a hard drive faster. Therefore my answer is irrelevant to the problem.

Hopefully this answer makes more sense:

When you change lilo.conf you have to run the lilo command from the command line for the changes to take effect at the next boot. Running lilo is probably something that your Red Hat GUI probably did for you every time you updated lilo through the GUI.

So your changes not taking effect could be explained if you have not run lilo from the command line.
 
Old 09-24-2003, 10:43 PM   #7
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 7 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
oh, okay. So, what do I do? Just log in as root, go to a terminal and type lilo and that's it?
 
Old 09-24-2003, 10:44 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,854

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
"Just log in as root, go to a terminal and type lilo and that's it?"

Yes.

Better have a boot floppy just in case.
 
Old 09-24-2003, 10:47 PM   #9
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 7 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
Done, works fine now. Thanks Steve.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Interface between user mode and kernel mode santosh_pn Linux - Software 1 06-17-2005 07:20 AM
How can I change display mode from character mode to graph mode wuzhong Linux - Hardware 1 08-08-2004 09:36 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 04:17 AM
[kernel 2.6.5] hotplug/udev and compact flash rapazp Linux - Laptop and Netbook 0 04-12-2004 03:03 PM
Virtual Machine kernel stack fault in kernel mode virtical Linux - Software 0 07-14-2003 08:30 PM


All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration