Re: LI Hang, recovery??

2003-10-10 Thread Monique Y. Herman
On Fri, 10 Oct 2003 at 05:34 GMT, Christof Hurschler penned:
> I didn't get chroot to work because I wasn't using chroot correctly,
> so thanks for the full command line on that.  I think that will be
> something usefull to know in the future.
> 
> Chris
> 

I copied it from some notes I keep for myself.  No way I could remember
that damn command the one time every 6 months that I need it!

--
monique
Unless you need to share ultra-sensitive super-spy stuff with me, please
don't email me directly.  I will most likely see your post before I read
your mail, anyway.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LI Hang, recovery??

2003-10-09 Thread Christof Hurschler
Thanks so much for the response, I got it working (see my SOLVED post).

in the process of trying to get things working I did try Knoppix, I saw that 
my partition was ok, since Knoppix was able to mount it, and I could also 
tell which partition was actually my root partition because it had been a 
while since I had installed Debian.  I didn't get chroot to work because I 
wasn't using chroot correctly, so thanks for the full command line on that.  
I think that will be something usefull to know in the future.

Chris

On Thursday 09 October 2003 20:21, Monique Y. Herman wrote:
> On Thu, 09 Oct 2003 at 11:33 GMT, Christof Hurschler penned:
> > it just stops with "LI" and goes no further.  I read in the archives
> > that this means that Lilo can't completely load.
> >
> > .. but what does the "rescue" command do?
> >
> > Chris
> >
> >> On Thu, Oct 09, 2003 at 08:22:05AM +0200, Christof Hurschler wrote:
> >> > I'm getting the LI hang on boot.  I tried booting from my floppy,
> >> > but it gives me a kernel panic...
> >>
> >> with what message?
> >>
> >> > I now read that I can boot from floppy with the "rescue
> >> > root=/dev/hda1",
> >>
> >> but
> >>
> >> > I'm assuming that this is the default mode the floppy boots in
> >> > anyways,
> >>
> >> or
> >>
> >> > is it?
> >>
> >> is /dev/hda1 your / partition?
> >>
> >> if it isn't, if it is /dev/hdb2 or something, then boot from the
> >> rescue floopy so :
> >>
> >> linux root=/dev/hdb2
> >>
> >> > If I could get back in with the floppy, I'd try rerunning LILO to
> >> > get
> >>
> >> things
> >>
> >> > back in order, but I'm afraid I'm not going to get that far.  Any
> >> > suggestions?  How can I tell if I've got a real hardware problem?
> >>
> >> Knoppix?
> >>
> >> you can boot with the floppy even if you have hw(hdd) problems.  if
> >> you cannot boot with root= explicit given, then boot with the
> >> installfloppy, wait until he wants to have rootfs disk, give it him,
> >> and when the installscreen comes, alt+f2  and you have a shell.
> >>
> >> HTH
> >>
> >> charlie
>
> Apologies if you've already addressed these questions and I just don't
> remember, but:
>
> * was your machine ever working under linux *before* lilo started doing
>   this?  if so, did you change any hardware or software, or did you run
>   an update that prompted you to run lilo?  if not, through what means
>   did lilo get installed on your system?
>
> * you may find it easier to boot into a full linux install and work on
>   fixing your installation from there.  If you have access to a CD
>   burner, I strongly recommend burning yourself a Knoppix (knoppix.org)
>   CD and booting off of that.
>
> * when you've booted off of , take a look at the lilo.conf and
>   let us know what it says.  Particularly, double-check that the "boot"
>   and "root" entries are correct.  Make sure that the "image" file
>   listed under your "default" label is a file that actually exists.
>
> * in any event, it sounds like you're going to need to re-run lilo.  If
>   you've booted off of another system, like a floppy or knoppix, you can
>   mount your "real" drive somewhere and edit its lilo.conf.  After
>   you've done that, you'll want to run
>   chroot /new_root /sbin/lilo
>   where /new_root is the mount-point of your "real" drive
>
> --
> monique

-- 
Dr.-Ing. Christof Hurschler
Bodenstedtstr. 13
D-30173 Hannover
+49-0172-5946909


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LI Hang, recovery?? SOLVED

2003-10-09 Thread Christof Hurschler
I got back in by booting from an installation CD (bf2.4), with root=/dev/hda4 
which was my root partition (I'd forgotten which one I was using, Knoppix 
came in handy to figure that out).  For some reason when I booted from that 
CD my screen was jumbled, even when I switched to a text console.  I guess it 
was loading the wrong modules from my root partition???

Despite the jumbled screen I still managed to log in and run lilo which got me 
back in business.

Thanks to everyone who responded to my post.

Chris

On Thursday 09 October 2003 16:11, Haim Ashkenazi wrote:
> Christof Hurschler wrote:
> > it just stops with "LI" and goes no further.  I read in the archives that
> > this means that Lilo can't completely load.
> >
> > .. but what does the "rescue" command do?
>
> you have to boot from the cdrom/floppy in rescue mod, then mount the
> complete system hierarchy under some directory (e.g. /mnt/sysimage), chroot
> to this directory and re-run lilo.
>
> Bye
>
> > Chris
> >
> >> On Thu, Oct 09, 2003 at 08:22:05AM +0200, Christof Hurschler wrote:
> >> > I'm getting the LI hang on boot.  I tried booting from my floppy, but
> >> > it gives me a kernel panic...
> >>
> >> with what message?
> >>
> >> > I now read that I can boot from floppy with the "rescue
> >> > root=/dev/hda1",
> >>
> >> but
> >>
> >> > I'm assuming that this is the default mode the floppy boots in
> >> > anyways,
> >>
> >> or
> >>
> >> > is it?
> >>
> >> is /dev/hda1 your / partition?
> >>
> >> if it isn't, if it is /dev/hdb2 or something, then boot from the rescue
> >> floopy
> >> so :
> >>
> >> linux root=/dev/hdb2
> >>
> >> > If I could get back in with the floppy, I'd try rerunning LILO to get
> >>
> >> things
> >>
> >> > back in order, but I'm afraid I'm not going to get that far.  Any
> >> > suggestions?  How can I tell if I've got a real hardware problem?
> >>
> >> Knoppix?
> >>
> >> you can boot with the floppy even if you have hw(hdd) problems.
> >> if you cannot boot with root= explicit given, then boot with the
> >> installfloppy, wait until he wants to have rootfs disk, give it him,
> >> and when the installscreen comes, alt+f2  and you have a shell.
> >>
> >> HTH
> >>
> >> charlie
> >>
> >> --
> >> Végh Károly -  System Engineer - UTA - TIS.SAS.BSS
> >> Don't worry. Everything is getting nicely out of control.
> >>
> >>
> >> --
> >> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> >> with a subject of "unsubscribe". Trouble? Contact
> >> [EMAIL PROTECTED]

-- 
Dr.-Ing. Christof Hurschler
Bodenstedtstr. 13
D-30173 Hannover
+49-0172-5946909


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LI Hang, recovery??

2003-10-09 Thread Monique Y. Herman
On Thu, 09 Oct 2003 at 11:33 GMT, Christof Hurschler penned:
> it just stops with "LI" and goes no further.  I read in the archives
> that this means that Lilo can't completely load.
> 
> .. but what does the "rescue" command do?
> 
> Chris
> 
>> On Thu, Oct 09, 2003 at 08:22:05AM +0200, Christof Hurschler wrote:
>> 
>> > I'm getting the LI hang on boot.  I tried booting from my floppy,
>> > but it gives me a kernel panic...  
>> 
>> with what message?
>> 
>> > I now read that I can boot from floppy with the "rescue
>> > root=/dev/hda1",
>> but
>> > I'm assuming that this is the default mode the floppy boots in
>> > anyways,
>> or
>> > is it?
>> 
>> is /dev/hda1 your / partition?
>> 
>> if it isn't, if it is /dev/hdb2 or something, then boot from the
>> rescue floopy so : 
>> 
>> linux root=/dev/hdb2
>> 
>> > If I could get back in with the floppy, I'd try rerunning LILO to
>> > get
>> things
>> > back in order, but I'm afraid I'm not going to get that far.  Any
>> > suggestions?  How can I tell if I've got a real hardware problem?
>> Knoppix?
>> 
>> you can boot with the floppy even if you have hw(hdd) problems.  if
>> you cannot boot with root= explicit given, then boot with the
>> installfloppy, wait until he wants to have rootfs disk, give it him,
>> and when the installscreen comes, alt+f2  and you have a shell.
>> 
>> HTH
>> 
>> charlie
>> 

Apologies if you've already addressed these questions and I just don't
remember, but:

* was your machine ever working under linux *before* lilo started doing
  this?  if so, did you change any hardware or software, or did you run
  an update that prompted you to run lilo?  if not, through what means
  did lilo get installed on your system?

* you may find it easier to boot into a full linux install and work on
  fixing your installation from there.  If you have access to a CD
  burner, I strongly recommend burning yourself a Knoppix (knoppix.org)
  CD and booting off of that.

* when you've booted off of , take a look at the lilo.conf and
  let us know what it says.  Particularly, double-check that the "boot"
  and "root" entries are correct.  Make sure that the "image" file
  listed under your "default" label is a file that actually exists.

* in any event, it sounds like you're going to need to re-run lilo.  If
  you've booted off of another system, like a floppy or knoppix, you can
  mount your "real" drive somewhere and edit its lilo.conf.  After
  you've done that, you'll want to run
chroot /new_root /sbin/lilo
  where /new_root is the mount-point of your "real" drive

-- 
monique


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LI Hang, recovery??

2003-10-09 Thread Haim Ashkenazi
Christof Hurschler wrote:

> it just stops with "LI" and goes no further.  I read in the archives that
> this means that Lilo can't completely load.
> 
> .. but what does the "rescue" command do?
you have to boot from the cdrom/floppy in rescue mod, then mount the
complete system hierarchy under some directory (e.g. /mnt/sysimage), chroot
to this directory and re-run lilo.

Bye

> 
> Chris
> 
>> On Thu, Oct 09, 2003 at 08:22:05AM +0200, Christof Hurschler wrote:
>> 
>> > I'm getting the LI hang on boot.  I tried booting from my floppy, but
>> > it gives me a kernel panic...
>> 
>> with what message?
>> 
>> > I now read that I can boot from floppy with the "rescue
>> > root=/dev/hda1",
>> but
>> > I'm assuming that this is the default mode the floppy boots in anyways,
>> or
>> > is it?
>> 
>> is /dev/hda1 your / partition?
>> 
>> if it isn't, if it is /dev/hdb2 or something, then boot from the rescue
>> floopy
>> so :
>> 
>> linux root=/dev/hdb2
>> 
>> > If I could get back in with the floppy, I'd try rerunning LILO to get
>> things
>> > back in order, but I'm afraid I'm not going to get that far.  Any
>> > suggestions?  How can I tell if I've got a real hardware problem?
>> Knoppix?
>> 
>> you can boot with the floppy even if you have hw(hdd) problems.
>> if you cannot boot with root= explicit given, then boot with the
>> installfloppy, wait until he wants to have rootfs disk, give it him,
>> and when the installscreen comes, alt+f2  and you have a shell.
>> 
>> HTH
>> 
>> charlie
>> 
>> --
>> Végh Károly -  System Engineer - UTA - TIS.SAS.BSS
>> Don't worry. Everything is getting nicely out of control.
>> 
>> 
>> --
>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>> with a subject of "unsubscribe". Trouble? Contact
>> [EMAIL PROTECTED]
>> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LI Hang, recovery??

2003-10-09 Thread Kent West
Christof Hurschler wrote:

Hi,

I'm getting the LI hang on boot.

Probably because LILO didn't completely, properly get installed.

 I tried booting from my floppy, but it
gives me a kernel panic...  
 

I never boot from floppy, so am unfamiliar with the issues. If you have 
a Debian installation CD, or a Knoppix CD, you can get in that way. You 
just have to feed the "boot:" prompt with the appropriate parameters.

I now read that I can boot from floppy with the "rescue root=/dev/hda1", but
I'm assuming that this is the default mode the floppy boots in anyways, or
is it?
 

Again, not being familiar with booting from floppy, I don't know what 
the default mode is. However, the command you give will only work if 
your root partition is on /dev/hda1. If it's on some other device 
(second IDE hard drive, a SCSI drive, the second or fifth partition on 
the first drive, etc) this paramater will need to be changed accordingly.

If you're not sure (because you just installed and don't remember how 
you set things up), you can try booting off a Knoppix CD (or similar), 
which should get you in far enough to take a look at your partition 
tables (or at /etc/fstab).

If I could get back in with the floppy, I'd try rerunning LILO to get things
back in order, but I'm afraid I'm not going to get that far.  Any
suggestions?  How can I tell if I've got a real hardware problem? Knoppix?
 

I doubt you have a "real hardware problem". If you do, it's likely in 
the boot sector or BIOS of your machine, and Knoppix would pretty much 
bypass any such issues and therefore wouldn't provide any real 
information on that issue. However, Knoppix is good for getting into the 
system where you can make repairs to any software configuration issues 
you have.

--
Kent


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LI Hang, recovery??

2003-10-09 Thread Christof Hurschler
it just stops with "LI" and goes no further.  I read in the archives that
this means that Lilo can't completely load.

.. but what does the "rescue" command do?

Chris

> On Thu, Oct 09, 2003 at 08:22:05AM +0200, Christof Hurschler wrote:
> 
> > I'm getting the LI hang on boot.  I tried booting from my floppy, but it
> > gives me a kernel panic...  
> 
> with what message?
> 
> > I now read that I can boot from floppy with the "rescue root=/dev/hda1",
> but
> > I'm assuming that this is the default mode the floppy boots in anyways,
> or
> > is it?
> 
> is /dev/hda1 your / partition?
> 
> if it isn't, if it is /dev/hdb2 or something, then boot from the rescue
> floopy
> so : 
> 
> linux root=/dev/hdb2
> 
> > If I could get back in with the floppy, I'd try rerunning LILO to get
> things
> > back in order, but I'm afraid I'm not going to get that far.  Any
> > suggestions?  How can I tell if I've got a real hardware problem?
> Knoppix?
> 
> you can boot with the floppy even if you have hw(hdd) problems.
> if you cannot boot with root= explicit given, then boot with the 
> installfloppy, wait until he wants to have rootfs disk, give it him, 
> and when the installscreen comes, alt+f2  and you have a shell.
> 
> HTH
> 
> charlie
> 
> -- 
> Végh Károly -  System Engineer - UTA - TIS.SAS.BSS
> Don't worry. Everything is getting nicely out of control.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 

-- 
Dr.-Ing. C. Hurschler
[EMAIL PROTECTED]

NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LI Hang, recovery??

2003-10-09 Thread VEGH Karoly
On Thu, Oct 09, 2003 at 08:22:05AM +0200, Christof Hurschler wrote:

> I'm getting the LI hang on boot.  I tried booting from my floppy, but it
> gives me a kernel panic...  

with what message?

> I now read that I can boot from floppy with the "rescue root=/dev/hda1", but
> I'm assuming that this is the default mode the floppy boots in anyways, or
> is it?

is /dev/hda1 your / partition?

if it isn't, if it is /dev/hdb2 or something, then boot from the rescue floopy
so : 

linux root=/dev/hdb2

> If I could get back in with the floppy, I'd try rerunning LILO to get things
> back in order, but I'm afraid I'm not going to get that far.  Any
> suggestions?  How can I tell if I've got a real hardware problem? Knoppix?

you can boot with the floppy even if you have hw(hdd) problems.
if you cannot boot with root= explicit given, then boot with the 
installfloppy, wait until he wants to have rootfs disk, give it him, 
and when the installscreen comes, alt+f2  and you have a shell.

HTH

charlie

-- 
Végh Károly -  System Engineer - UTA - TIS.SAS.BSS
Don't worry. Everything is getting nicely out of control.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]