Re: [newbie] rescue disk probs

2004-08-23 Thread Stephen Kühn
On Tue, 2004-08-24 at 07:05, Scott Wagner wrote:
> Thanks, I'm back in Mandrake. 
> 
>  I did 
> 
> # mkdir /mnt/tmp
> 
> and then 
> 
> # mount /dev/hda5 /mnt/tmp
>  
> and then found /etc/lilo.conf  at /mnt/tmp/etc/lilo.conf
> 
> Vi was acting a little sickly, but I was able to delete the bad stanza.
> 
> Thanks all,
> SW

Generally, after you login under rescue mode, the best thing to do is to
mkdir /mnt/hd

chroot /mnt/hd

cd /etc/

vi lilo (and do whatever)

THEN,

lilo

...and reboot - should be all happy-dappy after that.

--
stephen kuhn - proprietor
__
illawarra computer services :: a kuhn media australia venture
http://kma.0catch.com  :: mobile 0410.728.389
Serving Sydney, The Illawarra, South Coast and Rural NSW
__
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
__
  Mandrake GNU/Linux 10.0 OE/Kernel 2.6.3-7/ No Viruses here. 

Work was impossible. The geeks had broken my spirit. They had done too
many things wrong. It was never like this for Mencken. He lived like a
Prussian gambler -- sweating worse than Bryan on some nights and drunker
than Judas on others. It was all a dehumanized nightmare...and these
raddled cretins have the gall to complain about my deadlines. -- Hunter
Thompson, "Bad Nerves in Fat City", _Generation of Swine_



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] rescue disk probs

2004-08-23 Thread Scott Wagner
Thanks, I'm back in Mandrake. 

 I did 

# mkdir /mnt/tmp

and then 

# mount /dev/hda5 /mnt/tmp
 
and then found /etc/lilo.conf  at /mnt/tmp/etc/lilo.conf

Vi was acting a little sickly, but I was able to delete the bad stanza.

Thanks all,
SW





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] rescue disk probs

2004-08-23 Thread Vincent Voois
You can also try to save it with a Linux PE-CD (single-cd distributions) like e.g. 
Knoppix.
Derek Jennings wrote:
On Monday 23 August 2004 21:18, Scott wrote:
Hello
I'm trying to use my 10.0 rescue disk to re-write lilo in hda.  The problem
is I have an improperly named kernel image in /etc/lilo.conf, so the
rewrite fails when it runs "lilo".  I don't seem to be able to open
lilo.conf with vi to change it from the rescue console though.  I just get
an empty new /etc/lilo.conf file, and ls /etc doesn't show a lilo.conf file
(or a bunch of others either).  How can I fix the file?
Cheers,
SW


From the rescue disk menu mount the partitions and then you will find your 
real lilo at /mnt/etc/lilo.conf   (or something like that)
I think in rescue mode you only get 'vim' not the full 'vi'
When you have edited the lilo.conf file write it to the boot sector with the 
recue menu entry to rewrite lilo.

Hope that works
derek



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] rescue disk probs

2004-08-23 Thread John Richard Smith
Scott wrote:
Hello
I'm trying to use my 10.0 rescue disk to re-write lilo in hda.  The 
problem is I have an improperly named kernel image in /etc/lilo.conf, 
so the rewrite fails when it runs "lilo".  I don't seem to be able to 
open lilo.conf with vi to change it from the rescue console though.  I 
just get an empty new /etc/lilo.conf file, and ls /etc doesn't show a 
lilo.conf file (or a bunch of others either).  How can I fix the file?
 
Cheers,
SW
Not sure, but maybe you need to mount the partition your OS is on in 
rescue mode.
Then run vi to edit.

To do that, not done this for a while,
mkdir /mnt/tmp
/dev/hd(x) /mnt/tmp  
where x is your drive letter.
then type vi
John


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] rescue disk probs

2004-08-23 Thread Derek Jennings
On Monday 23 August 2004 21:18, Scott wrote:
> Hello
> I'm trying to use my 10.0 rescue disk to re-write lilo in hda.  The problem
> is I have an improperly named kernel image in /etc/lilo.conf, so the
> rewrite fails when it runs "lilo".  I don't seem to be able to open
> lilo.conf with vi to change it from the rescue console though.  I just get
> an empty new /etc/lilo.conf file, and ls /etc doesn't show a lilo.conf file
> (or a bunch of others either).  How can I fix the file?
>
> Cheers,
> SW


>From the rescue disk menu mount the partitions and then you will find your 
real lilo at /mnt/etc/lilo.conf   (or something like that)

I think in rescue mode you only get 'vim' not the full 'vi'

When you have edited the lilo.conf file write it to the boot sector with the 
recue menu entry to rewrite lilo.

Hope that works

derek

-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] rescue disk probs

2004-08-23 Thread Scott



Hello
I'm trying to use my 10.0 rescue disk to re-write 
lilo in hda.  The problem is I have an improperly named kernel image in 
/etc/lilo.conf, so the rewrite fails when it runs "lilo".  I don't 
seem to be able to open lilo.conf with vi to change it from the rescue console 
though.  I just get an empty new /etc/lilo.conf file, and ls /etc doesn't 
show a lilo.conf file (or a bunch of others either).  How can I fix the 
file?
 
Cheers,
SW