Linux-Misc Digest #482, Volume #27               Fri, 30 Mar 01 03:13:03 EST

Contents:
  Re: The differences between Ash and Bash (Erik Max Francis)
  Re: message in shell ("fabienne hadkova")
  Re: Help!  Can't boot from floppy ([EMAIL PROTECTED])
  Re: 10 gig disk in a 500 meg BIOS (Jonadab the Unsightly One)
  Re: strange file metamorphose ("Eric")
  Re: Windows ME and Windows 98 and Linux comp. ([EMAIL PROTECTED])
  Re: Windows ME and Windows 98 and Linux comp. (Plato)
  Re: manual fsck and root passwd ([BeoWulf])
  SCSI emulation on SuSE 7.0 ("Keith Marjerison")
  SCSI emulation on SuSE 7.0 ("Keith Marjerison")
  Re: If you install rpm-4.0.2 on RedHat 6.2 ... (Alex)
  Re: manual fsck and root passwd ("O.Petzold")
  ANSI display clobbered - request fix ("Steven J. Hathaway")
  Re: Turn on NumLock by default in future XFree86 ! ! ! (Villy Kruse)
  Re: Turn on NumLock by default in future XFree86 ! ! ! (Thomas Zajic)
  Re: manual fsck and root passwd (Villy Kruse)
  Shell script questions... ("MEYER")
  Re: manual fsck and root passwd ("Eric")
  Re: manual fsck and root passwd ("Justin Rallis")

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

From: Erik Max Francis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.development.system,comp.os.linux.help
Subject: Re: The differences between Ash and Bash
Date: Thu, 29 Mar 2001 21:05:03 -0800

Toby Haynes wrote:

> Mainly because tcsh has smart completion (i.e. totally customizable,
> so if you
> have a program which has long wordy switches, you can add completion
> for the
> switches as well as the command name, subsequent arguments (be they
> files,
> numbers, process IDs, etc.). I never found a version of bash which did
> this -
> completion in bash is based on filename, hostname, username,
> variables,
> dependent on leading characters or direct request for a particular
> style of
> completion.

But other bashalikes do, such as ksh and zsh.  zsh, it could be argued,
has the most powerful command completion capabilities of any shell.

-- 
 Erik Max Francis / [EMAIL PROTECTED] / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ He who can, does.  He who cannot, teaches.
\__/ George Bernard Shaw
    Maths reference / http://www.alcyone.com/max/reference/maths/
 A mathematics reference.

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

From: "fabienne hadkova" <[EMAIL PROTECTED]>
Subject: Re: message in shell
Date: Fri, 30 Mar 2001 07:23:36 +0200


> I have not used 'talk' lately, but a free shell I am on uses 'ytalk' which

thank you!
fabienne



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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup,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: [EMAIL PROTECTED] (Jonadab the Unsightly One)
Crossposted-To: comp.os.linux.hardware
Subject: Re: 10 gig disk in a 500 meg BIOS
Date: Fri, 30 Mar 2001 06:10:04 GMT

Juergen Pfann <[EMAIL PROTECTED]> wrote:

> I still regard 1 cylinder / 8 MB for the /boot partition to be plenty 
> enough for most of us - as you usually don't compile your kernels *in* 
> there (remember this would require >100 MB for 2.4.x), you just _store_ 
> your kernel, the System.map, LILO' secondary loaders (boot.b, chain.b 
> etc.) and - probably most important - LILO's "map" file there. 
> Even with a "bloated" 2.4 kernel and its System.map, you're unlikely 
> to exceed 2 MB - thus, 16 MB is overkill IMHO. 
> OTOH, with nowadays' HD sizes, it doesn't matter too much, though. 

It matters on a multiboot system, where you're trying to fit two
or three or five OSes below the cyllinder limit for bootability,
then use the gargantuan last partition in the non-bootable zone 
(possibly an extended partition with FAT and ext filesystems 
both inside) for apps and data.  (The real bummer there is that
some apps just *insist* on installing themselves in the first
primary FAT filesystem, even if you have lots of extra space
somewhere else and none there.  Highly annoying.)

For an all-linux system, it shouldn't matter.

- jonadab

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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: strange file metamorphose
Date: Fri, 30 Mar 2001 08:17:48 +0200

> > windows?
> >
> > that in combination with a bad partitiontable.
> >
> > Eric
> >
>
> yes, windows is installed but on another disk. windows is separated :)
> pirx

It's a bit hard to keep windows away from a disk, so unless that table is
correct, windows may well have been the cause.
So post all your partitiontables, `/sbin/fdisk -l /dev/hd[a-z]`

Eric



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

From: [EMAIL PROTECTED]
Crossposted-To: alt.windows-me,alt.windows98,comp.os.ms-windows.misc
Subject: Re: Windows ME and Windows 98 and Linux comp.
Date: Fri, 30 Mar 2001 01:35:10 -0500

On Thu, 29 Mar 2001 17:03:55 -0600, "Sam"
<[EMAIL PROTECTED]> wrote:

>People who put their replies at the end of a post generally gets past over
>by me. My time is valuable and I know what the thread is about, so to have
>to scroll all the way to the bottom is a waste of time.


Why don't you cut down the post to the relevant part.  Why waste my
bandwidth.

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

From: Plato <|@|.|>
Crossposted-To: alt.windows-me,alt.windows98,comp.os.ms-windows.misc
Subject: Re: Windows ME and Windows 98 and Linux comp.
Date: Fri, 30 Mar 2001 01:41:35 -0500

[EMAIL PROTECTED] wrote:
> 
> Why don't you cut down the post to the relevant part.  Why waste my
> bandwidth.

Please state exactly what you are paying for bandwidth???

-- 
bootdisk.com

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

From: [BeoWulf] <beowulf@don't.spam.me>
Subject: Re: manual fsck and root passwd
Crossposted-To: alt.os.linux.mandrake
Date: Fri, 30 Mar 2001 00:49:12 GMT

O.Petzold wrote:

> Hello,
>=20
> after a crash mandrake linux got the following message:
>=20
> /dev/hdaXX UNEXPECTED INCOSOSTENCY, RUN fsck ...
>=20
> *** An Error occoured ...
> *** Droppig you to a shell ....
>=20
> Give root password for maintenance
> (or give ....):
>=20
> Login incorrect.
>=20
> The password was the right one! The partion was the /home/project
> one. The same behavior I know about rh linux. I was not able to run
> fsck manually due to the lack of the accepted passwd !
>=20
> What is ging on here and how can I prevent this ? SuSE is working for
> in those cases !
>=20
> Regards
> Olaf
>=20
>=20


Try to shut down the system from within a root terminal window (by means =
of=20
su, if you think the password is correct), or from X (KDM for instance).

Upon rebooting, when LILO prompts you to make your choice, type 'linux=20
single'.  You'll be in a root shell without the need for login then...


Good luck,
[BeoWulf]

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

Crossposted-To: comp.os.linux.setup,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:50:34 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: Alex <[EMAIL PROTECTED]>
Subject: Re: If you install rpm-4.0.2 on RedHat 6.2 ...
Date: Fri, 30 Mar 2001 02:06:00 -0500

Alex wrote:
> 
> Chris Coyle wrote:
> 
> <snip>
> 
> > To fix this I had to install the gnorpm source rpm (I found
> > gnorpm-0.95.1-5.6x.src.rpm)
> > apply a couple of patches (included), fix a line of source code
> > (strange) and then recompile.
> > After that it works fine.
> >
> > Chris.
> 
> I tried to compile the source code (gnorpm-0.95.1-5.6x.src.rpm).
> I got this:
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.97472 (%build)
> 
> Can you tell me what you have done to make it work? What did you modify
> in the source file? (patches?)
> 

I think I got it solved. I did it differently though...
I download two packages from rpmfind.
bzip2-1.0.1-3.i386.rpm
gnorpm-0.96-1.i386.rpm

I did the following:
rpm -ivh --force bzip2-1.0.1-3.i386.rpm
rpm -Uvh gnorpm-0.96-1.i386.rpm

And gnorpm works fine.
Hopefully I did not break other stuff.
;-)


Alex.

-- 
============================================
The Search for Extraterrestrial Intelligence
http://www.seti.org/

Registered with the Linux Counter. ID# 175126
http://counter.li.org/index.html

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

From: "O.Petzold" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: manual fsck and root passwd
Date: Fri, 30 Mar 2001 08:18:18 +0200

>
> > The password was the right one! The partion was the /home/project
> > one. The same behavior I know about rh linux. I was not able to run
> > fsck manually due to the lack of the accepted passwd !
>
> The correct root password?

Yep

> I run RH too, and never had a problem with it rejecting the root password.
> (I'm not sure on my main PC, that never crashed, but there I reject root
> logins in normal circumstances)

The crahes comes from insmod my own kernel module where the disc buffers
are not flushed. This partition is damaged. (To try out simple compile and
insmod
a kernel module with panic(), this should have the same behavior). By booting

using a SuSE CD I can use fsck for my rh/mandrake dist 8)

> > What is ging on here and how can I prevent this ? SuSE is working for
> > in those cases !
>
> Just boot from a resue system and run fsck from there.
> I have no idea why you're denied root login.

This is the interesting point. It could bee that the other fs are not mounted
yet,
therefore the login process does see only a shadowed passwd file ? My
partitions
/mountpoints are
/, /boot, /var, /tmp, /home,/usr./usr/src
Could this possible?

> You didn't by any chance choose a maximum security install
> or something similar, and thereby possibly rejecting root logins?

Secure level is medium - this is a developer box.

Regards
Olaf




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

Date: Thu, 29 Mar 2001 23:02:39 -0800
From: "Steven J. Hathaway" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: ANSI display clobbered - request fix

I have misplaced the magic character sequence that can be issued to
repair
a screen that has been garbaged by printing a binary executable file or
binary
data file.

If someone knows where I can either obtain the magic character sequence
or provide information on ANSI display programming, please respond to
this
newsgroup.

Sincerely,
Steven J. Hathaway


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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Turn on NumLock by default in future XFree86 ! ! !
Date: 30 Mar 2001 07:45:27 GMT

On Thu, 29 Mar 2001 14:46:22 -0500,
           Jean-David Beyer <[EMAIL PROTECTED]> wrote:

>People who have to enter a lot of numbers can touch-type the numbers
>on the number-pad much more quickly than they can with the top row
>numbers. For one thing, they can do it with one hand while the other
>hand keeps track of the stuff they are entering (presumably from a
>piece of paper or a book or something). I find it very useful at
>times.


This is absolutly correct.  

The numlock is an anachronism from the first PC keyboard which wanted to
save keys by combining the cursor keys with the number keys.  The nunlock
should have disappeared when the keyboard got real cursor keys, which
is now many years ago.

The only remaining problems is laptops, where if you enable numlock
it will turn some letter keys into a numeric keypad, which isn't very
convinient for many people.

Villy

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

From: [EMAIL PROTECTED] (Thomas Zajic)
Subject: Re: Turn on NumLock by default in future XFree86 ! ! !
Reply-To: [EMAIL PROTECTED] (Thomas Zajic)
Date: Fri, 30 Mar 2001 07:30:10 GMT

On 30/03/01, Yvan Loranger ([EMAIL PROTECTED]) wrote:

> Mike McLennan ([EMAIL PROTECTED]) writes:
>  
> > RTFM setleds & the Keyboard-Howto
> 
> setleds is for console only. xset may help.
                               ^^^^^^^^^^^^^
No, it won't (unless you're still running XFree86-2.x). But NumLockX
will do the job: <http://dforce.sh.cvut.cz/~seli/en/numlockx/>.

HTH,
Thomas
-- 
=-------------------------------------------------------------------------=
-  Thomas "ZlatkO" Zajic  <[EMAIL PROTECTED]>   Linux-2.2.19/slrn-0.9.6.3pl4  -
-  "It is not easy to cut through a human head with a hacksaw."  (M. C.)  -
=-------------------------------------------------------------------------=

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

From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: alt.os.linux.mandrake
Subject: Re: manual fsck and root passwd
Date: 30 Mar 2001 07:36:44 GMT

On Fri, 30 Mar 2001 08:18:18 +0200,
           O.Petzold <[EMAIL PROTECTED]> wrote:


>
>This is the interesting point. It could bee that the other fs are not mounted
>yet,
>therefore the login process does see only a shadowed passwd file ? My
>partitions
>/mountpoints are
>/, /boot, /var, /tmp, /home,/usr./usr/src
>Could this possible?
>


What else would you need for root login?  All parts for root login
and fsck should be contained wholy within the root file system, that
is, /bin, /sbin, /root, /etc, /dev and /lib.  If /tmp is a mounted
file system, the system will use the /tmp directory on the root file
system until it is covered by mounting the /tmp file system.




Villy

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

From: "MEYER" <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell,comp.lang.awk
Subject: Shell script questions...
Date: Fri, 30 Mar 2001 09:49:34 +0200

Hi everyone

I'm written a little script, like:
...
while read line
do
  sed -n '/ERROR/,/^/p'
done < $1
...

This loops take two lines, the first is where a ERROR words occurs and
second it take the next line!
Now, I want to take the ERROR words (like yet)  OR the Display words and the
next line.
As anyone a idea how can I make the sed script for ERROR OR Display?
is it like : sed -n '/ERROR || Display/,/^/p' ??? but it doesn't running???
Thanks a lot for your answers,

Jerome



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

From: "Eric" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: manual fsck and root passwd
Date: Fri, 30 Mar 2001 09:32:55 +0200

> The crahes comes from insmod my own kernel module where the disc buffers
> are not flushed. This partition is damaged. (To try out simple compile and
> insmod
> a kernel module with panic(), this should have the same behavior). By
booting

well, thanks, but I think I'll pass. :-)

> using a SuSE CD I can use fsck for my rh/mandrake dist 8)

having the rootfs damaged could do strange things, I suppose.

> > > What is ging on here and how can I prevent this ? SuSE is working for
> > > in those cases !
> >
> > Just boot from a resue system and run fsck from there.
> > I have no idea why you're denied root login.
>
> This is the interesting point. It could bee that the other fs are not
mounted
> yet,
> therefore the login process does see only a shadowed passwd file ? My
> partitions
> /mountpoints are
> /, /boot, /var, /tmp, /home,/usr./usr/src
> Could this possible?

no, all the stuff needed to login is at your / FS (in /etc and /sbin)

> > You didn't by any chance choose a maximum security install
> > or something similar, and thereby possibly rejecting root logins?
>
> Secure level is medium - this is a developer box.

So you can login as root in normal circumstances?
(directly that is, not through su)

Eric



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

From: "Justin Rallis" <[EMAIL PROTECTED]>
Subject: Re: manual fsck and root passwd
Crossposted-To: alt.os.linux.mandrake
Date: Fri, 30 Mar 2001 06:49:33 GMT

In article <[EMAIL PROTECTED]>, "O.Petzold"
<[EMAIL PROTECTED]> wrote:


> Hello,
> after a crash mandrake linux got the following message:  /dev/hdaXX
> UNEXPECTED INCOSOSTENCY, RUN fsck ...  *** An Error occoured ...
> *** Droppig you to a shell ....
> Give root password for maintenance
> (or give ....):
> Login incorrect.
> The password was the right one! The partion was the /home/project one.
> The same behavior I know about rh linux. I was not able to run fsck
> manually due to the lack of the accepted passwd !  What is ging on here
> and how can I prevent this ? SuSE is working for in those cases !
> Regards
> Olaf
> 

        I've had the dreaded "run fsck manually" panic, too, though never the
incorrect-root-pwd problem.  Here's my advice.

        Boot from your LM install CD, press F1 and type "rescue" at the prompt.
This will load a working kernel and bash prompt from your CD,
"root@rescue".  From here, mount your root partition (ex. mount /dev/hda2
/mnt), then enter that directory.  From there, you should have access to
your partition.  Run fsck and get some food, 'cause it's going to take
a while!  ;)  

        Justin Rallis
        Outside of a dog, a book is man's best friend.
        Inside a dog, it's too dark to read.  -Groucho Marx

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


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