Linux-Setup Digest #135, Volume #20              Thu, 30 Nov 00 07:13:10 EST

Contents:
  Re: root password changed, need help (Eric)
  Re: Partition Table Screwed Up (Eric)
  Re: dual boot w/ win98 on secondary master (Eric)
  Problem rebuilding kernel (Robert Morelli)
  Re: lilo doesn't install on large disk with W2K... (Eric)
  Re: chmod within a skript (Eric)
  Re: socksv5 RPM (Marko Eha)
  Re: Lilo halting at boot (Eric)
  Re: Resizing my partition using fips & Windows Me. (Eric)
  Re: I am confident you will help me with "LI" from LILO (Eric)
  Linux Mandrake 7.2 Video ("Dave Freeman")
  Re: Linux boot from floppy SLOW (Villy Kruse)
  Use Linux to share the broadband line ("test")
  corel 1.2 install hangs (PJB)
  Re: socksv5 RPM (Harri Haataja)
  Re: remove lilo ("Arkady K.")
  sudo ("Martin Schmidt")
  ftp and Red Hat 6.1 (GMalseed)
  shutdown (guest)
  Re: LAN card doesn't work ("Konrad Koch")
  Re: URGENT: Very strange problem (Kernel kills all processes?) (Manuela Guandalini)
  Re: Virtual mem exhaust problem? (Eric)

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: root password changed, need help
Date: Thu, 30 Nov 2000 08:21:59 +0100
Reply-To: [EMAIL PROTECTED]

Colin Watson wrote:
> 
> Eric <[EMAIL PROTECTED]> wrote:
> >Bulent Sarinc wrote:
> >> somebody has changed root password and i cant get into my linux box on
> >> i386
> >> debian version
> >
> >at the lilo bootprompt try:
> >  linux 1
> >if that fails:
> >  linux root=/bin/sh
> 
> That should be 'linux init=/bin/sh', I think. The root= parameter
> specifies the root device.

Ofcourse, you're right

Eric

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Partition Table Screwed Up
Date: Thu, 30 Nov 2000 08:32:30 +0100
Reply-To: [EMAIL PROTECTED]

Eugenia Loli wrote:
> 
> Please find the partition table of the secondary master drive following.
> As you can see, RHat have recreated hdc11 and hdc12 what it used to be hdc5.
> Was the problem because I made the / hdc11 as bootable (*)? If yes, can I
> fix that?
> 
> Another thing is that when Redhat is booting it displays this:
> PTBL (3737/255/63) Hdc1 hdc2[hdc5... hdc12]
> while for the rest of my drives it does not display the word PTBL neither
> the heads, sectors and cylinders as it does for hdc.
> 
> Thank you,
> Eugenia
> 
> Disk /dev/hdc: 255 heads, 63 sectors, 3737 cylinders
> Units = cylinders of 16065 * 512 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hdc1   *         1       522   4192933+   7  HPFS/NTFS
> /dev/hdc2           523      3737  25824487+   f  Win95 Ext'd (LBA)
> /dev/hdc5          1027      1409   3076416    b  Win95 FAT32
> /dev/hdc6          1410      2423   8144923+   b  Win95 FAT32
> /dev/hdc7          2424      2806   3076416    b  Win95 FAT32
> /dev/hdc8          2807      3125   2562336    b  Win95 FAT32
> /dev/hdc9          3126      3444   2562336    b  Win95 FAT32
> /dev/hdc10         3445      3737   2353491    b  Win95 FAT32
> /dev/hdc11  *       523       999   3831471   83  Linux
> /dev/hdc12         1000      1026    216846   82  Linux swap
> 
>Partition table entries are not in disk order

Don't make a logical partition bootable, and don't make two partitions
bootable.
Now for the rest, Is suppose BeOS has problems with the last line that
fdisk returned.
hdc11 and hdc12 ought to be called hdc5 and hdc6. Other OS's may or may
not be able to deal with this.
Linux doesn't care. IIRC the linux program sfdisk should be an easy tool
to to reshuffle these partitions, but I don't no that tool very well. I
would use cfdisk, and after I wrote down the exact partition boundaries
on paper, I would delete them all, and recreate them in the correct
order again. As long as you don't make any typos and enter the exact
partition boundaries again, no data wil be lost. Beware that you must
boot linux afterwards with the root=/dev/hdc5 option, 'cause the
numbering changed.

After changing this, BeOS will probably be able again to read the
partition table.

Eric

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: dual boot w/ win98 on secondary master
Date: Thu, 30 Nov 2000 08:34:52 +0100
Reply-To: [EMAIL PROTECTED]

> 
> On my system, W98 wouldn't boot up under lilo until I removed all the
> map-drive= commands.  I used a boot floppy with only Lilo on it.
> 98 booted fine, otherwise.  W98 occupied all of the Master drive on
> the Primary IDE controller.  DOS/Windows3.1 and Linux were on the
> Slave.
> 

You only need to do this, if windows needs it. Windows cannot boot from
anything but drive 0x80, so if you have it on hda, it probably is 0x80.
You wouldn't need the map-drive command in that case.

Eric

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

From: Robert Morelli <[EMAIL PROTECTED]>
Subject: Problem rebuilding kernel
Date: Thu, 30 Nov 2000 00:51:47 -0700

The only reason I need to compile the kernel is to add a driver I need
to the system.
I can't help but point out that
<flame on>
forcing end users to recompile the kernel for this reason is bizarre
and  defies common sense.
As someone who wants Linux to thrive,  I hope that the Linux community
will stop deluding
itself into thinking that this situation represents sound design.
<flame off>
Sorry,  but it's just too frustrating to pass over in silence.  Now to
the problem.

I am running Red Hat 6.2 with no patches applied.  I have been unable to
rebuild the kernel from sources
I downloaded in an archive named kernel-source-2_2_14_5_0_i386.rpm.
After unpacking this archive
I performed the following:

1.  I ran make xconfig from the directory /usr/src/inux-2.2.14.  This
involved proceding through
a rather long chain of dialogs,  attempting to set appropriate
parameters for a large number of
seemingly bizarre options,  like whether to compile drivers for obscure
hardware directly into the
kernel.  I am not confident that I answered these questions in a
consistent way,  in particular
because I didn't understand some of them.  Unfortunately,  xconfig is a
mess.  In many cases,  the
default setting was different from what the help text stated the default
should be.  The final option,
kernel hacking,  was set to yes by default!  After all that tedium,  I
managed somehow to appreciate
the comic value in that,  intended or not.

2.  I ran make dep,  then make clean (just in case).  No problems here.

3.  I ran zImage.  After about 7 minutes on a PII 333,  the build
failed.  The last few lines of the
output of make were:

ld -m elf_i386 -m elf_i386 -r -o piggy.o -b binary $tmppiggy.gz -b
elf32-i386 -T
 $tmppiggy.lnk; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk
gcc -D__KERNEL__ -I/usr/src/linux-2.2.14/include  -traditional -c head.S

/tmp/cc2uokeg.s: Assembler messages:
/tmp/cc2uokeg.s:109: Warning: using `%eax' instead of `%ax' due to `l'
suffix
/tmp/cc2uokeg.s:110: Warning: using `%eax' instead of `%ax' due to `l'
suffix
/tmp/cc2uokeg.s:111: Warning: using `%eax' instead of `%ax' due to `l'
suffix
/tmp/cc2uokeg.s:112: Warning: using `%eax' instead of `%ax' due to `l'
suffix
gcc -D__KERNEL__ -I/usr/src/linux-2.2.14/include -O2 -DSTDC_HEADERS   -c
-o misc
.o misc.c
ld -m elf_i386 -Ttext 0x1000 -e startup_32 -o vmlinux head.o misc.o
piggy.o
make[2]: Leaving directory
`/usr/src/linux-2.2.14/arch/i386/boot/compressed'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o tools/build
tools/buil
d.c -I/usr/src/linux-2.2.14/include
objcopy -O binary -R .note -R .comment -S compressed/vmlinux
compressed/vmlinux.
out
tools/build bootsect setup compressed/vmlinux.out CURRENT > zImage
Root device is (8, 8)
Boot sector 512 bytes.
Setup is 3544 bytes.
System is 654 kB
System is too big. Try using bzImage or modules.
make[1]: *** [zImage] Error 1
make[1]: Leaving directory `/usr/src/linux-2.2.14/arch/i386/boot'
make: *** [zImage] Error 2


I can post more of the output if it would help anyone figure out what's
wrong.


Thanks,

Robert Morelli
[EMAIL PROTECTED]


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

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.slackware,comp.os.linux.hardware
Subject: Re: lilo doesn't install on large disk with W2K...
Date: Thu, 30 Nov 2000 08:46:00 +0100
Reply-To: [EMAIL PROTECTED]

ZZ wrote:
> 
> The newer LILO doesn't have the 102(3/4) cylinder limitation that the older
> LILO had. So see if that may help.
> 
> = 411 =
> 
> In ye olden days your boot partition had to be within the 1023 or 1024 mark
> (any idea which one? I've seen them both maybe one is 0 to 1023 and the
> other is 1 to 1024), anyways, that was the problem, now we don't have that
> problem anymore. (at least what I can remember from freshmeat.net)
> 

That's correct, it's the 1024th cylinder, but the numbering of cylinders
starts at 0.

Whether you have the problem is also depending on your BIOS. You no
longer have the problem if both your BIOS and LILO no the extended int13
calls. (These calls are for disc-access, and used to have a CHS
addressing)

Eric

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: chmod within a skript
Date: Thu, 30 Nov 2000 08:50:58 +0100
Reply-To: [EMAIL PROTECTED]

Martin Schmidt wrote:
> 
> > Did you check the right manpage?
> > try `man sudoers`
> >
> > user=(ALL) NOPASSWD: chmod, NOPASSWD: ANY_EXECUTABLE_OR_SCRIPT
> >
> > Eric
> 
> Thanks for the example,
> 
> I got the thing working with the entry :
> USERNAME     ALL = (ALL)    NOPASSWD : PATH_TO_CHMOD     ARG1    ARG2
> where USERNAME stands for a certain user .
> Do you know how to make this available for all users ?

probably in the manpages? I don't know

> Since all entries have to be made with visudo (damn i thought i would
> never have to use vi again)

You can use an other editor, but visudo checks the syntax, before
accepting new entries

> I consider the thing very safe , because chmod is now only possible with the
> given arguments ?
> 

I must admit that again I don't know. I use it mainly for myself, 'cause
I don't want to work as root all the time. But since I trust myself :-)
I never bothered to look very deep into the possibilities.

Eric

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

From: Marko Eha <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.networking,comp.os.linux.security
Subject: Re: socksv5 RPM
Date: Thu, 30 Nov 2000 10:09:41 +0200
Reply-To: [EMAIL PROTECTED]


Check out: http://rpmfind.net/linux/rpm2html/search.php?query=socks5

--
Elec

Darren and Marla Welson wrote:
> 
> Where can I get an RPM of SOCKSV5 (for RedHat Linux)?

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Lilo halting at boot
Date: Thu, 30 Nov 2000 09:11:09 +0100
Reply-To: [EMAIL PROTECTED]

Brian C. Kiefer wrote:
> 
> Hello all,
> 
> I just recently installed slack7.1 on my desktop.  I installed lilo so
> that it has two options.... Linux (hda2) or W2k (hdb1).  So I setup
> lilo that way via liloconfig.  I then run lilo (I'm using MBR btw) and
> everything looks fine.  I reboot, and lilo hangs on the i:
> 
> LI

Usually this is because the kernel is on a partition beyond cylinder
1024.
Check this with fdisk.

> and that where it stops.  Any ideas on what I can do?  I tried putting
> it on the superblock, but I received an error.  My paritions are also

At the superblock?????
Which one?
No I guess you want to put it on the MBR

> weird.  My first three partitions do not end on a cylder boundary
> according to fdisk.  Any way I can fix that so that maybe I can use
> the superblock?
> 

Stop trying to use a superblock, it will destroy your filesystem :-)

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Resizing my partition using fips & Windows Me.
Date: Thu, 30 Nov 2000 09:13:26 +0100
Reply-To: [EMAIL PROTECTED]

Kevin D wrote:
> 
> Hi all
> On my old shity computer I resized my win95 partition using fips so I will
> have a dual boot system with RH linux Pro Server 7.
> 
> Now I want to do the same with my new Win Me partition on my new DELL
> system.
> 
> Has anyone tried this using fips. How did you get on???
> Let me know.
> Kevin.
> 

I doubt if FIPS cares about the OS.
Fips cuts a FAT Filesystem in two pieces.
If you can manage not to use a part of the FS with WinME, it will work
fine.

Eric

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

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: I am confident you will help me with "LI" from LILO
Date: Thu, 30 Nov 2000 09:19:33 +0100
Reply-To: [EMAIL PROTECTED]

Dan Jacobson wrote:
> 
> "James West" <[EMAIL PROTECTED]> ���g��l��
> news:OAgV5.358$[EMAIL PROTECTED]...
> > try the boot disk on LBA
> >
> > worked for me a few times
> 
> if you mean in lilo.conf, it was on and didn't help.

Then your BIOS has no support for ext'd int13 calls.
Keep your /boot below cyl. 1024, that way you'll never have problems

> if you mean in BIOS instead of "CHS",
> then please tell me the consequences/implications of changing [if indeed
> possible] first.
> thanks
> 

The BIOS (That's the one with the problems)

I don't think there are any consequences for linux (It doesn't use the
CHS values).
Just try it.

Eric

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

From: "Dave Freeman" <[EMAIL PROTECTED]>
Subject: Linux Mandrake 7.2 Video
Date: Thu, 30 Nov 2000 09:05:19 -0000

A few months ago I installed Mandrake 7.1 without any problems whatsoever.
Just last night I installed 7.2 but now the video settings seem wrong.
Vertical lines seem distorted etc.  I had a look in drakconf and hardrak and
it seems like my monitor and graphics card have not been detected properly.
After correctly setting the graphics card (but couldnt find a driver for the
monitor so I chose a standard SVGA) I chose a different graphics resolution
but still no joy.  It seems the only time things are okay is if I choose a
low colour depth.

I have a ADI Provista E55 monitor and a matrox mystique (standard) video
card.  Linux is running on an AMD K6-2 500.

Has anyone else had any problems with this ?



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

From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: comp.os.linux,alt.linux
Subject: Re: Linux boot from floppy SLOW
Date: 30 Nov 2000 09:04:29 GMT

On Fri, 17 Nov 2000 04:13:07 GMT, Jeff Stevens <[EMAIL PROTECTED]> wrote:
>I installed Red Hat Linux 7 last week in the last 4 GB or a 20 GB disk,
>so I am booting to Linux from a floppy. It works OK, but is very slow -
>taking about 10 minutes to get past all the periods. Can anyone tell me
>if this is normal, and if there is a way to speed this up?
>



Add the linear option to lilo.conf before installing the lilo loader on
the floppy and watch the difference.  Without linear the boot process
will read the floppy one sector at a time and that is painfully slow.



Villy

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

From: "test" <[EMAIL PROTECTED]>
Subject: Use Linux to share the broadband line
Date: Thu, 30 Nov 2000 16:57:59 +0800

Our company lease the ADSL line and we want to setup a Linux setup to share
the broadband line with two network cards inserted.

Do anybody tells me how to configure and use what software to do such a
project ?



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

From: PJB <[EMAIL PROTECTED]>
Subject: corel 1.2 install hangs
Date: Thu, 30 Nov 2000 09:01:34 GMT

Hi there

hope this doesn't sound too stupid

I'm installing corel 1.2 on a thinkpad 760ED. However the computer
doesn't have windows installed and doesn't boot off the CD.

So I used another computer to run the CD and followed the steps to
create a boot disk.

When I reboot the thinkpad with the boot disk and the CD it gets part of
the way through and then hangs (CD doesn't eject screen blank).

Before the hang I get the following messages on top of a fancy 'splash'
screen

    Loading Corel Linux
    Starting Corel Linux
    Initialising System
    Detecting Hardware

The screen then goes blank and a message 'starting graphical
installation' flashes up before the screen fills with '@'s
and then goes blank again

..... and stays that way


Is my boot disk specific to the computer I created it on, not the
thinkpad - it's a standard NT (don't know full spec).

Perhaps the hardware detection is failing

Any help welcome

Paul


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED] (Harri Haataja)
Crossposted-To: 
alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.networking,comp.os.linux.redhat,comp.os.linux.security
Subject: Re: socksv5 RPM
Date: Thu, 30 Nov 2000 09:18:13 GMT

Darren and Marla Welson wrote:
>Where can I get an RPM of SOCKSV5 (for RedHat Linux)?

There's at least dante.

No URL in memory, try freshmeat.net.


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

From: "Arkady K." <[EMAIL PROTECTED]>
Subject: Re: remove lilo
Date: Thu, 30 Nov 2000 13:07:04 +0300

Hi.
Did you use - fdisk /mbr under DOS? :)

Best Regards.
Arkadiy K.
Willie Chan <[EMAIL PROTECTED]> ����� �
���������:7tGT5.570$[EMAIL PROTECTED]
> hi,
>
> how to remove lilo from mbr?
> tried using fdisk /mbr and nothing happen!
> I mean no such extension in my fdisk...
>
>



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

From: "Martin Schmidt" <[EMAIL PROTECTED]>
Subject: sudo
Date: Thu, 30 Nov 2000 11:21:31 +0100

Hi,

I have the following entry in the sudoers file :
USERNAME     ALL = (ALL)    NOPASSWD : PATH_TO_CHMOD     ARG1    ARG2
where USERNAME stands for a certain user .
This works without problebms .
Does anybody know how to make this command available for all users
rather than change the sudoers file with a new entry for every new user ?
I consider the thing very safe , because chmod is now only possible with the
given arguments , what would somebody with more experience say ?

Thanks in advance,
Martin




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

From: GMalseed <[EMAIL PROTECTED]>
Subject: ftp and Red Hat 6.1
Date: 30 Nov 2000 10:49:15 GMT

I have Red Hat 6.1 and NT/ Win 98 Boxes on a network. I cannot 
get an ftp session from the NT box, as the Linux machine always 
drops the connection. Any reason why this should happen ?


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

From: guest <[EMAIL PROTECTED]>
Subject: shutdown
Date: Thu, 30 Nov 2000 11:12:47 GMT

What is the easiest way to configure normal user account to have
priviliges to shutdown machine?

thanx4help
guest



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

From: "Konrad Koch" <[EMAIL PROTECTED]>
Subject: Re: LAN card doesn't work
Date: Thu, 30 Nov 2000 12:15:58 +0100

Try this. If you have a 8029 config utility for DOS, please make sure you
have selected Auto Media Type. If you don't have, obtain it from NIC driver
disk. Usually Diag.exe, or something like that. Should works.
Bregs, Konrad.


Stefan Stommels wrote in message <8vvn9e$6pm$[EMAIL PROTECTED]>...
>My REALTEK 8029 won't initialize. I've configured the card in
>linuxconf, but at boot-time linux is unable to configure the IP-address
>for eth0. It's a PCI combo card on COAX. When I use my old ISA-ne2k,
>all works well (DHCP and all)
>
>The RTL8029 works, cause I use it in windows all the time. Linux
>detects it, but can't find the DHCP server. Something to do with
>UTP/BNC settings ?
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.



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

From: Manuela Guandalini <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.suse
Subject: Re: URGENT: Very strange problem (Kernel kills all processes?)
Date: Thu, 30 Nov 2000 12:56:54 +0100

JB wrote:

> ... broken (or hotswap removed) hdd ... APM powersave for HDD in BIOS ...
> and all this removed some filesystem where your syslog is / /var /var/log
> ZB
> "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > In comp.os.linux.setup Raffael Herzog <[EMAIL PROTECTED]> wrote:
> > > 1. Has anybody an idea what this could be?
> >
> > Corrupted swap, bad memory, overheated cpu, failing pci bus, openended
> > scsi bus, defective add-on card ....
> >
> > > 3. I put the hard drive and the network card in another computer, but
> > >    this still didn't solve the problem. Is it possible that this is
> > >    caused by a failure of the hard drive or the network adapter?
> >
> > Oh, definitely. And you just more or less eliminated it. Keep on going.
> >
> > Peter

even a full HD makes it!!
Chek it out with df, as soon as your machine works again for a while.
Manu.



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

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Virtual mem exhaust problem?
Date: Thu, 30 Nov 2000 13:03:01 +0100
Reply-To: [EMAIL PROTECTED]

> dd if=/dev/zero of=/swapfile bs=1M count=64
> sync
> sync
> mkswap /swapfile
> swapon /swapfile
> 
> Add /swapfile to /etc/fstab to enable the extra swap space at boot time.

Hi Matt,

Why would you sync there?
Is there a good reason, or are you just afraid of crashes?
If so, why not sync just before swapon?

I'm just curious.

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 (and comp.os.linux.setup) 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-Setup Digest
******************************

Reply via email to