Linux-Misc Digest #585, Volume #26               Tue, 19 Dec 00 02:13:02 EST

Contents:
  Re: Resize NTFS without Administrator Privs to Install RedHat -- Please Help (Dances 
With Crows)
  Bad Blocks Woes. Please help. ([EMAIL PROTECTED])
  color saturation with HP printing using gs (John Scudder)
  Re: Need MINIMAL Linux for a laptop dinosaur... (Frederick Artiss)
  Re: Image Mastering and Xcdroast (David)
  Re: kernel upgrade problem ("Londonboy")
  how can I configue desk guide (Weisong Wang)
  Re: bootable raid 1 ([EMAIL PROTECTED])
  Re: Resize NTFS without Administrator Privs to Install RedHat -- Please Help ("John")
  Re: Need MINIMAL Linux for a laptop dinosaur... (John Hasler)
  Re: Please help with redhat script (Dan Birchall)
  Sound editing software (Bill Unruh)
  Re: color saturation with HP printing using gs (Floyd Davidson)
  Re: Kernel bug... or Hardware bug ? ... Help (Silviu Minut)
  Re: Can any1 tell me why I can't print postscript ? ("Peter T. Breuer")
  Re: Please help with redhat script (David)

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

From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.setup,linux.redhat.install
Subject: Re: Resize NTFS without Administrator Privs to Install RedHat -- Please Help
Date: 19 Dec 2000 03:57:54 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 19 Dec 2000 02:11:56 GMT, John staggered into the Black Sun and said:
>I have a laptop with NT installed on an 18 gig disk. I want to resize
>the NT partition so I can install RedHat. I do not have Administrator
>privs so I can't install Parition Magic and resize that way.

???  You don't have Admin rights on your own laptop?  

Or don't you own this laptop?  If this is a laptop that you don't own,
it's a very bad idea to go mucking about the way you want to.  If the
owner happens to be your employer, they will not be happy--most places
have policies against installing unauthorized software on company
equipment.  Cracking Admin, then installing a new OS on a laptop that
isn't yours would get any of the systems administrators I've known angry
with you.

If this is the case, explain to the person who knows the Admin password
why you need it, and what you're going to do, and see if you can go
through the proper channels first.

>I think I need some software that can boot from a floppy and then
>resize the NTFS partition.

There exists a Linux bootdisk that can read and write NT filesystems,
with a tool that can change NT's equivalent of /etc/shadow.  Be prepared
to deal with the consequences should this tool mangle everything.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

Date: Tue, 19 Dec 2000 06:18:55 +0200
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions
Subject: Bad Blocks Woes. Please help.

hi

i have 2 problems:

1) i've recently discovered numerous bad blocks on my swap partition
(hda2). how can i mark these blocks so that they arent used any more?

2) i suddenly cant access several files on a different partition (hda3)
but on the same drive. when trying to copy these files etc. i simply get
a "Input/Output error". Either that, or it takes a VERRRYYY long time to
read the files (it took about 1 minute to copy a 600kb file from that
partition) I've tested the partition with badblocks but it doesnt report
any errors.  Any ideas as to what the problem might be?

note: i also have windows running on hda1 and that's working just fine,
so aside from a few bad blocks, i dont think there's anything wrong with
the drive. (perhaps i'm wrong?)

thanks
ali


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

From: John Scudder <[EMAIL PROTECTED]>
Subject: color saturation with HP printing using gs
Date: Mon, 18 Dec 2000 23:08:15 -0500

My HP Deskjet 672C printer was giving  me washed out muddy looking
colors under Linux. Under Windows it was fine.  Some nice folks here in
this newsgroup told me about using CUPS.  That worked great!  Thanks.

I found that by increasing the Color Saturation up to 200% (using XPP
set the value), my print out in Linux matches the printouts in
Windows.   That increase in color quality also is apparent with lpr.

However, when I print a Postscript image or file, the colors are back to
mud and washed out.  Is there a way to 'tweak' ghostscript's color
saturation value.  It doesn't seem to be getting the  message from CUPS.

John


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

From: Frederick Artiss <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Need MINIMAL Linux for a laptop dinosaur...
Date: Tue, 19 Dec 2000 04:30:30 GMT

The big issue is the RAM. I think freesco (www.freesco.org) is best for
your purpose, but it requires 6MB RAM. The distro fits on a floppy, so
you don't need a hard drive.
D'Arque Bishop wrote:
> 
> Hey there,
> 
> I've got a bit of a problem here, and I was hoping someone out there might
> be able to help me.  I've got an NEC Versa V/50 laptop w/ a 486/SX CPU, 4
> MB of RAM, a 500 MB hard drive, and a 14.4k PCMCIA modem.  What I'm wanting
> to do is put a very minimal Linux on this laptop.  Basically, ALL it would
> be required to do is dial up a remote PC using minicom.  In fact, if it
> wasn't for the fact that the boot/root disks for Slackware require a minimum
> of 8 MB of RAM, I'd just use the a1 disk series of Slack.  Unfortunately,
> the earliest distro available on their website is 3.3. :(  Does anyone have
> any recommendations for a distro and config of Linux that could be used to
> make this laptop into a simple dial-up terminal?
> 
> Thanks in advance...
> 
> --
> ==============================================================================
>         "Do you see the smile in my words, sad and evil?  Sad because
>         I am utterly alone.  Evil because I am dead and yet I live.
>         Can you hear me?  Listen.  A dead man visits you."
>                                        --James O'Barr, The Crow
> 
>                  D'Arque Bishop -- [EMAIL PROTECTED]
>                     http://www.ravenloft.net/~drkbish
> 
>         "For a dark man shall come unto the House of God, and the
>         darkness shall be upon him, yea, even within him."
>                                    -- from Noctropolis: Night Vision
> 
> ==============================================================================

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

From: David <[EMAIL PROTECTED]>
Subject: Re: Image Mastering and Xcdroast
Date: Mon, 18 Dec 2000 22:45:26 -0600

[EMAIL PROTECTED] wrote:
> 
> I'm trying to Master a CD with Xcdroast 0.96ex.  I can specify the
> source, the image type, and the ISO header.  However choose I tweak
> these options, I cannot review the image contents before I start the
> master image.  Am I doing something wrong?    I can still calculate the
> image size, however.
> 
> Any advice when it comes to mastering data or music CDs with Xcdroast?
> 
> Thanks,
> 
> Ken
> 
> Sent via Deja.com
> http://www.deja.com/


There is an upgrade for "xcdroast-0.98alpha8-1".

And to answer your question:

mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /mnt/cdrom

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 98.899% of seti users. +/- 0.01%

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

From: "Londonboy" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: kernel upgrade problem
Date: Tue, 19 Dec 2000 04:50:21 GMT

I do have the old image, and I only modified the lilo.conf, therefore I can
boot the old kernel without problem. But I want to get the new kernel
working...  any idea why my NIC doesn't work with the new one?

I saw some posting having similar problem with PPP dial up after upgraded
the kernel to 2.2.16, but I couldn't find any no solution yet.

please help....
Thanks in advance

L.B.


"Rinaldi J. Montessi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Londonboy wrote:
> >
> > I am running RedHat 6.1 with Kernel 2.2.12-20 and I recently upgraded to
> > Kernel 2.2.16-3 (with mkinitrd, sysvinit, initscripts upgraded too).
> >
> > After I rebooted the machine, my external NIC does not work anymore (I
am on
> > Cable modem, so the ext. Nic is configured to use DHCP to get the IP
> > address), while the internal NIC works fine coz it is static,
192.168.0.1
> >
> > I don't know how to solve this problem because my old Kernel worked
fine.
> >
> > Please help. it would be appreicate.
> >
> > L.B.
>
> I never do that stuff.  I just compile a new kernel, copy the bzImage
> and System map to /boot, add a few lines to lilo.conf, and go for it.
> Hopefully you left your old kernel alone and just modified your
> lilo.conf, right?  Just boot back to your old kernel.  In
> /usr/src/linux-whatever check the .config file for your old kernel
> against your new one and see if you left something out.
>
> When I'm compiling a newer kernel I usually copy the old .config into
> the new directroy and do a make oldconfig first, then a make xconfig
> where I can leisurely verify what I've done.
>
> Real pros start them all from scratch.
>
> --
> Rinaldi]$
> No wonder everyone's confused. You know the world is upside down when
> Bob Dole is demonstrating in the streets while Bill Clinton goes to
> Vietnam.



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

From: Weisong Wang <[EMAIL PROTECTED]>
Subject: how can I configue desk guide
Date: Mon, 18 Dec 2000 22:40:18 -0600

This is a multi-part message in MIME format.
==============122E7D0E11A62C1AC8DE9EAE
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tonight, when I log in linux 7.0, I found the desk guide only had one
desktop for me. I could not switch desktops any more!!
It is no use to change the settings of its properties. Could you help
me?
Could you tell me which parameter is important to devide the desktop?

==============122E7D0E11A62C1AC8DE9EAE
Content-Type: text/x-vcard; charset=us-ascii;
 name="wwa002.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Weisong Wang
Content-Disposition: attachment;
 filename="wwa002.vcf"

begin:vcard 
n:Wang;Weisong
x-mozilla-html:FALSE
org:;IFM
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;0
fn:Weisong Wang
end:vcard

==============122E7D0E11A62C1AC8DE9EAE==


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

From: [EMAIL PROTECTED]
Crossposted-To: 
alt.linux,alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.networking,comp.os.linux.hardware,comp.os.linux.setup,linux.dev.kernel
Subject: Re: bootable raid 1
Date: Tue, 19 Dec 2000 05:05:03 GMT
Reply-To: [EMAIL PROTECTED]

t doesn't matter which drive i pull out, i get the same results

On Mon, 18 Dec 2000 20:55:19 -0500, Chas2K
<[EMAIL PROTECTED]> wrote:

>[EMAIL PROTECTED] wrote:
>> 
>> I am currently doing bootable raid 1 with all of the latest patches
>> for
>> 2.2.18 and then some.
>> When I try to boot the system with either drive removed, I get a bunch
>> of
>> 010101010's in an endless loop.
>> Yet, when both drives are in, the system comes up fine. What am I
>> doing
>> wrong?
>> 
>> Using lilo 21.5
>> 
>> lilo.conf.hda
>> 
>> disk=/dev/md0
>> bios=0x80
>> sectors=63
>> heads=15
>> cylinders=13328
>> partition=/dev/md1
>> start=63
>> boot=/dev/hda
>> map=/boot/map
>> install=/boot/boot.b
>> vga=normal
>> default=vmlinux
>> keytable=/boot/us.klt
>> prompt
>> timeout=50
>> message=/boot/message
>> menu-scheme=wb:bw:wb:bw
>> image=/boot/vmlinuz
>> label=vmlinuz
>> root=/dev/md0
>> append=" ide3=autotune ide1=autotune ide2=autotune hdh=ide-scsi"
>> read-only
>> image=/boot/vmlinux
>> label=vmlinux
>> root=/dev/md0
>> append=" ide3=autotune ide1=autotune ide2=autotune hdh=ide-scsi"
>> read-only
>> 
>> lilo.conf.hdc
>> 
>> disk=/dev/md0
>> bios=0x81
>> sectors=63
>> heads=16
>> cylinders=16278
>> partition=/dev/md1
>> start=63
>> boot=/dev/hdc
>> map=/boot/map
>> install=/boot/boot.b
>> vga=normal
>> default=vmlinux
>> keytable=/boot/us.klt
>> prompt
>> timeout=50
>> message=/boot/message
>> menu-scheme=wb:bw:wb:bw
>> image=/boot/vmlinuz
>> label=vmlinuz
>> root=/dev/md0
>> append=" ide3=autotune ide1=autotune ide2=autotune hdh=ide-scsi"
>> read-only
>> image=/boot/vmlinux
>> label=vmlinux
>> root=/dev/md0
>> append=" ide3=autotune ide1=autotune ide2=autotune hdh=ide-scsi"
>> read-only
>
>Looks like you're pulling out the drive with the boot sector on it. Is
>your configuration mirroring all of the drives together, or just the
>partitions with data?
>
>Chas2K


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

From: "John" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.install
Subject: Re: Resize NTFS without Administrator Privs to Install RedHat -- Please Help
Date: Tue, 19 Dec 2000 05:16:20 GMT

I used the DOS based (floppy) partition magic to get Linux installed. It's
now running and happy.

I just need a way to edit the boot.ini file so I can use the NT boot manager
to start linux. Since I can't login I can't modify the file via NT.

I can mount the ntfs (read-only). I'm scared to use the read/write ntfs
because it might mess up the NT.

Any ideas?

Is there a "dos" like floppy that I can boot from and then access the NTFS
parition? I just need to edit a text file.

John

"Dances With Crows" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Tue, 19 Dec 2000 02:11:56 GMT, John staggered into the Black Sun and
said:
> >I have a laptop with NT installed on an 18 gig disk. I want to resize
> >the NT partition so I can install RedHat. I do not have Administrator
> >privs so I can't install Parition Magic and resize that way.
>
> ???  You don't have Admin rights on your own laptop?
>
> Or don't you own this laptop?  If this is a laptop that you don't own,
> it's a very bad idea to go mucking about the way you want to.  If the
> owner happens to be your employer, they will not be happy--most places
> have policies against installing unauthorized software on company
> equipment.  Cracking Admin, then installing a new OS on a laptop that
> isn't yours would get any of the systems administrators I've known angry
> with you.
>
> If this is the case, explain to the person who knows the Admin password
> why you need it, and what you're going to do, and see if you can go
> through the proper channels first.
>
> >I think I need some software that can boot from a floppy and then
> >resize the NTFS partition.
>
> There exists a Linux bootdisk that can read and write NT filesystems,
> with a tool that can change NT's equivalent of /etc/shadow.  Be prepared
> to deal with the consequences should this tool mangle everything.
>
> --
> Matt G|There is no Darkness in Eternity/But only Light too dim for us to
see
> Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
> http://www.brainbench.com     /   Workin' in a code mine, whoops!
> -----------------------------/    I hit a seg fault....



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

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Need MINIMAL Linux for a laptop dinosaur...
Date: Tue, 19 Dec 2000 04:18:32 GMT

Michael Perry writes:
> What about the boot and root disks of debian potato?

I don't think it will install in 4MB (run, yes).

Look around the Web for single-floppy versions of Linux.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: [EMAIL PROTECTED] (Dan Birchall)
Subject: Re: Please help with redhat script
Date: 19 Dec 2000 06:05:14 GMT
Reply-To: [EMAIL PROTECTED]

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Please help with redhat script
> 
> I am using redhat 7.0 and I would like to find out how to write a
> script that I could run in cron.

Any book on UNIX that includes coverage of one or more shell scripting
languages couldn't hurt.

> I need the script to get my ip address and then email it to me.

One-liner:

  nslookup `hostname` | mail [EMAIL PROTECTED]

In a cron file, it might look something like:

  0 9 * * 1-5 /usr/bin/nslookup `/bin/hostname` | /bin/mail smithj@...

That'd mail you at 9 AM Monday-Friday, if I remember my crontab format.

> This will have me login to my home computer from work.

er... help you login, I hope you mean?

> please email me at [EMAIL PROTECTED] if you could help

Hope that helps,

-Dan

-- 
Dan Birchall - Palolo Valley - Honolulu HI - http://dan.scream.org/
Peruse my opinions, at http://dbirchall.epinions.com/user-dbirchall
Another free email site: http://www.themail.com/ref.htm?ref=1163079
My addresses expire... take out the hex stamp if your reply bounces

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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Sound editing software
Date: 19 Dec 2000 06:08:21 GMT

I would like to get some sound editing software--ie I can read in an
audio track say, and cut out a piece of it to then reburn to a CD.

This is for teaching so I can take samples of the sound to illustrate
various musical things.


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

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: color saturation with HP printing using gs
Date: 18 Dec 2000 20:20:40 -0900

John Scudder <[EMAIL PROTECTED]> wrote:
>My HP Deskjet 672C printer was giving  me washed out muddy looking
>colors under Linux. Under Windows it was fine.  Some nice folks here in
>this newsgroup told me about using CUPS.  That worked great!  Thanks.
>
>I found that by increasing the Color Saturation up to 200% (using XPP
>set the value), my print out in Linux matches the printouts in
>Windows.   That increase in color quality also is apparent with lpr.
>
>However, when I print a Postscript image or file, the colors are back to
>mud and washed out.  Is there a way to 'tweak' ghostscript's color
>saturation value.  It doesn't seem to be getting the  message from CUPS.
>
>John

I had a similar need.  The problem is that ghostscript and the
builtin Postscript on my HP DeskJet 1600C have different ideas
of what the gamma ought to be, so gamma.ps is a way to adjust
ghostscript for identical results.

Here is gamma.ps (two lines, total):

  %!
  {0.3 exp} dup dup currenttransfer setcolortransfer

You can change the value of 0.3 up or down to get more or less
ink on the page.

Here is the way to include that from a gs command line:

 gs -q -sDEVICE=cdj1600 /var/spool/lp_bin/gamma.ps \
    -dNOPAUSE -dSAFER -sOutputFile=-  -  -c quit

That command is used in a script as a filter, with the
Postscript file piped into its stdin.

I can't take credit for the above, as I found it in Usenet
article posted a few years ago, but I've long since lost track
of who posted the article that I stole the idea from.  Hats off
to whoever it was!
 





-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 [EMAIL PROTECTED]

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

From: Silviu Minut <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Kernel bug... or Hardware bug ? ... Help
Date: Tue, 19 Dec 2000 01:25:03 -0500

> I was getting this kind of messages when one of my ram modules went bad.
> The system would work ok for some time, perhaps as long as the bad region
> was not being accessed, and then it would crash. And the logs looked
> similar. It's definitely worth testing the ram. If you have more than one
> module, pull out one module at the time and let it run. If it still
> crashes, pull out another one. If it doesn't crash anymore, the one you
> took out is bad.


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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Can any1 tell me why I can't print postscript ?
Crossposted-To: alt.os.linux.mandrake
Date: Tue, 19 Dec 2000 06:34:37 GMT

In alt.os.linux.mandrake Emmanuel Beranger <[EMAIL PROTECTED]> wrote:
> mandrake 7.0 with 2.2.17 kernel
> Using lpr, configured with printtool. My printed is an Epson stylus 820.

Don't. Just edit /etc/printcap. Check it .. should be fine but you
never know.

> I know it works postscript, since I have already used it in the past

Offer other evidence. Such as "echo showpage > /dev/lp0" causes a blank
page to  be emitted.

> Thing is : file never reach pool when I launch a print command from a
> non ASCII origin (like, say "print" in Netscape ...) I suspect the

This is irrelevant. "lpr foo.ps" is the same as "lpr foo.txt". It's
up to your printer what it does with the result.

> filter does not read okay, but i don't know which log file to look at

What filter? If it's a PS printer you don't need one and you shouldn't
have one!


> Also, my printcap has the filter that comes with Mandrake ...

> Any further thoughts ?

That you learn to report properly! How come you suspect you have a
filter problem and you give us not one single hint of what your filter
is or how it is configured? Why have you made not a single test of your
filter on its own? A filter is an executable that takes input A and
produces output B. What does yours do?

Peter

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

From: David <[EMAIL PROTECTED]>
Subject: Re: Please help with redhat script
Date: Tue, 19 Dec 2000 06:45:24 GMT

 [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> Please help with redhat script
>
> I am using redhat 7.0 and I would like to find out how to write a
> script that I could run in cron.

Change the email address in the script below.

=======================
#!/bin/sh
/sbin/ifconfig | /bin/grep P-t-P | /usr/bin/cut -c 21-35 | /bin/mail -s
"IP Address" [EMAIL PROTECTED]

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 98.899% of seti users. +/- 0.01%

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


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