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 06-20-2003, 03:56 PM   #1
Grafbak
Member
 
Registered: Jun 2003
Location: /dev/null
Distribution: Knoppix 3.3
Posts: 61

Rep: Reputation: 15
I accidentally removed lilo from my bootsector.


Hellow everybody,

Today i formatted my harddrive C due to a nasty virus.
Almost out of a force of habit i entered "fdisk /mbr" at the
dos prompt en reformatted the c partition (slow, not fast).

After 10 minutes or so, the thought of my lilo suddenly entered
my brain, but it was too late. I destroyed my lilo with the
fdisk /mbr command. i think.

However, I am a beginning Linux user and i was doing pretty oke
with configuring knoppix to my needs, i could even burn a
ceedee under linux and watch movies ! I invested a lot of time in
configuring it and i do not wish to do it all over again.

When i boot my pc now, it does not give me the red lilo screen,
but immediately boots win2k, without giving me the choice
between linux or windows.

I am aware it is a stupid mistake, but is there a way to reinstall
the lilo loader ? And can i secure lilo in the future that i can not
delete it by accident ?



My computer:

P4, 1,62 Ghz
640 MB Rimm PC800 memory
40 GB harddrive Maxtor
Nvidia Ti4200
Windows2000 / Latest Knoppix HD install

Partitions :

C (17 GB FAT32)
D (19 GB FAT32)
EXT2 (2,5 Gig for knoppix)
SWAP (500 MB)

If you can help me it would be great !

Thanx !

Kind regards Grafbak
 
Old 06-20-2003, 04:14 PM   #2
v3rb0
Member
 
Registered: Jun 2003
Location: Europe, Latvia
Distribution: Slackware
Posts: 44

Rep: Reputation: 15
Yes, you can reinstall lilo.

I dunno about Knoppix, but in Slackware it you could do this way:
Maybe you have a bootable floppy. Then boot your system for them, and as root you can use pkgtool to compleate some install scripts, one of them is a "boot loader install"
 
Old 06-20-2003, 04:22 PM   #3
Grafbak
Member
 
Registered: Jun 2003
Location: /dev/null
Distribution: Knoppix 3.3
Posts: 61

Original Poster
Rep: Reputation: 15
I did not make a rescue floppy from my linux install, i had no real use for it i thought :-((

But i can ofcourse try to boot from the cd en do it that way ?
I will try to use the pgktool from the cdrom and try to reinstall the boot loader.

Thank you very much !
 
  


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
accidentally removed /dev/cdrom verbose Linux - General 18 10-26-2005 04:44 PM
I accidentally removed the netstat command ! markraem Solaris / OpenSolaris 6 10-03-2005 11:18 AM
Problem with Lilo, /dev/hda1 have no valid bootsector Sonic_Traveler Slackware 8 08-12-2004 10:30 PM
'Accidentally' removed XFree86-libs, how can I bring back the desktop? freddan Fedora 3 03-22-2004 09:56 AM
newbie - removed partition accidentally kristalchimera Debian 6 07-13-2003 12:36 AM

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

All times are GMT -5. The time now is 06:44 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