LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-26-2004, 07:03 PM   #1
vince v
LQ Newbie
 
Registered: May 2004
Location: Pac NW US
Distribution: Red Hat 9
Posts: 7

Rep: Reputation: 0
Lilo freeze on WindozeME/Mandrake 9 dual boot...


5 gig Inspiron 4000 Laptop

two partitions of WindozeME and 1 partition (2 gigs) of Mandrake 9.

My internal CD rom drive cracked last week, so I only have an internal floppy to work with. I also have a working Ethernet card

I defragged both ME partitions last week (for fun) and, after I rebooted,
LILO went like this:

Li 99 99 99 99 99 99...

...ad infinitum. With a yucky double-clicking in the hardrive between each 99.

My main concerns are backing up the windows drive 'important' folders to another destop via netcat.

a) What are the simple steps to setup a tunnel from laptop to stable desktop(running redhat9)? Sounds like netcat is my only option--its only a gig of info maybe.
I am a major newbie and barely know what the commands mean...I am learning. (I am using tomsrtbt...bless you Tom...)

b) What steps do I need to take to try to see my windoze partitions one more time? I will be totally happy to just note internal configuration stuff on the windows partitions...then REPAVE it all to the distro of my choice...LiLo is hosed maybe? Is it easy enough (and worth it) to set up GRUB?

c)...and if it sounds like that old refurbished 5 gig drive is dying or already dead, let me know anyone. This is a 2001 laptop.

All help appreciated...
 
Old 08-26-2004, 08:14 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
The situation may not be as bad as it appears. Have you tried booting into Linux using a rescue floppy? If you can successfully boot up in Linux, then it may simply be a matter of rerunning lilo. As root
Code:
/sbin/lilo
Of course, there's certainly the chance that your machine is on its last legs, (you would be the best judge of that) but I'd say there is a good chance that the defrag is responsible for the sudden turn for the worse, and as long as you can sort out lilo, you may be able to return it to normal functioning. Good luck with it -- J.W.
 
Old 08-26-2004, 11:47 PM   #3
vince v
LQ Newbie
 
Registered: May 2004
Location: Pac NW US
Distribution: Red Hat 9
Posts: 7

Original Poster
Rep: Reputation: 0
Can I do this from my tomsrtbt disk? What folder would it be under? If I ran it from the disk's version of LILO, would that be enough? Or would I need to worm around and run from the hardrive's LILO?

Thanks...
 
Old 08-27-2004, 01:08 AM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
I've heard of toms although I'm not familiar with it, but all you really need is to boot up the machine using a Linux kernel. Once Linux is running, you could become root, then issue the /sbin/lilo command, which will rerun the lilo program, which should restore your lilo configuration. In other words all you really need to do after the machine is up is get to the command line and then issue the command I listed. I don't know your level of experience with Linux, but this would be the equivalent of the DOS prompt in Windows. Instead of a C:\ prompt, you will see a # prompt. From there, just enter "/sbin/lilo" (but without the quotes)

If everything works successfully, you should be able to reboot and return to how things were when everything was working. If it's a total failure, your PC will just remain in the same state as it is now, so you are no better or worse off than you are now.

If the disk you're talking about boots up the machine under Linux and you can then get to the command line as root, then Yes, give it a try. You could probably even "borrow" a boot disk from another distro (such as Slackware) to boot Linux, although you may need to manually pass in the parameter to tell it which partition is your / partition. I haven't done this, but I bet it would work.

As I said, no promises, but I think it's worth a try. Good luck with it -- J.W.
 
Old 08-27-2004, 02:53 AM   #5
vince v
LQ Newbie
 
Registered: May 2004
Location: Pac NW US
Distribution: Red Hat 9
Posts: 7

Original Poster
Rep: Reputation: 0
When I try to run it as root, I get:

/etc/lilo.conf: No such file or directory


Any clues?
-v
 
Old 08-27-2004, 01:08 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
That doesn't sound good. Are the contents of your directories otherwise OK, and not to ask a stupid question but you _did_ have lilo installed previously, correct? In other words, /etc/lilo.conf did exist at one time, Yes? -- J.W.
 
Old 08-27-2004, 01:30 PM   #7
vince v
LQ Newbie
 
Registered: May 2004
Location: Pac NW US
Distribution: Red Hat 9
Posts: 7

Original Poster
Rep: Reputation: 0
I was trying to run both the remounted file with its version of LILO on my harddrive and the LILO version that comes with tomsrtbt. I know the files are there but they don't seem to be running when I call them to. I am running from ROOT in Tom's root boot, but I don't know how even how to login to root in my old hardrive right now.

What about config files? Are there certain places to look to make sure LILO config/ or boot config files are in particular situation/setting? Again, no internal CD right now...only a floppy. That's where my tomsrtbt comes in. I am also trying to netcat/wget files to my desktop for safety.

/etc/lilo.conf did exist at one time on the harddrive. It had to have. I've booted into Linux and windows on that laptop many times. LiLO splash screen as well with pretty blue Mandrake marketing icon/trademark...

I think /etc/lilo.conf is also present on the tomsrtbt file directory as well...


Next moves? What are the steps? Any help appreciated...

Last edited by vince v; 08-27-2004 at 01:33 PM.
 
Old 08-27-2004, 02:53 PM   #8
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Well I'm just not familiar with Tom's disk, so unfortunately I don't think I'll be able to offer any help beyond what I've indicated. To recap, you want to boot up in Linux, then navigate over to your hard drive. If there is a "/etc" directory on the floppy and you are navigating over to it, that's NOT what I'm talking about. You need to go to the /etc directory on your hard drive.

I have no idea whether your disk will mount any existing drives, but it's possible that it isn't -- if this is the case then you will need to manually mount your hard drive to a mountpoint, then you could access your existing /etc directory on your hard drive. From there you should be able to rerun lilo -- J.W.
 
Old 08-27-2004, 03:02 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Just for clarification, the /sbin/lilo also refers to the file on the hard drive, not the floppy. The idea is that you only need to floppy to get Linux running and from there you want to navigate over to your hard drive, and run everything from it. Hopefully this might help - if not, sorry, it's all I can think of. -- J.W.
 
Old 08-27-2004, 03:11 PM   #10
vince v
LQ Newbie
 
Registered: May 2004
Location: Pac NW US
Distribution: Red Hat 9
Posts: 7

Original Poster
Rep: Reputation: 0
Smile

thanks for all your help, JW. Something will work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LILO Problems With Mandrake 8.1 and Win2K Dual Boot glenn_roth Linux - General 6 03-18-2005 12:47 AM
Lilo with Ubuntu, dual boot with Mandrake ploosh Ubuntu 2 03-17-2005 06:34 PM
XP/Mandrake 9.1 laptop dual boot system keyboard/mouse freeze on warm reboot Jane Delawney Mandriva 0 03-15-2004 02:10 PM
LILO problems: Mandrake XP dual-boot with SCSI/IDE venky Linux - General 1 03-30-2003 07:30 AM
Linux boot freeze on dual boot CrushGruve Linux - Software 1 09-01-2002 09:17 PM


All times are GMT -5. The time now is 07:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration