File: doc.bash.txt

package info (click to toggle)
lg-issue65 2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,780 kB
  • ctags: 230
  • sloc: sh: 201; perl: 133; makefile: 34
file content (219 lines) | stat: -rw-r--r-- 6,993 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
#!/bin/bash
#
# Requires: bash, Midnight Commander
#
# NOTE: The 'select' statement in some versions of "bash" is BROKEN
# (it's fixed in the later versions) and requires different syntax.
# This script can be adapted to work with those versions, but it's an
# 'either/or' proposition.

# You need to define your document directory here!
DOC=/usr/doc

clear
[ -z $1 ] && {
cat << !
'doc' by Ben Okopnik - a doc directory info reader

Usage: doc <xyz>

'doc' will list all choices matching 'xyz*'.
More letters produce a narrower query.

!
exit
}

cd $DOC

cd $( select A in $1*; do echo $A; break; done )
clear

# Due to the unpredictable depth of directory structures and
# the random number of 'retrievals', the loop here has to be
# infinite... which makes the exit method a rather crude one.

while [ 1 ]
do
    echo 'Enter "0" to change to the parent dir; press "Ctrl-C" when done.'
    echo '----------------------------------------------------------------'
    echo
    B=$( select C in *; do echo $C; break; done )
    [ -z $B ] && B=".."
    if [ -d $B ]
    then
	cd ./$B
	clear
    else
	mc -v $B
	clear
    fi
done
------ snip here -------------------------------------------------------




From star  Thu Mar  1 17:06:40 2001
Return-Path: <alessio.frenquelli@micromuse.com>
Delivered-To: star@starshine.org
Received: from antares.starshine.org
	by localhost with POP3 (fetchmail-5.0.5)
	for star@localhost (single-drop); Thu, 01 Mar 2001 17:06:40 -0800 (PST)
Received: from jake.micromuse.co.uk (mailhost.micromuse.com [194.131.185.75])
	by antares.in.starshine.org (Postfix) with ESMTP id EF2409798
	for <star@starshine.org>; Thu,  1 Mar 2001 12:10:29 -0800 (PST)
Received: from afrenquelli (micromuse-gw.customer.alter.net [203.166.42.170])
	by jake.micromuse.co.uk (Switch-2.1.0/Switch-2.1.0) with SMTP id f220L4l12841
	for <star@starshine.org>; Fri, 2 Mar 2001 00:21:04 GMT
Reply-To: <alessio.frenquelli@micromuse.com>
From: "Alessio Frenquelli" <alessio.frenquelli@micromuse.com>
To: "Heather" <star@starshine.org>
Subject: RE: Help on LILO stopping at LI
Date: Fri, 2 Mar 2001 11:25:46 +1100
Message-ID: <002401c0a2af$53769230$0e50a8c0@micromuse.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-gazette-edit: d
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
In-Reply-To: <200103011726.JAA09712@betelgeuse.starshine.org>
Status: RO

Heather,
thank you for your complete and prompt reply.

I will provide here some answers from the queries that you had.
At this stage it seems that the problem is caused by one of our product,
that I have recently installed under Linux. After reporting the LI problem
to our support team, I received a reply where they state that this product
ast times seems to affect LILO, and to cause the problem that I have
described to you.

I am still awaiting from our support team, if they know how to fix the
problem of LILO.

And now to your questions:


> Any recent changes?  The next L should represent finding the second stage
> loader so the kernel can get going.  These could be disk-ish things like
> you caught a virus and successfully cleaned it out, had a hard crash and
> needed to reboot, etc

Yes, I have installed a new Micromuse Package under LINUX. After the
installation I rebooted few times without problem, but then one day, LI
started to happen.


> > Warning: device 0x0305 exceeds 1024 cylinder limit
> > Added linux *
> > [root@afrenquelli /etc]#
>
> You used to get this before, or you now have a bigger disk than you
> used to?
>

No changes on disk size, or disk partitioning under Linux or under NT. I
never run /sbin/lilo before , so I cannot tell you if this was a problem.
But LILO always worked before.


> > I did not "fiddle" with Linux at all before this error appeared !
>
> WHat do you normally use Linux for?
>

I use Linux to run Micromuse products, and as I said, the problem started to
happen since I installed one of our package. Other people installed it on
their laptop, but they did not report the error. Support told me that at
times this product is know to cause some problem with LILO, but they are not
too sure.

> That's weird :(
>
> Maybe you need to take the linear or lba32 mark *out* ??
>

You mean, remove linear or lba32 from lilo.conf and try to run lilo again ?
I will try this.

> > Could I just de-install LILO and re-install LILO ?
> should be able to.  lilo -u to put the backup bits from /boot/boot.0307
> back into the superblock /dev/hda7 (where it hopefully came from).  If
> it whines abotu timestamps, lilo -U insists.
>
> Then, you should be able to run lilo again to install it as a fresher
> instance.


So I should just run :
1. lilo -u or lilo -U
2. Then how do I re-install LILO ? Just running /sbin/lilo or do I need to
download the LILO package from somewhere and the install it with   "rpm -Uhv
<nomefile>.rpm" or something similar ?





Thank you for your help once again, I will keep you posted !

ciao, alessio


From star  Tue Mar 13 10:46:37 2001
Return-Path: <alessio.frenquelli@micromuse.com>
Delivered-To: star@starshine.org
Received: from antares.starshine.org
	by localhost with POP3 (fetchmail-5.0.5)
	for star@localhost (single-drop); Tue, 13 Mar 2001 10:46:37 -0800 (PST)
Received: from jake.micromuse.co.uk (mailhost.micromuse.com [194.131.185.75])
	by antares.in.starshine.org (Postfix) with ESMTP id 234E39798
	for <star@starshine.org>; Mon, 12 Mar 2001 18:54:16 -0800 (PST)
Received: from afrenquelli (micromuse-gw.customer.alter.net [203.166.42.170])
	by jake.micromuse.co.uk (Switch-2.1.0/Switch-2.1.0) with SMTP id f2D74UU11954
	for <star@starshine.org>; Tue, 13 Mar 2001 07:04:34 GMT
Reply-To: <alessio.frenquelli@micromuse.com>
From: "Alessio Frenquelli" <alessio.frenquelli@micromuse.com>
To: "Heather" <star@starshine.org>
Subject: Solved :  LILO stopping at LI
Date: Tue, 13 Mar 2001 18:09:16 +1100
Message-ID: <002e01c0ab8c$83ee0840$0e50a8c0@micromuse.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Importance: Normal
X-gazette-edit: e
In-Reply-To: <200103011726.JAA09712@betelgeuse.starshine.org>
Status: RO

Heather,

here is how I got this problem fixed with the help of the support personnel
in our company

Thank you once again for your support !!!



Support adviced me that the following recovery procedure for LILO problems
is to be used for Laptop that have dual boot partition, NT & Linux, when the
menu received at boot time shows OS LOADER, and then it presents 2 choice ,
Windows NT or Linux.

Steps taken:

0. Boot Linux from bootdisk
1. Run /sbin/lilo -v  (make sure no errors are displayed)
2. Insert a new diskette and mount it: