Linux-Setup Digest #164, Volume #21               Thu, 3 May 01 23:13:10 EDT

Contents:
  Re: Redhat7-1 on 2nd physical drive & SystemCommander 2000 ("Alex")
  Re: Mail and news client (Simon Lemieux)
  Re: Which Linux to Get for Win2k? (Bob Tennent)
  Re: Which Linux to Get for Win2k? (Michael Meissner)
  Re: Which Linux to Get for Win2k? (John Hasler)
  Re: I can't to stop httpd !!!! ("Eric Dennis")
  Re: Which Linux to Get for Win2k? (Rod Smith)
  xgamma tells me Xserver has VidModeExtension too old. ([EMAIL PROTECTED])
  RH7.1 over RH7.0 (Steve Connet)
  RH7.1 and ostringstream (Steve Connet)

----------------------------------------------------------------------------

From: "Alex" <[EMAIL PROTECTED]>
Subject: Re: Redhat7-1 on 2nd physical drive & SystemCommander 2000
Date: Fri, 4 May 2001 11:25:56 +1000

Thanks Paul, found a great article on copying the linux boot information to
floppy and putting it on the 1st HDD so that the relevant boot managers can
manage it.
I'll post you the result after I've done it.

cheers.

Paul Lew wrote in message ...
>On Thu, 3 May 2001 10:29:49 +1000, Alex <[EMAIL PROTECTED]> wrote:
>> After another long night of re-installing, the situation is now baffling
me
>> more than ever.
>>
>> as RH7-1 install program recommended, I have now created a small primary
>> linux partition at the start of the 1st physical drive (7.8Meg).  On
>> completion of the install, I get the following messages
>>
>> "device 0X0302 exceeds 1024 cyclinder limit"
>> - but I made deliberate attempt to create the partition at the start of
the
>> drive, so this should not happen ?
>>
>> "Fatal: sector 45431820 too large for linear mode (try 'lba32' instead)"
>> - but I deliberately unchecked the linear format during the lilo
>> configuration screen.   ??
>>
>> FYI, I used partition magic 6, to resize existing Win2K partition so that
>> the /boot partition resides in front of that.
>> The current partition setup looks like this... which is also how
partition
>> magic graphically shows it.
>> [/boot(7.8Meg)]  [/SWAP(150Meg)]  [Win2K (20G)primary]
[WinME(25G)primary]
>> [/ linux root (5Gig) primary] [FAT32 logical (1G)]
>>
>> during the install process, Druid displays the followig
>> hda0 to 3 .... contains the various win OSes.
>> hda4   ..... which I mounted as /boot
>> hda5   ....  mounted as the swap drive
>>
>> hdb1 ..... mounted as "/"  (note this is classified as a primary
partition
>> on 2nd physical drive).
>> hdb7 .... existing FAT32 partition at the end of the 2nd physical drive
...
>> a data partition.
>>
>> How do I clarify or check the "/boot" partition is within the 1024
cyclinder
>> restriction.  If not what corrective action can I take without a complete
>> overhaul of the partitions that I currently have in place ??
>>
>> And to answer your question Paul ... please look below.
>>
>> Paul Lew wrote in message ...
>>>On Wed, 2 May 2001 11:37:46 +1000, Alex <[EMAIL PROTECTED]> wrote:
>>>> Foremost,
>>>> thank you Anna and Paul Lew for your previous feedback.
>>>>
>>>> After consulting the various help /doc files within SC2000, and all
other
>>>> relevant docs, none seem to relate to my unique set up.    Most
documents
>>>> give me instruction on loading linux as a second OS on the first
PHYSICAL
>>>> Hard disk drive.
>>>> I need to hear back from someone who has been using system commander
with
>>>> linux on a primary second physical HDD.
>>>
>>>Do you need linux as the "Primary" driver on the *secondary* ide
>> controller?
>>>My setup has linux on the 2nd physical drive as the *slave* on the ide
>>>controller; dos & win98se is on the 1st physical drive and lilo is *not*
>>>in the mbr.
>> ***** Something I thought about as well.  I did convert my previous setup
to
>> a logical partition and installed as per normal, allowing the lilo config
to
>> look at the first partition on the 2nd physical drive.  It too came back
>> with my earlier message that said something about the partition error not
>> being on the 1st physical drive.
>> Please tell me, your logical partition on the 2nd physical drive is
running
>> off as an extended partition from a "parent" FAT32 structure or a native
>> linux primary partition.
>
>I think it is the interpretation of the msg as I also get a "warning" that
>the boot partition is not on the 1st drive; this happens when I compile
>the kernel and after lilo is installed in my /boot directory of the "/"
>(root) partition.  My fdisk for my winnt4 & linux box shows the following:
>
>   Device Boot    Start       End    Blocks   Id  System
>   /dev/hdb1             1         9     72261   82  Linux swap
>   /dev/hdb2            10       264   2048287+  83  Linux
>   /dev/hdb3           265      1412   9221310   83  Linux
>   /dev/hdb4          1413      1970   4482135    f  Win95 Ext'd (LBA)
>   /dev/hdb5          1413      1795   3076416   83  Linux
>   /dev/hdb6          1796      1970   1405656   83  Linux
>
>/dev/hda is all win nt4.
>
>The partitions are swap, /, /usr, /usr/local, /home; the "extended
>partition" was created for /usr/local & /home because one cannot create
>more than 4 primary partitions and the swap, / & /usr are primary
partitions
>and the partitioning is all done with fdisk (no idea why linux would
>label the "extended" partition as win95 format.
>
>The other machine with dos, win98se & linux and system commander would
>show nearly the same with fdisk but the partitions sizes would be
>much smaller (smaller drives).
>>
>>
>>>> My setup is as follow :  (SC2000 detects the new linux partition on
>> startup,
>>>> but will not boot to linux ?)
>>>>
>>>> first IDE channel (45GB HDD):      hda0 (NTFS:W2K:primary) ; hda1
(FAT32:
>>>> WinME:primary)
>>>> second IDE channel (6GB HDD):  Primary Linux = hda0(/boot)  ;
hda1(/SWAP)
>> ;
>>>> hda2(/)  ;  hda5(FAT32:extended logical)
>>>>
>>>> The combined two primary partitions : W2K and Fat32 is working
perfectly
>>>> with system commander 2000. So I wish not to change or add any
partitions
>> to
>>>> the first physical drive if possible.
>>>> My research have shown that LILO must be installed in order to boot
from
>> the
>>>> hard drive (as far as RH7-1 is concerned).
>>>> So, bearing that in mind the install process reported an error that
/boot
>> is
>>>> not residing on the first 1024 "section" of the 1st physical drive.
What
>>>> this means is that I now have to resize the W2K to accommodate a small
>>>> "/boot" partition for linux to startup.
>>>
>>>The "later" lilo (2.6+) is supposed to handle the gt 1024 cyl problem if
>>>the bios is capable of lba (or auto, sometimes).
>> *****  Red Hat 7.1 which I am using must have the latest version of Lilo.
>> Can you elaborate on the bios "factor" ?
>> My machine is only 1 month old, so it must have the latest bios with the
P4
>> intel architecture.
>>
>>>>
>>>> It appears that it is "impossible" to boot up an OS from a second
>> physical
>>>> drive not containing the MBR ????
>>>
>>>I didn't change the mbr of my slave 2nd physical drive.
>> ** my understanding is that the MBR on the 2nd physical drive has no
impact
>> what so ever on the system, because with two IDE HDD, only the 1st
physical
>> drive's MBR is looked into by the bios.  Correct me if I'm wrong ?
>>
>>
>>>> Is this a bios limitation ?   Does anyone have a work around, such that
I
>> do
>>>> not have to put the "/boot" on the 1st hard drive?
>>>
>>>The only time I had to place a "boot" on the 1st hardrive was when using
>>>solaris 7 as solaris would not configure its boot/root stuff on the 2nd
>>>drive.
>>>
>>>> I'm now entertaining the idea of making the linux partitons, logical
>> instead
>>>> of primary ... will this lead to my desired boot-up from SC2000 (can I
>> make
>>>> a logical partition on the second physical drive? )   ??
>>>>
>>>> I'd like to hear back from someone who has taken this path before.
i.e.
>>>> installing RH7 on a primary partition located on the second IDE
channel,
>> so
>>>> that I can plan my next action plan.
>>>> Thanks all.
>>>>
>>
>>>As a guest, your problem may be due to using the 2nd drive on the
>>>2nd ide channel....
>> I agree Paul, but I cannot see any logical conclusion to why I am getting
>> the various error messages keeping in mind some basic understanding ....
4
>> primary partitions is allowed on the system ... Linux is suppose to be
>> bootable from any logical/primary partition on any physical HDD .... the
>> "mutually exclusive" primary partitions of Win2K and WinMe which works
>> seamlessly together, can't see why Linux cannot be the 3rd active primary
>> partition.
>>
>> Can anyone else see a fundamental concept that I am overlooking ?
(Please
>> look in detail on my system setup).
>>
>> Thanks to all the generous linux users ... for sharing your thoughts and
ide
>> as !
>>
>>
>Still think the problem is having the 2nd drive on the 2nd ide channel.
>Did you or can you also tell sc that the drive is on the 2nd ide channel
>as part of the parameters; e.g. with scsi, if one has 2 scsi adapters
>and each containing 1 harddrive, one needs to tell whatever that the
>2nd harddrive is residing on the 2nd scsi adapter since both drives have
>an address id of "0".  The 1st adapter would be identified as "0" and the
>2nd adapter identified as "1".
>
>The 2 ide channels are like having 2 ide adapters as each channel has its
>own IRQ (usually "14" for the primary and "15" for the secondary).  Without
>telling system commander to switch the IRQ from 14 to 15 to look for the
>2nd drive, I don't think SC would ever find the 2nd "boot" partition or
>something like that.



------------------------------

From: Simon Lemieux <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Mail and news client
Date: Fri, 04 May 2001 02:06:58 GMT

> The '%d' refers to the starting line number, and '%s' represents the
> filename, both of which are supplied by SLRN. The -t option instructs
> Nano to save a changed buffer without prompting for a filename.
> It's just a matter of finding the equivalent Emacs options, but I
> shouldn't think you'll have too many problems.

Thanks, I'll check this out to make emacs my editor!

Thanks,
  Simon

-- 
+--------------------------------+---------------------------+
| Simon Lemieux                  | http://666Mhz.myip.org/   |
| Email : [EMAIL PROTECTED] | Povray and OpenGL Gallery |
+--------------------------------+---------------------------+

------------------------------

From: [EMAIL PROTECTED] (Bob Tennent)
Crossposted-To: alt.os.linux
Subject: Re: Which Linux to Get for Win2k?
Date: 4 May 2001 02:08:57 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 3 May 2001 20:57:29 -0400, Brett wrote:
 >
 >Buying a removable disk seems a good idea.  I'll look into it.  I assume
 >most distributions (including Redhat) will be able to work with removable
 >media?

CDs and floppies yes; but removable hard drives are another matter, not because
of the operating system but because of the BIOS. AFAIK, hot swapping an IDE
drive isn't possible.

Bob T.

------------------------------

Crossposted-To: alt.os.linux
Subject: Re: Which Linux to Get for Win2k?
From: Michael Meissner <[EMAIL PROTECTED]>
Date: 03 May 2001 22:12:23 -0400

"Brett" <[EMAIL PROTECTED]> writes:

> Thanks, Michael (and Bi0Thic). I'll give VMWare a look. Too bad it's not
> free.

You are welcome.

> Buying a removable disk seems a good idea.  I'll look into it.  I assume
> most distributions (including Redhat) will be able to work with removable
> media?

Note, what you are buying is not a removable disk, but a standard disk in a
removable chasis (ie, not a JAZ, etc.).

As far as Linux, Windows, etc. are concerned, a hard drive in a removable
chasis is exactly like a hard drive in the case, there is no way it can tell.
I will note that the cheaper chasis are prone to having their fans start making
whining noises from time to time.  I find a good slap to the case usually shuts
them up (by my wife is less thrilled, and I probably will take the disk in a
chasis on the family computer out of it at some time in the future -- I have a
Windows NT disk that I substitute for it when I need to test Windows
compilers).  You can even omit the chasis all together if you are willing to
open the case and physically switch the disks, but that can get kind of old
quickly.  You see the chasis quite a lot at computer shows.

I will note one word of caution, be careful about switching the disks between
computers if you have computers of different flavors (P-II, P-III, Athalon, SMP
vs. non-SMP, etc.), and multiple chasis in different computers.  Newer Linux
distributions tend to put kernels optimized for your hardware as the boot OS,
and a P-III kernel might not boot on a 486 for instance.  IIRC, NT also
installs different kernels if you on a SMP box than a plain one (dunno about
Windows 2k).  You can build/install generic kernels, but you do lose some
performance.

-- 
Michael Meissner, Red Hat, Inc.  (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:     [EMAIL PROTECTED]           phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED]   fax:   +1 978-692-4482

------------------------------

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Which Linux to Get for Win2k?
Date: Fri, 4 May 2001 01:37:29 GMT

Brett writes:
> My new IT guy is actually pretty smart (a rarity!) and he hates Linux.

A contradiction.

> I'll see what I can do without getting caught -- this is my first *paying*
> job, man!  I'm just dying to try out Linux.

Don't do it on the job.  Scrounge an old P100 or something and try Linux
out at home.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI

------------------------------

From: "Eric Dennis" <[EMAIL PROTECTED]>
Subject: Re: I can't to stop httpd !!!!
Crossposted-To: 
alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.redhat,linux.redhat.misc
Date: Fri, 04 May 2001 02:37:49 GMT

In article <[EMAIL PROTECTED]>, "Rob Burghdoff"
<[EMAIL PROTECTED]> wrote:

> "Ken" <[EMAIL PROTECTED]> wrote in message
> news:3af1b686$[EMAIL PROTECTED]...
>> I have a problem is that I can't stop my httpd service, but I can start
> the
>> service.
>>
>> When I try to type in "/etc/rc.d/init.d/httpd stop" or
>> /etc/rc.d/init.d/httpd restart
>> the error message is
>> "httpd stop  [fail]  no such pid",
>> "httpd start  [ok]
>>  I have been tried to kill the PID manully, but it doesn't work. I
>>  still
>> can't use my web server. how can I do ? Please help
>>
> 
> Apache?  Try   "apachectl stop"  "apachectl start" or "apachectl
> restart"

Or, for a surefire way, try:

# kill -9 `ps -C httpd | awk '{ print $1 }'`

This is definitely not the cleanest, and you should definitely try to use
the init script or apachectl first.

Eric Dennis
http://www.ericdennis.com

------------------------------

From: [EMAIL PROTECTED] (Rod Smith)
Crossposted-To: alt.os.linux
Subject: Re: Which Linux to Get for Win2k?
Date: Fri, 04 May 2001 02:40:51 -0000
Reply-To: [EMAIL PROTECTED]

[Posted and mailed]

In article <Q8lI6.7$[EMAIL PROTECTED]>,
        "Brett" <[EMAIL PROTECTED]> writes:
> 
> I hope someone can offer a straight answer to my question: Which Linux
> distrubition should I get so I can run it from within Windows 2000
> Professional?
...
> ideally I'd like to install
> Linux as a Win2k application if possible. I.e., just launch Linux like the
> way one launches Word or Excel.

Linux is an OS that *REPLACES* Windows. That's not to say that they
can't both be installed on the hard disk, but they don't run
simultaneously, at least not without help. That help comes in the form
of something like VMware (http://www.vmware.com) or the upcoming
Virtual PC (http://preview.connectix.com/vpc4w_wp_01.html). These are
programs that emulate a computer from within Windows. As such, you'll
take a performance hit, and some stuff just plain won't work (access to
some hardware, for instance). Both of these are commercial products,
too, although I believe there's at least one open source project
underway to accomplish the same goals (I have no name or URL offhand,
though).

> If this is not feasible, at the least I'd like to install Linux onto the
> FAT32 drive without creating any partitions.  Is this possible?

This is possible with some distributions, but I generally advise
against it. Linux won't perform as well on FAT as on its own native
filesystem, ext2fs. The usual way to do a normal Linux installation in
a situation like yours is to back up, repartition, and restore the
Windows setup, and then install Linux in the space you've created. If
you want to save a bit of time, you could use a program like FIPS (for
FAT) or PartitionMagic (commercial, for FAT or NTFS) to resize a
partition to make room for Linux. You should still back up before
mucking with the drive, though. Alternatively, you could add a hard
disk for Linux.

> Which distribution should I try, then?

For my general comments on this, see my Web page on the subject:

http://www.rodsbooks.com/distribs/

I don't address your specific questions there, though.

> So -- don't laugh, please -- I'd like to play with Linux while preserving
> everything in Win2k. I'm not a risk taker at this point, because I can't
> afford to get fired from work for losing important files. My thinking is if
> I like Linux, I'll get a new computer and install both win2k and linux on
> it.

To be blunt, if you're just experimenting with it and it's not part of
your job to do this experimenting, you have no business doing it on your
employer's computer. Do it on your own system. If you find Linux
compelling, you might be able to lobby your employer to let you use it
at work, but only after you've learned enough about it to make a
coherent argument in its favor. Some employers get very upset if they
learn you've been trying unauthorized software on company time and
hardware, and trying an unauthorized OS could conceivably get you fired.
Even if you're unhappy in your current job and wouldn't mind leaving,
there are better ways to do it than getting yourself fired.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

------------------------------

From: [EMAIL PROTECTED]
Subject: xgamma tells me Xserver has VidModeExtension too old.
Date: Fri, 04 May 2001 02:57:31 GMT

I can't seem to run xgamma because of this error:

Xserver is running an old XFree86-VidModeExtension version (0.8)
Minimum required version is 2.0

>From what I heard, I have the latest XFree86:

XFree86-4.0.3-5 (from rpm).

I am using RedHat Linux 7.1. Any ideas? Thanks! :)


-- 
"Don't stop to stomp ants when the elephants are stampeding." --unknown
--
  If you are replying to Ant's news post by e-mail, then please kindly
       remove ANT in the e-mail addresses listed below. Note the CaSe!
======================================================================
  /\___/\
 / /\ /\ \         E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED],
| |.   .| |                            or [EMAIL PROTECTED]
   \ _ /                     The Ant Farm: http://antfarm.home.dhs.org
    ( )   ICQ UIN: 2223658. Resume: http://apu.edu/~philpi/resume.html

------------------------------

Subject: RH7.1 over RH7.0
From: Steve Connet <[EMAIL PROTECTED]>
Date: Fri, 04 May 2001 03:00:29 GMT

I currently have RH7.0 installed on a computer in my closet which is
hooked to my cable modem. I use Windows2K and Exceed to log on to my
Linux box to do X stuff. And I SSH into it from work to check my
email. I'm currently using ipchains for a firewall.

I just downloaded the 7.1 ISO and burned it to CD. To install it I'll
have to hook up a monitor to the linux box in the closet.

Was wondering do I first remove 7.0? Should I reparition the HD? Or is
it easiest to simply install 7.1 on top of 7.0? And if I do it that
way, are there pitfalls with other apps that I'll need to upgrade or
recompile?

In my experience this is usually an all day, if not all weekend
process. I know I have to convert my ipchains scripts to iptables. So
that'll take some time figuring out how to do.

Thanks for any advice you may have.

-- 
Steve Connet            Remove USENET to reply via email
[EMAIL PROTECTED]

------------------------------

Subject: RH7.1 and ostringstream
From: Steve Connet <[EMAIL PROTECTED]>
Date: Fri, 04 May 2001 03:07:12 GMT

Does RH7.1 come with the latest Standard C++ Library so that I can use
ostringstream and istringstream classes? Do you know what compiler it
comes with? Is there still a problem with the g++ 2.96 compiler? Do
you still need a special (kgcc) compiler to compile the kernel in
RH7.1?

-- 
Steve Connet            Remove USENET to reply via email
[EMAIL PROTECTED]

------------------------------


** 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
******************************

Reply via email to