Linux-Setup Digest #157, Volume #20 Mon, 4 Dec 00 04:13:09 EST
Contents:
Re: Oh YUCK!!! (MaryP)
Re: Building RPM packages: How to find which files to install from
(=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: Cannot mount all Linux partitions (Craig Holyoak)
Re: ipchains (Adam Weeks)
Re: Kernel won't mount raid0 (Stephan A Suerken)
Best Scsi card? ("The Chief")
Re: I am confident you will help me with "LI" from LILO; I'm one answer away from
the Linux promised land (Eric)
Re: newbie 1024 cylinder question (Eric)
Re: cannot boot RH7 on Win2K dual-boot setup (Eric)
Re: unpacking files (Eric)
Re: Problems whit Redhat 6.2 installation (Eric)
No color on destop ("Crymund")
Re: Cannot mount all Linux partitions (Paul Colquhoun)
Re: Kernel won't mount raid0 ("Peter T. Breuer")
Re: NFS setup question (insecure port??) ("Peter T. Breuer")
Re: RedHat Linux 7.0: LILO hangs (Eric)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (MaryP)
Subject: Re: Oh YUCK!!!
Date: 4 Dec 2000 05:11:59 GMT
In article <90b8ol$d06$[EMAIL PROTECTED]>, C. L. Lewis
<[EMAIL PROTECTED]> wrote:
> Installed Mandrake 7.2 night before last and it went on so damned simple
> and I can't find anything wrong with it, that all the fun's gone out of
> Linux.
Yup. Same damn thing happened to me. It was the ninth different Linux I
ever tried installing on my computer and the only one that ever worked
that slick.
So I blew it away and tried SuSE 7.0 tonight. That's more fun. It won't
set up X for me and I have to create the whole X configuration file by
hand, ha. How come earlier SuSEs knew how to make X configure and 7.0
forgot how?? I 've been trapped in command line mode all night.
But I feel better.
MP
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: Building RPM packages: How to find which files to install from
Date: Mon, 4 Dec 2000 05:13:51 +0100
On Sun, 3 Dec 2000, Frederic Faure wrote:
> I started taking a look at how to build RPM packages from source
> tarballs, and it works fine when installing non-binary stuff (eg.
> documentation files.)
>
> Thing is, the %files is supposed to list all the files that the
> package must install. I took a look at a Makefile and sub-directories
> once I compiled the binary file... but what a mess.
Yep. Making the RPM is some kind of a mess. But nice when you have to
install a program on the fourth workstation.
> Is the standard way to run "make install", and watch what happens, and
> then copy/paste this file list?
Well.. I would look in an existing .src.rpm - and perhaps reuse a lot of
the .spec-file.
But different programs use different methods for placing the files in
$RPM_BUILD_ROOT ('make install DESTDIR=$RPM_BUILD_ROOT', 'make install
prefix=$RPM_BUILD_ROOT' etc.). You will have to figure this out - probably
by running some commands and see what happen...
--
Rasmus B�g Hansen
------------------------------
From: Craig Holyoak <[EMAIL PROTECTED]>
Subject: Re: Cannot mount all Linux partitions
Date: Mon, 04 Dec 2000 15:39:42 -1000
> mount: wrong fs type. bad option, bad superblock on /dev/hda3, or too
> many mounted file systems
I had a similar problem trying to mount a FAT32 partition. I just
changed it to an ext2 partition and now they all mount without a
problem. I have no idea what caused it, and I'd like to know too - I'd
prefer it to be a FAT partition.
Craig
--
Craig Holyoak
[EMAIL PROTECTED]
http://www.uq.net.au/craigh/
------------------------------
From: Adam Weeks <[EMAIL PROTECTED]>
Subject: Re: ipchains
Date: Mon, 04 Dec 2000 05:42:07 GMT
Joel Ryan wrote:
> read the ipchains howto. to find it, do a search on google.com on ipchains
> and howto
>
> "Robert Spangler" <[EMAIL PROTECTED]> wrote in message
> news:90ep5o$[EMAIL PROTECTED]...
> > Hello everyone,
> >
> > I looking to use ipchains to secure my system. Because ipchains can be
> > confusing, I'm wondering if there is a script out there to help with the
> > setup of ipchains?
> >
> > Thnx to everyone who can help.
> >
> >
Actually, there is a pretty good script on Red Hat's site. Go to "how to" and
find networking. The last link is a script with some instructions in it
(comments). Be sure and change the script to match your system. Mine had
eth0 as internal, and eth1 as ext, so be sure and change!! Also set your int
IP in the script.
------------------------------
From: Stephan A Suerken <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Kernel won't mount raid0
Date: 04 Dec 2000 07:47:18 +0100
Peter,
"Peter T. Breuer" <[EMAIL PROTECTED]> writes:
> In comp.os.linux.misc Stephan A Suerken <[EMAIL PROTECTED]> wrote:
> > /dev/md0 raid0,16k,0,802eab69 /dev/hda3 /dev/hdc2
> > oo Kernel 2.2.18pre23 and Kernel 2.2.17pre6 (both tried), with the
> > necessary RAID options (raid0, boot) enabled. Not as modules of course.
> > image = /vmlinuz
> > label = Orlok_Kernel
> > root = /dev/md0
> > read-only
> > vga=4
> > append="md=0,0,16,0,/dev/hda3,/dev/hdc2"
>
> waaaaaaaaaaah. Raid mirror root. Bad bad bad. Can you really do this?
No! Good (tm) idea! ;) However, I never talked of mirror mode.
> It'd requires heaps of special support in the kernel! Where did you see
> that you could? (Yes, *I* know that one can, with lots of prayer, but
> it's not something that the random person in the street should assume
> is just a normal situation that requires no effort).
There is support to boot linear and striped (raid0) arrays since
2.2.x. I can really do this. Or, that is, I should really ought to be
able to be doing this ;).
> > ---
> > EXT2-fs error (device md(9,0)): ext2_check_descriptors: Block bitmap for group 64
>not
> > in group (block 3670038)!
> > EXT2-fs: group descriptors corrupted!
> > ---
>
> Yes, well, not surprised. Go find a kernel that is guaranteed to do
> raid mirror root,
As said above. All kernels >=2.2.0. There is only the uncertainty of
me being able to read or not.
> and set it up for it. You need at least::
>
> CONFIG_BLK_DEV_MD=y
> CONFIG_MD_MIRRORING=y
> CONFIG_MD_BOOT=y
I don't need MD_MIRRORING (raid0 only), although I actually have it in
the kernel. As for the rest, I have it all of course.
Imho, there must be some slight difference in creating the /dev/md0
device between doing it from userspace via raidtools, or directly in
the kernel via boot options. The second imho most likely thing is that
I give the wrong chunk size factor. Kernel's md.txt isn't really clear
about that.
MfG,
Stephan
--
s-Stephan A Suerken <[EMAIL PROTECTED]>
s-WWW http://www.fh-worms.de/~inf222
s-Debian-related mail: <[EMAIL PROTECTED]>
------------------------------
Reply-To: "The Chief" <[EMAIL PROTECTED]>
From: "The Chief" <[EMAIL PROTECTED]>
Subject: Best Scsi card?
Date: Mon, 04 Dec 2000 07:17:25 GMT
Hi: Iam having trouble setting up my scsi card adaptec ava-1505ae for my
scanner/zip disk! I decided to buy a different one!which is best? my linux
setup is mandrake 7.1 on my PC Clone!
------------------------------
From: Eric <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux.mandrake,comp.os.linux.hardware,comp.sys.ibm.pc.hardware.storage
Subject: Re: I am confident you will help me with "LI" from LILO; I'm one answer away
from the Linux promised land
Date: Mon, 04 Dec 2000 08:34:18 +0100
Reply-To: [EMAIL PROTECTED]
fciii wrote:
>
> You need to have the /boot partition on the first harddrive below sector
> 1024. It will not work from the second disk. You can use something like
> fips to create a 10Mb /boot partition on hda and edit your /etc/fstab file
> to reflect the change. Alternately, you can boot from floppy.
>
Not necessarily. Most BIOS's do allow booting from discs at the primary
IDE controller
(hda and hdb) and more recent BIOS's might even allow booting from the
second controller
> > my bios:
> > BIOS Date: 01/22/98
> > BIOS Type: Award Modular BIOS v4.51PG
> > BIOS ID: 01/22/98-SiS-5598-<SP97_V>C-00
Well Dan, check the manufacturer of your MoBo to see if it does allow
booting from hdb
(But I think it does allow this. I'm still confident that if you get the
geometries that LILO and the BIOS use to match, you wil be able to boot
linux from hdb)
(See my other reply)
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: newbie 1024 cylinder question
Date: Mon, 04 Dec 2000 08:36:13 +0100
Reply-To: [EMAIL PROTECTED]
Bob Holtzman wrote:
>
> On Thu, 30 Nov 2000 13:58:56 -0600, John Thompson <[EMAIL PROTECTED]>
> wrote:
> >dwillhoft wrote:
> >
> >> I am trying to install Caldera Linux on my Win98 machine with a 10GB HD. I
> >> understand that Linux must install in the first 7 or 8 GB's because of the
> >> cylinder limit, but I do not understand how to specify that I want the OS to
> >> load in a particular spot on my hard drive.
> >>
> >> Any suggestions or url's would be most appreciated.
> >
> >Shrink (FIPS, Partition Magic, whatever) the Win partition so it
> >is less than 8GB. Create an small boot partition for linux in
> >the free space above the end of the Win partition and below the
> >8GB mark. Put your linux /boot stuff in this partition and use
> >the rest of the drive for everything else.
> >
> This is what I had to do with RH6.0 using lilo-0.21-6. Later versions of lilo
> are supposed to get around this problem. My question is what is the earliest
> version with this capability?
>
21.4.3 (or was it 21.3.4?) anyway check freshmeat.net for the answer
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: cannot boot RH7 on Win2K dual-boot setup
Date: Mon, 04 Dec 2000 09:04:30 +0100
Reply-To: [EMAIL PROTECTED]
>
> I did try to look at bootsect.lnx both by cat from Linux and with
> Notepad on another, Windows 98, system. The file seems to be empty! A
> copy is attached.
>
If I have to look at the attachment I understand why it doesn't work :-)
But really, if it is empty, it's not correct. (look at it with a hex
viewer (mc eg.))
Did you rerun /sbin/lilo, before you dd'd the image?
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: unpacking files
Date: Mon, 04 Dec 2000 09:09:44 +0100
Reply-To: [EMAIL PROTECTED]
Glitch wrote:
>
> Binaries go into /usr/local/bin , system files go into /usr/sbin
> Config files go into /etc
> Libs go into /etc/lib
>
> just look at your directories names and they should be self-explanatory
> when combined with what the contents of the directories are already.
>
> if you read the INSTALL or README files with your tarballs they almost
> always explain where installed files are placed and most of the time u
> wont want to change it. If you do then you follow the directions for
> doing so by reading the same file (README or INSTALL)
>
> and don't crosspost
>
In itself this it not so bad to crosspost (at least if it is limited to
three NG's), but it's weird to post to comp.os.linux, as that NG doesn't
exist anymore (If your newsserver still provides it, tell the admin to
update his server)
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Problems whit Redhat 6.2 installation
Date: Mon, 04 Dec 2000 09:24:41 +0100
Reply-To: [EMAIL PROTECTED]
Luke wrote:
>
> I have a PC whit ASUS P3BF motherboard and a UltraDMA66 hard-disk connected
> to the board whit a UltraDMA PCI card. I'm not able to install Linux
> (Redhat 6.2): when I have to decide what kind of installation I want (GNOME,
> KDE, server or custom) I get a message that says: "An error has occurred. No
> valid devices were found on which to create new filesystems. Please check
> your hardware for the cause of this problem". None of the above installation
> will do the job. Could it be a problem that Linux can't recognize my
> UltraDMA card? Or maybe a mistake whit my previous cration of a Linux
> partition whit Partition Magic?
> Thanks in advance.
>
It's the first thing you thought, Linux doesn't support (all/any? of)
the UDMA 66 controllers right out of the box. Go to the RH site and try
to find a driver for your card. One other question, before you continue,
can your BIOS boot from this HDD after you've installed? If it is your
only HDD, it would be problematic to boot in that case, as you would
need a floppy to boot from.
Eric
------------------------------
From: "Crymund" <[EMAIL PROTECTED]>
Subject: No color on destop
Date: Mon, 4 Dec 2000 16:28:21 +0800
Dear all,
I am very new to Linux. I have a dedicated hard disk for installing Linux. I
have installed Red Hat 6.0. However, it's all black and white without color
on the desktop.
My PC's display adapter is NVidia Riva TNT2 Model 64, which is not listed
for card selection during the installation process. So I chose the Unlisted
Card option. Could this be the cause of the problem? I don't know. If it is,
how to solve it?
Again, I'm very very new to Linux. Please help. Thank you in advance.
------------------------------
From: [EMAIL PROTECTED] (Paul Colquhoun)
Subject: Re: Cannot mount all Linux partitions
Reply-To: <[EMAIL PROTECTED]>
Date: Mon, 04 Dec 2000 08:46:56 GMT
On Mon, 04 Dec 2000 04:21:35 GMT, Moonshiner <[EMAIL PROTECTED]> wrote:
|Greetings,
|
|I cannot mount the Linux partition on my first hd, /dev/hda.
|Following is my fstab file:
|/dev/hdb1 / ext2 defaults 1 1
|/dev/hdb6 swap swap defaults 0 0
|/dev/hdb4 /home ext2 defaults 1 2
|/dev/hdb2 /mandrake ext2 defaults 1 3
|/dev/hda3 /slack1 ext2 defaults 1 4
|/dev/hdb5 /redhat ext2 defaults 1 5
|/dev/hda1 /dosc vfat defaults 1 0
|/dev/hda5 /dosd vfat defaults 1 0
|/dev/hda6 /dose vfat defaults 1 0
|/dev/hdc /cdrom iso9660 user,noauto,ro 0 0
|/dev/fd0 /floppy vfat user,noauto 0 0
|none /proc proc defaults 0 0
|
|the output from fdisk for /dev/hda follows:
|Disk /dev/hda: 255 heads, 63 sectors, 790 cylinders
|Units = cylinders of 16065 * 512 bytes
|
|Device Boot Begin Start End Blocks Id System
|/dev/hda1 * 1 1 131 1052226 6 DOS 16-bit >=32M
|/dev/hda2 132 132 329 1052226 5 Extended
|/dev/hda3 * 330 330 560 1052226 83 Linux native
|/dev/hda4 * 561 561 790 1052226 83 Linux native
|/dev/hda5 132 132 191 1052226 6 DOS 16-bit >=32M
|/dev/hda6 192 192 329 1052226 6 DOS 16-bit >=32M
|
|
|when the system boots and trys to mount the partitions; all partitions
|except /dev/hda3 mount properly. (/dev/hda4 is blank at this time)
|
|here is the error message that is produced:
|mount: wrong fs type. bad option, bad superblock on /dev/hda3, or too
|many mounted file systems
I don't know exactly what the error message means, but I think there is a
problem because all the partitions are being reported as the same size
( 1052226 blocks ) no matter how big the start and end figures would
imply they are.
I think that using hda2 as an extended partition while also using hda3 & hda4
as normal (primary) partitions may be causing the problem.
|I can get to the partition if I boot with the floppy created when I
|loaded the new distro to /dev/hda3. I was able to format /dev/hda3
|using fdisk. I can get to my other hd (/dev/hdb) with no problems when
|I use lilo to start the distro sitting on /dev/hda3. Of course, the
|second hd is nothing but Linux so I have no problems with it.
|
|
|Could it be because I set the two Linux partitions on hda to bootable?
|
|I appreciate any help. Thanks in advance.
|
|(I tried to find some mention of this in previous posts but could not
|find anything similar. I also read all the HOW-TO's that seemed to be
|concerned with hard drives and LILO.)
|
|--
|Doug
|NASCAR Fan Go DW #66, MW #7
|Linux User because MS is a bother.
|
|
|Sent via Deja.com http://www.deja.com/
|Before you buy.
--
Reverend Paul Colquhoun, [EMAIL PROTECTED]
Universal Life Church http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
a leather-clad, New Zealand woman.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Kernel won't mount raid0
Date: Mon, 4 Dec 2000 09:33:06 +0100
In comp.os.linux.misc Stephan A Suerken <[EMAIL PROTECTED]> wrote:
> "Peter T. Breuer" <[EMAIL PROTECTED]> writes:
>> In comp.os.linux.misc Stephan A Suerken <[EMAIL PROTECTED]> wrote:
>> > /dev/md0 raid0,16k,0,802eab69 /dev/hda3 /dev/hdc2
>> > oo Kernel 2.2.18pre23 and Kernel 2.2.17pre6 (both tried), with the
>> > necessary RAID options (raid0, boot) enabled. Not as modules of course.
>> > image = /vmlinuz
>> > label = Orlok_Kernel
>> > root = /dev/md0
>> > read-only
>> > vga=4
>> > append="md=0,0,16,0,/dev/hda3,/dev/hdc2"
>>
>> waaaaaaaaaaah. Raid mirror root. Bad bad bad. Can you really do this?
> No! Good (tm) idea! ;) However, I never talked of mirror mode.
Oh, raid0 isn't mirror? What is it then? Oh, I see, raid1 is simple
mirroring and raid0 is striping. Sorry, I really only use linear mode
in earnest, so I forgot.
> There is support to boot linear and striped (raid0) arrays since
> 2.2.x. I can really do this. Or, that is, I should really ought to be
> able to be doing this ;).
Yes, I know. However, very few people are doing so, and I doubt if
anyone is doing so on a pre-release kernel. Go back and try it on some
other kernels.
>> > ---
>> > EXT2-fs error (device md(9,0)): ext2_check_descriptors: Block bitmap for group 64
>not
>> > in group (block 3670038)!
That block is very far upstream for a root device! Your root is at
least 60MB in size. Well, I suppose that's OK.
>> > EXT2-fs: group descriptors corrupted!
>> > ---
>>
>> Yes, well, not surprised. Go find a kernel that is guaranteed to do
>> raid mirror root,
> As said above. All kernels >=2.2.0. There is only the uncertainty of
> me being able to read or not.
And whether or not it's been messed up in the pre-release you are
looking at.
>> CONFIG_BLK_DEV_MD=y
>> CONFIG_MD_MIRRORING=y
>> CONFIG_MD_BOOT=y
> I don't need MD_MIRRORING (raid0 only), although I actually have it in
> the kernel. As for the rest, I have it all of course.
> Imho, there must be some slight difference in creating the /dev/md0
> device between doing it from userspace via raidtools, or directly in
Well, did you say you chunked at 16? 1KB chunks would be normal if the
device file system has 1KB blocksize.
> the kernel via boot options. The second imho most likely thing is that
> I give the wrong chunk size factor. Kernel's md.txt isn't really clear
> about that.
It shouldn't matter, provided your whole device size is a multiple, of
course.
Why are you striping root? I can't think of an advantage. Root is
essentially only read once for daemons and libs and stays in memory
thereafter, so you don't get a speed up. There would be an advantage
(robustness) in having a mirrored root.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.misc
Subject: Re: NFS setup question (insecure port??)
Date: Mon, 4 Dec 2000 09:37:27 +0100
In comp.os.linux.misc Jerry McBride <[EMAIL PROTECTED]> wrote:
> In article <8s1tun$9t0$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>>When trying to mount a directory exported from a Linux (Mandrake
>>7.0) box on an AIX 4.3.2 box, the Linux box is refusing
>>the connection and giving the console message: "nfsd: request
>>from insecure port (mac addr):64971"
Change the exports entry to "insecure" (default is "secure").
> Being a NFS newbie and learning it by setting up NFS across PLIP... I ran into
> a similar mount problem that I "fixed" by using the "no-root-squashing" in the
> exports file for the target resource.
No, this is a different (non-)problem. He is making nfs calls from a
non-priviliged port. His daemon has to be configured to let that
happen. Normally it only trusts calls made by root through low (i.e.
privileged) ports.
Peter
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: RedHat Linux 7.0: LILO hangs
Date: Mon, 04 Dec 2000 09:51:41 +0100
Reply-To: [EMAIL PROTECTED]
Doug Grosso wrote:
>
> On a system that has successfully handled past full installs (not upgrades)
> of RedHat Linux 6.0, 6.1, and 6.2, a fresh install of 7.0 always fails at
> boot time. The "L" in "LILO" appears and then the system hangs. I've
> reinstalled a few times, no other OS lives on this machine, and it does boot
> fine (albeit slowly) from a floppy. This is a fairly generic homebuilt
> Pentium 133, 64MB RAM, 8.5 GB Western Digital IDE drive, but nothing exotic
> attached. Thoughts?
Yes, there appears to be something wrong with the LILO that ships with
RH7.0
Eric
------------------------------
** 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 (and comp.os.linux.setup) via:
Internet: [EMAIL PROTECTED]
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
******************************