Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Have you tried adding noapci nomodeset to the boot options when the cd first boots? I have a laptop with two ati hybrid graphic cards and had to use the nomodeset option with just about every distro I use
Have you tried adding noapci nomodeset to the boot options when the cd first boots? I have a laptop with two ati hybrid graphic cards and had to use the nomodeset option with just about every distro I use
I second that. The noapci and nomodeset options are available on most live CDs. Some live distros come with a help screen that describes boot options. It's usually F2 or F3 (check the distro documentation). You could try hitting Tab at the very beginning, as soon as you see the boot prompt, but BEFORE it starts to load the OS. Doing that should allow you to edit the actual boot command, so you can try any number of options. I've been down this road before, where some oddball motherboard doesn't like Linux. IMHO, as long as your data is backed up, and you have enough cash, keep going until your computer dies completely (only a suggestion, do it at your own risk)
I would think any boot option to pass kernel parameters would be available when you have a 'boot:' prompt screen selection. Not dependent on the distribution but dependent on the loader configuration;
Code:
excerpt from 'man bootparm';
NAME
bootparam - Introduction to boot time parameters of the Linux kernel
DESCRIPTION
The Linux kernel accepts certain 'command-line options' or 'boot time parameters' at the moment it is started. In general this is used
to supply the kernel with information about hardware parameters that the kernel would not be able to determine on its own, or to
avoid/override the values that the kernel would otherwise detect.
When the kernel is booted directly by the BIOS (say from a floppy to which you copied a kernel using 'cp zImage /dev/fd0'), you have no
opportunity to specify any parameters. So, in order to take advantage of this possibility you have to use software that is able to pass
parameters, like LILO or loadlin. For a few parameters one can also modify the kernel image itself, using rdev, see rdev(8) for further
details.
The LILO program (LInux LOader) written by Werner Almesberger is the most commonly used. It has the ability to boot various kernels,
and stores the configuration information in a plain text file. (See lilo(8) and lilo.conf(5).) LILO can boot DOS, OS/2, Linux, Free-
BSD, UnixWare, etc., and is quite flexible.
The other commonly used Linux loader is 'LoadLin' which is a DOS program that has the capability to launch a Linux kernel from the DOS
prompt (with boot-args) assuming that certain resources are available. This is good for people that want to launch Linux from DOS.
It is also very useful if you have certain hardware which relies on the supplied DOS driver to put the hardware into a known state. A
common example is 'SoundBlaster Compatible' sound cards that require the DOS driver to twiddle a few mystical registers to put the card
into a SB compatible mode. Booting DOS with the supplied driver, and then loading Linux from the DOS prompt with loadlin avoids the
reset of the card that happens if one rebooted instead.
The Argument List
The kernel command line is parsed into a list of strings (boot arguments) separated by spaces. Most of the boot args take the form of:
name[=value_1][,value_2]...[,value_10]
where 'name' is a unique keyword that is used to identify what part of the kernel the associated values (if any) are to be given to.
Note the limit of 10 is real, as the present code only handles 10 comma separated parameters per keyword. (However, you can reuse the
same keyword with up to an additional 10 parameters in unusually complicated situations, assuming the setup function supports it.)
Most of the sorting goes on in linux/init/main.c. First, the kernel checks to see if the argument is any of the special arguments
'root=', 'nfsroot=', 'nfsaddrs=', 'ro', 'rw', 'debug' or 'init'. The meaning of these special arguments is described below.
Then it walks a list of setup functions (contained in the bootsetups array) to see if the specified argument string (such as 'foo') has
been associated with a setup function ('foo_setup()') for a particular device or part of the kernel. If you passed the kernel the line
foo=3,4,5,6 then the kernel would search the bootsetups array to see if 'foo' was registered. If it was, then it would call the setup
function associated with 'foo' (foo_setup()) and hand it the arguments 3, 4, 5 and 6 as given on the kernel command line.
Anything of the form 'foo=bar' that is not accepted as a setup function as described above is then interpreted as an environment vari-
able to be set. A (useless?) example would be to use 'TERM=vt100' as a boot argument.
Any remaining arguments that were not picked up by the kernel and were not interpreted as environment variables are then passed onto
process one, which is usually the init program. The most common argument that is passed to the init process is the word 'single' which
instructs init to boot the computer in single user mode, and not launch all the usual daemons. Check the manual page for the version of
init installed on your system to see what arguments it accepts.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.