LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-05-2004, 03:47 AM   #1
jorgt
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
how to delete a virus in bootsector?


hi everyone,

I've always had winxp on my pc and always had trouble with it, so I decided to install Mandrake 10, and everything runs smooth. However, when i boot my system, the boot selector thing says I've got a virus upon booting, and tells me I should use a bootable floppy. I can of course start my pc from a linux or windows boot disk, but what happens after that? I'm guessing it's not a linux virus but a windows virus, but my windows virus scan doesn't notice anything.

Does anyone know how to get rid of this virus and explain it in noob language? It might solve all my winxp problems as well.
 
Old 04-05-2004, 06:06 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Firstly you need to determine whether it is a boot sector virus. The BIOS detection apps on most motherboards report a change in software on the boot sector assuming that you haven't done it so it may not be a virus at all. Boot sector virii are not common anymore and are generally acquired via an infected floppy. Most users turn this function off.

This article will give you further info.
 
Old 04-05-2004, 10:35 AM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
This is probably due to your linux installation.
When linux installs it's boot loader it usually places it in the MBR (Master Boot Record) which your BIOS monitors for changes.

If you are unsure if it is a boot sector virus you can reinstall the boot loader.
If you have lilo: /sbin/lilo
For grub I will have to redirect you to info grub for more information.

This will rewrite your MBR effectively wiping any boot sector virus. Your BIOS will complain about it, but you can turn off the virus warning, and then reactivate it later.
 
Old 05-15-2004, 12:46 PM   #4
robertn
Member
 
Registered: Mar 2004
Location: mid-atlantic
Distribution: mandrake 9.1 rc2
Posts: 43

Rep: Reputation: 15
wiping MBR with DOS

the dos command "fdisk \mbr" at the command prompt will wipe the mbr; when you reboot to DOS (Windows 98SE and related Windows products) will reestablish the MBR automatically.

I read elsewhere on this site that the later versions of windows have similar commands that are named differently; search your help directory for information or search this site.

robertn

Last edited by robertn; 05-15-2004 at 12:48 PM.
 
  


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
Bootsector Unwritable hamish Linux - Software 3 04-16-2005 08:03 AM
Bootsector image trbdk3 Linux - Hardware 5 01-17-2005 09:34 PM
Problems with bootsector Fistman *BSD 8 09-17-2004 01:48 PM
Boot virus or Anti-Virus? AVG Free Anti-Virus Software problems SparceMatrix Linux - Security 9 08-02-2004 03:35 PM
bootsector corruption ragchan Linux - Newbie 4 07-29-2004 03:16 PM


All times are GMT -5. The time now is 04:59 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration