Linux-Misc Digest #692, Volume #26                Tue, 2 Jan 01 19:13:02 EST

Contents:
  Re: Compaq Presario 1400, 14XL340 (Marble Head)
  Re: glibc2.2 and linuxthreads (Silviu Minut)
  Re: IP Firewall, MASQ??????? (Tr��tm�n)
  Re: suid root not working on RH7 2.2.16-22 ? ("Peter T. Breuer")
  Re: kernel 2.2.17 build errors ("Peter T. Breuer")
  Re: Problem running JDK1.3 on Linux2.2.15 (MJ Ray)
  Re: Strange passwd ("Aaron R. Kulkis")
  Re: FTP connect does not work in RH6.2??? (GOBACO)
  GetHostByName fails on my RH6.2... (Bo Berglund)
  Re: telnet screen color (Thomas Dickey)
  Re: Strange passwd (JM)
  Using Nvidia GeForce 2 with XFree86 4.0.1 (R.Joseph)
  Re: samba password issue. ("Darren S Paxton")
  Re: DVD software for Linux yet? (Grant Edwards)
  Re: GetHostByName fails on my RH6.2... (David)
  Re: A few newbie questions (Silviu Minut)

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

From: [EMAIL PROTECTED] (Marble Head)
Subject: Re: Compaq Presario 1400, 14XL340
Date: 2 Jan 2001 21:45:30 GMT

[EMAIL PROTECTED] wrote in <[EMAIL PROTECTED]>:

>Marble Head wrote:
>
>> Has anybody had any luck installing any Linux distribution on a Compaq
>> Presario 1400, 14XL340?
>>
>> I am about to attempt a SuSE 7.0 installation.  Any help or advice
>> welcome. Thank you.
>
>I haven't tried it yet myself. But, from reading, I think the Cyberblade
>graphics card is going to be the problem.
>
>The graphics memory, on the Presario is 'borrowed' from system RAM. (8mb
>I believe). without some very tricky stuff in the X side of things, I
>don't expect it to work.
>
>But that never stopped me from tryin....   ;)
>
>I'm interested in what you find out.
>
>As for myself, I'm waiting until I get my full set of restore disks from
>Compaq before I try.
>
>The restore disk that came with the laptop is only boot disk that use
>sthe image on a reserved partition on the harddive.
>
>Compaq says; "If you delete this partition, your provided recovery disk
>will not work."
>
>I requested a two CD set of full recovery disks from compaq and they
>said no problem after I promised my firstborn to them.
>
>I'm going to wait...
>

Hah!
It sounds like you're smarter than I am.  :-)  You see, I *first* 
partitioned and formatted my hard drive, and *then* tried the restore CD.  
:-) 
They fedexed me the 2-cd set with no trouble, and now my WinME works again.
...
So far, I haven't found anything out, except this:
- Conexant is a new name for Rockwell.  (sic.)     Oh well.  Bad luck for 
us.
- The modem is Conexant.  Result: no modem.
- The ethernet adapter is Conexant.  Result: no ethernet.
- The floppy connects through USB, and the USB driver fails.  Result: no 
floppy.
- The video is like you described.  Result: I cross my fingers and hope 
you're better than I am.
- I don't know why, but the sound doesn't work either.

...
All in all, my conclusion is:  If you want to run Linux, don't use a 
Presario 1400.

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

From: Silviu Minut <[EMAIL PROTECTED]>
Subject: Re: glibc2.2 and linuxthreads
Date: Tue, 02 Jan 2001 16:51:59 -0500

Install the rpm. On RH7.0 I have glibc-2.2-9 which comes with
/lib/libpthread-0.9.so. If you insist on compiling glibc, I guess you
need a newer version of pthreads.

Marian Heddesheimer wrote:

> Hello,
>
> I am trying to compile the glibc2.2 from the sources and after running
> ./configure i get a message that i need the linuxthreads add-on. I was
> searching on the fsf.org homepage but did not find this add-on.
>
> I found a source somewhere for linuxthreads 0.71 but when i run make
> it stops with an error message:
>
> pthread.c:158: structure has no member named `__sigaction_handler'
> pthread.c:163: structure has no member named `__sigaction_handler'
>
> maybe someone her can help.
>
> Marian
>
> -------------------------------------------------------------------
> mailto:[EMAIL PROTECTED]            programmer and book author
> http://www.heddesheimer.de               online-training
> -------------------------------------------------------------------


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

From: mik�@tr��tm�n.org (Tr��tm�n)
Crossposted-To: comp.os.linux.networking,comp.os.linux.security
Subject: Re: IP Firewall, MASQ???????
Date: 2 Jan 2001 16:56:25 -0500

[EMAIL PROTECTED] (Marble Head) graced us with the following:

>If you're using ipchains, you don't need to use the proxy.  (that is,
>you don't need to use squid.)  If I were you (I assume you're the only
>user, and there are only 2 computers) I would forget about routing,
>proxying, or whatever.  I'd simply use masquerading through ipchains,
>and nothing else. 

Ahh, but squid does much more than just proxy.  There is obviously the 
advantage of transparent caching, and my favorite : advertisement 
elimination.  I haven't seen a web ad in months.

<snip>

>One more comment:  If you upgrade to the 2.4 kernel sometime in the
>future, ipchains is replaced with a new mechanism.  You can bet that
>ipchains will still work, but the newer tool is significantly better.  I
>don't know anything more about the newer one.

iptables, and apparently can be configured as a stateful firewall.  No more 
high end open ports to run ftp on localhost.  WooHoo.

-- 
___________________________________________

    Mike Tr��tm�n
         http://www.troutman.org

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: suid root not working on RH7 2.2.16-22 ?
Date: Tue, 2 Jan 2001 23:03:13 +0100

M. Buchenrieder <[EMAIL PROTECTED]> wrote:
[of suid scripts]
> isn't the only solution; sudo or even su in a sshd session would

No, they wouldn't.

> do it as well.

For example, in order to do backups, I run a client on the archiving
machine. It asks the servers (on the account machines) for the files of
each user in turn. In order to keep secrecy, the files travel across
over an ssh conduit. To avoid root login, an ordinary account
("backup") runs the conduit and does the authentication. But now
we have the problem: "backup" must have access permissions to every
file on the account machines. The solution is a suid root application
to which only the user "backup" has access rights. It's a script.

>>What redhat
>>have done is make that mechanism less easy to use.  I had to rewrite my
>>suid interpreter to work around their attempted block, after figuring it
>>out.  

> Argh. Yes, that's nasty. I'd think they'd at least tell that in the
> supplied documentation in the new release. Obviously, they've gotten
> into similar working habits as MS.

Their market is the same market as MS. They have to pose as being "more
secure" because their market is what it is. Experienced admins can make
a box secure without "help" from redhat. Or not. But they're not likely
to make more mistakes than redhat.

Peter

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: kernel 2.2.17 build errors
Date: Tue, 2 Jan 2001 23:05:59 +0100

In comp.os.linux.misc [EMAIL PROTECTED] wrote:
> Peter T. Breuer <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
>> In comp.os.linux.misc Samuel Irlapati <[EMAIL PROTECTED]> wrote:
>> > as86 -0 -a -o bbootsect.o bbootsect.s
>> > make[1]: as86: Command not found
>>
>> You don't have as86 installed. Install it. It probably comes in a
>> package called bin86.
>>
>> Would you mind telling me why that was not obvious?

> Perhaps our friend is not accustomed to compiling on an intel platform .

I meant "since the error message is that you don't have as86, why don't
you make the obvious inference from that message and install it ...".
I.e., why does he ignore an error mesage telling him precisely what is
wrong!

Peter

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

From: MJ Ray <[EMAIL PROTECTED]>
Crossposted-To: alt.uu.comp.os.linux.questions,comp.os.linux.development.apps
Subject: Re: Problem running JDK1.3 on Linux2.2.15
Date: 02 Jan 2001 21:52:00 +0000

sanjay magal <[EMAIL PROTECTED]> writes:

> %java MonitorServer
> /home/magal/jdk1.3/bin/i386/native_threads/java: error in loading shared
> libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No
> such
> file or directory
> 
> I cannot figure out what's going on. Am i missing something obvious or
> is there something specific that needs to be configured.
> Has anybody run into this problem before? Any comments,
> suggestions would be appreciated.

I don't know if this is the cause of your particular problem, but I
believe the wrapper scripts for the JDK contain the paths of some
common utilities (eg cut) which aren't correct for all Linux systems.
You don't say which distribution you're installing on, but it might be
worth looking at their site or searching a little to see if anyone's
seen this before on your distribution.
-- 
MJR
Member of the Anglian Linux User Group, UK
Meets every month or so and OPN #alug on Mondays at 2000 UK
http://www.anglian.lug.org.uk/

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

From: "Aaron R. Kulkis" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security,comp.os.linux.advocacy,comp.os.linux.setup
Subject: Re: Strange passwd
Date: Tue, 02 Jan 2001 17:34:06 -0500

Martin wrote:
> 
> I installed 2 Turbolinux at 2 separate machine A and B. I want to make
> some users who do not need a password when they are login.
> 
> -------------------------------------------------------------------------
> 
> In Machine A, I tried as following:
> 
> >passwd -d user123
> >passed -S user123
> Changing password for user user123
> Empty password.
> 
> (and I can login this user without a password.)
> 
> -------------------------------------------------------------------------
> 
> In Machine B, I got something different as following:
> 
> >passwd -d user123
> >passed -S user123
> Changing password for user user123
> No Password set.
> 
> (and I CAN'T login with this user without a password.)
> 
> -------------------------------------------------------------------------
> 
> Why this happened? The two machines are have same linux version and same
> config, and I tried to delete the problem user in machine B, and
> recreate again, but problem still exists.
> Thanks for any helps!
> 
> Martin.

simple remove all characters from the password field of the /etc/passwd
(or /etc/shadow ) files for the usernames in question.

for mor info see
man passwd
man 5 passwd
man shadow


-- 
Aaron R. Kulkis
Unix Systems Engineer
DNRC Minister of all I survey
ICQ # 3056642


H: "Having found not one single carbon monoxide leak on the entire
    premises, it is my belief, and Willard concurs, that the reason
    you folks feel listless and disoriented is simply because
    you are lazy, stupid people"

I: Loren Petrich's 2-week stubborn refusal to respond to the
   challenge to describe even one philosophical difference
   between himself and the communists demonstrates that, in fact,
   Loren Petrich is a COMMUNIST ***hole

J: Other knee_jerk reactionaries: billh, david casey, redc1c4,
   The retarded sisters: Raunchy (rauni) and Anencephielle (Enielle),
   also known as old hags who've hit the wall....

A:  The wise man is mocked by fools.

B: Jet Silverman plays the fool and spews out nonsense as a
   method of sidetracking discussions which are headed in a
   direction that she doesn't like.
 
C: Jet Silverman claims to have killfiled me.

D: Jet Silverman now follows me from newgroup to newsgroup
   ...despite (C) above.

E: Jet is not worthy of the time to compose a response until
   her behavior improves.

F: Unit_4's "Kook hunt" reminds me of "Jimmy Baker's" harangues against
   adultery while concurrently committing adultery with Tammy Hahn.

G:  Knackos...you're a retard.

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

From: GOBACO <[EMAIL PROTECTED]>
Subject: Re: FTP connect does not work in RH6.2???
Date: Tue, 02 Jan 2001 22:33:40 GMT

i have the same problem.  i followed the hosts.allow and hosts.deny
settings and it still didn't work.

In article <[EMAIL PROTECTED]>,
  Stephane Montpetit <[EMAIL PROTECTED]> wrote:
> Check your /etc/hosts.allow  and /etc/hosts.deny files.
> Must have these:
>
> hosts.deny:
>
> ALL: ALL
>
> hosts.allow:
>
> ALL: 127.0.0.1
> ALL: 192.168.0.
> in.ftpd: ALL
>
> If you want to be able to telnet your Linux box from anywhere on
> internet, you can add:
> in.telnetd: ALL    in your hosts.allow file.
>
> You can e-mail me if you need any help.
>
> Happy new year!!!!!!!
>
> Bo Berglund a �crit :
>
> > I have just installed RH 6.2 workstation and I am testing it out
from
> > a Win NT box over the internal LAN.
> > I can get Telnet login to work, but whatever I do when I try FTP I
> > don't get connected.
> > I am using Ws_Ftp32 on my NT machine and as soon as I click the
> > connect button there is a lot of disk activity on the Linux machine
> > but eventually there is no connect.... :-(
> > Here is the log from Ws_Ftp32:
> >
> > WINSOCK.DLL: WinSock 2.0
> > WS_FTP95 LE 4.50 97.05.17, Copyright � 1992-1997 Ipswitch, Inc.
> > - -
> > connecting to 192.168.0.1 ...
> > Connected to 192.168.0.1 port 21
> >
> > ! Connection failed
> >
> > I have checked that ftp is switched on in inetd.conf, but where can
I
> > set up permissions and such (if that is what is failing)???
> >
> > Bo Berglund
> > [EMAIL PROTECTED]
>
>


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED] (Bo Berglund)
Crossposted-To: comp.os.linux.help
Subject: GetHostByName fails on my RH6.2...
Reply-To: [EMAIL PROTECTED]
Date: Tue, 02 Jan 2001 22:58:51 GMT

Still having problems with FTP and Samba which both will not work on
my new RH6.2 workstation...

On advice from this forum I have used tcpdchk and found that my newly
installed RH6.2 system is flakey. But I don't know where to go to
repair it...

So this is the response to tcpdchk:
warning: /etc/inetd.conf, line 35: in.ftpd: not found in /usr/sbin: No
such file or directory
warning: /etc/hosts.allow, line 6: can't verify hostname:
gethostbyname(localhost.localdomain) failed

And in the /var/log/samba/log.smb the same complaint about not finding
the hostname is logged.

But where is this hostname stored?? And which hostname is Linux
looking for?
I have set the name of my Linux box to linuxpc and that is stored in
the hosts file as well:
192.168.0.1 linuxpc.home.com linuxpc
(the home.com) part was originally not there and I really don't know
why it should be there in the first place since I don't have a domain,
just a single Linux PC...

hosts.allow:
ALL: 127.0.0.1
ALL: 192.168.0.
ALL: 192.168.1.
in.ftpd: 192.168.0.
in.telnetd: 192.168.0.

hosts.deny
ALL: ALL

hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.1 linuxpc.home.com linuxpc


Any thoughts/advice???


Bo Berglund
[EMAIL PROTECTED]

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

From: Thomas Dickey <[EMAIL PROTECTED]>
Crossposted-To: redhat.general
Subject: Re: telnet screen color
Date: 2 Jan 2001 23:09:09 GMT

Peter T. Breuer <[EMAIL PROTECTED]> wrote:
> Bosco Tsang <[EMAIL PROTECTED]> wrote:
>> I am using VT100 emulation to connect ...anywhere I can set it to disable
>> coloring ...or is it in termcap (How?)?

> setenv TERM to something that doesn't say it has colorization; like
> "vt100". Or tell whatever you are using to not use colours. I presume
> you are talking about "ls"? Man ls. Option -o.

dircolors has hardcoded the assumption that "vt100" does color.

-- 
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

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

From: JM <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security,comp.os.linux.advocacy,comp.os.linux.setup
Subject: Re: Strange passwd
Date: Tue, 02 Jan 2001 23:12:08 +0200

On Tue, 02 Jan 2001 23:42:37 +0800, in comp.os.linux.advocacy,
 (Martin <[EMAIL PROTECTED]>) wrote:

>I installed 2 Turbolinux at 2 separate machine A and B. I want to make
>some users who do not need a password when they are login.
>
>-------------------------------------------------------------------------
>
>In Machine A, I tried as following:
>
>>passwd -d user123
>>passed -S user123
>Changing password for user user123
>Empty password.
>
>(and I can login this user without a password.)
>
>-------------------------------------------------------------------------
>
>In Machine B, I got something different as following:
>
>>passwd -d user123
>>passed -S user123
>Changing password for user user123
>No Password set.
>
>(and I CAN'T login with this user without a password.)
>
>-------------------------------------------------------------------------
>
>Why this happened? The two machines are have same linux version and same
>config, and I tried to delete the problem user in machine B, and
>recreate again, but problem still exists.
>Thanks for any helps!
>
>Martin.

Try going into /etc/passwd and deleting everything from the user123's
password field.

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

From: R.Joseph <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.slackware
Subject: Using Nvidia GeForce 2 with XFree86 4.0.1
Date: Tue, 02 Jan 2001 23:11:09 GMT
Reply-To: [EMAIL PROTECTED]

 Hello!!  I am using a Visiontek (www.visiontek.com) 32 meg graphics
card with the Nvidia GeForce 2 MX chipset.  Nvidia provides Linux
drivers for XFree86 4.0+, and I am using 4.0.1.  I installed the
correct drivers for my X version, and configured everything correctly,
making sure that the XF86Config file was set exactly as it should be,
yet when I run 'startx' I get nothing but a black screen.  The computer
doesn't freeze - everything still works in the background (I can move
through TTY's (I know because my keyboard lights blink) and can reboot
the computer) but it stays a black screen until I reboot!

Can anyone help me?  Has anyone experienced a similar problem?  I am
using Slackware 7.1, kernel 2.2.16 FYI.  Many thanks in advance for any
help!

--
R.Joseph


Sent via Deja.com
http://www.deja.com/

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

From: "Darren S Paxton" <[EMAIL PROTECTED]>
Subject: Re: samba password issue.
Date: Tue, 2 Jan 2001 23:25:38 -0000

if it says /ipc$ it means it doesn't recognise your username.

Have you tried using swat, the web-based config tool for samba? thats what I
used to set up the system and its fine.

You may need to define which users can access the shares you require.

e.g set up a share for /home/<user> and disallow guest access, and only
allow <user> to be able to access it.

also, tweak your windows registry to allow it to send plain passwords, and
this will allow the linux server to recognise your username

http://www.linuxdoc.org/HOWTO/SMB-HOWTO-7.html

halfway down the page are the registry entries you should make, be sure to
back up your registry though


"Bosco Tsang" <[EMAIL PROTECTED]> wrote in message
news:92t7j6$als$[EMAIL PROTECTED]...
> Do I need to use /etc/smbpasswd? I haven't set this up ...I expect it to
use
> /etc/passwd to get the password (use /etc/smbusers to convert the
username).
> Doesn't this working?
>
> Btw, when I try to connect, WinME (or Win98 ...have tried it on 2
machines)
> report share as /ipc$ and just ask me for the password. I recall in WinNT,
it
> will ask connect as and password, where connect as is the username. Wonder
if
> it is possible to set so that it will ask for connect as and the password,
> instead of just the password?
>
> --
> In article <a0o46.30656$[EMAIL PROTECTED]>,
>   "Darren S Paxton" <[EMAIL PROTECTED]> wrote:
> > the SMB-Howto refers to either telling windows to use unencrypted
passwords,
> > or telling samba to use encrypted passwords from a file (most likely, in
> > your case, /etc/smbpasswd )
> >
> > I opted for the plain passwords option on my win98 box and it works fine
> >
> > Darren
> >
> > "Jean-David Beyer" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > Bosco Tsang wrote:
> > > >
> > > > I have just setup samba on my Linux box (RedHat 6.2) on the lan. My
> > Windows
> > > > ME can detect it, but when I try to access it, it keep reporting the
> > password
> > > > is incorrect? And from the samba log, it seems trying to login using
my
> > > > Window's Logon username, which I have already defined in
/etc/smbusers
> > > > (unix_username = win_username). The one problem is that I am using 2
> > words in
> > > > windows seperated by space (bosco tsang), and in /etc/smbusers, I am
> > using
> > > > 'bosco tsang' ...is this ok? Anything else I am missing?
> > > >
> > > > Btw, one security issue ...since I've setup samba daemon, the log
> > indicated
> > > > that a lot of using from outside trying to access it (although all
> > result in
> > > > access denied). I am wondering why some many users are doing so
...and
> > is
> > > > there anyway to make it undetectable from outside. I am using 2 NICs
and
> > only
> > > > the internal one is allowed to access samba (setted in
/etc/smb.conf).
> > > >
> > > I have W95 on one box talking to Samba on this one. You must have the
> > > same login on both boxen, and the letters must be all lower case for
it
> > > to work. I do not know about newer versions of Windows, but W95 seems
to
> > > require dumb passwords.
> > >
> > > --
> > >  .~.  Jean-David Beyer           Registered Linux User 85642.
> > >  /V\                             Registered Machine    73926.
> > > /( )\ Shrewsbury, New Jersey
> > > ^^-^^ 11:25am up 2 days, 1:41, 3 users, load average: 3.37, 3.23, 3.19
> >
> >
>
> --
> /+++++++++++++++++++++++++++++++++++++++++
> WARNING: Spam & Junk Mail Protection strictly enforced
> Unsolicited Mail will be handled via http://spamcop.net
> +++++++++++++++++++++++++++++++++++++++++/
>
>
> Sent via Deja.com
> http://www.deja.com/



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

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: DVD software for Linux yet?
Date: Tue, 02 Jan 2001 23:29:58 GMT

In article <[EMAIL PROTECTED]>, Roger Blake wrote:

>>I hope the DeCSS software is finally legal to use on Linux.
>>I would like to watch my DVD on Linux box.
>
>While I sympathize, for the life of me I really can't figure
>out why anyone would want to sit in front of his or her
>computer to watch a movie.

Uh, picture quality?

>Makes no sense to me whatsoever. 

Do the math...

The video bandwidth of a TV is about 3.5MHz -- which is
probably equivalent to a resulution of about 640x480.  The
video bandwidth of a run-of-the mill computer monitor is around
150MHz, with a nice one running at 250MHz.  Resolutions for
decent monitors are up at around 1600x1200.

It's also damned inconvient to lug a TV/VCR onto a plane...

>(Then again I'm not a fan of digital media in general. Frankly
>I don't even have a CD player in my HiFi set.)

-- 
Grant Edwards                   grante             Yow!  HELLO, little boys!
                                  at               Gimme a MINT TULIP!! Let's
                               visi.com            do the BOSSA NOVA!!

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

From: David <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: GetHostByName fails on my RH6.2...
Date: Tue, 02 Jan 2001 23:31:50 GMT

Bo Berglund wrote:
> 
> Still having problems with FTP and Samba which both will not work on
> my new RH6.2 workstation...
> 
> On advice from this forum I have used tcpdchk and found that my newly
> installed RH6.2 system is flakey. But I don't know where to go to
> repair it...
> 
> So this is the response to tcpdchk:
> warning: /etc/inetd.conf, line 35: in.ftpd: not found in /usr/sbin: No
> such file or directory
> warning: /etc/hosts.allow, line 6: can't verify hostname:
> gethostbyname(localhost.localdomain) failed
> 
> And in the /var/log/samba/log.smb the same complaint about not finding
> the hostname is logged.
> 
> But where is this hostname stored?? And which hostname is Linux
> looking for?
> I have set the name of my Linux box to linuxpc and that is stored in
> the hosts file as well:
> 192.168.0.1 linuxpc.home.com linuxpc
> (the home.com) part was originally not there and I really don't know
> why it should be there in the first place since I don't have a domain,
> just a single Linux PC...
> 
> hosts.allow:
> ALL: 127.0.0.1
> ALL: 192.168.0.
> ALL: 192.168.1.
> in.ftpd: 192.168.0.
> in.telnetd: 192.168.0.
> 
> hosts.deny
> ALL: ALL

The hostname is stored in a couple of places /etc/HOSTNAME and
/etc/sysconfig/network-csripts/network to name a few. It looks like you
need to edit you hosts file.

hosts
127.0.0.1   localhost   linuxpc.home.com
192.168.0.1  linuxpc.home.com   linuxpc


-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 98.973% of seti users. +/- 0.01%

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

From: Silviu Minut <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.redhat
Subject: Re: A few newbie questions
Date: Tue, 02 Jan 2001 18:40:39 -0500

> 1. I used Partition Magic to set up my partitions, and am using
> BootMagic for dual booting with Win98. I followed the instructions very
> carefully, making sure that I did not install LILO into the Master Boot
> Record. However, when I boot up and select Linux, another screen comes
> up where I have to choose between dos and linux. Is this normal? If I
> have to go through LILO anyway, what's the advantage to using
> BootMagic?
>

Lilo will do.


>
> 2. Given the relatively limited hard drive space on my laptop, I didn't
> want to make the Linux partition too large (I'm really just using it to
> become more comfortable with Unix commands and emacs since I need to
> use these at work). I set it up with 1004 MB for the Linux native
> partition and 133 MB for the swap partition. But there's now about 280
> MB free, and to be honest, I don't expect to fill that up anytime soon.
> Is there any way to resize the Linux partition (extended primary
> partition containing 2 logical partitions)?
>

You'll fill the 280 M in no time. The 133M swap partition is a waste. I
have a 40M swap partition and it never ever goes past 10M.

>
> 3. I read through the Getting Started manual and found the information
> on mounting my Windows partition so that I can access it in Linux. Will
> this allow me to copy files from Linux to Windows? I assume that I
> don't need free space equal to the size of the Win partition - it's
> just mounting it as another volume, like a CD-ROM or floppy, correct?

Correct.

mount -t vfat /dev/hda1 /mnt/dos               # assuming the Win98
partition is /dev/hda1 and you mount it on /mnt/dos

Then you can read the files under dos as you read any file under Linux. If
you want to write into the dos partition as normal user (non-root) you
must mount the dos partition with -o umask=000.



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


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

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

Reply via email to