Pages

Search

Help me plz!!! - Forums Linux

Help me plz!!! - Forums Linux


Help me plz!!!

Posted: 14 Jan 2006 04:27 AM PST

On Sat, 14 Jan 2006 13:27:37 +0100, drugone <it> wrote:
 

You forgot to tell which version of linux. Which distribution?
SuSE? Redhat? CentOS? Mandrivia? Gentoo? Debian? Ubuntu?
 

When you get the "Grub" prompt, type

find /etc/fstab

It takes a few seconds. You will get a response similar to this:

(hd0,5)

Type (substitute the result from the find command):

cat (hd0,5)/etc/fstab

Look for a line similar to the following:

/dev/hda2 /boot ext3 defaults 0 0

The key here is "/boot" in the second word.

If there is no such line, then you will use (hd0,5) (or whatever you
got from the "find" command). Also you will use "/boot/vmlinuz" below.

If you find this line, you will *not* use (hd0,5), and we need to determine
what you will use. look at the number after "hda", and substract 1. If its
hda3, use (hd0,2). If its hda12, use (hd0,11). Also, you will *not* type
"/boot" in the commands below. You will type "kernel /vmlinuz...." and not
"kernel /boot/vmlinuz...".

Then say

root (hd0,5) # Substitute the right number for "5"
kernel /boot/vmlinuz<TAB><TAB>

Here, you must use the TAB key. Grub will look in the /boot directory
(or / directory if there is no /boot) and list all files with names
beginning with "vmlinuz", e.g. "vmlinux-2.6.14-1.1656_FC4". If there
is only one, Grub will complete the file name for you. Fill in the file
name, and continue on the same line:

kernel /boot/vmlinuz-2.6.14-1.1656_FC4 root=/dev/hda6 ro

Note: The part "/dev/hda6" shall have the same number as (hd0,5) plus one.
So if it is (hd0,2) then use /dev/hda3, if it was (hd0,0), then use
/dev/hda1.

Next,

initrd /boot/initrd-2.6.14-1.1656_FC4

The version string in the file name must be the same as in the kernel.
You can use the TAB key to have Grub help you fill in the file name.
Using the TAB key is a very good idea, because it protects you against
typoos. If you try "initrd /boot/intird<TAB>" it does not work because
there is no file name beginning with "intird".

Next,

boot

This will start Linux.

Once linux has started, take some steps to avoid having to do all this
every time.

I suspect Partition Magic carries it's own copy of Grub, so it is
possible that the Grub software package is not installed in your linux.
Most likely, your linux distribution prefers to use Lilo instead.
If you have a file /etc/lilo.conf, check the contents of this file
(Read the documentation. It's hard, but you are a clever guy, you
overcome that challenge, don't you?) If the file is OK, with the
correct kernel version, correct root partition, etc., run the command

lilo

and this will remove grub and set up your computer to boot using lilo.

You may want to find out what to put in the lilo.conf file in order to
be able to boot Windows from lilo.

On the other hand, perhaps you do have Grub, and not lilo. (I personally
prefer Grub, but others disagree :) )

At this point, you are running Linux, and if I say /boot below,
I mean /boot even if there was a /boot line in /etc/fstab. The sentence
about not typing /boot only applies to the kernel and initrd commands
above *and* in the grub.conf or menu.lst file below.

If you do have grub, there should be a file called /boot/grub/grub.conf,
or /boot/grub/menu.lst. Some linux distributions call it "grub.conf"
and some call it "menu.lst". Quite a few have both names, one
being a link to the other. Again, you should check the contents of
this file, to make sure it is correct. It should contain something like

Title "Linux is King!"
root (hd0,5)
kernel /boot/vmlinuz-2.6.14-1.1656_FC4 root=/dev/hda6 ro
initrd /boot/initrd-2.6.14-1.1656_FC4
Title "Windows is Easy!" # or whatever you think it is
rootnoverify (hd0,0)
makeactive
chainloader +1

Then run the command

grub-install /dev/hda

This will do properly what Partition Magic should have done. Write
to the company that makes Partition Magic and ask them to have their
program either 1) install Grub properly, or 2) tell the user the install
is not complete.
 

Linux does not care about "active partition". Leave your Windows partition
as the active one. (The "makeactive" command in the config file above takes
care of that, so you don't need to "fix" it.)
 

Boot magic? Sorry, I don't know it. Deleting partitions does not usually
help with booting problems.
 

I have heard about partition magic a lot here in this newsgroup, and it seems
to be a nice program. Does it show you what partitions you have?
Does it show you what the partition table looks like? Does it tell you
if your partitions are primary partitions of logical ones?

It does not seem to support Grub in a satisfactory way.

-Enrique

help me!!!

Posted: 13 Jan 2006 11:26 PM PST

On Sat, 14 Jan 2006 08:26:34 +0100, diepvientinhyeu <com> wrote:
 

There is no such thing as "redhat linux 10.1". Look again.
 

Write down the exact and complete error message, and post it.
 

-Enrique

cpuspeed mystery

Posted: 12 Jan 2006 11:52 PM PST

On Fri, 13 Jan 2006 11:47:43 +0100, Peter T. Breuer <it.uc3m.es> wrote:
 

It turns out that RH has tucked away the info here.

$ cpuspeed --help
cpuspeed v1.2.1

This program monitors the system's idle percentage and reduces or raises the
CPUs' clock speeds and voltages accordingly to minimize power consumption
when idle and maximize performance when needed. This is the default.

The program may also optionally be configured to reduce the CPUs' clock
speeds if the temperature gets too high, NOT minimize their speeds if the
computer's AC adapter is disconnected or maximize their speeds when the AC
adapter is connected.

By default this program will manage every CPU found in the system.

Usage: cpuspeed [Options]

Options:
-d
Tells the process to daemonize itself (run in background).

-i <interval>
Sets the interval between idle percentage tests and possible speed
changes in tenths of a second (default is 20).

-n
Includes nice time as cpu time (off by default)

-p <fast up> <threshold>
Sets the CPU idle percentage thresholds. <fast up> is the idle
percentage below which a CPU will be set to the highest possible
speed. <threshold> is the idle percentage above which a CPU's
speed will be decreased and below which a CPU's speed will be
increased (defaults are 10 and 25).

-m <minimum speed>
Sets the minimum speed in KHz below which a CPU will not be set.

-M <maximum speed>
Sets the maximum speed in KHz above which a CPU will not be set.

-t <temp file> <maxtemp>
Sets the ACPI temperature file and the temperature at which CPUs
will be set to minimum speed.

-T <interval>
Sets the interval at which the temperature will be polled in
tenths of a second (default is 10).
(Requires the '-t' option above.)

-a <AC file>
Sets the ACPI AC adapter state file and tells the program to set
the CPUs to minimum speed when the AC adapter is disconnected.
(This is the default but is changeable by the '-D' option below).

-A <interval>
Sets the interval at which the AC adapter state will be polled in
tenths of a second (default is 50).
(Requires the '-a' option above.)

-C
Run at maximum speed when AC adapter is connected.
(Requires the '-a' option above.)

-D
Do NOT force minimum speed when AC adapter is disconnected.
(Requires the '-a' option above.)

-r
Restores previous speed on program exit.

-s <CPU>
Manage only a single CPU. <CPU> specifies the number of the CPU
to manage and is in the range 0 to (n-1) where 'n' is the number
of CPUs in the system. Without this option the program creates
copies of itself to manage every CPU in the system.

To have a CPU stay at the highest clock speed to maximize performance send
the process controlling that CPU the SIGUSR1 signal.

To have a CPU stay at the lowest clock speed to maximize battery life send
the process controlling that CPU the SIGUSR2 signal.

To resume having a CPU's clock speed dynamically scaled send the process
controlling that CPU the SIGHUP signal.

Author:
Carl Thompson - cet [at] carlthompson.net (copyright 2002 - 2005)

-Enrique

[LILO] How to repair L99?

Posted: 11 Jan 2006 01:17 PM PST

On Thu, 12 Jan 2006 02:04:27 GMT, imotgm
<com> wrote: 

Good call. Thx :-)

rpm with nodeps option

Posted: 11 Jan 2006 12:05 PM PST


"Unruh" <ubc.ca> wrote in message
news:dq3v7p$lbq$itservices.ubc.ca... 

In the RedHat world, the "yum" tool is marvelous for finding and resolving
all the dependencies. The dependencies can bite you: if you install an
Apache from Fedora Core 4, and it has requirements for a recent glibc, it's
just not gonna work on a RedHat 9 installation. But if the dependency is for
some fiddling feature you never plan to use, then yeah, you can ignore it.

We can't hope to predict success or failure without the reported complaints
from RPM.


MD5 sum mismatch during kickstart install

Posted: 11 Jan 2006 05:01 AM PST

Well, I did a little test. I mangled the sendmail rpm file on an NFS
server that has the RHEL4 media exported and tried a network install
from another system. The install.log error is pretty similar to what I
saw on the system in question. So it looks like the HTTP server and
network are not ruled out as causes of this problem.

Fedora - Many "ssh-scan" processes running..

Posted: 10 Jan 2006 11:23 AM PST


"Michael Heiming" <michael+heiming.de> wrote in message
news:heiming.de... 

Or it could be someone local doing it to probe their own systems, but it's
still really irritating.

Fortunately, ssh-scan is crap that could be rewritten by a drunken baboon. A
very modest set if alterations can be done to make it faster by a factor 10
if not a factor of 100, without too much difficulty: I've done so for
scanning Beowulf clusters.


anonymous FTP and /var/ftp/bin

Posted: 10 Jan 2006 09:02 AM PST


<com> wrote in message
news:googlegroups.com... 

Throw it out. Many of the old wu tools, such as wu-imapd and wu-ftpd, have
since been replaced by superior tools that were written from the ground up
with this sort of feature incorporated, rather than as a stapled on
afterthought.

In particular, you probably want vsftpd.


Problem with screen resolution on Debian 3.1

Posted: 10 Jan 2006 04:48 AM PST

I forgott to say what modem , it`s Intel 536ep,
About the sounds, I`m not sure that I figured how to turn off gnome system,
and by the way, I am not able to use much of Debian- dont have internet
connection either sound- so I can`t tell is it gnome system sound, or
something else. I`ll try now to turn off gnome sounds.


laptop doen't recognize hard drive

Posted: 09 Jan 2006 02:58 PM PST

PT wrote:
 

Yes, quite possible. Happened to me may times (take a clean drive with valid
partition table but without anything on it e.g.)

=arvi=

Garmin eTrex Legend

Posted: 08 Jan 2006 06:49 AM PST

Keith Sheppard wrote: 

Garmin windscreen suction mount. Pretty useless if you use as it appears to
be designed since the receiver tends to bounce up and down to the point of
being unreadable. However it works perfectly if you turn it round and
slightly loosen one of the locking screws so that the bottom of the GPS
rests on the dashboard. UK prices are a rip-off and US RRP is too high -
however there are several good US eBay suppliers of new Garmin accessories
at bargain prices and I have bought several items from one of them
(including two etrex suction mounts) with no problems. Postage is cheap
and rapid (usually ~5 days).

David