Linux-Misc Digest #559, Volume #24 Mon, 22 May 00 13:13:04 EDT
Contents:
rhs and root (Clifford Kite)
Re: Linux emulator (Robert Wiegand)
Re: PDF files (Gerald Willmann)
vim startup (Hans-Joachim Drescher)
Re: How to split text file into two files that have ODD and EVEN pages. (Tom Fawcett)
Re: Multiple OS's for software testing (Bastian)
Re: surface scanning a hard disk loaded with Linux (Bastian)
"On the next boot fsck will be FORCED" Sure :-) but why *not* ?? (Andrei A.
Dergatchev)
Re: Need ideas for university funded project for linux (Leslie Mikesell)
Re: Compiling from source... Which compiler do I need? (Markus Kossmann)
Debian 2.1 Linuxbox won't ping my other Linuxbox (mike)
hisax (isdn driver module) won't load... (Tuomas Launiainen)
Re: Maximum number of files that can be opened in linux ("Steve Wolfe")
Re: Configuring SIS 6326 in Linux !! (Alp)
Re: Just a Black screen in Gnome-terminal? (Kevin)
Re: arch ... (Steve)
Re: how to enter a bug report against linux? (Steve)
Re: Linux email and file rights problems (Steve)
Re: hangs (for a while) for "eth0" (Steve)
Re: Slackware or Debian (Scott Bishop)
Re: Anyone find VMware kernel version hassles? ([EMAIL PROTECTED])
Re: What kernel in Debian/GNU 2.1? (brian moore)
Re: different Linux systems on the same PC (Rod Smith)
Format a floppy in Linux (George Bell)
----------------------------------------------------------------------------
From: Clifford Kite <[EMAIL PROTECTED]>
Subject: rhs and root
Date: Mon, 22 May 2000 10:16:20 -0500
Hi-
Probably an FAQ but it's not documented in man rsh
and I'm not sure where else to look.
Is a command such as "rsh localhost ls"
permitted as root?
Thanks,
Cliff
------------------------------
From: Robert Wiegand <[EMAIL PROTECTED]>
Subject: Re: Linux emulator
Date: Mon, 22 May 2000 09:46:40 -0500
Andrew Williams wrote:
>
> I think VMware has a product that goes the other way as well.
>
> Javier Intriago wrote:
>
> > There is a way to run Linux on Windows 98?, like VMware and win4lin does to
> > run Windows on Linux.
> >
> > I have to do work on Windows 98 but I would like to run Linux at the same
> > time.
I beleive that VMware is available for Linux an NT only, not Win98.
I would suggest runing Linux as the main OS and run Win98 under VMware.
--
Regards,
Bob Wiegand [EMAIL PROTECTED]
------------------------------
From: Gerald Willmann <[EMAIL PROTECTED]>
Subject: Re: PDF files
Date: Mon, 22 May 2000 08:27:31 -0700
On Mon, 22 May 2000, Golan Derazon wrote:
> With which application can I read & edit .PDF files ?
read: acroread, xpdf, ghostview (all free)
write: only acrobat afaik (costs money)
alternatively, you could learn the language
and edit the files in a text editor :)
Gerald
--
------------------------------
From: Hans-Joachim Drescher <[EMAIL PROTECTED]>
Subject: vim startup
Date: Mon, 22 May 2000 17:36:32 +0200
Hello to everybody
does someone know why the startup of vim is so slow, especially for long
distance telnet ?
And possibly how to avoid this ?
I tried switches like -n (no swap file) but it didn,t help. I don't have
any rc-files.
Thanx,
hajo
------------------------------
From: Tom Fawcett <[EMAIL PROTECTED]>
Subject: Re: How to split text file into two files that have ODD and EVEN pages.
Date: 22 May 2000 08:41:25 -0700
"Robert Wynkoop" <[EMAIL PROTECTED]> writes:
> I would like to print a file on both sides of a piece of paper, but don't
> have a duplex printer. How can I use my Redhat 6.2 config to print the
> ODD pages, then feed the pages back in and print the EVEN pages?
The way I'd do this is to convert the file to Postscript using a2ps, then
use psselect to select the odd and even pages for printing. Better yet,
use the psmandup script, which handles odd/even page selection and printing
automatically.
a2ps and psmandup are in the a2ps package, and psselect is in psutils.
You probably want to convert the file to Postscript first anyway, since
this gives you a lot of control over fonts, formatting and layout.
-Tom
------------------------------
From: [EMAIL PROTECTED] (Bastian)
Subject: Re: Multiple OS's for software testing
Date: 22 May 2000 15:51:33 GMT
On Mon, 22 May 2000 10:26:04 -0400, Dennis wrote:
>I'm writhing code that is intended to run under Win(Any) and eventually
>Linux. My question is if anyone has ever set up a computer that has all
>of the following OS's on them, or if it is a bad idea? DOS 6.x for some
>old legacy code, Win95, Win98, WinNT 4, Win2000, and Linux. I know that
>is a lot of OS's, but we will use Partition Magic to set up partitions
>and control booting. Thanks for any helpful information.
>
>
>Dennis,
I had OS/2, Windoze95, WindozeNT and DOS (+Win3.11) on 850 MB...
I'd use vmware instead, because you can run several OS's at the same
time if your hardware allows it.
Bastian
------------------------------
From: [EMAIL PROTECTED] (Bastian)
Subject: Re: surface scanning a hard disk loaded with Linux
Date: 22 May 2000 15:51:34 GMT
On Mon, 22 May 2000 11:16:35 GMT, [EMAIL PROTECTED] wrote:
>Hi!
>
>I have been using Linux for quite some time now but I still don't have
>a satisfactory answer to this question: What utility can I use to
>reliably surface scan a hard disk loaded with Linux? I've tried the
>TuffTestLite diagnostic utility and it seems to be one of the answers.
>But are there others?
Use the program "badblocks".
>Oh, and I'd like some tips on how to get Linux CDs cheaply. I live in
>the Philippines and sometimes I want to order in the internet(I ordered
>my first Linux CD set from the internet :) ).
If anyone knows how to get cheap CD's in Germany: I'm the trashcan you
can put that information to. Prices here are incredibly expensive:
$10 for a burned (not really-working-well) CD!
Bastian
------------------------------
From: [EMAIL PROTECTED] (Andrei A. Dergatchev)
Subject: "On the next boot fsck will be FORCED" Sure :-) but why *not* ??
Date: Mon, 22 May 2000 15:57:26 GMT
Hi,
This is almost 3 years old Slackware system, and today I noticed
for the first time a message which I never ever saw previously.
After usual "shutdown -r now" (I have to use MS Office to stay
compatible with the rest of my group) I noticed a new message,
which appears last after all the typical shutdown messages I used
to see for years:
...
On the next boot fsck will be FORCED
(and systems goes to reboot)
What makes me wonder is that in fact, _nothing_ is happening
on new reboots, I rebooted several times to see what will happen,
I'm just getting this message again and again.
I'm just wondering why is that ??
Thanks for any info and hints,
Rgds,
Andrei
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: 22 May 2000 10:57:36 -0500
In article <[EMAIL PROTECTED]>,
David Steuber <[EMAIL PROTECTED]> wrote:
>Well, KDE _is_ GPL'd. That is a requirement of using Qt Free
>Edition. I'm not sure that using the Lesser GPL is even an option.
>
>That option _does_ exist for GTK+ and GTK--.
>
>For myself, if I am going to produce free software, I want it to be
>GPL. I don't want my work to be used in proprietary software unless I
>get paid for it.
This doesn't make a bit of sense from a user's perspective. You
are saying that I can use the code only as long as it isn't linked
to something else that I might happen to need that is under
someone else's control. I don't think the internet would exist
as we know it today had it not been for the reference BSD code
that does allow use in proprietary works as well as additional
free ones.
Les Mikesell
[EMAIL PROTECTED]
I also don't feel that I can produce code of such
>high quality that others should pay to use it a la' Microsoft
>shitware. However, I can certainly do good things with the help of
>others. I think such help is easier to get if the code is GPL. It
>means no one can steal the work of others.
>
>What TrollTech is currently doing with Qt 2.x and higher is a good
>thing. People who produce GPL software can use Qt without worrying
>about the QPL. Modifying Qt is another story, but I expect that
>worthy changes would be incorporated into Qt. It is certainly
>possible to use inheritance to extend Qt. Your code is GPL anyway.
>TrollTech can't take GPL code and put it under the QPL.
>
>If you don't like Qt, then you can simply use another toolkit.
>GTK+/GTK-- is a popular, free toolkit. There is also Tk. Tk has been
>ported to more platforms than both Qt and GTK+.
>
>If the above options, including toolkits I haven't mentioned, are not
>to your liking, then you can undertake writing your own toolkit. I'm
>sure that is more work than writing any single application.
>
>--
>David Steuber | Hi! My name is David Steuber, and I am
>NRA Member | a hoploholic.
>
>All bits are significant. Some bits are more significant than others.
> -- Charles Babbage Orwell
------------------------------
From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: Compiling from source... Which compiler do I need?
Date: Sun, 21 May 2000 18:34:52 +0200
David Bell wrote:
>
> Hello! When running the configure script included with the WINE source, I get
> this error:
>
> loading cache .config.cache
> checking whether make sets ${MAKE} ... yes
> checking for gcc ... gcc
> checking whether the c compiler (gcc) works ... no
> configure: error: installation or configuration problem: c compiler cannot
> create executables.
>
> I've got gcc, gcc-cpp and make installed... What else do I need? Thanks!
>
Did you install the development packages for the libraries used by wine
?
For example the development package for (g)libc ?
--
Markus Kossmann
[EMAIL PROTECTED]
------------------------------
From: mike <[EMAIL PROTECTED]>
Subject: Debian 2.1 Linuxbox won't ping my other Linuxbox
Date: Mon, 22 May 2000 12:19:47 -0400
Hi,
I know that my hardware is ok because I had Redhat 5.1 on
the system and it was networked well with my other computer.
I just installed Debian 2.1 on the same computer by changing drives
so only one system is on and one drive in the system.
When I do ifconfig, I get both lo and eth0 listed with
my assigned ip of 10.0.0.2 for the computer. I can ping 10.0.0.2
but I can't ping my other computer. I can ping localhost also.
I don't now where the various config files are for the network
in Debian. The the file that I know of is /etc/networks. I don't
know what the minimum config that is needed to set up
a network card. If I do lsmod, it lists the ethernet modules
for my card. The only thing that I can think of at this point
is maybe the route has to be set up properly.
Anyone know if there is a network setup utility in Debian?
Thanks
Mike
------------------------------
From: Tuomas Launiainen <[EMAIL PROTECTED]>
Subject: hisax (isdn driver module) won't load...
Date: Mon, 22 May 2000 19:28:28 +0300
I have a Terton 128i passive isdn card. I'm told they are either WInbond
6692 or HFC PCI based, so I compiled hisax support for both in my
kernel, hisax as module. Then I installed isdn4k and isdn4linux and ran
"isdn setup".
Then, "modprobe hisax type=35 (or 36, tried both) io=0xd400 (this is
correct, I checked)" prints out:
/lib/modules/2.2.14-5.0/misc/hisax.o: init_module: Device or resource
busy
/lib/modules/2.2.14-5.0/misc/hisax.o: insmod
/lib/modules/2.2.14-5.0/misc/hisax.o failed
/lib/modules/2.2.14-5.0/misc/hisax.o: insmod hisax failed
and "insmod hisax type=36 (or 36) io=0xd400" prints:
/lib/modules/2.2.14-5.0/misc/hisax.o: init_module: Device or resource
busy
What could this mean? The sound card has the same irq as the isdn card,
but that works fine in windows and the sound card works in linux too.
What can be done?
------------------------------
From: "Steve Wolfe" <[EMAIL PROTECTED]>
Subject: Re: Maximum number of files that can be opened in linux
Date: Mon, 22 May 2000 10:31:16 -0600
> max. files open at once is by default 4096.
I find it interesting that that number is mentioned so often. On 2.2.9
and 2.2.14, with ulimit-ing off, 1024 was the maximum open files. On
2.2.15, I also get 1024 from ulimit -a.
> This can be changed
> dynamically; see /usr/src/linux/Documentation/proc.txt for details on
> that.
And, on 2.2.9 and 2.2.14, trying to increase the number dynamically didn't
work. Only by editing the source (as was recommended in previous versions)
would increase it....
steve
------------------------------
From: Alp <[EMAIL PROTECTED]>
Subject: Re: Configuring SIS 6326 in Linux !!
Date: Mon, 22 May 2000 16:30:09 GMT
Arun,
Goto /etc/X11 and edit your XF86config file so that it will look stg like
below:
Section "Device"
Identifier "SiS 3D PRO AGP"
VendorName "Unknown"
BoardName "Unknown"
VideoRam 8192
Option "no_accel" # Use this if acceleration is causing problems
# Option "fifo_moderate"
# Option "fifo_conserv"
# Option "fifo_aggresive"
Option "fast_vram"
Option "no_bitblt"
# linear addressing is required for 16 bit color
# Option "no_linear"
Option "sw_cursor"
# Option "pci_burst_on"
# Option "xaa_benchmark" # DON'T use with "ext_eng_queue" !!!
# Option "ext_eng_queue" # Turbo-queue. This can cause drawing
# errors, but gives some accel
# Insert Clocks lines here if appropriate
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
# The Colour SVGA server
Section "Screen"
Driver "svga"
Device "SiS 3D PRO AGP"
Monitor "My Monitor"
Subsection "Display"
Depth 16
#Modes "640x480" "800x600" "1024x768" "1280x1024"
Modes "1024x768"
ViewPort 0 0
Virtual 1024 768
#Virtual 1600 1280
EndSubsection
EndSection
The above setting starts the X server with 16 bit colors and 1024x768
resolution by default. My AOPEN PA55 card doesn't work properly without
"no_bitblt" and "sw_cursor". You may want to try without them.
Also set your monitor's refresh rates in section monitor like below:
Section "Monitor"
Identifier "My Monitor"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30-70
VertRefresh 50-120
Good luck,
Alp
Arun Mahajan wrote:
>
> Hi everybody,
>
> i installed linux with DOs as dual booting. Now the problem is with
> starting Xwindows in linux. I have SIS 6326 AGP video card with 8mb ram
on
> it and Hyundai Deluxscan 14S monitor. If I run Xconfigurator (these two
are
> listed there) and ask to probe it it finds the card as SIS 6326 with 8
bit
> 800x600 resolution but when testing it fails.
>
> Is there any special settings reqd.!! A detailed step by step
instructions
> will be highly appreciated.
>
> Thanks in advance for any help.
>
> regards,
> Arun
>
> --
> Posted via CNET Help.com
> http://www.help.com/
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Kevin <[EMAIL PROTECTED]>
Subject: Re: Just a Black screen in Gnome-terminal?
Date: Mon, 22 May 2000 16:30:07 GMT
> Here is a possibility. Gnome-terminal gives
> you the ability to change the color of the
> text and background. Perhaps they both
> got set to black so all you see is a black screen
> even though the text is actually there. Try typing
> netscape and pressing return to see if the terminal
> is working. If worst comes to worst you can
> always delete the Terminal file in you .gnome directory
> which will restore the default configuration of the
> gnome-terminal.
> Hope that helps
> Kevin
Thank you for your help!
I will try it tonight!
Another think! I don`t want to delete the wrong file!
Could you tell me the name of the terminal file i need to delete!
I currently use Redhat6.
Thank you
Kevin
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Steve)
Subject: Re: arch ...
Reply-To: [EMAIL PROTECTED]
Date: 22 May 2000 17:49:43 GMT
On Mon, 22 May 2000 05:07:39 GMT, Robert L. wrote:
>after installing a kernel source, there's some directory i think i can
>remove.
>I'm on a i386 ( i686 ) and i don't think i need any other ( mips, sparc,
>alpha, etc... ).
>Can i simply erase those directory in the arch directory?
I'd rename the directorys that you want to delete, leave them there but
renamed eg: "rm ./sparc sparc_tmp" for about a week or so and if you aren't
having any problems then delete them.
But having said this, if I'd upgraded my kernel I don't think I'd be in a
rush to delete any of the files that were used. You may need to recompile
the kerned again for some reason, and it may require the other directories
for some of it's information.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.ndirect.co.uk/~sjlen/
or http://start.at/zero-pps
4:48pm up 5 days, 53 min, 3 users, load average: 1.00, 1.00, 1.00
------------------------------
From: [EMAIL PROTECTED] (Steve)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: how to enter a bug report against linux?
Reply-To: [EMAIL PROTECTED]
Date: 22 May 2000 17:49:45 GMT
On 22 May 2000 03:26:53 -0700, steve@howdy wrote:
>
>any one can give a link or have information on how can one
>enter a bug report if they find a problem in the linux OS?
>
>Is there an official site setup so one can do that? if not,
>how does one report a bug in linux? is it distro specific?
>I see rhat have a bug report page
>
>http://bugzilla.redhat.com/bugzilla/
>
>But if one has a bug in kernel, is that the place to
>report it? btw, I did not see such a thing on Suse web site.
>
>looking at http://www.kernel.org I did not see a place
>to report a bug.
>From the Meta-FAQ dated February 6, 2000
Note that at this time, the kernel developers are not answering bug
requests for earlier kernels, but instead are concentrating on
developing 2.3.x version kernels and maintaining 2.2.x version
kernels.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.ndirect.co.uk/~sjlen/
or http://start.at/zero-pps
4:48pm up 5 days, 53 min, 3 users, load average: 1.00, 1.00, 1.00
------------------------------
From: [EMAIL PROTECTED] (Steve)
Subject: Re: Linux email and file rights problems
Reply-To: [EMAIL PROTECTED]
Date: 22 May 2000 17:49:47 GMT
On Sun, 21 May 2000 13:30:02 GMT, [EMAIL PROTECTED] wrote:
>Hi people,
>
>I am new to linux and I am having trouble with it. When I log into the
>system it tells me that dev//tty0 (i think) is read only. I cannot send
>any emails or delete any files as it tells me that the file is read only.
>
>I think the whole drive is read only which is why I cannot do anything.
>Does anyone have any ideas how to restore the drive back to the way it was.
>
>Any advice will be much appreciated.
Go into a directory where you want to delete some stuff eg: home/jim/docs/tmp
do ls -l and you should get a list that hells you who owns what:
drwxr-xr-x 5 sjlen root 1024 May 20 22:49 sounds
-rw-r--r-- 1 sjlen root 5270 Apr 2 00:00 stsky.zip
drwxr-xr-x 3 sjlen root 2048 May 15 18:56 text
-rw-r--r-- 1 sjlen root 15723 May 19 00:50 title.jpg
The above listing tells me that the user sjlen owens both the
directories and both of the files listed.
You can change the owner of a file with the chown command do:
$ man chown
Then you can change the attributes of the file or files in
question with the chmod command see the chmod man page
for details, (briefly this command lets you change the read,
write, execute and other such attributes).
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.ndirect.co.uk/~sjlen/
or http://start.at/zero-pps
4:48pm up 5 days, 53 min, 3 users, load average: 1.00, 1.00, 1.00
------------------------------
From: [EMAIL PROTECTED] (Steve)
Subject: Re: hangs (for a while) for "eth0"
Reply-To: [EMAIL PROTECTED]
Date: 22 May 2000 17:49:48 GMT
On Sun, 21 May 2000 19:06:41 -0700, Simon Huang wrote:
>hi, i am using a "westell" adsl modem with a "kingston kne110tx" ethernet
>card on my redhat 6.2 system. each time my computer boots, it stop for a
>while for starting the device "eth0" and then say "failed". can anyone tell
>me what's the problem?
Only thing I can suggest is go through your setup routine for the NIC and
see if there's anything you've missed, and also go through the ADSL-HOWTO
and see if there's anything in there that helps.
If you havn't got the HOWTOs they're available from:
http://www.linuxdoc.org
Good luck.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.ndirect.co.uk/~sjlen/
or http://start.at/zero-pps
4:48pm up 5 days, 53 min, 3 users, load average: 1.00, 1.00, 1.00
------------------------------
From: Scott Bishop <[EMAIL PROTECTED]>
Subject: Re: Slackware or Debian
Date: Mon, 22 May 2000 11:46:37 -0500
Hey Ruben,
Ruben Haugan wrote:
>
> So... I need some help on this one. Can someone who uses Debian or Slackware
> tell me a little about the benefits and the problems - simply pros and
> cons - of these distributions?
Well, you've heard from the Debian side, and they've given you a very
good argument for Debian, so as a long-time Slackware user I'll just add
in my two cents. :) Slackware does force you to learn to do
configuration by hand, though there ARE some utilities to help you in
that regard (pppsetup, whatever the network config is, etc). However,
this is better, IMHO, because that way you're not tempted to use the
nice graphical utilities as a crutch, and are a little less helpless
when those utilities fail you for some reason or another. :) I've TRIED
Debian, but I could never get into it. The two reasons are twofold:
one, Debian, like a lot of distros, goes for an
"everything-but-the-kitchen-sink" approach to what software they include
with the distro. Slackware is a lot slimmer, by comparison. Second,
neither Slackware's nor Debian's installation system is particularly
pretty, but Debian's had me tearing my hair out. I just found it
extremely arcane and unwieldly. That alone convinced me not to use
Debian anymore.
Anyway, that's just my $.02. My best recommendation, though, would be
to go to LinuxMall or Cheapbytes and buy $2 CD's of each, and try them
both out. Decide what YOU like best. :)
--
--Scott Bishop
WALKER BOLT Manufacturing Co.
(Notice: The opinions stated in this message are not necessarily those
of my employer, nor of any other sane individual for that matter.)
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Anyone find VMware kernel version hassles?
Date: Sun, 21 May 2000 14:32:01 GMT
Reply-To: [EMAIL PROTECTED]
In <8g70sp$1i3o$[EMAIL PROTECTED]> [EMAIL PROTECTED] (Michael Kelly) writes:
>Well, it looks like it's a problem with parport support or
>some such. The "undefined symbol" is always "init_waitqueue"
>and since this vmmuser module isn't required after 2.3.9 I
>guess I'll try a 2.3.24 kernel I have and see if that works.
I think VMware is only available for 2.2.x kernels, but I could
be wrong.
>Making soft links to point to headers and rebuilding and
>reinstalling kernels made no difference whatever. I think
>it's probably it doesn't like parport on this dist.
I never got VMware running with a 2.3.x kernel, but I only tried
2.3.99 versions, not older ones.
HTH,
Uli
--
Dipl. Inf. Ulrich Teichert|e-mail: [EMAIL PROTECTED]
Stormweg 24 |listening to: Speed Of Life (Buzzcocks),
24539 Neumuenster, Germany|Cheap Excitement (Stratford Mercenaries)
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: What kernel in Debian/GNU 2.1?
Date: 22 May 2000 16:54:16 GMT
On Mon, 22 May 2000 16:53:26 +0200,
Ruben Haugan <[EMAIL PROTECTED]> wrote:
> Hey!
>
> I have heard that the kernel included in Debian/GNU Linux version 2.1, is
> the old 2.0.x kernel. Anyone who knows if this is correct?
Yes, though it's trivial to update it (and to update slink to potato when
potato is released).
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: different Linux systems on the same PC
Date: Mon, 22 May 2000 16:57:32 GMT
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
Uwe Brauer <[EMAIL PROTECTED]> writes:
> Hello
>
> For some reasons I would like to have 2 different Linux system on the
> same PC with 2 disks, say 2 versions of SuSe one with lib5c one with
> glib2.
>
> The way I planned to do it, was
> 1. to tell lilo about the two kernels:
> linux1 /dev/hda2
> linux2 /dev/hdc2
>
> 2. Before booting the other linux, I have to change the mount table.
> A. If linux1 should be booted:
> /dev/hda2 /
> /dev/hda3 /usr
> /dev/hda3 /home
> /dev/hdc2 /root2
> /dev/hdc3 /usr2
> /dev/hdc3 /home2
>
> A. If linux1 should be booted:
I assume you mean linux2 here.
> /dev/hda2 /root2
> /dev/hda3 /usr2
> /dev/hda3 /home2
> /dev/hdc2 /
> /dev/hdc3 /usr
> /dev/hdc3 /home
In all the above, you may be getting confused; I see quite a few cases of
the same partition being assigned two different mount points, as in
/dev/hdc3 being both /usr and /home in the linux2 case. If these are
simple typos, then fine. If you thought these were correct as-is, then you
don't understand partitioning, Linux device files, and/or the mounting of
partitions. In brief, each device file (/dev/hda2, /dev/hdc3, or what have
you) is a unique partition that can be mounted on ONE mount point (/home,
/usr, or what have you) at a time. The same partition can be given
different mount points on different Linux installations to the same
computer, and you can even un-mount it and re-mount it under a different
name on a single Linux installation if it's not a critical partition like
/usr, but you cannot have it simultaneously mounted under two mount points
(as in /usr and /home at the same time).
> However this looks quite cumbersome, but I don't see a way to make it
> more comfortable. Anybody has an idea how to do this without all the
> time to edit the mount table.
Because the "mount table," as you call it, is stored in a file in the
/etc directory (/etc/fstab, to be precise), the problem is a non-problem.
When you boot linux1, / (and hence /etc/fstab) is on /dev/hda2, whereas
when you boot linux2, / (and hence /etc/fstab) is on /dev/hdc2. The
/etc/fstab file is AUTOMATICALLY different for the two Linuxes.
You will need to configure LILO (or some other boot loader) to handle two
Linux installations, but that should be too tricky. Yours might look
something like this:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image = /boot/bzImage-1
label = linux1
root = /dev/hda2
read-only
image=/linux2/boot/bzImage-2
label=linux2
root=/dev/hdc2
read-only
You'd install this lilo.conf file from linux1, with the linux2 root
partition (/dev/hdc2) mounted under /linux2. There are many variants on
this that would get the job done, too.
FWIW, I cover many of these issues in my book, _The Multi-Boot
Configuration Handbook_ (http://www.rodsbooks.com/multiboot/). Several
HOWTOs contain relevant information, too, particularly on basic
information like partitioning and use of LILO. Check
http://www.linuxdoc.org for these, or look on your Linux CD.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & multi-OS configuration
------------------------------
From: George Bell <[EMAIL PROTECTED]>
Subject: Format a floppy in Linux
Date: Mon, 22 May 2000 12:57:57 -0400
Hi all,
How do you format a floppy in linux?
I would like to format it with a linux filesystem so that I can mount it
and save some linux files on it. Thanks.
George
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************