Linux-Setup Digest #637, Volume #20              Thu, 15 Feb 01 10:13:10 EST

Contents:
  Re: Multiboot Win2k and linux (meson)
  LFS & lilo ([EMAIL PROTECTED])
  Re: Help: NFS and Input/output error (Josh Stern)
  is it possible to move linux files on C:(msdoss)  to hda2 ?  (Oldbehr)
  Re: /dev/cdrom: bread failed (Steve Martin)
  Re: Using grep properly (benoit mordelet)
  Re: is it possible to move linux files on C:(msdoss)  to hda2 ?  ("Rich Somerfield")
  Re: is it possible to move linux files on C:(msdoss)  to hda2 ? (benoit mordelet)
  Re: is it possible to move linux files on C:(msdoss)  to hda2 ? (Eggert Ehmke)
  Re: Making a 486 into a dumb Xterminal ("BeauxBeaux")
  Samba 2.0.7/RH7.0 and W2K ("Meron Lavie")
  Re: Software RAID on ReiserFS (?) (Ernst Sexauer)
  Re: DPT SmartRAID VI on BIG server ("Doug Forbush")
  Re: Compiling kernel (Michael Heiming)
  Re: What's the proper way to insmod aic7xxx on boot in RedHat 7.0? (jtnews)
  Re: start NTP ("ne...")
  suse 7.1 prof + initio scsi controller ("Tino Langer")
  Re: Linux newbie<HELP!>: dual boot problem(Linux/win98) freeze at "L"( as in LILO)! 
("Bjarke Thor Iversen")

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

From: meson <[EMAIL PROTECTED]>
Subject: Re: Multiboot Win2k and linux
Date: Thu, 15 Feb 2001 10:30:05 -0000

There are two solutions to your problem. 
 1. Use a boot loader, like XOSL to boot multiple operating systems. It 
requires a seperate boot partition.
 2. Make the 512 kb image of your VMLINUZ and store it in a floppy. Copy 
this to you c:\ and edit the boot.ini (also in c:\ with hidden and sys 
attributes) and give the path of this image file.

======================================================
david_b wrote:
> 
> 
> Try using bootpart instead.  It's what I use and it works great.  Very
> simple to set up, just make sure your read the directions / readme file.
> 
> http://www.winimage.com/bootpart.htm
> 
> If you need help, let me know.
> 
> "Costas Gavardinas" <[EMAIL PROTECTED]> wrote in message
> news:969c2d$3125$[EMAIL PROTECTED]...
> > I have Linux installed in the secondary partition of my first hard 
disk. I
> > also have installed Windows 2000 pro and win98. I am using the Win2k 
boot
> > selector for windows and I boot linux from a boot disk. Is there 
perhaps a
> > way to integrate a "Linux" option to the win2k boot menu, so that I 
don't
> > have to use a boot disk. Thank you for your help!
> >
> >
> 
> 


--
Posted via CNET Help.com
http://www.help.com/

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

From: [EMAIL PROTECTED]
Subject: LFS & lilo
Date: 15 Feb 2001 10:53:03 GMT

Hello,

I'm trying to build linux from scratch for my old 486 using the lfs howto.
I removed its harddisk and put it in my pentium as a slave.
I can boot into lfs when I boot from my master harddisk.
But now I want to install lilo on the boot of my lfs disk, so I can put it
back as a master in my 486.
I tried to run lilo with boot=/dev/hdb and root=/dev/hdb1.
I also tried root=/dev/hda1.
I ran lilo in my original configuration like this:
/sbin/lilo -v -C lilo.conf -r /mnt/lfs

Anyway, lilo gives me in both cases LI when I boot from my lfs disk.

Can anyone help me with this problem?

Thanks,

Gerry Jacobs


 -----  Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web  -----
  http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
   NewsOne.Net prohibits users from posting spam.  If this or other posts
made through NewsOne.Net violate posting guidelines, email [EMAIL PROTECTED]

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

Crossposted-To: comp.os.linux.security,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: Help: NFS and Input/output error
From: [EMAIL PROTECTED] (Josh Stern)
Date: 15 Feb 2001 11:03:31 GMT

Xiaoqin Qiu  <[EMAIL PROTECTED]> wrote:
>Hi everyone,
>
>I just installed a RedHat Linux 7 with kernel 2.2.16-22 on a HP omnibook
>6000 laptop. This machine is a NIS client in our network and I installed
>amd on it. Now I got several problems for it.
>
>1) I keep getting the following error messages for NFS mount directories
>in the /var/log/messages file:
>nfs_statfs: statfs error = 5
>nfs_stat_to_errno: bad nfs status return value: 116
>
>2) amd is not working.

I had some recent experience with being tortured by amd automounter.
What I did to fix my problems was a) compile recent amd source
from http://www.cs.columbia.edu/~ezk/am-utils/ 
b) compile kernel without builtin nfs-server and without
nfs version 3 and without automounter
c) install user-space nfs.  I can't tell you unfortunately
which of those things was necessary or which will help you
with your RH7.


>3) All the NIS users cann't login with no error message. (I think maybe
>it is because the home directory is on NFS server and amd doesn't work.)

You should get an error message if your home directory is not
available, no?

>How to set up system so that user can login even if the home directory
>cann't be mounted correctly? I know telnet can allow it. But how about
>Gnome and KDE login?

What do they do, thrash?


>3) reboot of the Linux cann't come up all the way. Actually it looks
>like it got halted.

You probably want to disable xdm/kdm/gdm until things get sorted out.

-= Josh




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

From: [EMAIL PROTECTED] (Oldbehr)
Date: 15 Feb 2001 11:44:43 GMT
Subject: is it possible to move linux files on C:(msdoss)  to hda2 ? 

Help! I loaded Redhat7 onto separate partition. I cannot startx without
downloading and installing xfree 4.0.2 drivers which I have downloaded using
Windows etc. But how can I move these files to my Redhat partition so as to
install them ? is it possible or am I just a dumb twit for even trying to do it
this way? any help will be much appreciated

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

From: Steve Martin <[EMAIL PROTECTED]>
Subject: Re: /dev/cdrom: bread failed
Date: Thu, 15 Feb 2001 12:02:03 GMT

> > /etc/fstab says this:
> > /dev/cdrom   /mnt/cdrom   /iso9660  user,ro,noauto,unhide

Pardon my $0.02, but I don't think there should be a slash in
front of the iso9660 parameter... is this a typo, or does
fstab really look like this?

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

From: benoit mordelet <[EMAIL PROTECTED]>
Subject: Re: Using grep properly
Date: Thu, 15 Feb 2001 13:18:10 +0100

Woon wrote:
> 
> Hi,
> 
> I hope someone here can help me with my problems in RH7.0:
> 1. I've been trying to use grep to search for a word in the files. I want
> search for the pattern "path" irrespective of cases and in all the files. I
> tried using grep -i path * .. however it keeps stopping with the message
> "grep: nsmail: Is a directory".. how do i
> specify the command to bypass this? I'm using grep (GNU grep) 2.4.2 btw.
> 

you forgot the -r option (recursive grep) :
grep -r -i path *

> 2. Apart from the /etc/profile and $HOME/.bash_profile (i'm using bash),
> where else is the PATH variable defined?
> 

in any script that might be sourced. usual locations are those you said
plus ~/.bashrc

> Thanks,
> W

ben

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

From: "Rich Somerfield" <[EMAIL PROTECTED]>
Subject: Re: is it possible to move linux files on C:(msdoss)  to hda2 ? 
Date: Thu, 15 Feb 2001 12:28:36 -0000

If i understand correclty u are trying to transfer files from your windows
partition to your linux partition.  Please bear with me as i am no expert!
Dont flame me if this is a load of tosh.

Firstly u will need to ascertain which partition your windows is on, i think
it will be /dev/hda1.  [The partitions for primary master h/drive are
/dev/hda?, if they are on a differnt h/drive then u might need to use
/dev/hdb?]
Then u will need to mount you windows partition from within linux (u will
need to be root user).  If u r using win95 or later then u can indicate that
the type of the windows parition is "vfat" (accounts for fat16 and fat32 i
think).  Otherwise u will need to use "msdos".

Create the directory that u wish to use to look at ur windows partition
"mkdir /dos_c"

Then u will need to mount the partition (substituting vfat for msdos if
using dos/win3.1).
"mount -t vfat /dev/hda1 /dos_c"

If this works then u can edit the "/etc/fstab" file and include a line that
will auto mount the windows partition when u start linux.  Will be something
like this:
"/dev/hda1 /dos_c vfat defaults 0 0"

See "man mount", u might need to have different options instead of using
defaults!

U should now have access to ur windows drive (within dos_c), and can simply
copy the files.
Hope this helps, i have had a little diffuculty with mounting windows
partitions so if u hav any problems let me know.

Regards
RS.COM




Oldbehr <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Help! I loaded Redhat7 onto separate partition. I cannot startx without
> downloading and installing xfree 4.0.2 drivers which I have downloaded
using
> Windows etc. But how can I move these files to my Redhat partition so as
to
> install them ? is it possible or am I just a dumb twit for even trying to
do it
> this way? any help will be much appreciated



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

From: benoit mordelet <[EMAIL PROTECTED]>
Subject: Re: is it possible to move linux files on C:(msdoss)  to hda2 ?
Date: Thu, 15 Feb 2001 13:32:17 +0100

Oldbehr wrote:
> 
> Help! I loaded Redhat7 onto separate partition. I cannot startx without
> downloading and installing xfree 4.0.2 drivers which I have downloaded using
> Windows etc. But how can I move these files to my Redhat partition so as to
> install them ? is it possible or am I just a dumb twit for even trying to do it
> this way? any help will be much appreciated

short answer : it is possible.

better answer : all the following is to be done under linux, as root.

1. find which partition windows uses as C:
if it is on the same disk it will be named /dev/hda<some number>
use fdisk to print the partitions you have on your disk :
fdisk /dev/hda
p
q

the 'p' command (once fdisk is started) must have printed the desired
information; look for a FAT partition type.

2. mount this partition :
mkdir /dos
mount -tvfat <windows partition> /dos

use the previous /dev/hda? as <windows partition>

3. copy the files :
cp /dos/<what you want> <where you want to put the files>
exemple :
cp /dos/temp/XFree86-4.0.2.rpm /root/

4. if you want to be able to access your FAT partition as soon as the
computer prompts you for a login, just add one line like this in
/etc/fstab ('man fstab' for more info) :
/dev/hda1               /dos                    vfat    defaults       
0 0

just replace /dev/hda1 by the actual win partition (see 1.)

hope this helps
ben

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

From: Eggert Ehmke <[EMAIL PROTECTED]>
Subject: Re: is it possible to move linux files on C:(msdoss)  to hda2 ?
Date: Thu, 15 Feb 2001 13:36:18 +0100
Reply-To: [EMAIL PROTECTED]

On 15 Feb 2001 11:44:43 GMT, [EMAIL PROTECTED] (Oldbehr) wrote:

>Help! I loaded Redhat7 onto separate partition. I cannot startx without
>downloading and installing xfree 4.0.2 drivers which I have downloaded using
>Windows etc. But how can I move these files to my Redhat partition so as to
>install them ? is it possible or am I just a dumb twit for even trying to do it
>this way? any help will be much appreciated

Put this line in your /etc/fstab file:

/dev/hda1   /windows/c   msdos   defaults   0   0

Make sure the empty directory /windows/c exists. Do a 
mount /windows/c

Now you should have the content of your windows partition available in that
directory. After next reboot, it should be mounted automatic.

man mount
man fstab

will help too.

--
Eggert Ehmke
Email: [EMAIL PROTECTED]

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

From: "BeauxBeaux" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.slackware,alt.os.linux
Subject: Re: Making a 486 into a dumb Xterminal
Date: Thu, 15 Feb 2001 07:35:49 -0500

In article <[EMAIL PROTECTED]>, "B'ichela"
<[EMAIL PROTECTED]> wrote:

> I have a 486dx2/66mhz machine here that only has 8mb of ram. It
> works GREAT under x but I want to shave off some baggage. Right now
> its a NFS/NIS client connected to a 486dx2/66 mhz 20mb SERVER! Now
> since the server has the horsepower (ram) to actually run the X11
> applications I want the client only to act as the screen. This
> client will NOT be configured to do anything else!

Linux Terminal Server Project

ltsp.org

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

From: "Meron Lavie" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,alt.uu.comp.os.linux.questions,comp.os.linux,comp.os.linux.admin,comp.os.linux.misc,comp.os.linux.networking,comp.protocols.smb
Subject: Samba 2.0.7/RH7.0 and W2K
Date: Mon, 12 Feb 2001 07:37:24 +0200

I have Samba 2.0.7 running on RH7.0.

I have a dual-boot (W2K/WinMe) PC on the same LAN. I gave each OS its own
computer name and IP. Both OS's and the Linux have both IPs and host names
appearing in their HOSTS file.

Both W2K and WinMe can see and access shared directories on the Linux via
Samba wioth no problem (I enabled un-encrypted passwords on both).

However, only the WinMe can succesfully logon to the domain.

I get the following error messages: "Failed due to process number out of
range" or "credentials already exist".

What am I doing wrong?

--
Meron Lavie
www.redmatch.com - World's Largest Hi-Tech Salary Site
[EMAIL PROTECTED]
NOTE: THERE ARE NO NUMBERS IN MY REAL EMAIL ADDRESS HOST NAME: ANTI-SPAM!







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

From: Ernst Sexauer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Software RAID on ReiserFS (?)
Date: Thu, 15 Feb 2001 14:04:46 +0100



Donovan Rebbechi schrieb:

> I'm wondering if anyone's tried configuring a software RAID on ReiserFS.
>
> We're currently using software RAID (5) with 4 IDE drives. The problem
> with putting the RAID on ext2 is that it takes forever to boot up
> if there's a power outage (it causes about 2 hours of downtime)
>
> I'd be interested to know if anyone's done this.
>

To my knowledge (dec-2000) you can configer Reiserfs with Sw-raid. It may
work, but may produce spurious errors. If you have valuable data (otherwise
you would not want raid) be cautious...

Best regards

E.R. Sexauer


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

From: "Doug Forbush" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: DPT SmartRAID VI on BIG server
Date: 15 Feb 2001 13:30:35 GMT

: That is very strange. At what point does initialization fail, as you put it ? 
: Do you
: actually see 'DPT RAIDx' ( where x is the raid number ) on the DPT
:  banner  ( in place of the brand name and model number of the
: your SCSI drives )  when you boot the machine ? How did you build the array ?

During the linux boot..  BIOS sees it just fine, I can go into the DPT
bios and see all the drive specs, etc..  No hardware setup problems..
When the i2o driver tries to initialize, it can't see the raid..  I can
get 2G with no raid, or 960M (or less) WITH the raid, so I'm positive
it's a conflict..  The hardware is set up fine, because it works under
lower ram conditions..  There's 10 18G drives that show up in the os as
1 giant ~140G drive..  It's all HW raid, so the os doesn't even know the
difference.. It just thinks there's one big scsi drive there..  When I
put the 
        append="mem=2048M"
(or anything higher than 960) line in lilo.conf and run lilo, I get a non
descriptive 'i2o init failure' msg, then since there's no drive/fs's, I
get the 'fix your fs's' prompt and it stops the rest of the startup
scripts & dumps me to the prompt..

I've been looking around, and found stuff about old linux versions and a
960M limit on ram..  I wonder if this driver was made before the limit
was broken, so the driver assumes that 960M would be a good place to put
itself in ram, then 2G of ram comes along and blows it up.. I dunno..

doug

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

From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Compiling kernel
Date: Thu, 15 Feb 2001 14:38:38 +0100

rloc wrote:

> Michael Heiming wrote:
>
> > rob wrote:
> >
> > > At present I am running Mandrake 7.0 (Air) 2.2.14-15mdk.
> > > I recently downloaded the 2.4.1 source code (Linux-2.4.1.tar.gz) and
> > > unzipped this
> > > into /usr/src.
> > >
> > > I then did a make config and worked through all of the steps.
> >
> > You perhaps forgot, the first very impotant step:
> >
> > Reading Documentation/Changes and check if your system has everything
> > mentioned....
> >
> > Good luck
> >
> > Michael
>
> Thanks for the reply Michael. I followed the instructions in the Mandrake
> user guide and reference manual and this made no mention of Documentation
> / Changes. This is my first attempt ever at compiling a kernel so I would
> appreciate some more help if possible.
>
> Thanks
>
> Robert

Hello,

you should read the docs that come with every kernel tarball and read the
Kernel-HowTo.

This link is helpfull and directs you to many docs available on the net:
(But most docs needed should have come with your distro, perhaps you have to
install them)

http://world.std.com/~franl/linux.html

If you need further help, ask your specific question and try to give as much
info as possible (ie. complete error output),
as we obviously can't look in your machine.

Hopefully someone in this newsgroup will be able to help you along.

Good luck

Michael Heiming




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

Date: Thu, 15 Feb 2001 09:14:00 -0500
From: jtnews <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: What's the proper way to insmod aic7xxx on boot in RedHat 7.0?

Gerhard Fuernkranz wrote:

> There are of course many ways to do that ...
> 
> Personally I'd add "alias scsi_hostadapterX aic7xxx" to
> /etc/conf.modules (where "X" is just a number {1,2,...} which
> counts multiple scsi_hostadapter entries in the file) and then
> I'd put the driver on my initrd (see command mkinitrd(8)) and
> run lilo again.
> I don't know if the aic7xxx driver drives your root-disk,
> but if it does, then the above method is the only way to do it.

I have an IDE on my root disk (/dev/hda1)
and a SCSI for my /usr (/dev/sda1)

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

From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: start NTP
Date: Thu, 15 Feb 2001 14:25:01 GMT

On Feb 15, 2001 at 00:38, Victor S. Miller eloquently wrote:

>>>>>> "Alex" == Alex Yung <[EMAIL PROTECTED]> writes:
>
>    Alex> Judging by the location of your startup script, you are not
>    Alex> using RedHat nor Mandrake.  You can use "update-rc.d" to
>    Alex> automate the ntpd startup and shutdown.
>
>Alex, I should have said that I'm running RH 7.0, so I'm puzzled by
>your comment.  How can I do this on RH?
man chkconfig.

-- 
Registered Linux User # 125653 (http://counter.li.org)
Certainly there are things in life that money can't buy,
But it's very funny -- did you ever try buying them without money?
                -- Ogden Nash
  9:22am  up 10 days, 11:57,  7 users,  load average: 0.11, 0.03, 0.01


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

From: "Tino Langer" <[EMAIL PROTECTED]>
Subject: suse 7.1 prof + initio scsi controller
Date: Thu, 15 Feb 2001 15:35:54 +0100

Hello,

I just got Suse Linux 7.1 Professional. Now I tried to install it, but by
loading
the module for the scsi controller nothing goes forward. Module beginns to
load,
finds the first CD-ROM (ID 3) (Pioneer DR-U16S), anything is right, but by
finding
the CD-Recorder (ID 6) (yamaha CRW 4416S) the module stands. The system
isn't
totaly down, but it doesn't go forward. Using the same computer
configuration under
Redhat 7.0 the scsi controler is loaded by the module.
Is there anyone out there who can give my some help, I don't understand that
thing.
Using without CD-Recorder, the module es loaded.

THANX
Tino



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

From: "Bjarke Thor Iversen" <[EMAIL PROTECTED]>
Subject: Re: Linux newbie<HELP!>: dual boot problem(Linux/win98) freeze at "L"( as in 
LILO)!
Date: Thu, 15 Feb 2001 14:47:59 -0000

Well Eric, here are all the outputs you asked for:

Login:
Red Hat linux release 7.0 (Guinness)
Kerenel 2.2.16-22 on an i686
=================================================
/etc/lilo.conf looks like:
boot=/dev/hda/
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message/boot/message
lba32
default=linux

image=/boot/vmlinuz-2.2.16-22
 label=linux
 read-only
 root=/dev/hdd6

other=/dev/hda1
 label=dos
==================================================
When /sbin/lilo -v is run, this is printed out:
LILO version 21.4-4, Copywright (c) 1992-1998 Werner Almesberger
'lba32' xtensions Copywright (c) 1999,2000 John Coffman

Reading boot sector from /dev/hda
Merging with /boot/boot.b
hdb: ATAPI 32X DVD-ROM drive, 512kB Cache
Warning: BIOS drive 0x82 may not be accessible
Warning: BIOS drive 0x82 may not be accessible
Mapping message file /boot/message
Warning: BIOS drive 0x82 may not be accessible
Boot image: /boot/vmlinuz-2.2.16-22
Warning: BIOS drive 0x82 may not be accessible
Added linux *
Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
Added dos
/boot/boot.0300 exists - no backup copy made.
Writing boot sector.
====================================================
fdisk -l /dev/hd[ab](and *[a], and *[b], and *a, and *b):
"bash: fdisk: command not found"
====================================================

"Eric" <[EMAIL PROTECTED]> wrote in message
news:96dmsu$a8$[EMAIL PROTECTED]...
> > Hi, I have been having trouble dualbooting win 98 and LINUX.  I have
Win98
> > up on my C drive(primary-master(hda)) and have now set LINUX up on my D
> > drive(secondary slave(hdd)).  I have the following partitions(on LINUX
> > drive):  boot(15,7MB) and then inside an Extended partition I have the
> Swap
> > partition and root.  OK?
> > Now when I have finished setting up LINUX and reboot, LILO freezes up on
> the
> > "L".  Now I have had help here on this group from Eric, and He told me
to:
> > edit: /etc/lilo.conf, finding a line witch says "Linear", I have and,
> > replaced it with Lba32 then I run /sbin/lilo -v
> >
> > Nothing changes!  LILO still doesn't make it past the L!!!!!
> >
> > please HELP, all I have done already well exceeds my knowlidge of
> > computer(and LINUX) so I have NO IDEA what to do now!!!!..
>
> Hi Bjarke
>
> I forgot what distro you had, so I don't know if your LILO is new enough.
> Check the version. If it is 21.4.3 or higher, it should work, (unless your
> PC is really old)
>
> Did `/sbin/lilo -v` run without complaints?
> Where did it write to? (The boot= parameter in /etc/lilo.conf tells you
> this)
> Do you use LILO as the main bootloader?
>
> I can give you more specific help, if you post the output of the following
> commands:
>
> `fdisk -l /dev/hd[ab]`
> `cat /etc/lilo.conf`
>
> 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.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