Linux-Setup Digest #119, Volume #21 Fri, 27 Apr 01 09:13:10 EDT
Contents:
Re: date and time (maher)
Re: Redhat 7.1 and Win2k Dual Boot - NTLoader No-go (Eggert Ehmke)
Re: Where can I find Kernel header file for SuSE7.1 (Eggert Ehmke)
Re: compile and execute c pgm ? ("Glitch")
How can I check my kernel version? ("Julien Petiot")
Drivers for ATI Rage Mobility ("Julien Petiot")
Re: How can I check my kernel version? ("Repo")
Re: compile and execute c pgm ? (Martin Gregorie)
Re: openGL and Mandrake 8 ("Jonathan Duhs")
Re: ReiserFS for / (mlutz3)
Re: openGL and Mandrake 8 ("Jonathan Duhs")
Re: RAID Configuration (Dave Robbins)
Re: Redhat 7.1 and Win2k Dual Boot - NTLoader No-go ("Eric")
<no subject> ([EMAIL PROTECTED])
RH7.1 Instal. can't write boot loader (Troels Riis)
Redhat 7.1; LILO problems (George Buchanan)
----------------------------------------------------------------------------
From: maher <[EMAIL PROTECTED]>
Subject: Re: date and time
Date: Fri, 27 Apr 2001 22:25:09 +0500
David Efflandt wrote:
> Use 'ntpdate' from the xntp package to set your system time from internet
> time servers and then 'setclock' to set your CMOS clock/calendar to match.
> Or do you have a timezone problem where it is off by hours?
okay...will try
maher
------------------------------
From: Eggert Ehmke <[EMAIL PROTECTED]>
Subject: Re: Redhat 7.1 and Win2k Dual Boot - NTLoader No-go
Date: Fri, 27 Apr 2001 11:47:01 +0200
Reply-To: [EMAIL PROTECTED]
On Thu, 26 Apr 2001 23:32:09 +0100, George Buchanan
<[EMAIL PROTECTED]> wrote:
>I'm trying to get RH7.1 and Win2k to dual boot off NTloader, but I've
>had several
>problems.
Why don't you set up lilo to dual boot linux and win2k ? I have one machine
running with lilo booting NT4.0 and SuSE linux without problems.
--
Eggert Ehmke
Email: [EMAIL PROTECTED]
------------------------------
From: Eggert Ehmke <[EMAIL PROTECTED]>
Subject: Re: Where can I find Kernel header file for SuSE7.1
Date: Fri, 27 Apr 2001 11:55:40 +0200
Reply-To: [EMAIL PROTECTED]
On Fri, 27 Apr 2001 05:16:07 +0900, "Aloha" <[EMAIL PROTECTED]> wrote:
> I have SuSE 7.1 Personal. I am installing winmodem. I need to recompile
>kernel again. Where can I find Kernel header for SuSE7.1? Which directory
>contains it?
You need package lx_suse (or so) installed. The sources (you need the
complete sources, not just the headers) go into /usr/src/linux, which should
be a symlink to the actual directory.
As SuSE7.1 comes with kernel 2.4.0, I would suggest to get the newest
official kernel 2.4.3. It runs just fine with SuSE 7.1. It unpacks to
/usr/src/linux, so remove that symlink before unpacking, otherwise you will
mix stuff up. Rename it to /usr/src/linux-2.4.3 after unpacking and set the
symlink again to that dir. Copy the .config file of you old kernel
configuration.
--
Eggert Ehmke
Email: [EMAIL PROTECTED]
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: compile and execute c pgm ?
Date: Fri, 27 Apr 2001 02:12:06 -0400
In article <9c5qoq$30hj$[EMAIL PROTECTED]>, "y2kbugs"
<[EMAIL PROTECTED]> wrote:
> thanks. just in doubt why i need to place './' because i try 'abc' but
> not works.
because a single dot (.) represents your current directory (just like ..
represents the directory above your current directory). Since your
current directory isn't in your path by default if you ever want to
execute anything in your current directory you have to specify its path,
which is the single dot (.)
./abc
if you typed ../abc you would be referencing the binary abc that is in
the directory *above* your current one , assuming abc existed in that
directory. That's a hypothetical example but still very plausible.
> "Glitch" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
>> In article <9c4664$26g9$[EMAIL PROTECTED]>, "y2kbugs"
>> <[EMAIL PROTECTED]> wrote:
>>
>> > I got a abc.cc program and the instruction told me to run "g++ -o abc
>> > abc.cc" to compile it.
>> >
>> > Question is after compilcation (generated a file abc), how to run it
>> > ?
>> >
>> >
>> ./abc (thats a dot, then a slash, then the filename; all with no
>> spaces)
>
>
> ---
> Posted via freenews.netfront.net
> Complaints to [EMAIL PROTECTED]
------------------------------
From: "Julien Petiot" <[EMAIL PROTECTED]>
Subject: How can I check my kernel version?
Date: Fri, 27 Apr 2001 12:12:15 +0200
------------------------------
From: "Julien Petiot" <[EMAIL PROTECTED]>
Subject: Drivers for ATI Rage Mobility
Date: Fri, 27 Apr 2001 12:13:16 +0200
Where can I find drivers for ATI Rage Mobility and how do I install them for
X?
Thanks,
Julien
------------------------------
From: "Repo" <[EMAIL PROTECTED]>
Subject: Re: How can I check my kernel version?
Date: Fri, 27 Apr 2001 12:25:21 +0200
In article <9cbggo$nsb$[EMAIL PROTECTED]>, "Julien Petiot"
<[EMAIL PROTECTED]> wrote:
>
>
uname -a
--
Repo
RedHat Linux release 7.0 Kernel 2.2.17-14
http://beginnerslinux.org http://www.preggers.easynet.be
12:24pm up 12:45, 2 users, load average: 0.69, 0.52, 0.35
------------------------------
From: [EMAIL PROTECTED] (Martin Gregorie)
Subject: Re: compile and execute c pgm ?
Date: Fri, 27 Apr 2001 10:46:33 GMT
On Wed, 25 Apr 2001 14:32:25 +0800, "y2kbugs" <[EMAIL PROTECTED]>
wrote:
>thanks. just in doubt why i need to place './' because i try 'abc' but not
>works.
If you change your default PATH to include '.' as in:
export PATH=.:$PATH
you'll no longer need to prefix the executable name with './'
Either modify the default path setup in /etc/profile or add the
command shown above the the .bash_profile script in your development
login directory.
--
gregorie | Martin Gregorie
@logica | Logica Ltd
com | +44 020 76379111
------------------------------
From: "Jonathan Duhs" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: openGL and Mandrake 8
Date: Fri, 27 Apr 2001 21:12:04 +1000
Try switching back to XFree86 3.6 - at least you might get your system
working. I still haven't managed to get XFree86 4.0.3 to work correctly
with my video card (an old Nvidia TNT card). Perhaps we will need to wait
until Nvidia releases new drivers?
Good luck
Jonathan
"Troy Jesse" <[EMAIL PROTECTED]> wrote in message
news:L7LF6.4283$[EMAIL PROTECTED]...
> Hi All,
>
> I have been trying to install nvidia drivers and openGL in my new install
of
> Mandrake 8. I used X Free 86 4.0.3, which is supposed to support hardware
> acceleration. I try to install the openGL drivers from Nvidia, but it
says
> it needs the Nvidia kernel drivers, so I install those, then install the
> nvidia_glx drivers. I change my xf86config-4 file to have load "glx" in
the
> modules section, but there seems to be no support for openGL.
>
> I have read all over the internet, used directions for redhat 7.1 and
> mandrake 7.2 (these are all I have found), and essentially my X server
just
> crashes, and I have to start from scratch (I am still learning to use vim
> also).
>
> I would really like to use Linux more, and want to learn, so any help is
> very appreciated.
>
> Troy
>
>
------------------------------
From: mlutz3 <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.admin,comp.os.linux.questions
Subject: Re: ReiserFS for /
Date: Fri, 27 Apr 2001 12:27:58 +0200
Hi Val,
I made my 1st trial with reiserfs 2 weeks before.
I would propose to setup a /mnt/xxx partition with reiserfs to check it
out for some days/weeks.
There are some strange things which may be caused by the implementation
(I'm currently using a Mandrake 8.0beta3 version)
or some real bugs in this journaling system - e.g. file names with
blanks in the name seem to cause blocking the reiserfs partition when
you try to access it when having booted again.
A complete download session which I've stored on a reiserfs partion
vanished after a reboot.
There are often bugfixes available - so you need support from
a reiserfs usergroup.
I decided to try it out by my own for 2 of 5 partitions:
My "/var" and "/usr", because there no downloads and Win9x files are
stored.
Join user Mail list via "[EMAIL PROTECTED]"
Homepage "www.reiserfs.org".
;-))
Martin Lutz, Cologne, Germany, Ford Motor Company
Blue System wrote:
>
> Hi,
>
> I'm planning to install Linux and have all partitions as type Reiser.
> However, I'm not sure if making / as ReiserFS is good decision. Any
> input will be greatly appreciated.
>
> Thanks,
>
> Val
------------------------------
From: "Jonathan Duhs" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: openGL and Mandrake 8
Date: Fri, 27 Apr 2001 21:31:21 +1000
You like to have a look at www.mandrakeuser.org - it seems that they are
trying to work out a fix.
Jonathan
"Troy Jesse" <[EMAIL PROTECTED]> wrote in message
news:L7LF6.4283$[EMAIL PROTECTED]...
> Hi All,
>
> I have been trying to install nvidia drivers and openGL in my new install
of
> Mandrake 8. I used X Free 86 4.0.3, which is supposed to support hardware
> acceleration. I try to install the openGL drivers from Nvidia, but it
says
> it needs the Nvidia kernel drivers, so I install those, then install the
> nvidia_glx drivers. I change my xf86config-4 file to have load "glx" in
the
> modules section, but there seems to be no support for openGL.
>
> I have read all over the internet, used directions for redhat 7.1 and
> mandrake 7.2 (these are all I have found), and essentially my X server
just
> crashes, and I have to start from scratch (I am still learning to use vim
> also).
>
> I would really like to use Linux more, and want to learn, so any help is
> very appreciated.
>
> Troy
>
>
------------------------------
From: Dave Robbins <[EMAIL PROTECTED]>
Subject: Re: RAID Configuration
Date: Fri, 27 Apr 2001 07:24:26 -0400
I just setup the new release of Redhat and it has tools to setup Raid in
the graphical installer
You might want to look at Redhats web site, they have a HowTo on setting
Raid up
You configure things while you are partitioning the drives
I'm not familiar with Slackware,
Dave
Maarten Verheijen wrote:
> Dear readers,
>
> This newbie has a question about the use of RAID. Next week I'll have
> to install a new samba/apache/mysql/php-machine in our office.
> This machine will should be a 24/7-production system.
>
> It will have te following hardware:
> Dual 1 Ghz Pentium motherboard with scsi onboard
> 2x 1 Ghz Pentiums
> 2x 37,5 Gb scsi-disks
> 1 Gb ecc RAM
>
> Must be enough to handle quite a load ;)
>
> The question I have is:
> I want to put the two scsi-disk in a mirroring RAID, so If one hardisk
> fails the system still functions. Does the use of the RAID accomplish
> this?
>
> Do have to install everything first on one drive and make the
> RAID afterwards.
>
> I'd like to use Slackware because I'm most used to this distribution!
>
> Thanx in advance,
> Maarten Verheijen
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Redhat 7.1 and Win2k Dual Boot - NTLoader No-go
Date: Fri, 27 Apr 2001 14:01:29 +0200
> I'm trying to get RH7.1 and Win2k to dual boot off NTloader, but I've
> had several problems.
>
> Number 1 is that RH7.1 insists on overwriting the MBR even when
> instructed to write to the /boot partition (which it correctly identifies
> as /dev/hda2.) Thankfully lilo -u works fine!
It does not! RH may have a bad install script, that doesn't create
a correct lilo.conf, but it will write to the location specified in
lilo.conf.
> Booting off floppy works perfectly, but doing the usual NT Loader boot
peeling
> trick off the floppy doesn't work - when Linux is chosen from NT Loader,
> I get
> a rather unhelpful blank screen with "Boot failed" on it and nothing else.
You made a boot.img file from linux, that you use in NT, right?
What's in that file? I suppose nothing. You copied the wrong sector.
> Am I condemned to floppy boot hell, or has anyone any ideas?
You're not. Either use lilo as the mainloader, or copy the right sector to
windows.
> Oddly, lilo.conf
> has a boot=/dev/hda, despite RH indicating that it's going for
> /dev/hda2.
If it's in lilo.conf, that's where lilo will write to. I don't know what RH
does,
but running `/sbin/lilo` will overwrite the MBR
> This
> isn't in keeping with what it was asked to do, but if it got it wrong
once,
> could changing this straighten it out?
Yes, ofcourse.
Make lilo.conf correct, and run `/sbin/lilo` That's all there's to it.
The distro you use is irrelevant. RH has nothing to do with lilo.
Then copy the sector to win2k and ....(you know the rest)
Eric
------------------------------
From: [EMAIL PROTECTED]
Subject: <no subject>
Date: Fri, 27 Apr 2001 12:31:27 +0000 (UTC)
Hi,
I have problems to mount the linux partition on the second IDE disk in
the standard PC. The disk was used in different machine with linux and
windows. I do not know the original CHS settings, but only 8GB out of
10 GB were used. Now I want to mount it in another PC, with RH6.1.
I can see both partitions:
Disk /dev/hdb: 16 heads, 63 sectors, 19650 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 8000 4031968+ 6 FAT16
/dev/hdb2 8001 16383 4225032 83 Linux
and I can mount the FAT16 partition, but the linux partition is seen
as iso9660 instead:
# mount -t ext2 /dev/hdb2 /disk2
mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
or too many mounted file systems
# mount /dev/hdb2 /disk2
# mount
..
/dev/hdb2 on /disk2 type iso9660 (rw)
and I can see only 1360kB:
# df /disk2
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hdb2 1360 1360 0 100% /disk2
from /var/log/messages:
kernel: hdb: WDC AC310100B, 9671MB w/512kB Cache, CHS=19650/16/63
Can I somehow recover the data from the linux partition?
Cheers, Anton.
--
Posted from w8.atlas.cz [195.119.187.188]
via Mailgate.ORG Server - http://www.Mailgate.ORG
------------------------------
From: Troels Riis <[EMAIL PROTECTED]>
Subject: RH7.1 Instal. can't write boot loader
Date: Fri, 27 Apr 2001 14:40:37 +0200
This is a multi-part message in MIME format.
==============2DD71BD97A0FFEAFA9B0E2EA
Content-Type: multipart/alternative;
boundary="------------C4C56862D4A526533CE8C0E0"
==============C4C56862D4A526533CE8C0E0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi
I am desperate after a week with this. Please help.
I was just going to report almost the same error as RH BUG # 25611.
Here is my situation.
I have many PC's running Linux which I am now reinstalling with RH7.1.
However on two of the machines I run into a similar problem. Both
machines have an Intel SE440BX motherboard with a PII-400. Otherwise
they have different discs and hardware - so I wonder if it is something
to do with the motherboard.
Both machines have run fine with RH 6.2 and 7.0, however I had problems
with 7.0.91 Wolverine, but I figured ... well its a beta, so I waited
for 7.1
All the installation goes fine until the post installation process. Then
I get a:
"An error occured while installing the bootloader"
" We highly recommend you make a recovery floppy....."
"The error reported was
Fatal: open /dev/hda: No such file or directory"
Then I have no choice to proceed to the floppy creation. I insert an
floppy and I get a new error:
"An error occured while making the boot disk"
"please make sure that there is a formatted
floppy in the floppy drive"
and yes I have tried several floppys and I know the drive works because
I have also tried installing with boot.img on a floppy.
and then I am pretty dead !!!!!!!
Here is the install story. I start either directly or by specifying
linux hda=3308,16,63
Here is my configuration in fdisk: (IBM 1.6GB DJAA 31700)
Disc is on primary master IDE. CDROM on secondary master.
Disk /tmp/hda1: 16 heads, 63 sectors, 3308 cylinders
Units = cylinders of 1008 * 512 bytes
/tmp/hda1 * 1 66 33232+ 83 Linux
/tmp/hda2 67 587 262584 82 Linux swap
/tmp/hda3 588 3308 1371384 83 Linux
mounted as
/boot hda1 32M Linux native
<Swap> hda2 256M Linux swap
/ hda3 1339M Linux native
I set it to install LILO on MBR and default use linear mode (I also
tried lba32 and non-linear and no lilo combinations).
Then it goes through the installation fine until the bootloader problem
and rescue disc described above.
The only option is then to skip the floppy creation and it reboots with
no hope at all to get in.
PLEASE I AM DESPERATE. One of the computers is a server I NEED to
install asap.
First I thought It mights have something to do with some new big 45G
discs I had in and tried to do SW raid on the one computer, or a dual
boot machine with a 10 GB Windoze on the other. The last had some 1024
cylinder limit but was able to fix with lba32 on 7.0. Therefore I
basically tried all combinations of bios settings (LBA) and linear,
lilo. I even tried not to set it to install lilo to plan to use LoadLin
to get around it, but... still no floppy boot disc.
Therefore I stripped the server machine to be as simple as possible with
only this small 1.7 GB disc with simple partitioning...... no way it
will works.
I have tried to install RH 7.0 first - fine. Then I do an upgrade to 7.1
which I then can get to work ??????? However I am very uncertain of the
machine I then have. Will it keep old garbage packets from 7.0., and
espicially: What about /etc - is this updated to the new default setting
in 7.1 (security) or does it keep the current settings from the
temporary 7.0 install ??? Please this would help me to get on.
Thank you,
==============C4C56862D4A526533CE8C0E0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi
<p>I am desperate after a week with this. Please help.
<p>I was just going to report almost the same error as RH BUG # 25611.
Here is my situation.
<p>I have many PC's running Linux which I am now reinstalling with RH7.1.
However on two of the machines I run into a similar problem. Both machines
have an Intel SE440BX motherboard with a PII-400. Otherwise they have different
discs and hardware - so I wonder if it is something to do with the motherboard.
<p>Both machines have run fine with RH 6.2 and 7.0, however I had problems
with 7.0.91 Wolverine, but I figured ... well its a beta, so I waited for
7.1
<p>All the installation goes fine until the post installation process.
Then I get a:
<p><b>"An error occured while installing the bootloader"</b>
<br><b>" We highly recommend you make a recovery floppy....."</b>
<br><b>"The error reported was</b>
<br><b>Fatal: open /dev/hda: No such file or directory"</b>
<p>Then I have no choice to proceed to the floppy creation. I insert an
floppy and I get a new error:
<p><b>"An error occured while making the boot disk"</b>
<br><b>"please make sure that there is a formatted</b>
<br><b>floppy in the floppy drive"</b>
<p>and yes I have tried several floppys and I know the drive works because
I have also tried installing with boot.img on a floppy.
<p>and then I am pretty dead !!!!!!!
<p>Here is the install story. I start either directly or by specifying
<br>linux hda=3308,16,63
<p>Here is my configuration in fdisk: (IBM 1.6GB DJAA 31700)
<br>Disc is on primary master IDE. CDROM on secondary master.
<p>Disk /tmp/hda1: 16 heads, 63 sectors, 3308 cylinders
<br>Units = cylinders of 1008 * 512 bytes
<p>/tmp/hda1 * 1
66 33232+ 83 Linux
<br>/tmp/hda2 67
587 262584 82 Linux swap
<br>/tmp/hda3 588 3308
1371384 83 Linux
<p>mounted as
<p>/boot hda1
32M Linux native
<br><Swap> hda2
256M Linux swap
<br>/
hda3 1339M Linux native
<p>I set it to install LILO on MBR and default use linear mode (I also
tried lba32 and non-linear and no lilo combinations).
<p>Then it goes through the installation fine until the bootloader problem
and rescue disc described above.
<br>The only option is then to skip the floppy creation and it reboots
with no hope at all to get in.
<p>PLEASE I AM DESPERATE. One of the computers is a server I NEED to install
asap.
<p>First I thought It mights have something to do with some new big 45G
discs I had in and tried to do SW raid on the one computer, or a
dual boot machine with a 10 GB Windoze on the other. The last had some
1024 cylinder limit but was able to fix with lba32 on 7.0. Therefore I
basically tried all combinations of bios settings (LBA) and linear, lilo.
I even tried not to set it to install lilo to plan to use LoadLin to get
around it, but... still no floppy boot disc.
<p>Therefore I stripped the server machine to be as simple as possible
with only this small 1.7 GB disc with simple partitioning...... no way
it will works.
<p>I have tried to install RH 7.0 first - fine. Then I do an upgrade to
7.1 which I then can get to work ??????? However I am very uncertain of
the machine I then have. Will it keep old garbage packets from 7.0., and
espicially: What about /etc - is this updated to the new default setting
in 7.1 (security) or does it keep the current settings from the temporary
7.0 install ??? Please this would help me to get on.
<p>Thank you,
<br>
<br>
<br>
<br> </html>
==============C4C56862D4A526533CE8C0E0==
==============2DD71BD97A0FFEAFA9B0E2EA
Content-Type: text/x-vcard; charset=us-ascii;
name="tr.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Troels Riis
Content-Disposition: attachment;
filename="tr.vcf"
begin:vcard
n:Riis;Troels
tel;fax:+45 45887133
tel;home:+45 39293460
tel;work:+45 45253469
x-mozilla-html:TRUE
url:http://www.oersted.dtu.dk
org:Measurement & Instrumentation Systems, �rsted-DTU;Technical University of Denmark
version:2.1
email;internet:[EMAIL PROTECTED]
title:Assistant Professor, Ph.D.
adr;quoted-printable:;;=D8rsted-DTU,=0D=0AMeasurement & Instrumentation
Systems,=0D=0ABuilding 327, Room 120,=0D=0ATechnical University of
Denmark=0D=0A;Lyngby;;DK-2800;Denmark
fn:Troels Riis
end:vcard
==============2DD71BD97A0FFEAFA9B0E2EA==
------------------------------
From: George Buchanan <[EMAIL PROTECTED]>
Subject: Redhat 7.1; LILO problems
Date: Thu, 26 Apr 2001 09:52:51 +0100
I've sort-of got Redhat 7.1 set up on my Tosh. Sat. Pro. 4600; however,
I'm having terrible LILO problems.
Despite choosing the "write to boot partition" rather than MBR option
on setup, the darned thing went and wrote all over the MBR anyhow.
lilo -u sorted it, thankfully, so I still am aok with Windows 2k on the
first 8Gb, but here's the state of play:
1) I can boot off a floppy to linux aok
2) Using dd if=/dev/fd0 of=/bootsect.lnx bs=512 count=1 to generate
a bootable for the NT/2k loader doesn't work; I get a blank screen
with a "boot failed" on it.
3) A further attempt to "upgrade" and write to my boot partition,
/dev/hda2 just overwrote the MBR again!
I really don't want to rely on blinking floppies for booting - any
idea what to do; I note that in the first place the lilo.conf file got
set to /dev/hda rather than /dev/hda2 - would changing this fix the
problem with the upgrade overwriting the MBR?
--
George Buchanan
Research Fellow, Digital Libraries
Middlesex University, London, UK
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.setup.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************