LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2005, 06:52 AM   #1
agamemnon
LQ Newbie
 
Registered: Oct 2003
Location: London
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
LILO problem after disk removal


Hi,

I removed an old disk drive from my PC (dual boot Win2k/Linux). Being used to Windows (sorry), I thought everything would come back after booting the pc. Nope! All I got from LILO was: L 04 04 04 04 04... etc.

The disk I removed was just being used for the Windows swap file (it didn't have a linux partition).

I know the simple solution to this would be to put the drive back, but that's not the point!

Does anyone have any ideas why this is happening? How I might fix it?

Thanks!
 
Old 01-26-2005, 07:19 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
to remove lilo

bootwith a win98 CD

at the prompt

fdisk /mbr

or with a win2000 or win XP CD
run

fixmbr

in
recovery console

regards
 
Old 01-26-2005, 07:24 AM   #3
agamemnon
LQ Newbie
 
Registered: Oct 2003
Location: London
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, but I don't want to remove LILO - I just want it to work again!
 
Old 01-26-2005, 07:41 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
ok

boot from ur 1st CD

go to rescue mode
and there u can reinstall lilo

regards

Last edited by masand; 01-26-2005 at 07:42 AM.
 
Old 01-26-2005, 07:53 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If using Slack as it says in your profile, you can just boot into your system using the first installation CD, the instructions are on the first screen you see when the system boots from the CD (it won't take you long to boot into your system). If you have upgraded your kernel you may get some error messages about modules, just diregard them. Login to a terminal as root and do /sbin/lilo then reboot.
 
Old 01-26-2005, 09:18 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Quote:
Originally posted by reddazz
If using Slack as it says in your profile, you can just boot into your system using the first installation CD, the instructions are on the first screen you see when the system boots from the CD (it won't take you long to boot into your system). If you have upgraded your kernel you may get some error messages about modules, just diregard them. Login to a terminal as root and do /sbin/lilo then reboot.
using slack??

it is mandrake in the profile...

Last edited by masand; 01-26-2005 at 09:19 AM.
 
Old 01-26-2005, 10:45 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Ha, I seem to have looked at your profile
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slax live cd removal problem genadiy Slackware 5 11-23-2005 06:24 PM
New Hard disk and LILO BACTRATE Mandriva 2 08-04-2005 05:28 AM
LILO removal problems hig Linux - Software 11 12-08-2004 05:07 PM
lilo boot disk charlescpc Mandriva 4 12-06-2004 07:34 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration