LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2007, 09:45 PM   #1
micro_xii
Member
 
Registered: Sep 2006
Posts: 140

Rep: Reputation: 15
Question some instances of menu.lst


Greetings:

Under some menu.lst instances....

some states:

title Linux
kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=0x314 selinux=0 splash=silent resume=/dev/sda1 elevator=cfq showopts
initrd (hd0,1)/boot/initrd

and some states:

title linux
kernel (hd1,6)/boot/vmlinuz root=/dev/hdb7 splash=silent vga=788
initrd (hd1,6)/boot/initrd.img

Im confused
1. Why is't linux distro's have different vga? Can I make them the same?
2. What are vga, splash, elevator and etc...FOR??
2. Correct me if Im wrong...In the above menu.lst config, what is the very most important thing there. I mean can I have only this config instead

title linux
kernel (hd1,6)/boot/vmlinuz root=/dev/hdb7
initrd (hd1,6)/boot/initrd.img

Without adding attributes such as vga, splash, elevator and etc.
 
Old 03-14-2007, 10:37 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Well, you can, of course, do anything you wish to do. (That’s what the “free” in “free software” usually means.)

The various options control what the kernel does as it’s booted, and (if the option is not processed by the kernel) the option is passes to the initrd (The inital RAM drive) for processing by the distribution being loaded.

Thus the meaning of the various options may depend on the kernel being loaded or on the distribution being loaded. Some of those listed in your example seem obvious: “selenux=0” is disabling the SELinux security system, “resume=/dev/sda1” is specifying where the resume-after-suspend partition is located, and “splash=silent” is turning off the distribution’s splash screen.

The “elevator” parameter controls the I/O scheduler:
Code:
        elevator=       [IOSCHED]
                        Format: {"anticipatory" | "cfq" | "deadline" | "noop"}
                        See Documentation/block/as-iosched.txt and
                        Documentation/block/deadline-iosched.txt for details.
But I’d have to guess what the “vga=” does since it’s not listed in the kernel-parameters.txt file, so it’s most likely a distribution specific setting.
 
Old 03-14-2007, 11:15 PM   #3
micro_xii
Member
 
Registered: Sep 2006
Posts: 140

Original Poster
Rep: Reputation: 15
Question menu.lst

Quote:
Originally Posted by PTrenholme
But I’d have to guess what the “vga=” does since it’s not listed in the kernel-parameters.txt file, so it’s most likely a distribution specific setting.
In this config:
title Linux
kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=0x314 selinux=0 splash=silent resume=/dev/sda1 elevator=cfq showopts
initrd (hd0,1)/boot/initrd

and turn into this:

title linux
kernel (hd1,6)/boot/vmlinuz root=/dev/hdb7
initrd (hd1,6)/boot/initrd.img

I need to know if there a big possibility that my Grub wont boot. Just like you guessed "vga", is a distribution specific setting

Correct me if im wrong
 
Old 03-14-2007, 11:30 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Quote:
Originally Posted by PTrenholme
But I’d have to guess what the “vga=” does since it’s not listed in the kernel-parameters.txt file, so it’s most likely a distribution specific setting.
It's in there - older than dirt. Strictly speaking it's a bootloader parm, but why quibble.
Quote:
Originally Posted by micro_xii
I need to know if there a big possibility that my Grub wont boot.
Try it and see - best way to learn.
Make a new stanza for any "playing around" - that way if you screw up, you can always boot back to your working system.
 
  


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
Need Help With My Suse Grub Menu.lst obnascar SUSE / openSUSE 6 01-11-2007 11:33 PM
Explain my Menu.lst Johnny Faster Ubuntu 5 06-22-2006 11:29 AM
need grub menu.lst example pk108 Mandriva 4 12-11-2004 07:45 PM
grub.conf vs. menu.lst netstv Linux - General 3 11-24-2004 07:19 PM
Grub, can someone posts their Menu.lst please webwolf70 cAos 6 10-21-2004 01:37 AM


All times are GMT -5. The time now is 02:30 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