Linux-Setup Digest #295, Volume #21              Thu, 24 May 01 09:13:07 EDT

Contents:
  Re: Q: kernel compile question ("Duane Healing")
  Re: autoloader ("JP")
  Re: lilo hangs on boot (Nils Holland)
  tar question! ("apple")
  Re: Mounting New Filesystem (H.Bruijn)
  Re: Linux ISP in Massachusetts ("Glitch")
  Re: apache refuse ("Glitch")
  Re: tar question! ("JP")
  Re: tar question! (Noble Pepper)
  Re: Partion problems.... ("Peet Grobler")
  Re: Partion problems.... (Stanislaw Flatto)
  Resizing existing ext2 fs ("Peet Grobler")
  Re: Partion problems.... ("Christopher Fairbairn")
  Problem with installing linux 7.1 on Toshiba laptop (Forouzon)
  Re: can't compile qt-2.3.0 with -xft. Why? (Joerg Stadermann)
  Re: Partion problems.... ("Peet Grobler")
  Re: Partion problems.... ("Christopher Fairbairn")
  Re: Partion problems.... ("Christopher Fairbairn")
  Any X-Clients available , which can run from windows can contact the linux boxes? 
("v.nagasrinivas")
  Re: Partion problems.... (Svend Olaf Mikkelsen)
  Re: Resizing existing ext2 fs (Rod Smith)

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

From: "Duane Healing" <[EMAIL PROTECTED]>
Subject: Re: Q: kernel compile question
Crossposted-To: alt.os.linux
Date: Thu, 24 May 2001 08:31:40 GMT

You may have noticed (or not) that the second button is labelled "Loadable
Module Support". This is not an accident.

And yes, it should work for 2.4.4 as well.

--
-Duane
-DNAware SoftLabs

In a feverish moment of semi-lucidity, "Farrell Farahbod"
<[EMAIL PROTECTED]> flailed at the keyboard thusly:
> i set out the email i am pasteing below, but i have yet to get a
> responce, and i am hopeing that one of you could help.  thank you,
> farrell farahbod
> the email..............
> ---------------------------------------------  when im at xconfig during
> the compiling process, what catagory is it in, and will this work with
> kernel v2.4.4?
> thank you,
> farrell farahbod
> Peet Grobler wrote:
> 
>> re-compile your kernel, enable the setting "[ ] Set version
> information for
>> all modules"

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

From: "JP" <[EMAIL PROTECTED]>
Subject: Re: autoloader
Date: Thu, 24 May 2001 09:56:42 +0100

"Patrick Chan" <[EMAIL PROTECTED]> wrote in message
news:9ehucj$[EMAIL PROTECTED]...
> I have Compaq ML530 and a Compaq SCSI 20/40 GB autoloader.
> How can I use the autoloader?
>
> Do I need to use the driver for the autoloader?
> The CD accompanied with the autoloader does not contain driver for Linux.
> I also can't find the driver over the Internet.
>
> Or I can use it without a driver?
>

OH MY GOD...pick a NG!!!

Try this out... http://mtx.sourceforge.net/

Have a look at this as well... http://www.primenet.com/~vez/neti.html

J :-)



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

From: Nils Holland <[EMAIL PROTECTED]>
Subject: Re: lilo hangs on boot
Date: Thu, 24 May 2001 10:05:11 +0200

mike wrote:

> when i start my computer it hangs at "LI" which i believe is half of the
> word LILO... when i installed lilo it said i had exceeded the 1024 sector
> limit... i believe this is causing the problem... i am tiring to run win98
> on an 8 GB partition in front of linux... is there a way to accomplish
> this???

As far as I know, your first Linux partition must be located within the 
first 1024 sectors. LILO must be able to access it while the computer is 
still running in real mode! Probably you should make Linux run in front of 
Windows (so 1st partition = Linux, 2nd partition = Windows). That should 
fix it.

Additionally, if I'm not totally wrong again, there should be a Linux 
version which no longer depends on the 1024 sector limit. I think I read 
that somewhere.

Greetings
Nils

-- 
==========================================================
Nils Holland - [EMAIL PROTECTED]
NightCastle Productions - Linux in Tiddische, Germany
http://www.nightcastleproductions.org
"They asked me where this earthquake would begin,
 I offered to let them feel my pulse."
==========================================================

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

From: "apple" <[EMAIL PROTECTED]>
Subject: tar question!
Date: Thu, 24 May 2001 17:29:39 +0800

How can I use tar to incompress a file select from a .tar file??

If a test.tar include two file (a and b)
I wish incompress just only a ,how can I do???

thank you very much!



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

From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: Mounting New Filesystem
Date: 24 May 2001 09:41:30 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 24 May 2001 06:45:02 GMT, Richard Bowman allegedly wrote:
> Alright, I created a new partition using PartitionMagic. I then went back 
> into Linux and formatted it with mkfs to be a reiserfs like my main 
> partition. I then mounted it. Non-root users get read only access, no 
> matter what mount settings I try. Root can write to it fine. I can't seem 
> to find this problem ever addressed. Does anyone know what mount settings 
> to use or what else I am doing wrong?

simply change the permissions with chmod? 

-- 
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn                         website:   http://HermanBruijn.com
The Netherlands 

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

From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: Linux ISP in Massachusetts
Date: Thu, 24 May 2001 06:28:52 -0400

In article <9eei1v$mbd$[EMAIL PROTECTED]>, "Larry Steinberg"
<[EMAIL PROTECTED]> wrote:

> Probably not the right group to ask this in - anyway -
> 
> Can anyone recommend a Linux ISP in MA - where I can find a list of
> Linux ISP's?
> 
> TIA
> 

as long as an ISP suports PAP or CHAP it will work.  Don't expect too
much , if any, help from the tech support though but as long as they
don't do anything weird with their setup setting up kppp or something
similar to use PAP/CHAP will be sufficient to connect.

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

From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: apache refuse
Date: Thu, 24 May 2001 06:33:10 -0400

In article <9edo0t$bon$[EMAIL PROTECTED]>, "sang"
<[EMAIL PROTECTED]> wrote:

> <[EMAIL PROTECTED]> wrote in message
> news:9edd8e$266f8$[EMAIL PROTECTED]...
>> sang <[EMAIL PROTECTED]> wrote:
>> > When i use telnet 192.100.1.2, the linux server said:
>>
>> Try using
>>
>> telnet 192.100.1.2 80
>>
>> this way you "force" the port number (unless it will try to connect to
>> the "normal" telnet port).
>>
>> Davide
> 
> 
> It cannot do anything.
> 
> After i telnet 192.100.1.2 80
> ...
> <H1>Method Not Implemented</H1>
> to /index.html not supported.<P>
> Invalid method in request <P>
> ...
> 

well i don't know what ur original problem was or what you are trying to
accomplish but you are indeed able to make a connection to Apache. If you
weren't you woudln't even be getting that much feedback.

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

From: "JP" <[EMAIL PROTECTED]>
Subject: Re: tar question!
Date: Thu, 24 May 2001 12:04:00 +0100

"apple" <[EMAIL PROTECTED]> wrote in message
news:9eikas$2tfs$[EMAIL PROTECTED]...
> How can I use tar to incompress a file select from a .tar file??
>
> If a test.tar include two file (a and b)
> I wish incompress just only a ,how can I do???

It's been a while since I used tar like that but I think its something like;

tar xvf test.tar a

J



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

From: Noble Pepper <[EMAIL PROTECTED]>
Subject: Re: tar question!
Date: Thu, 24 May 2001 06:02:35 -0500
Reply-To: [EMAIL PROTECTED]

apple wrote:

> How can I use tar to incompress a file select from a .tar file??
> 
> If a test.tar include two file (a and b)
> I wish incompress just only a ,how can I do???
> 
> thank you very much!
> 
> 
> 
info tar

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

From: "Peet Grobler" <peetgr at absa.co.za>
Subject: Re: Partion problems....
Date: Thu, 24 May 2001 13:12:49 +0200

<SNIP>
>However instead of getting anything "normal" I get a whole lot of messages
>saying "dup2: bad file descriptor"....

fsck comes to mind...

<SNIP>
>
>Device        Boot    Start    End        Type
>/dev/hdb1        *       1        3            83
>/dev/hdb2                 4        4865      5
>/dev/hdb5                 4        4720      83
>/dev/hdb6                4721   4753      82
>/dev/hdb7                4754    4865     7
<SNIP>
>The "strange thing is /dev/hdb2" - I don't recall placing a FAT32 partion
on
>this drive, and if my knowledege is correct this output is indicating that
>it occupies the same space as /dev/hdb5...........

Yes, it does occupy the same space.

>
>Am I interpreting this correctly? If so any ideas on how I can go about to
>fix it, or am I on a totally incorrect path????
<SNIP>

>Is it normal for two partitions to have the same starting block address? If
>not can I safely remove the entry for /dev/hdb2, and if so how?

No, it shouldn't share the same space.

My solution would be -> Remove /dev/hdb2, as you said. Probably should make
a backup, though, just for the idea (and for having a recent backup).

Remove the partition. Restart in single mode. (linux single on lilo prompt)
fsck /dev/hdb1, /dev/hdb5.

IMO, that'd fix your problem.

>
>Thanks,
>Christopher Fairbairn.
>
>



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

From: Stanislaw Flatto <[EMAIL PROTECTED]>
Subject: Re: Partion problems....
Date: Thu, 24 May 2001 21:28:28 +1000



Christopher Fairbairn wrote:

> Hi,

> Device        Boot    Start    End        Type
> /dev/hdb1        *       1        3            83
> /dev/hdb2                 4        4865      5
> /dev/hdb5                 4        4720      83
> /dev/hdb6                4721   4753      82
> /dev/hdb7                4754    4865     7
>
> In my configuration
> /dev/hdb1 is mounted as /boot
> /dev/hdb5 is mounted as /
> /dev/hdb6 is my Linux Swap drive
> /dev/hdb7 is a NTFS formatted partion.
>
> This is a 40Gb harddrive.
>
> The "strange thing is /dev/hdb2"

No it is not. Type 5 (or Linux 85) is an extended partition which includes
logical partitions, in your case root and swap for Linux and type 7 (NTFS ?).


> Am I interpreting this correctly? If so any ideas on how I can go about to
> fix it, or am I on a totally incorrect path????

Fix what? It seems to be perfectly normal.

>
>
> As I said the data integrety seems to be ok, since entering rescue mode
> means I can navigate the filesystem and cat files etc like I normally would,
> and explore2fs under Windows is able to copy the contents of the filesystem
> onto another drive, without problems.... All the files still seem to have
> the proper contents etc....
>
> Any ideas on how I could go about attempting to fix this one?
>
> Is it normal for two partitions to have the same starting block address? If
> not can I safely remove the entry for /dev/hdb2, and if so how?

If you do it "correctly", the logical partitions in it will go pfuuut.
Usually the s/c/fdisk will warn you that this partition cannot be deleted as it
contains logical partitions. So before pressing the next key count to ten.

>
>
> Thanks,
> Christopher Fairbairn.

Have fun.

Stanislaw.
Slack user from Ulladulla.


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

From: "Peet Grobler" <peetgr at absa.co.za>
Subject: Resizing existing ext2 fs
Date: Thu, 24 May 2001 13:16:53 +0200

Hi.

I need to split my current /dev/sda1 into two partitions, /dev/sda1 and
/dev/sda2. Problem is - all the space is allocated (in the partition table)
to sda1. Is there a non-destructive way of doing this?

E.g ->
1) Resize /dev/sda1 fs to half its size
2) Edit the partition table to reflect above change
3) Allocate new partition in partition table
4) Create fs on /dev/sda2.

How possible is this, and what tools should I use? I don't mind downtime
(re-starting, etc), though I don't want to re-install the whole system from
backups.

Any advice?




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

From: "Christopher Fairbairn" <[EMAIL PROTECTED]>
Subject: Re: Partion problems....
Date: Thu, 24 May 2001 23:26:34 +1200

Hi,

> > Am I interpreting this correctly? If so any ideas on how I can go about
to
> > fix it, or am I on a totally incorrect path????
>
> Fix what? It seems to be perfectly normal.

So any ideas on what I should be checking if my Linux installation complains
from step one about "dup2: Bad file descriptor"........ and then requests me
to enter single user mode and attempt to fix the drive?

Once into single user mode I can access all my files etc, and there doesn't
seem to be any corruption that I can see....... but Linux doesn't want to
start running normally.......

Any ideas?

Thanks,
Christopher Fairbairn.



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

From: [EMAIL PROTECTED] (Forouzon)
Subject: Problem with installing linux 7.1 on Toshiba laptop
Date: 24 May 2001 04:37:32 -0700

I am trying to install Linux 7.1 on my Toshiba Satellite 4090XCDT. I
have got a 6GB IDE hard drive with Windows NT 4 already installed on
the first 4GB.

I start the installation of Linux from a PCMCIA boot floppy and the
program takes me through selecting keyboard, mouse, display adaptor,
monitor options finding all the correct settings itself . Then let me
partition the root for which I assign 2GB and the swap partiotion of
64M/128M (tried all sizes). Then I select the first sector boot
instead of MBR and select creating a boot floppy. Next, on selecting
applications I select the ones that I need - 1st I had about 1.5 GB
selected and then reduced it to about 700MB. It then tries to format
and copy files to hard drive when suddenly stops with the following
error:

"An error occured transfering the install image to your hard drive.
You are probably out of disk space"

Any ideas?

Thanks

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

From: Joerg Stadermann <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,alt.os.linux
Subject: Re: can't compile qt-2.3.0 with -xft. Why?
Date: Thu, 24 May 2001 13:45:24 +0200

On Wednesday 23 May 2001 19:51 J�rgen Diez wrote:

> "Nils O. Sel�sdal" <[EMAIL PROTECTED]> wrote in
> <[EMAIL PROTECTED]>:
> 
> here's a part of the logfile which shows the error output:
> 
> make uic
> make[5]: Entering directory `/usr/local/qt-2.3.0/tools/designer'
                                                ^^^^^^^^^^^^^^^^^
                                                 qt-2.3.0 installation 
> if [ -d uic ]; then cd uic ; make; fi
> make[6]: Entering directory `/usr/local/qt-2.3.0/tools/designer/uic'
> g++ -L/usr/local/qt/lib -Wl,-rpath,/usr/local/qt/lib   -o
> /usr/local/qt/bin/uic uic.o ../shared/widgetdatabase.o
> ../shared/domtool.o
> ../integration/kdevelop/kdewidgets.o   -lqutil -L../lib -lqt
> /usr/local/qt/lib/libqt.so: undefined reference to `FT_Init_FreeType'
^^^^^^^^^^^^^^^^^^^^^^^
old installation? symlink?

Are you sure libqt.so is really pointing to libqt.so.2.3.0?
Have you sett $QTDIR to /usr/local/qt-2.3.0?

HTH,

Joerg

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

From: "Peet Grobler" <peetgr at absa.co.za>
Subject: Re: Partion problems....
Date: Thu, 24 May 2001 14:05:08 +0200

Sorry for my earlier post. Boot single mode and do a fsck. Does this show up
anything? Note you have to add the force option (-f iirc). That'll make it
go through all the inodes, etc. and fix what's wrong.

Christopher Fairbairn wrote in message
<9eir9l$kp2$[EMAIL PROTECTED]>...
>Hi,
>
>> > Am I interpreting this correctly? If so any ideas on how I can go about
>to
>> > fix it, or am I on a totally incorrect path????
>>
>> Fix what? It seems to be perfectly normal.
>
>So any ideas on what I should be checking if my Linux installation
complains
>from step one about "dup2: Bad file descriptor"........ and then requests
me
>to enter single user mode and attempt to fix the drive?
>
>Once into single user mode I can access all my files etc, and there doesn't
>seem to be any corruption that I can see....... but Linux doesn't want to
>start running normally.......
>
>Any ideas?
>
>Thanks,
>Christopher Fairbairn.
>
>



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

From: "Christopher Fairbairn" <[EMAIL PROTECTED]>
Subject: Re: Partion problems....
Date: Fri, 25 May 2001 00:01:09 +1200

Hi,

> > Fix what? It seems to be perfectly normal.

Yeah... It actually makes sense now.... just looking at the numbers you see
that /dev/hdb2 actually incompases totally /dev/hdb[5..7]......

Again I'm stumped as to why my system has suddenly decided yesterday was the
day to piss me off, and decide to not boot.

I understand from a programming perspective what dup2 does... but I don't
understand why it should fail so early on in the boot process......

I'm getting deprived of the goodness of Linux, hopefully it won't last for
too much longer......

As I said earlier, once the kernel complains and spits me into a shell in an
attempt to rescue the system, I can read/execute anything I feel like, abit
the filesystem is mounted readonly.......

Running fschk.ext2 on /dev/hdb1 and /dev/hdb5 works without error (returns
correct details, doesn't complain, except that /dev/null is readonly).

Any more ideas?

Thanks,
Christopher Fairbairn.



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

From: "Christopher Fairbairn" <[EMAIL PROTECTED]>
Subject: Re: Partion problems....
Date: Fri, 25 May 2001 00:22:56 +1200

Hi,

"Peet Grobler" <peetgr at absa.co.za> wrote in message
news:3b0cf841$0$[EMAIL PROTECTED]...
> Sorry for my earlier post. Boot single mode and do a fsck. Does this show
up
> anything? Note you have to add the force option (-f iirc). That'll make it
> go through all the inodes, etc. and fix what's wrong.

Ok, since I'm using a "newer" LILO which has a graphical interface, I press
Ctrl-X (or something like that) to get to the text console version of
it.....

>From there I type at the boot prompt: linux single

After complaining with all the "dup2........." messages explained previosly
during the process of runing the init process. I get asked to enter the root
password to enter a shell to "rescue the filesystem".

>From the bash prompt provided I type:

fsck -f /dev/hdb1

and it complains about the file /proc/partitions not being in existance.
This is correct because mounting the /proc filesystem failed with a "dup2:
....." message as previously mentioned...... It's one of the first things
the init script usually does....

I then entered

mount -t proc proc /proc

to mount the proc filesystem under /proc....

re entering

fsck -f /dev/hdb1 followed by fsck -f /dev/hdb5

spits out a typical file system check process, which reports no problems
being found and that the file systems are not significantly fragmented etc.

This is starting to peeve me off :-) I can see and touch the files, it just
seems that I can't boot off this drive............ all this and I havn't
been playing around with anything that lowlevel or dangerous for quite some
time.....

It's strange that it was working perfectly last night, I shutdown the
machine, came to use it today and poof! It won't boot....

Any ideas?

Thanks,
Christopher Fairbairn.



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

From: [EMAIL PROTECTED] ("v.nagasrinivas")
Subject: Any X-Clients available , which can run from windows can contact the linux 
boxes?
Date: Thu, 24 May 2001 12:41:35 +0000 (UTC)

Hi,
        I am running SuSE6.3 linux, its there in the LAN with KDE.
But from windows , doing through telnet VT100 terminal emulation 
is bit painful ( not handy).
        Like recently i saw windows Terminal Emulators for 2000,
like that any good X-clients available , which can run 
from windows boxes, and should emulate the screen like KDE or
good graphical usage with mouse...

Can any one help me out with resources..

thanks in advance...
regards,
srinivas
-- 
v.naga srinivas
YVL SoftwareConsultancy,
B4,Q1,6th floor,
CyberTowers,Hi-Tec city,
Madhapur,Hyderabad-500033
Andhra Pradesh State
INDIA.
ph(office):091-040-3110200
visitme http://www.nagasrinivasv.com


-- 
Posted from ns.stph.net [196.12.32.2] 
via Mailgate.ORG Server - http://www.Mailgate.ORG

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

From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Subject: Re: Partion problems....
Date: Thu, 24 May 2001 12:45:25 GMT

"Christopher Fairbairn" <[EMAIL PROTECTED]> wrote:

>I have two harddrives, what is usually /dev/hda has Windows and what is
>usually /dev/hdb has Linux related stuff.

>/dev/hdb2                 4        4865      5
>/dev/hdb5                 4        4720      83
>/dev/hdb6                4721   4753      82
>/dev/hdb7                4754    4865     7

When DOS/Windows is present, extended partitions ending 0 based
cylinder 1024 or later must be type 0F or 85 (Linux extended), not 05.

And since we do not know hda:

When DOS/Windows is present and the last logical partition in any
extended partition is not a FAT partition, all extended partitions
known by Windows must have the same type.

If two primary FAT partitions are on one disk, the system should not
contain any extended partition known by Windows, in which the last
logical partition is not a FAT partition.


It is possible that DOS/Windows has made some damage to hdb, but of
cause the problem can have other causes.
-- 
Svend Olaf

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

From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Resizing existing ext2 fs
Date: Thu, 24 May 2001 13:02:32 -0000
Reply-To: [EMAIL PROTECTED]

[Posted and mailed]

In article <3b0cecf4$0$[EMAIL PROTECTED]>,
        "Peet Grobler" <peetgr at absa.co.za> writes:
> Hi.
> 
> I need to split my current /dev/sda1 into two partitions, /dev/sda1 and
> /dev/sda2. Problem is - all the space is allocated (in the partition table)
> to sda1. Is there a non-destructive way of doing this?

Yes. The free resize2fs and the commercial PartitionMagic
(http://www.powerquest.com) will do this. PartitionMagic has a much
better user interface. (The last I checked, with resize2fs you've got to
resize the filesystem and then manually edit the partition size with
fdisk to match the new filesystem size, which has the potential to cause
problems if you enter the wrong size.)

Before doing this, make a complete backup. If there's a power failure or
some other serious problem, dynamic partition resizers like this can
cause you to lose all data on the partition.

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

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


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