Linux-Misc Digest #519, Volume #26               Mon, 11 Dec 00 03:13:02 EST

Contents:
  Re: Can't login from gdm (Mike Stevens)
  Meeting notice - "BSD OS or Linux ... Which? Why?" (Mitchell Loebel)
  Re: 56K modem as backup (Eric Ho)
  Re: Can't login from gdm (Glitch)
  Re: lost file on erased partition (alex k)
  Re: Linux Scripting (Floyd Davidson)
  Re: lost file on erased partition (Svend Olaf Mikkelsen)
  Re: What is the command to  . . . ? (Josef Moellers)
  Re: What is the command to  . . . ? (Josef Moellers)
  Re: Email Server (Michael Heiming)
  Can I run minicom on COMM1 and COMM2 simulataneously ([EMAIL PROTECTED])
  Re: help with recompiling kernel 2.2.16-22 in RedHat 7 (Michael Heiming)
  Re: What is the command to  . . . ? ("deadmeat")
  Replicating a Linux box (Shawn Smith)
  Re: Error mounting floppy, it says /dev/fd0 not a block device. (Eric)

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

From: Mike Stevens <[EMAIL PROTECTED]>
Crossposted-To: linux.debian.user
Subject: Re: Can't login from gdm
Date: Mon, 11 Dec 2000 06:12:52 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Mike Stevens wrote:
> >
> >  Greetings,
> >
> > I just finished an apt-get upgrade, and can no longer login from the
> > helix-gnome gdm login panel.  Logins at the command line work
correctly.
> > I get the following in my .gnome-errors file:
> >
> > /etc/gdm/Sessions//Gnome: checking /etc/login.defs for option UMASK
> > /etc/gdm/Sessions//Gnome: /etc/login.defs: "UMASK" is "022"
> > /etc/gdm/Sessions//Gnome: checking /etc/login.defs for option ULIMIT
> > /etc/gdm/Sessions//Gnome: checking /etc/login.defs for option
MAIL_DIR
> > /etc/gdm/Sessions//Gnome: /etc/login.defs: "MAIL_DIR" is
> > "/var/spool/mail"
> > /etc/gdm/Sessions//Gnome: using /etc/X11/Xsession.options for
options
> > /etc/gdm/Sessions//Gnome: checking /etc/X11/Xsession.options for
option
> > allow-user-resources
> > /etc/gdm/Sessions//Gnome: checking /etc/X11/Xsession.options for
option
> > allow-user-modmap
> > /usr/bin/gnome-session: error while loading shared libraries:
> > libgnomecanvaspixbuf.so.1: cannot open shared object file: No such
file
> > or directory
> >
> > Of course, the library in question is missing.  Anyone know what
package
> > it is in so I can reinstall it.  Or perhaps there is something else
I'm
> > missing.  TIA
> >
> > --
> > -Mike Stevens
> > What manner of quanadry is this? - The Tick
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
> libgdk-pixbuf2 according to my system - according to the README, it is
a
> package that operates between Gnome proper and the various Xlib
> libraries that render images (png, jpeg, tiff, xpm, etc.), as used in
> the Panel, GMC, and virtually anything else that constitutes Gnome.
>
> HTH
> --
> Mark L. Kahnt M.L. Kahnt New Markets Consulting
> Email: [EMAIL PROTECTED]
> Snail: P.O. Box 1263, Kingston, Ontario, Canada   K7L 4Y8
> Voice/Fax: (613) 531-8684   Cell: (613) 539-0935 - DSL finally!
>

Thanks for the hint.  It appears to be part of libgdk-pixbuf2-gnome2
now.  I had to remove libgdk-pixbuf2, and reinstall it.  I don't know
why apt-get upgrade didn't work.  Thanks for the help Mark

--
-Mike Stevens
What manner of quanadry is this? - The Tick


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED] (Mitchell Loebel)
Crossposted-To: comp.unix.bsd.freebsd.misc,comp.unix.bsd.openbsd.misc
Subject: Meeting notice - "BSD OS or Linux ... Which? Why?"
Date: Mon, 11 Dec 2000 06:23:48 GMT

Hello:

This is your notice for the Monday, December 11th meeting of the Silicon
Valley Entrepreneur's Connection. The meeting site is Sun Microsystems,
901 San Antonio Rd., Palo Alto.



BSD OS or Linux ... Which? Why?

Not long ago, Microsoft's Windows xx was the OS to beat. Linux
successfully stepped up to the plate. Now we hear other voices from within
the Open Source community ... more servers are running BSD than Linux and
the latest Mac OS is based on BSD! (Which of the several strains of BSD,
by the way?) So what did Linux do right and/or what did the BSD community
do wrong such that Linux became the perceived leader?

We asked John Sokol, CEO, Enumera to help us unscramble the confusion. We
asked him to to tell us how he feels that BSD is superior to Linux. We
asked him to tell us about the development projects currently in progress
and who are the players. John is well qualified to help us ... he wrote
some of the important early BSD code.

If BSD is truly "one down" in the Open Source community, then it
represents an important entrepreneurial opportunity. Let's all find out
more.

The main meeting starts at 7:30PM (stragglers beware - no entry after
8PM!) and a discussion of member projects currently underway and other
issues of interest to entrepreneurs begins at 9:15PM (important business
opportunities are often discussed).  Adding to your knowledge, planning
entry into the field, beginning a new enterprise?  This is the meeting!

-- 
B. Mitchell Loebel     408 264-2068

CEO,CTO                Multinode Microsystems Corp.
Executive Director     Silicon Valley Entrepreneur's Connection

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

From: Eric Ho <[EMAIL PROTECTED]>
Subject: Re: 56K modem as backup
Date: 11 Dec 2000 06:30:49 GMT

Hi,

Anyway, here it goes :
I usually use ADSL as my Internet connection, but the connection is
not always stable to say the least, so it would be nice to have a
dialup connection as backup. Although slow, it will still enable me
to keep in contact with the outside world :)

Now, since I use a broadband router to connect to the ADSL service
so that my brother and I can share the ADSL connection just to save
some bucks, and we both have to setup our machines so that when boot
up, our machines can contact the router's builtin DHCP server to get
an IP address assigned.

When I Kppp program, everything seems to be working
except when it connects and launch pppd, the modem just disconnects.
I am thinking that maybe I need to change some routings, but I have
no idea how to do that.

Could you give me some detailed instructions as what I should to fix 
the problem ?

Best Regards,
Eric Ho


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

Date: Mon, 11 Dec 2000 01:37:11 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: Can't login from gdm

do a search on rpmfind.net

Mike Stevens wrote:
> 
>  Greetings,
> 
> I just finished an apt-get upgrade, and can no longer login from the
> helix-gnome gdm login panel.  Logins at the command line work correctly.
> I get the following in my .gnome-errors file:
> 
> /etc/gdm/Sessions//Gnome: checking /etc/login.defs for option UMASK
> /etc/gdm/Sessions//Gnome: /etc/login.defs: "UMASK" is "022"
> /etc/gdm/Sessions//Gnome: checking /etc/login.defs for option ULIMIT
> /etc/gdm/Sessions//Gnome: checking /etc/login.defs for option MAIL_DIR
> /etc/gdm/Sessions//Gnome: /etc/login.defs: "MAIL_DIR" is
> "/var/spool/mail"
> /etc/gdm/Sessions//Gnome: using /etc/X11/Xsession.options for options
> /etc/gdm/Sessions//Gnome: checking /etc/X11/Xsession.options for option
> allow-user-resources
> /etc/gdm/Sessions//Gnome: checking /etc/X11/Xsession.options for option
> allow-user-modmap
> /usr/bin/gnome-session: error while loading shared libraries:
> libgnomecanvaspixbuf.so.1: cannot open shared object file: No such file
> or directory
> 
> Of course, the library in question is missing.  Anyone know what package
> it is in so I can reinstall it.  Or perhaps there is something else I'm
> missing.  TIA
> 
> --
> -Mike Stevens
> What manner of quanadry is this? - The Tick
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

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

From: alex k <[EMAIL PROTECTED]>
Subject: Re: lost file on erased partition
Date: Mon, 11 Dec 2000 06:36:57 GMT

In article <911jgb$f6v$[EMAIL PROTECTED]>,
  alex k <[EMAIL PROTECTED]> wrote:
> hello:)
>
> shortly: how do i find a (text) file that lived on a ext2fs partition
> that got deleted in fdisk?
>
> the file lived happily, until one day win98 was to be installed and
> f**ked up the partition table.
>
> when win98 trashed the partitiontable all partitions were removed from
> fdisk in linux (apparently they couldn't be mounted).
> after that the only thing installed is the win98.
>
> win98 is now installed on hda1 (0-4.2gig of the disk).
> the file was in the extended hda2 (6-8.5gig of the disk).
>
> so this all happened because the vfat partition was to be made
> smaller... from 6 to 4.2 gig.
>
> so the partition is gone, but the file should still be there,
> somewhere, on the disk.
>
> the disk is a 13.5gig IDE drive.
>
> so, does anyone know how to reach that info?
>
> i do have the first 3.5k of the file, which i believe was about 10k
> when it got killed.
> the ext2fs partition had 2048byte clusters.
>
> are there any tools for win98 to try finding that file?
> i HAVE looked, found none though. perhaps you know?
> (thought i could try this first before messing with partitions)
>
> or i could carefully make a partition right after hda1, about 1gig so
> it doesnt trespass on the old hda2, install linux, and use some tool
> from there. but which?
>
> it's an important file, give me a miracle:)
>
>   TIA / alex k
>
> ps.
>
> before:
> hda1  6gig vfat
> hda2  2.5gig (extended, ext2fs + swap)
> hda3  4.5gig ufs (extended/slice)
>
> now:
> hda1  4.2gig vfat
>
> that's all.

its not about recovering the entire partition.
i have dont know where the partitions were before, exactly.
fdisk apparently gave an error after win98 was installed,
that the partitions didnt end where they were supposed to, or something
like that (and those things noted in phys=(x/x/x) format, whatever that
is).
i just care about the file.

all i can think of is something like:
# cat /dev/hda > grep "unique string from part of file"

but i must know where that unique string is found on the drive.
how??
so that i can use that with the 'dd' command, and save some area of the
disk from around there and maybe find the file, or parts of it anyway.

as it is text it isn't imperative that i find the file 100% intact.
even parts or damaged parts would do fine.


--
. 
. 
...: [ ~~~~~~~ ] :...


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Linux Scripting
Date: 10 Dec 2000 20:54:21 -0900

[EMAIL PROTECTED] (Neil Cherry) wrote:
>On Sun, 10 Dec 2000 23:30:08 -0000, DJohnson wrote:
>>I wrote a scipt in Linux and either I don't know how to get it to execute 
>>or I've written it wrong.  The script is below. Thanks
>>count=0
>>for i in `ls -l`
>>do
>>if [ -d $i ]
>>then
>>count=`exp ^ $count +1`
>>fi
>>done
>>echo $count
>
>I'll assume you want to count directories, first the "if [ -d $i ]"
>needs a " ; " (not the space before, I like to put the then after it

No, it does not need a ; because there is a newline between the
conditional and the "then".   This,

  if [ conditional ] ; then expression; fi

is the same as,

  if [ conditional ]
  then
    expresssion
  fi

(Note the two semicolons are not in the second construct.)

However, the for loop will not work because "ls -l" produces an
entire line of output, not just a single filename.  First, the
"-1" option instead of the "-l" option should be used; and
second, the full pathname for "ls" should be given because "ls"
is often an alias.

>so I add another space). Next I have no idea what exp is. If it's expr
>then you'll need to man page it and see what else you're doing wrong.

A good guess is that it is indeed expr, and should be 

  count=`expr $count + 1`

Hence, the entire script could be:

#!/bin/sh
#
count=0
for i in `/bin/ls -1`
do
  if [ -d $i ]
  then
    count=`expr $count + 1`
  fi
done
echo $count


-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Subject: Re: lost file on erased partition
Date: Mon, 11 Dec 2000 07:10:40 GMT

alex k <[EMAIL PROTECTED]> wrote:

>hello:)

Get Findpart at http://inet.uni2.dk/~svolaf/utilities.htm do

findpart all +fat fp.txt

and insert (not attach) the output in a follow-up. The easiest thing
might be to recover the partition.
-- 
Svend Olaf

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

From: Josef Moellers <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.networking,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: What is the command to  . . . ?
Date: Mon, 11 Dec 2000 08:15:34 +0100

Allen Wong wrote:
> =

> In alt.os.linux.slackware Markus Amersdorfer <[EMAIL PROTECTED]> wro=
te:
> > [EMAIL PROTECTED] wrote:

> > find . -name '*.txt' -exec grep "Hello World" {} \;
> =

> This works, but it's alot slower than "find . -type f -name '*.txt' -pr=
int |
> xargs grep "Hello World".

These solutions won't tell where they found the match.
Markus' solution can be enhanced to do that:
        find . -name '*.txt' -exec grep "Hello World" {} \; -print

-- =

Josef M=F6llers (Pinguinpfleger bei FSC)
        If failure had no penalty success would not be a prize (T.  Pratchett)

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

From: Josef Moellers <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.networking,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: What is the command to  . . . ?
Date: Mon, 11 Dec 2000 08:25:02 +0100

[EMAIL PROTECTED] wrote:
> =

> I am looking for the command that will help me compare two directory
> structures.
> =

> I just did a file copy to an NFS drive and I want to make sure that I
> got everything.
> =

> I used
> cp -axv /dev /mnt/vol00
> cp -axv /bin /mnt/vol00
> cp -axv/usr /mnt/vol00
> etc . . .
> =

> Doing some sampling, it appears that everything copied okay.
> =

> What I am looking for is the equivalent to this
> dos command: dir *.* /s
> =

> i.e. I am looking for file counts and directory counts as well as
> total sizes.

If nobody comes up with a better solution (this works at least under the
bash):

cd olddir
find . -type f -print | while read path
do
    newpath=3D`echo $path | sed "s/olddir/newdir/"`
    # you can now compare the old and new files
    if [ ! -e $newpath ]
    then echo $newpath does not exist
    elif cmp -s $path $newpath
    then :
    else files $path $newpath differ
    fi
done

This reads back all files over the net. As an alternative you can do

cd $olddir
find . -exec cksum {} \; > /tmp/cksums

then move the file cksums over to the new machine and run this script

cd newdir
while read line
do set $line
    n=3D`cksum $file`
    if [ "$line" !=3D "$n" ]
    then echo $line '<->' $n
    fi
done < /tmp/cksums

HTH
-- =

Josef M=F6llers (Pinguinpfleger bei FSC)
        If failure had no penalty success would not be a prize (T.  Pratchett)

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

Date: Mon, 11 Dec 2000 08:19:16 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Email Server

Andy Fraser wrote:

> Hi,
>
> Id like some recommendations as to how to setup an email server. All i
> want it to do is pickup mail from my ISP and then sort it as to who it
> belongs to. (we have a [EMAIL PROTECTED] addresss). Then users
> can connect to the server and download there email possiably via imap
> so they can log on at any computer.
>
> many thanks
>
> andy
> [EMAIL PROTECTED]

You can use fetchmail to poll the mail from your ISP, pretty easy, look
at man fetchmail on how
to set it up. And run it from cron as you like...

As for the same mail adress for different user, if I understand right,
you may have to fiddle with procmail
and setup one .procmailrc to poll it to different users, but there has do
be something you can determine whom
the mail belongs to, see man procmailrc and man procmail, it should be
easier for you if you could get one email/user from your ISP, good
luck...

Michael Heiming
Sysadmin
--
When I die, I want to die peacefully, in my sleep. Like my grandfather.
Not screaming in terror, like the passengers in his car.


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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux.mandrake
Subject: Can I run minicom on COMM1 and COMM2 simulataneously
Date: Mon, 11 Dec 2000 07:21:01 GMT

Can I run minicom on COMM1 and COMM2 simulataneously? The FAQ's and
stuff Iv'e looked at keeps talking about linking /dev/modem to
/dev/ttySX, but I want to talk to both ports to access two different
serial interfaces at once.

The command line option seems to let me specify a pseudo tty, but not
/dev/ttyS1.

Any pointers?

TIA-
  Carter


Sent via Deja.com http://www.deja.com/
Before you buy.

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

Date: Mon, 11 Dec 2000 08:28:24 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: help with recompiling kernel 2.2.16-22 in RedHat 7

Hello,

Look at:

http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html

You should only change files in the kernel source, if you consider yourself as
expert....

Good luck,

Michael Heiming
Sysadmin



Hung Ngoc Lai wrote:

> Hi Everyone,I am in desparate help.  I am having problem with recompiling kernel
> 2.2.16-22 (the one that comes with RedHat 7) and it does not work.
> I change the Makefile in /usr/src/linux from gcc to kgcc; however,
> that still doesn't work.  I recompile the kernel twice and these are
> the two different error messages I got each time:
> Please help me.  Thanks.
>
> *******************************************************************
> ERROR #1
> [root@localhost linux]# make bzImage
> scripts/split-include include/linux/autoconf.h include/config
> kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-fr
> ame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=686  -c -o init/main.o init/main.c
> kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-fr
> ame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=686 -DUTS_MACHINE='"i386"' -c -o init/ve
> rsion.o init/version.c
> make -C  kernel
> make[1]: Entering directory `/usr/src/linux-2.2.16/kernel'
> make all_targets
> make[2]: Entering directory `/usr/src/linux-2.2.16/kernel'
> kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-fr
> ame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=686   -DEXPORT_SYMTAB -c signal.c
> In file included from /usr/src/linux/include/linux/modversions.h:50,
>                  from /usr/src/linux/include/linux/module.h:19,
>                  from signal.c:10:
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:6: warning: `cpu_data' redefin
> ed
> /usr/src/linux/include/asm/processor.h:96: warning: this is the location of the pr
> evious definition
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:28: warning: `smp_num_cpus' re
> defined
> /usr/src/linux/include/linux/smp.h:77: warning: this is the location of the previo
> us definition
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:118: warning: `smp_call_functi
> on' redefined
> /usr/src/linux/include/linux/smp.h:83: warning: this is the location of the previo
> us definition
> kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-fr
> ame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=686   -DEXPORT_SYMTAB -c ksyms.c
> In file included from /usr/src/linux/include/linux/modversions.h:50,
>                  from /usr/src/linux/include/linux/module.h:19,
>                  from ksyms.c:14:
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:6: warning: `cpu_data' redefin
> ed
> /usr/src/linux/include/asm/processor.h:96: warning: this is the location of the pr
> evious definition
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:28: warning: `smp_num_cpus' re
> defined
> /usr/src/linux/include/linux/smp.h:77: warning: this is the location of the previo
> us definition
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:118: warning: `smp_call_functi
> on' redefined
> /usr/src/linux/include/linux/smp.h:83: warning: this is the location of the previo
> us definition
> In file included from /usr/src/linux/include/linux/interrupt.h:51,
>                  from ksyms.c:21:
> /usr/src/linux/include/asm/hardirq.h:23: warning: `synchronize_irq' redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:138: warning: this is the loca
> tion of the previous definition
> In file included from /usr/src/linux/include/linux/interrupt.h:52,
>                  from ksyms.c:21:
> /usr/src/linux/include/asm/softirq.h:75: warning: `synchronize_bh' redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:142: warning: this is the loca
> tion of the previous definition
> /usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
> In file included from ksyms.c:17:
> /usr/src/linux/include/linux/kernel_stat.h:47: `smp_num_cpus' undeclared (first us
> e in this function)
> /usr/src/linux/include/linux/kernel_stat.h:47: (Each undeclared identifier is repo
> rted only once
> /usr/src/linux/include/linux/kernel_stat.h:47: for each function it appears in.)
> make[2]: *** [ksyms.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.2.16/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.16/kernel'
> make: *** [_dir_kernel] Error 2
> [root@localhost linux]#
>
> ****************************************************
> ERROR #2
>
> rm -f lib.a
> ar  rcs lib.a  errno.o ctype.o string.o vsprintf.o
> make[2]: Leaving directory `/usr/src/linux-2.2.16/lib'
> make[1]: Leaving directory `/usr/src/linux-2.2.16/lib'
> make -C  arch/i386/kernel
> make[1]: Entering directory `/usr/src/linux-2.2.16/arch/i386/kernel'
> touch: /usr/src/linux/include/asm/atomic.h: No such file or directory
> make[1]: *** [/usr/src/linux/include/asm/atomic.h] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.2.16/arch/i386/kernel'
> make: *** [_dir_arch/i386/kernel] Error 2




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

From: "deadmeat" <root@[127.0.0.1]>
Crossposted-To: 
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.networking,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: What is the command to  . . . ?
Date: Mon, 11 Dec 2000 07:56:22 GMT

If nobody comes up with a better solution (this works at least under the
bash):

cd /dev
find . -type f -exec cmp '{}' /mnt/vol00/dev/'{}' \;

repeat for /bin and /usr




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

From: [EMAIL PROTECTED] (Shawn Smith)
Crossposted-To: alt.os.linux
Subject: Replicating a Linux box
Reply-To: [EMAIL PROTECTED]
Date: Mon, 11 Dec 2000 08:03:34 GMT

Hello all,

At work, I have a live server. I am getting a new computer where I am
to replace the old server with this new one.  I have been using Linux
at home for fun since '94 so I am comfortable w/ it. I, however, have
never had to completely copy one machine to another. It seems simple,
but just in case.

Any advice accepted.

__

Shawn Smith 
My freeware: http://sites.netscape.net/shawnspad 



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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Error mounting floppy, it says /dev/fd0 not a block device.
Date: Mon, 11 Dec 2000 09:09:17 +0100
Reply-To: [EMAIL PROTECTED]

Evan Panagiotopoulos wrote:
> 
> I type the command: mount -t vfat /dev/fd0 /mnt/floppy and I get the error,
> "mount: /dev/fd0 is not a valid block device."
> How do I mount the floppy?
> 
> --
> Evan Panagiotopoulos
> Technology, Library and Media Director
> Poughkeepsie City School District

`ls -l /dev/fd0'

It should be something like this:

brw-rw----    1 user   floppy     2,   0 May  5  1998 /dev/fd0
                               ^^^^^^^^^^
                               major, minor

(make sure the major/minor numbers are correct)

If these are wrong, su to root, and run the following command

 `cd /dev && rm -f ./fd0 && ./MAKEDEV fd0`


(If MAKEDEV doesn't exist, check out `man mknod`)

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