Linux-Setup Digest #801, Volume #19 Tue, 10 Oct 00 12:13:11 EDT
Contents:
What shoud I use on redhat 7.0 IP-Masquerade or IPCHAINS??? ([EMAIL PROTECTED])
problem mapping to network drive on linux box (waif)
redhat vs suse ("news ibm")
Samba failure (Edgar Wahl)
Re: Newbie: Password forgot ("Kurt R. Rahlfs")
Re: What shoud I use on redhat 7.0 IP-Masquerade or IPCHAINS??? ("Kurt R. Rahlfs")
dual boot with win 2000 ("blah blah ...")
Re: Kernel Panic (Sebastian Niehaus)
HP Deskjet 720c printer drivers (ELLIS)
Re: How to force the rpm database to know about a manual kernel upgrade (aflinsch)
Re: Boot Partition too Big!!! ?! (aflinsch)
Re: problem mapping to network drive on linux box ("Nisi")
Does anybody have linux drivers for the the modem on an SIS620 motherboard ("Samuel
Thornhill")
Re: Setting up a linux router + firewall ("Nisi")
Re: I NEED A JOB!! ("Blaine McDonnell")
Setting up SCSI harddisk... ("Marty")
Re: Newbie: How do you setup 2 PC's using Rhat Linux 6.2? ([EMAIL PROTECTED])
Re: simple question: how to disable user loggin? ("David ..")
Re: redhat vs suse (Villy Kruse)
Re: What if "locate" returns database > 8 days old?? (DTi4565459)
Re: help: howto boot w/out X (fay aron charles)
Re: downloading and running programs help (DTi4565459)
Re: Setting up SCSI harddisk... (Joshua Baker-LePain)
CDROM access locks up Redhat - adaptor card issue?
Re: fdisk doesn't find FAT (Partition magic does) (DTi4565459)
Re: Newbie: How do you setup 2 PC's using Rhat Linux 6.2?
Re: LILO frezes after PartitionMagic moves LINUX partitions (Anita Lewis)
Re: How to force the rpm database to know about a manual kernel upgrade (Vilmos Soti)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: What shoud I use on redhat 7.0 IP-Masquerade or IPCHAINS???
Date: Tue, 10 Oct 2000 13:04:26 GMT
What shoud I use on redhat 7.0 IP-Masquerade or IPCHAINS???
He is what I am trying to do.
I have one computer with a modem that I use to dail out to my ISP. I
just setup a network with two computer on it and I will like my other
computers on the network to see the internet??
If you got this working in redhat 7.0 please email me or if you have a
comment on the best way to do this please email me
Thanks
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: waif <[EMAIL PROTECTED]>
Subject: problem mapping to network drive on linux box
Date: Tue, 10 Oct 2000 13:05:21 GMT
Reply-To: [EMAIL PROTECTED]
I am running RedHat5.2 with samba running. My workstation is win2k. I
try net use x: \\server\share and the error I get is:
"System error 1240 has occurred.
The account is not authorized to log in from this station."
What file do I need to adjust? My hosts.deny is ALL:ALL and my
hosts.allow is ALL:192.168.1.
I configured the share in my smb.conf file.
--
my views no longer reflect those of my family,
employer, psychologist, or come to think of it, my
cat...
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "news ibm" <[EMAIL PROTECTED]>
Subject: redhat vs suse
Date: Tue, 10 Oct 2000 16:28:22 -0700
I just received suse linux 7.0 and I was wondering what the difference b/w
this one and that of redhat.
Dylan
------------------------------
From: Edgar Wahl <[EMAIL PROTECTED]>
Subject: Samba failure
Date: Tue, 10 Oct 2000 15:49:59 +0200
high =
we are using suse linux and samba for the internal working on
HTML DOCUMENT to our WEBSERVER. =
On our first server ( we have the frontpage admin for linux installed
works it fine. =
on the other server with fasttrack server (developer edition) don=B4t wor=
k
the samba smbpassword. =
we will add user root to the samba =
can you help me =
mail direkt at [EMAIL PROTECTED]
------------------------------
From: "Kurt R. Rahlfs" <[EMAIL PROTECTED]>
Subject: Re: Newbie: Password forgot
Date: Tue, 10 Oct 2000 08:48:36 -0500
Boot up using the installation CD or floppy. Progress up to the menu
where you choose to install or boot. In one of those menus you'll have a
choice to boot up a rescue system off of the CD. This will start Lunux in
a ram drive with the name of yomama. Then you can mount your root
partition on the /mnt filesystem in yomama and cd to /mnt/etc and change
the passwd there.
In old Unix systems we just changed the password in /etc/passwd. Now it
would be the /etc/shadow file. Again in the old days we could just remove
the entry for the password and be able to get in without a passwd. That
may work with the /etc/shadow file. Try it. Good luck.
Kurtrr
Jerome Meyer wrote:
> Hello everyone,
>
> I have forgot my root password....!
> Do I have a possibility to change it or do I should reinstall the whole
> software?
> I use Linux Suse 6.4
>
> Thanks a lot for your help,
>
> Jerome
------------------------------
From: "Kurt R. Rahlfs" <[EMAIL PROTECTED]>
Subject: Re: What shoud I use on redhat 7.0 IP-Masquerade or IPCHAINS???
Date: Tue, 10 Oct 2000 08:55:07 -0500
I've had success using pmfirewall, it uses IPCHAINS. I just answered
it's questions and it created a simple useable firewall for me. Since my
network has three sub nets on it I had to tweak the rules a bit.
kurtrr
> What shoud I use on redhat 7.0 IP-Masquerade or IPCHAINS???
>
> He is what I am trying to do.
>
> I have one computer with a modem that I use to dail out to my ISP. I
> just setup a network with two computer on it and I will like my other
> computers on the network to see the internet??
>
> If you got this working in redhat 7.0 please email me or if you have a
> comment on the best way to do this please email me
>
> Thanks
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: "blah blah ..." <[EMAIL PROTECTED]>
Subject: dual boot with win 2000
Date: Tue, 10 Oct 2000 08:58:29 -0500
Can anyone help me on how to dual boot Redhat with win2000? I tried
doing this with Mandrake linux and was a piece of cake but with Redhat
i'm having no clue! I followed the same procedures, but somehow RedHat
is messing up with my MBR.
cheers ivaturi
------------------------------
From: Sebastian Niehaus <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,linux.redhat.install
Subject: Re: Kernel Panic
Date: Tue, 10 Oct 2000 15:58:57 +0200
Reply-To: [EMAIL PROTECTED]
Bryan Lee wrote:
>
> I managed to install RedHat Linux 6.2 on my PC which run on AMD Athlon
> 600MHZ with 128MB RAM.
>
> I never managed to go into Linux. The PC hang during the boot up (after the
> LILO prompt) and gave the following error messages:
>
> ==========
> ....... (some checking on system configuration)
> CPU: AMD AMD Athlon (tm) processor stepping 00
> Enabling extended fast FPU and restore ... done
> Disabling CPUID serial number ... general protection fault: 000
> :
> : < some error data>
> :
> Kernel panic: Attempted to kill the idel task!
> In swapper taksk - not syncing
>
> ==========
maybe you should try an 386 Kernel at first and later compile your own?
Give it a try!
Sebastian
------------------------------
From: ELLIS <[EMAIL PROTECTED]>
Subject: HP Deskjet 720c printer drivers
Date: Tue, 10 Oct 2000 15:00:45 +0100
I recently installed red hat ver. 6 on my pc only to find that I could not
set up my printer. A trip to the hewlettpackard website in search of drivers
and I discovered that hp doesn't support the linux environment. Moreover it
looks as if the information required to write drivers for this printer has
only been released to microsoft.
Has anybody had the same problem and found a way round it?
Cheers
Gavin
------------------------------
From: aflinsch <[EMAIL PROTECTED]>
Subject: Re: How to force the rpm database to know about a manual kernel upgrade
Date: Tue, 10 Oct 2000 10:10:35 -0500
Christian DELAIR wrote:
>
> Hello,
>
> My config is Linux RedHat 6.0 Kernel 2.2.5
> After a manual kernel upgrade to 2.2.16 using a tar.bz2 kernel source file
> all is working.
>
> Now I just want to upgrade Util-linux (using rpm) from version 2.9n to 2.10
> but the rpm database /var/lib/rpm/packages.rpm doesn't know about my manual
> kernel upgrade from 2.2.5 to 2.2.16 so a command like:
>
> # rpm -U util-linux-2.10f-7.i386.rpm
> give the error:
> failed dependencies:
> kernel >= 2.2.12-7 is needed by util-linux-2.10f-7
>
> My question is How to force the rpm database to know that the kernel is now
> 2.2.16
>
You can do the following
rpm -U util-linux-2.10f-7.i386.rpm --nodeps
This will skip the dependency check.
This is always a problem when mixing tarballs and rpm's together.
Another option is to snag a copy of the 2.2.16 kernel as a rpm and
install it, then do the util-linux install.
------------------------------
From: aflinsch <[EMAIL PROTECTED]>
Subject: Re: Boot Partition too Big!!! ?!
Date: Tue, 10 Oct 2000 10:06:43 -0500
Gary Leung wrote:
>
> I got 10G HD, I made partition 8G and 2G, I have my Windows 98 on 8G (c:)
> then I boot up with the RedHat6.1 CD, and try to install (on my 2G drive),
> when I go up to the partition, I can't set up the "Linux Native" drive, it
> give reason "boot partition too big". Can anyone know why is that, and tell
> me how to make it?
you have an older version of lilo that will not work past cylinder
1024.
You have 3 choices
1 - get a newer version of lilo
2 - boot from floppy
3 - repartition your drive as follows
10M - /boot
8G - windows
remainder /
I would go with option 3 as it is probably the easiest to deal with
------------------------------
From: "Nisi" <[EMAIL PROTECTED]>
Subject: Re: problem mapping to network drive on linux box
Date: Tue, 10 Oct 2000 10:27:34 -0400
Some of the older versions of Samba have issues with Win2000. I am not sure
if this is your problem, but I would check it out.
Nisi
www.mindlessmayhem.com
waif wrote in message <8rv46e$vkr$[EMAIL PROTECTED]>...
>I am running RedHat5.2 with samba running. My workstation is win2k. I
>try net use x: \\server\share and the error I get is:
>"System error 1240 has occurred.
>
>The account is not authorized to log in from this station."
>
>What file do I need to adjust? My hosts.deny is ALL:ALL and my
>hosts.allow is ALL:192.168.1.
>
>I configured the share in my smb.conf file.
>
>--
>my views no longer reflect those of my family,
>employer, psychologist, or come to think of it, my
>cat...
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
------------------------------
From: "Samuel Thornhill" <[EMAIL PROTECTED]>
Subject: Does anybody have linux drivers for the the modem on an SIS620 motherboard
Date: Tue, 10 Oct 2000 15:40:01 +0100
i use mandrake 7.1 and have spent ages trying to reverse engineer the
windows drivers, but to no avail. If anyone could help i would be much
obliged.
------------------------------
From: "Nisi" <[EMAIL PROTECTED]>
Subject: Re: Setting up a linux router + firewall
Date: Tue, 10 Oct 2000 10:30:35 -0400
www.linuxdoc.org read the following:
firewalling Howto
security howto
IPChanins howto
Also, check out the NHFs at www.linuxnewbie.org . they have some very good
info on doing this exact thing.
Nisi
www.mindlessmayhem.com
Koen Van Impe wrote in message ...
>Hello,
>
>I want to set up my Linux-machine as an internet-router with firewall. Does
>anyone has a clue wich HOWTO's and other information is usefull for getting
>it running?
>(one Linux machine connected to the internet and internetting from the
other
>machines - Win98 - in the private network)
>
>Best Regards,
>
>Koen Van Impe
>
>[EMAIL PROTECTED]
>
>
------------------------------
From: "Blaine McDonnell" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.mandrake
Subject: Re: I NEED A JOB!!
Date: Tue, 10 Oct 2000 09:39:44 -0500
I have head hunters calling me all the time looking to pay 60-90K (in St
Louis, MO) for Solaris SysAdmins or Perl Programmers - you need a couple of
years experience though.
"Colin Watson" <[EMAIL PROTECTED]> wrote in message
news:8rujfg$lcb$[EMAIL PROTECTED]...
> Pavel Zaitsev <[EMAIL PROTECTED]> wrote:
> >Linux programmers dont get paid alot. Live with it. ;-)
>
> No? Not my experience - walked straight out of university at 21 into a
> Unix programming job that pays several thousand pounds a year higher
> than the average for computer scientists. My best friend from university
> did exactly the same in a different company. I'd say the opportunities
> for people who know their way around Linux/Unix, C, Perl, and
> what-have-you are better now than they have been for many years.
>
> --
> Colin Watson [[EMAIL PROTECTED]]
> "Then hast thou joined the ARPANET? / Oh come to me, my bankrupt boy!
> Quick, call the NIC! Send RFCs! / He chortled in his joy." - RFC 527
------------------------------
From: "Marty" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Setting up SCSI harddisk...
Date: Tue, 10 Oct 2000 22:26:19 +0800
I have just bought a SCSI adapter and a quantum SCSI harddisk. When I boot
up the Linux, it can only detect the SCSI adapter. I don't know how to
setup the SCSI harddisk. I have tried to type the following
echo "scsi add-single-device 0 0 6 0" > /proc/scsi/scsi
but I found that there is no response as I cat the /proc/scsi/scsi.
However, when I try the following
echo "abc" > /dev/sga
Then, my harddisk entry will be added to the /proc/scsi/scsi. Could you tell
me what's happening and how to add a SCSI device correctly ???
Thanks.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.help,comp.os.linux.advocacy,comp.os.linux.help
Subject: Re: Newbie: How do you setup 2 PC's using Rhat Linux 6.2?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 10 Oct 2000 14:39:47 GMT
That's not what jedi told him. I believe he said something about a
kernel re-compile?
Can't you guys get your stories straight?
FWIW, my NE2000 card worked out of the box with Mandrake 7.1
claire
On Tue, 10 Oct 2000 09:20:08 +0100, 2:1 <[EMAIL PROTECTED]>
wrote:
>[EMAIL PROTECTED] wrote:
>>
>> Hi, I have 2 PCs that I'd like to setup together to
>> learn Apache webserver, printer server and DNS. Can
>> someone help me please.
>>
>> I have 2 NIC cards (NE2000), 1 hub and Rhat Linux 6.2.
>>
>> Can someone give me the step-by-step procedure?
>>
>> Thanks!
>>
>> Leo
>>
>> Sent via Deja.com http://www.deja.com/
>> Before you buy.
>
>FWIW, RH6.2 comes with the NE2000 drivers working out of the box.
>Just installing RH6.2 anc selecting the apropriate packages should
>install a working web server. Just edit /home/http/html.
>
>-Ed
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: simple question: how to disable user loggin?
Date: Tue, 10 Oct 2000 09:55:20 -0500
[EMAIL PROTECTED] wrote:
>
> sorry guys
>
> i've got a user account on my box that i want to temporalily disable and
> i cant remember how this can be done and was hoping someone could help
> me out.
>
> i seem to recall sometime ago that someone told me that all i needed to
> do was to mark one of the fields in either /etc/passwd or /etc/shadow
> and that would disable the account.
You should be able to do this by placing a "*" in the password section
of the password file.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: redhat vs suse
Date: 10 Oct 2000 14:57:55 GMT
On Tue, 10 Oct 2000 16:28:22 -0700, news ibm <[EMAIL PROTECTED]> wrote:
>I just received suse linux 7.0 and I was wondering what the difference b/w
>this one and that of redhat.
>Dylan
>
What is the difference between a Ford and a Chevy? Both works fine;
some like the one, some the other, some neither.
Villy
------------------------------
From: [EMAIL PROTECTED] (DTi4565459)
Subject: Re: What if "locate" returns database > 8 days old??
Date: 10 Oct 2000 15:07:31 GMT
Thanks, that worked,
dave
------------------------------
Subject: Re: help: howto boot w/out X
From: [EMAIL PROTECTED] (fay aron charles)
Date: Tue, 10 Oct 2000 15:07:31 GMT
"bluster" <[EMAIL PROTECTED]> writes:
>fay aron charles <[EMAIL PROTECTED]> wrote
>> I was playing with my XF86Config file, trying to get a better
>> resolution, and somehow picked a synch rate my monitor cannot
>> handle. Now, I can't edit the file, because I can't find a
>> way to exit the GUI and work from a command prompt. (The login
>> screen is even GUI-ized, and I can't control the mouse enough
>> to pick the "safe login" feature either).
>Eeek... I always save a copy of config files before I start fiddling
>with them, so I can restore the old settings if I foobar something, e.g.
>[root@zephyr]# cp /etc/X11/XF86Config /etc/X11/XF86Config.save
I did this, but couldn't open a terminal, so I couldn't copy it back.
<SNIPPED a lot of good information>
Thanks, Bluster for your quick reply. Just the information I was
looking for! I kept my downtime to <1day, and now have gotten the
resolution running that I had hoped for in the first place!
Thanks,
aron fay
--
"Satan sincerely believes in the triumph of Evil.
Gates just does it for the money."
------------------------------
From: [EMAIL PROTECTED] (DTi4565459)
Subject: Re: downloading and running programs help
Date: 10 Oct 2000 15:15:24 GMT
Rob,
What a *helpful* reply.
Thanks,
dave
dave
http://www.columbia.edu/~mdt1/
(1 = one, not little L; and don't forget the trailing / )
------------------------------
From: Joshua Baker-LePain <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Setting up SCSI harddisk...
Date: 10 Oct 2000 15:16:32 GMT
In comp.os.linux.hardware Marty <[EMAIL PROTECTED]> wrote:
> I have just bought a SCSI adapter and a quantum SCSI harddisk. When I boot
> up the Linux, it can only detect the SCSI adapter. I don't know how to
> setup the SCSI harddisk. I have tried to type the following
> echo "scsi add-single-device 0 0 6 0" > /proc/scsi/scsi
This should *not* be necessary. When the driver for your card is
loaded (does this happen at bootup?), it should detect all the
devices on the chain. Actually, it should detect all devices
on the *properly terminated* chain. Check your termination. Then,
make sure that the line "alias scsi_hostadapter xxxx", where xxxx
is replaced by the driver for your card, is in /etc/conf.modules.
> echo "abc" > /dev/sga
Err, sga is a scsi Generic device. Your first SCSI hard disk should
be at /dev/sda.
First, make sure your chain is properly terminated. Then, bootup
and ensure that the device driver is loaded (you could force it
with a "modprobe xxx" at the end of /etc/rc.d/rc.local). When
the driver is loaded, ensure that it sees your hard drive, and
that it assigns it to /dev/sda.
Once all that is done, you have to perform the usual steps of partitioning
and formatting the drive. fdisk to parition it, then mke2fs to format
each partition.
And don't forget the goats...
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
------------------------------
Subject: CDROM access locks up Redhat - adaptor card issue?
Date: Tue, 10 Oct 2000 11:20:22 -0400
From: <[EMAIL PROTECTED]>
Hi,
I just installed a new 40 gig Maxtor hard drive and an adaptor card and now when
I try to access my cdrom, Linux locks up solid as a rock. I have tried mounting
it as a drive device and also as a scsi device, like my cdr, which does mount ok
but either option for the cdrom locks things up.
I'm running Redhat 7.0, and 2.4.0-test9 kernel.
>From my fstab:
=====
# /dev/hdb /mnt/cdrom iso9660 ro,user,noauto 0 0
# /dev/sr0 /mnt/cdrom iso9660 rw,user,noauto 0 0
# /dev/hdc /mnt/cdr iso9660 rw,user,noauto 0 0
/dev/scd0 /mnt/cdrom iso9660 ro,user,noauto 0 0
/dev/scd1 /mnt/cdr iso9660 rw,user,noauto 0 0
IDE Info
========
Main Board IDE
==============
hda drive which is not active
hdb CDROM
hdc CDR
hdd nothing connected
Maxtor Ultra ATA/100 PCI Adaptor Card
====================================
hde drive with first partion active, i.e., bootable ("C" in Win98SE>
hdf nothing connected
hdg drive with Linux installed, root at hdg9
hdf nothing connected
Appreciate any help.
Thanks
------------------------------
From: [EMAIL PROTECTED] (DTi4565459)
Subject: Re: fdisk doesn't find FAT (Partition magic does)
Date: 10 Oct 2000 15:43:39 GMT
>> When I type fdisk: get short one line response about hda1
>>
>> I want to mount my C:\ from DOS
>>
>> In DOS, Partition Magic outputs something like:
>>
>> Volume
>> Drive 1 C:
>> 1 -*: LinuxExt2 None Primary
>> 2 - C:MS-DOS_6 FAT16B Active Primary
>> 3 -*: Linux Swap None Primary
>>
>> So how can I get this FAT16B mounted under Linux. That's where I have
>> some rpm's saved that I would like to install in Linux
>
>mkdir /mnt/DOS
>mount -t msdos /dev/hdaX /mnt/DOS
>
>Where hdaX is the DOS partition
>
Thanks,
hda3 *worked*. From PM output, I was
expecting hda2; but I'm a newbie to Linux
conventions.
cd'd to partition; cd'd to windows; ran
wine progman.exe -- and Voila, 3.1
started!!! How about that!!
------------------------------
From: [EMAIL PROTECTED] ()
Crossposted-To: comp.os.linux.help,comp.os.linux.advocacy,comp.os.linux.help
Subject: Re: Newbie: How do you setup 2 PC's using Rhat Linux 6.2?
Date: Tue, 10 Oct 2000 15:43:40 -0000
On Tue, 10 Oct 2000 14:39:47 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>That's not what jedi told him. I believe he said something about a
>kernel re-compile?
It all depends on what you view as easier, keeping track of
IRQ's or recompiling the kernel. There are a variety of ways
to approach the problem and not just one.
>
>Can't you guys get your stories straight?
>
>FWIW, my NE2000 card worked out of the box with Mandrake 7.1
NE2000 is a CLASS of hardware. It is not a particular
piece of hardware. All you know is that it "might" work
the first time. This is as true for WinDOS as it is for
Linux.
The high likelihood of such a card being ISA also complicates
things and is probably the leading cause of things not being
necessarily simple with such cards even under WinDOS.
>
>claire
>
>On Tue, 10 Oct 2000 09:20:08 +0100, 2:1 <[EMAIL PROTECTED]>
>wrote:
>
>>[EMAIL PROTECTED] wrote:
>>>
>>> Hi, I have 2 PCs that I'd like to setup together to
>>> learn Apache webserver, printer server and DNS. Can
>>> someone help me please.
>>>
>>> I have 2 NIC cards (NE2000), 1 hub and Rhat Linux 6.2.
>>>
>>> Can someone give me the step-by-step procedure?
>>>
>>> Thanks!
>>>
>>> Leo
>>>
>>> Sent via Deja.com http://www.deja.com/
>>> Before you buy.
>>
>>FWIW, RH6.2 comes with the NE2000 drivers working out of the box.
>>Just installing RH6.2 anc selecting the apropriate packages should
>>install a working web server. Just edit /home/http/html.
>>
>>-Ed
>
--
No matter whether th' constitution follows th' flag or not, th' supreme
court follows th' iliction returns.
-- Mr. Dooley
------------------------------
From: [EMAIL PROTECTED] (Anita Lewis)
Crossposted-To: redhat.general,linux.redhat.misc,linux.redhat.install
Subject: Re: LILO frezes after PartitionMagic moves LINUX partitions
Date: Tue, 10 Oct 2000 15:56:47 -0000
Reply-To: [EMAIL PROTECTED]
On Tue, 10 Oct 2000 11:35:00 GMT, [EMAIL PROTECTED] wrote:
>This might be a FAQ.
>I have installed RH5.2 (dual boot with Win95) and recently I moved all
>my LINUX partition with PartitionMagic. When I rebooted the PC
>
>The first tragedy struck.
>Lilo did not run and the screen stuck on 'LI' as if LILO cannot find
>the rest of itself. I have a boot disk
>but, it seems that I needed an image from the CD to create a rescue
>disk.
>
>The second tragedy struck.
>I had originally installed my RH5.2 with the help of my earstwhile
>mentor. He had the original installation images downloaded and burned
>on to a CD. He is nowhere to be found, having resigned a month ago....
>
>
>On the other hand, I have Michael Kofler's book with 2 RH6.0 CD (?).
>Well, I know the latest is 6.2 but am not willing to go out of my way to
>purchase it.... :-)
>
>Now any advice will be appreciated.
>
>I am planing to boot the RH Installation CD. Question is that : Will it
>go into rescue mode? I am plaing to mount the LINUX partition with
>something like...
>
>mount -t ext2 /dev/hda/mnt/disk
>
>and then attempt to run lilo (as root ?)
>
>lilo -r /mnt/disk
>
>and then attempt to reboot.
>
>Please advise. I am a novice on how to restore LILO, being new at this
>kind of thing, anything is better than nothing.
>
>Thanks in advance.
>
If you know what partition root is now ( I guess you can tell with
partition magic?) you might be able to just do
LILO: linux root=/dev/hda? (? is the number of the partition)
If that boots you, then you can edit /etc/lilo.conf so that
in the image section you have root=/dev/hda? instead of the old
partition. Then you can run 'lilo' and that will put the proper
info into the mbr. You will also need to edit /etc/fstab to indicate
the proper partition for root and whatever else may have changed
like swap.
If that doesn't boot you, you can do
linux rescue at the boot prompt on the 6.0 cdrom. Then
mkdir /mnt/rootdir
mount -t ext2 /dev/hda? /mnt/rootdir
chroot /mnt/rootdir
and then do the editing and running of lilo and so on above.
If you don't know what is what with the partitions, after you get in
rescue mode, do
fdisk /dev/hda
and figure out what partition is / and swap by the size. I guess
you figured out that the numbers shifted.
Anita
------------------------------
Subject: Re: How to force the rpm database to know about a manual kernel upgrade
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Tue, 10 Oct 2000 16:00:12 GMT
"Christian DELAIR" <[EMAIL PROTECTED]> writes:
> After a manual kernel upgrade to 2.2.16 using a tar.bz2 kernel source file
> all is working.
>
> Now I just want to upgrade Util-linux (using rpm) from version 2.9n to 2.10
> but the rpm database /var/lib/rpm/packages.rpm doesn't know about my manual
> kernel upgrade from 2.2.5 to 2.2.16 so a command like:
>
> # rpm -U util-linux-2.10f-7.i386.rpm
> give the error:
> failed dependencies:
> kernel >= 2.2.12-7 is needed by util-linux-2.10f-7
>
> My question is How to force the rpm database to know that the kernel is now
> 2.2.16
I don't know if you can force the rpm database to acknowledge your new kernel,
but you can try
rpm -Uvh --nodeps util-linux-2.10f-7.i386.rpm
and rpm won't look out for the dependencies.
Vilmos
------------------------------
** 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
******************************