Linux-Setup Digest #949, Volume #20              Fri, 30 Mar 01 03:13:11 EST

Contents:
  Need Help to Remove Linux and Merge Partitions (Cory Phillips)
  HOWTO setup a US Robotics/3Com 56K PCI FaxModem Model 5610/2977 (HateLinux)
  Re: booting hdc1 flashdisk into ramdisk (David Efflandt)
  Windows games on LINUX? (Lance)
  Re: Has anyone set up a time server? (Ace)
  Re: Help!  Can't boot from floppy ([EMAIL PROTECTED])
  Re: Windows games on LINUX? (E J)
  Re: Financial program for Linux (E J)
  Re: uname -r gives incorrect kernel version ("Eric")
  Re: Swap:  how big? (C.G.Senthilkumar.)
  SCSI emulation on SuSE 7.0 ("Keith Marjerison")
  SCSI emulation on SuSE 7.0 ("Keith Marjerison")
  Re: Need Help to Remove Linux and Merge Partitions ("Eric")
  Re: Kernel Panicked in Multiboot Environment ("Ed")
  Re: Need help compiling kernel to get driver installed? (C.G.Senthilkumar.)
  Re: Question about file system (Stefano Ghirlanda)
  Re: Print Command? (Lew Pitcher)

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

From: [EMAIL PROTECTED] (Cory Phillips)
Subject: Need Help to Remove Linux and Merge Partitions
Reply-To: [EMAIL PROTECTED]
Date: 29 Mar 2001 23:15:10 -0600

I installed Linux on a 2 Gig drive and have now decided to put the drive
back in my Windows box after purchasing a bigger drive for Linux.

My question is, is there software, other than Partition Magic, which can
merge all the Linux partitions (/, /boot, /proc, /home, etc.) to a single
Windows partition?  Or at lease make the drive have only one partition so
I can reformat it for Windows 98?

Right now, if I just configure the drive as a slave, Windows can't see it
even though the drive is listed in the BIOS.

-- 
Cory Phillips
[EMAIL PROTECTED]

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

From: 2b@home (HateLinux)
Subject: HOWTO setup a US Robotics/3Com 56K PCI FaxModem Model 5610/2977
Date: Fri, 30 Mar 2001 04:36:27 GMT

Using redhat 6.2, standard install

As root, type:
lspci -v

Among other stuff, you get this:

00:0b.0 Serial controller: US Robotics/3Com 56K FaxModem Model 5610
(rev 01) (prog-if 02 [16550])
        Subsystem: US Robotics/3Com: Unknown device 00aa
        Flags: medium devsel, IRQ 11
        I/O ports at d400
        Capabilities: [dc] Power Management version 2

note the IRQ and the port address

now type:

setserial /dev/ttyS1 port 0x0d400 irq 11 uart 16550A
where:

/dev/ttyS1 is my first free "comm port" (try setserial ttyS1,
setserial ttyS2 etc , until you get one with no UART defined. If you
run out of ttyS , you might have to make a new one with:

mknod -m660 /dev/ttyS4 c 4 68   (this would create ttyS4)

port 0x0d400 is the number I got from lspci -v ( I/O ports at d400),
you have to write it in "C" language.

irq 11 I also got from the lspci -v

uart 16550A because all these modems use this UART

Note that ttyS , port, and irq will probably be different on your
machine

OK , now make a link to /dev/modem:

ln -s /dev/ttyS1 /dev/modem

then try setting up wvdial ... should dial.

If all works, add your version of:

setserial /dev/ttyS1 port 0x0d400 irq 11 uart 16550A

to the end of 
/etc/rc.d/rc.local
It will then load up boot-up.

My modem is rock-stable using this setup. I saw various queries about
this modem, with a load of complicated replies. Hope this helps.

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: booting hdc1 flashdisk into ramdisk
Date: Fri, 30 Mar 2001 05:26:04 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Thu, 29 Mar 2001 23:33:29 GMT, Vince Skahan <[EMAIL PROTECTED]> wrote:
>I'm building a mini-redhat-based distribution for internal use
>and am running into problems getting it to boot off of flash 
>disk into ramdisk without a boot floppy. This distribution will
>go onto single-board linux routers, so there's no spinning disk
>in production.
>
>Configuration:
>       /dev/hda = development system (EIDE, full-up rh7)
>       /dev/hdc = flash disk containing mini-rh distribution
>
>I've come up with a GRUB boot floppy that works ok, but need to get it
>booting directly off the ramdisk.  My floppy menu.lst file that works
>so far contains :
>       title flashdisk
>       root  (hd1,0)
>       kernel /vmlinuz root=/dev/ram read-only ramdisk=48000 
>       initrd /initrd
>
>GRUB documentation is skeletal and incomplete at best.
>
>When I try to install GRUB to the MBR on the flash disk, the
>system displays the word "GRUB" when it boots and hangs there.
>
>Lilo isn't any better, with it either coming up with "LI" or 
>just "L" when it tries to boot, so I'm obviously missing something
>in how I'm trying to install the boot loader to the hdc mbr.
>
>Any help would be greatly appreciated.  I have a o/s that runs
>great, just can't get the darn thing to boot unaided from 
>flash disk.

Does your BIOS support making hdc the boot drive and was it in that
configuration when you installed Linux?  Otherwise something might be
confused which drive is which and LILO cannot find your kernel.

However, I have only done this with Windows (booted from hdb) so I am not
sure how Linux sees the drive order when BIOS is set to boot a drive other
than the first.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

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

From: Lance <[EMAIL PROTECTED]>
Subject: Windows games on LINUX?
Date: Fri, 30 Mar 2001 05:30:08 -0000

I'm looking at installing Linux, but I want to know if there is a program 
that will allow Linux to run all the games designed for Wondows 9X/ME.  Is 
there something that can do this?

Lance

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

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

From: Ace <[EMAIL PROTECTED]>
Subject: Re: Has anyone set up a time server?
Date: Fri, 30 Mar 2001 05:37:27 GMT

Craig Kelley wrote:
> [EMAIL PROTECTED] (Pumpkinhead) writes:
> 
> > I installed ntp4 on a system and started the daemon.  This cause 3
> > daemons to run.  Fine.
> > 
> > Next, I install said software on an identical system and I have a
> > defunct process.  This happened on a third machine as well, albeit a
> > different kind of system.
> > 
> > Any idea on how I can troubleshoot this?
> > 
> > Also, if I do get it to run, on the "time clients", do I merely need
> > to mention the ip address of the "time server" in their /etc/ntp.conf
> > file?
> > 
> > And if this software doesn't work, what other options do I have?
> 
> NTP is fairly complicated.  It should only run one daemon (other than
> ntpdate, which should run once and then exit).
> 
> Grab a cup of coffee and read up:
> 
>   http://www.eecis.udel.edu/~ntp/ntp_spool/html/index.htm
> 
> (I use ntpd on all my core machines, and just use ntpdate on all the
> workstations at bootup)

XNTPD installed very painlessly for me out of the box.  The only thing I 
did was edit /etc/ntp.conf to add in some servers from the list at

        http://www.eecis.udel.edu/~mills/ntp/servers.htm



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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc,linux.redhat.misc
Subject: Re: Help!  Can't boot from floppy
Date: 30 Mar 2001 05:43:08 GMT

In article <9a11u0$[EMAIL PROTECTED]>, Hiawatha Bray
<[EMAIL PROTECTED]> writes:
>Great!  What is it and how does it work?
>
>I already used rawrite to make a boot disk, and that didn't work.  I'll try
>anything once.  Well, almost anything!
>
>
>"Mike Sabin" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> I believe that the "mkbootdisk" command may help you.
>>
>>
>> On 30 Mar 2001 01:31:11 GMT, Hiawatha Bray <[EMAIL PROTECTED]> wrote:
>> >  I have copied a Linux boot image to floppy, but my computer refuses to
>> >boot from it.  It starts running initrd.img and then says "boot failed."
>I
>> >tried two different boot disks, with the same result. Anybody know why?
>> >
>> >
>
Check out the man page for mkbootdisk.
As a synopsis use  at the prompt   $ mkbootdisk --device /dev/fd0
<kernelversion>
Where the kernel version is the number that is for example shown just before
the login prompt. That should work.
/*bye*/

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

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

From: E J <[EMAIL PROTECTED]>
Subject: Re: Windows games on LINUX?
Date: Fri, 30 Mar 2001 05:53:41 GMT

Stop your wining :)
It is WINE.  Improving a lot to play more Windows Games.

Lance wrote:

> I'm looking at installing Linux, but I want to know if there is a program
> that will allow Linux to run all the games designed for Wondows 9X/ME.  Is
> there something that can do this?
>
> Lance
>
> --
> Posted via CNET Help.com
> http://www.help.com/


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

From: E J <[EMAIL PROTECTED]>
Subject: Re: Financial program for Linux
Date: Fri, 30 Mar 2001 05:59:29 GMT

How about gnucash?

Paul Folbrecht wrote:

> My switch from Windoze to Linux is virtually complete (except for
> games).  The only thing I need know is a decent financial management
> app, similar to Quicken.  Although, I really don't need anything that
> sophisticated- just a simple check register would do.
>
> Would like to hear input from others here.  Thanks.


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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: uname -r gives incorrect kernel version
Date: Fri, 30 Mar 2001 08:22:32 +0200

take a look at grub, another linux bootloader, that I believe will offer
you what you want.

Eric



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

From: C.G.Senthilkumar. <[EMAIL PROTECTED]>
Subject: Re: Swap:  how big?
Date: Fri, 30 Mar 2001 06:30:04 -0000

Normally the swap space is twice the RAM size.
And the 2KB that you are talking about is nothing to worry. Some part of
the swap is used for something which don't remember.

Craig Kelley wrote:
> 
> 
> Laura Goodwin <[EMAIL PROTECTED]> writes:
> 
> > I'm dual-booting WinME and Mandrake 7.2.  I have two HDs: including a 6
> > G slave HD dedicated to Linux.  I tried to set up a 128 MB swap file,
> > but it says it's 126.  Does that matter?  I want to run VM Ware, and I
> > wonder if the swapfile is big enough.  I have got 256 MB RAM, is a
> > swapfile really even necessary?
> 
> YES.  You want a place to put stuff that isn't being used, and your
> system will run slower without the swap file.  128MB is probably fine.
> 
> -- 
> It won't be long before the CPU is a card in a slot on your ATX
videoboard
> Craig Kelley  -- [EMAIL PROTECTED]
> http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block


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

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

Crossposted-To: comp.os.linux.misc,alt.os.linux.suse
From: "Keith Marjerison" <[EMAIL PROTECTED]>
Reply-To: "Keith Marjerison" <[EMAIL PROTECTED]>
Subject: SCSI emulation on SuSE 7.0
Date: Fri, 30 Mar 2001 06:47:43 GMT

Hello Again;
        I have an IDE burner ( HP CDWriter+ ) and would like to use it in
Linux. I have gone through the directions in the SuSE Linux 7.0 Personal
edition 'Configuration' manual on page 122, and adjusted the item 'Append
line for hardware parameter' in 'LILO' and altered the file
'/etc/modules.conf'/ , but the emulation does not work. All I have done is
removed my CD burner as a CDRom.
        My CD Burner is on ide1 slave with a CDRom as master. 
        I added 'hdd=ide-scsi' to 'Apend line for hardware parameter' and
saved my changes and exited 'YaST'.
        I changed the line 'alias scsi_hostadapter off' to 'alias
scsi_hostadapter ide-scsi' in the file/etc/modules.conf'.
        Thats all the manual says to do, but when I try to 'Configure'
'X-CD-Roast' it does not see the 'ide-scsi' drive emulation.
        What have I missed?
        Thanks in advance. 

/>Keith Marjerison
/>[EMAIL PROTECTED]



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

From: "Keith Marjerison" <[EMAIL PROTECTED]>
Reply-To: "Keith Marjerison" <[EMAIL PROTECTED]>
Subject: SCSI emulation on SuSE 7.0
Date: Fri, 30 Mar 2001 06:51:16 GMT

Hello Again;
        I have an IDE burner ( HP CDWriter+ ) and would like to use it in
Linux. I have gone through the directions in the SuSE Linux 7.0 Personal
edition 'Configuration' manual on page 122, and adjusted the item 'Append
line for hardware parameter' in 'LILO' and altered the file
'/etc/modules.conf'/ , but the emulation does not work. All I have done is
removed my CD burner as a CDRom.
        My CD Burner is on ide1 slave with a CDRom as master. 
        I added 'hdd=ide-scsi' to 'Apend line for hardware parameter' and
saved my changes and exited 'YaST'.
        I changed the line 'alias scsi_hostadapter off' to 'alias
scsi_hostadapter ide-scsi' in the file/etc/modules.conf'.
        Thats all the manual says to do, but when I try to 'Configure'
'X-CD-Roast' it does not see the 'ide-scsi' drive emulation.
        What have I missed?
        Thanks in advance. 

/>Keith Marjerison
/>[EMAIL PROTECTED]



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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Need Help to Remove Linux and Merge Partitions
Date: Fri, 30 Mar 2001 08:54:32 +0200

> My question is, is there software, other than Partition Magic, which can
> merge all the Linux partitions (/, /boot, /proc, /home, etc.) to a single

Why would you want to merge them?
Just delete them

> Windows partition?  Or at lease make the drive have only one partition so
> I can reformat it for Windows 98?

partitionmagic would be way overkill for this.
Just delete all the partitions on that disc, with fdisk.
After that's done, create one big new partition.

> Right now, if I just configure the drive as a slave, Windows can't see it
> even though the drive is listed in the BIOS.

Sure it can, it just doesn't know the partitions.
Use fdisk to clear thedisk

Eric



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

From: "Ed" <[EMAIL PROTECTED]>
Subject: Re: Kernel Panicked in Multiboot Environment
Date: Fri, 30 Mar 2001 02:12:26 -0500

Thanks. I appreciate the detailed instructions.  I will try them tomorrow
and post back on the results.  I'm basically fumbling around with the Linux
OS at this point which may have been obvious.

"Rod Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> [Posted and mailed]
>
> In article <99td95$fpd$[EMAIL PROTECTED]>,
> "Ed" <[EMAIL PROTECTED]> writes:
> > Does anyone know if my Linux system can be recovered.  I'm getting
messages
> > something like this:
> >
> > "Invalid session number or type of track."
> > "Kernel panic. VFS: unable to mount root on 03:05."
> >
> > I did something stupid to cause this.  I expanded my extended partition
> > where Linux resides, adding a new logical partition to the front.
> >
> > One other thing. I was never able to make a Linux boot diskette. I
couldn't
> > figure out the command. I have my Mandrake CD though. And I have Win2K
Pro
> > and WinMe working in primary partitions. And I have PartitionMagic 6.0
and
> > BootMagic working.
>
> Assuming everything worked the way it was supposed to work (that is, no
> trashed filesystems caused by a bug or system crash when resizing
> partitions), the Linux IDs for the logical partitions in the extended
> partition have all moved up one. It sounds like your Linux root (/)
> partition was on /dev/sda5. It's now /dev/sda6. Therefore, your
> /etc/fstab file is now invalid, as is your /etc/lilo.conf file and the
> copy of LILO you've got installed.
>
> To recover this situation, follow these (admittedly sketchy) steps:
>
> 1) Boot from an emergency recovery disk. Many distributions' boot CDs
>    can function in this capacity in a pinch.
> 2) Mount the Linux root (/) partition.
> 3) Modify the /etc/fstab file on the linux root (/) partition to reflect
>    the changed IDs.
> 4) Unmount the Linux root (/) partition.
> 5) Boot a DOS floppy (or DOS partition, or Windows 9x/Me in DOS mode).
>    This floppy should have CD-ROM support, or you'll need to copy files
>    from CD-ROM to disk or floppy.
> 6) Insert the Linux installation CD-ROM.
> 7) Use LOADLIN on the Linux installation CD-ROM in conjunction with the
>    Linux kernel on that CD-ROM (or one copied from your system, if you
>    prefer -- but you'll need to make the copy before step #4) to boot
>    the system.
> 8) Edit /etc/lilo.conf to reflect the changed partition numbers. If
>    you've installed LILO in the root (/) partition's boot sector, *BE
>    SURE* to change the boot= option as well as the root= options for all
>    your boot images, otherwise you may damage your new partition,
>    depending upon what type it is.
> 9) Type "lilo" (without the quotes) to re-install LILO.
>
> If you've not done this sort of thing before, step #1 and to a lesser
> extent step #7 may prove to be puzzling. I'm not sure exactly what
> Mandrake offers to help out with things like this, so I can't give you
> more precise instructions without trying it myself.
>
> --
> Rod Smith, [EMAIL PROTECTED]
> http://www.rodsbooks.com
> Author of books on Linux & multi-OS configuration



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

From: C.G.Senthilkumar. <[EMAIL PROTECTED]>
Subject: Re: Need help compiling kernel to get driver installed?
Date: Fri, 30 Mar 2001 07:30:08 -0000

Hi,
        You'll have to have to have the proper driver src or the object file. Hope
you are compiling for a Inter PC. Put it in the proper directory. And do:
cd /usr/src/linux
make menuconfig
Select the ATA/IDE/MFM/RLL support  --->  option and see if you have your
device listed there and choose the appropriate
thing.                            

Then you have to follow the usual procedure for compiling linux like make
dep and make bzImage and then enzoy. (Hopefully you'll.)

Cheers,
C.G.Senthilkumar.
Andy wrote:
> 
> I have a promise ata/100 pci card (it will be connected to a maxtor 20gb
> hdd) that I am trying to get working with rh7.0 kernel 2.2.16-22.
> 
> Is there an easy step by step tutorial on how to get the kernel compiled
> or can someone tell me what to do (without spending alot of your time)?
> Currently I don't need details on how the kernel works.  I just want to
> get the driver loaded.  After I get everything up and running I would
> like to get in depth info on the kernel and how it works.
> 
> I have read the kernel howto, and the readme documentation in /usr/src
> and still ran into problems with compiling.
> 
> Your help is greatly!!!! appreciated
> 


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

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

From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,alt.os.linux.mandrake
Subject: Re: Question about file system
Date: 30 Mar 2001 09:46:52 +0200

"Anthony" <[EMAIL PROTECTED]> writes:

> I'm new to linux, and I don't fully understand the structure of the
> file system.  Where should I mount a network storage drive in the
> file system?

Aynwhere. Just don't mount it on a non-empty directory. Maybe the most
usual places are  under /mnt, e.g. /mnt/myserver or under /home.

-- 
Stefano - Hodie tertio Kalendas Apriles MMI est

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

From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: Print Command?
Date: Thu, 29 Mar 2001 22:01:32 -0500

"Jorge A. Melendez" wrote:
> 
> I am trying to use the 'print' command  in a script in Redhat Linux
> 7.0.  I don't find the command 'print' or a 'man' page on it.
> 
> I want to confirm that Linux uses the 'echo' command instead of 'print'?

Well, we cant confirm that until you tell us what you think that the
'print' command does <g>.

If you intend to display a text line, then 'echo' will do.
If you intend to print a text file, then 'lpr' is the command to use.
If you intend to wear flowered shirts ('prints' <g>), then you have to
install a custom package.


-- 
Lew Pitcher

Master Codewright and JOAT-in-training
Registered Linux User #112576

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


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