[102515] in RedHat Linux List
Re: Newbie Screws Up
daemon@ATHENA.MIT.EDU (Jan Carlson)
Thu Dec 3 18:05:33 1998
Date: Thu, 03 Dec 1998 14:26:50 -0500
From: Jan Carlson <janc@iname.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Lane Lester wrote:
> Jan Carlson said:
> > Try logging out of everything possible,
> > then go to a console screen, say the 3rd one:
> > hit Ctrl-Alt-F3.
>
> The first time I pressed the above, I was requested to log in. A
> couple of times later, nothing happened.
RH Linux normally has 6 console screens. You can make any
one of them display by pressing Ctrl-Alt-F1 through Ctrl-Alt-F6.
If X is running, you can display the X screen using Ctrl-Alt-F7.
Try logging in on each one, typing something different on
each one, then use ctrl-alt-F<number> to switch around.
Each one is always there.
>
>
> > Then, log in as root and type:
> > # mount /DirWhereCdriveUsedToMountOk
>
> The drive in question is not C, but L, which I call "scratch" since I
> want it to be a read/write space for both Linux and Win NT. When I
> do "mount scratch" it says, "already mounted or busy."
>
> > If that still fails, send output of these commands:
> >
> > $ cat /etc/fstab
> /dev/hdb8 scratch msdos
> user,exec,dev,suid,rw,conv=auto,uid=0,perm=0 1 1
There's the problem.! Change scratch to /scratch
and make sure /scratch is an empty directory.
Do that, and then reboot (not really necessary, but easy).
When it comes up, log in and
do #mount /scratch before you do anything else.
It should work.
You might also replace 'msdos' with 'vfat' so
you can see long filenames instead of 8.3 DOS names.
>
>
> > $ mount
> says the same thing as above.
>
> > $ fdisk -l
> Start End Blocks Id System
> /dev/hdb8 773 797 100768+ 6 DOS 15-bit >=32M
>
> > What RH version and kernel version are you running now?
> 5.2; I don't know the kernel version, but I just got the package from
> Red Hat.
You can see the kernel version with
# uname -r
and the version of the kernel rpm with
#rpm -q kernel
It's probably 2.0.36-0.7
>
>
> Here are a few more observations:
> I can "cd scratch" and "scratch" is then in the prompt, but ls
> produces no output.
>
> In X, I loaded fstab into nedit to look at it, and then I saved it
> into scratch as fstab.txt as a way of just having a copy that I could
> maybe look at in DOS. Later, an ls shows fstab.txt listed in the
> directory alone, although there are lots of other files there. In Win
> NT, all those files are listed, =except= fstab.txt!
>
> Yesterday while I was floundering around with mount and who knows what
> else, I managed to get access to scratch temporarily. While I had it
> I successfully installed Netscape 4.5, using the rpm that was in
> scratch. But later, I couldn't get access again.
There are two /scratch directories in your system:
1. The /scratch directory in the ext2 Linux filesystem.
This directory should normally be empty. You can see
inside this directory when NOTHING IS MOUNTED
on /scratch. If it's not empty, you should empty it
and maybe create one file in it, like this.
Do this when the NT DOS filesystem is NOT mounted
on /scratch:
# touch /scratch/Nothing_is_Mounted_Here
2. The /scratch directory you see when
SOMETHING IS MOUNTED on /scratch.
This is the DOS filesystem that NT can also see
when NT is running.
>
--
Jan Carlson
janc@iname.com Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.2
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.