Installing windows after ubuntu causes mishap! So the easiest way to install windows and ubuntu together is having windows installed first and then reinstalling ubuntu, but some times that is not an option. When windows installed it wipes out the linux boot loader. Here is some steps to reinstall grub.
1) Boot off the LiveCD
2) Open a Terminal and type in the following commands, noting that the first command will put you into the grub “prompt”, and the next 3 commands will be executed there. Also note that hd0,0 implies the first hard drive and the first partition on that drive, which is where you probably installed grub to during installation. If not, then adjust accordingly.
sudo grub
> root (hd0,0)
> setup (hd0)
> exit
Reboot (removing the livecd), and your boot menu should be back.
If widows wipeout from the boot menu then.....
If you installed Ubuntu before you installed Windows, then Ubuntu will not have anything in the grub configuration for Windows. This is where you’ll have to do a bit of manual editing to the grub boot menu file.
If you open the file /boot/grub/menu.lst with the following command:
sudo gedit /boot/grub/menu.lst
You’ll see a sample section for Windows, which you’ll want to uncomment and add to the boot menu list in whatever position you want it in. (uncomment by removing the #’s)
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
Note that you should also verify that hd0,0 is the correct location for Windows. If you had installed Windows on the 4th partition on the drive, then you should change it to (hd0,3)
Disable XP boot screen logo!!
Disable xp splash screen using cmd!!1
Follow these steps..
The Windows XP logo that shows up during the boot process (called the "splash screen") can be nice to look at, but it does slow your computer down slightly. Disabling this splash screen can help you boot up a little faster.
Follow these simple steps to disable the Windows XP splash screen using the System Configuration Utility, sometimes referred to as MSCONFIG!
1.Click on Start, then Run, type the following command in the search box, and then press Enter key.
msconfig
This command will load the System Configuration Utility program.
Note: Do not make changes in the System Configuration Utility other than those outlined here to avoid causing serious system issues. This utility controls a number of startup activities other than those involved with disabling the splash screen.
2.Click on the BOOT.INI tab located at the top of the System Configuration Utility window.
3. Check the checkbox next to /NOGUIBOOT and click OK.
4. You will then be prompted to either Restart, which will restart the PC immediately, or Exit Without Restart, which will close the window and allow you to restart the PC manually.
5.After the restart, the PC will boot into Windows XP without showing the splash screen. This will result in a slightly faster boot time.
Note: 1.Windows XP will continue to boot in this manner until the System Configuration Utility is configured to again boot normally.
2.To re-enable the Windows XP splash screen during boot, follow the instructions above to enter the System Configuration Utility but this time choose the Normal Startup radio button and click OK.
Follow these steps..
The Windows XP logo that shows up during the boot process (called the "splash screen") can be nice to look at, but it does slow your computer down slightly. Disabling this splash screen can help you boot up a little faster.
Follow these simple steps to disable the Windows XP splash screen using the System Configuration Utility, sometimes referred to as MSCONFIG!
1.Click on Start, then Run, type the following command in the search box, and then press Enter key.
msconfig
This command will load the System Configuration Utility program.
Note: Do not make changes in the System Configuration Utility other than those outlined here to avoid causing serious system issues. This utility controls a number of startup activities other than those involved with disabling the splash screen.
2.Click on the BOOT.INI tab located at the top of the System Configuration Utility window.
3. Check the checkbox next to /NOGUIBOOT and click OK.
4. You will then be prompted to either Restart, which will restart the PC immediately, or Exit Without Restart, which will close the window and allow you to restart the PC manually.
5.After the restart, the PC will boot into Windows XP without showing the splash screen. This will result in a slightly faster boot time.
Note: 1.Windows XP will continue to boot in this manner until the System Configuration Utility is configured to again boot normally.
2.To re-enable the Windows XP splash screen during boot, follow the instructions above to enter the System Configuration Utility but this time choose the Normal Startup radio button and click OK.
Remove virus from USB manually!!
Remove virus using Command Prompt!!!
To start
1. Go to Start Menu > Run
2. Type cmd (cmd stands for command prompt)
3. Press Enter key
The Command Prompt will appear showing us where is our location in the directory
To use attrib
1. Go to the root directory first by typing cd\(because this is always the target of Malware / Virus)
2. Type attrib and press Enter key
In this example, There are two files that are considered as malware.
Note that there are two files which outlined in red (SilentSoftech.exe and autorun.inf). Since you cannot see this file nor delete it (because the attributes that was set on these files are +s +h +r)
1. +s - meaning it is a system file (which also means that you cannot delete it just by using the delete command)
2. +h - means it is hidden (so you cannot delete it)
3. +r - means it is a read only file ( which also means that you cannot delete it just by using the delete command)
Now we need to set the attributes of autorun.inf to -s -h -r (so that we can manually delete it)
1. Type attrib -s -h -r autorun.inf ( be sure to include -s -h -r because you cannot change the attributes using only -s or -h or -r alone)
2. Type attrib again to check if your changes have been commited
3. If the autorun.inf file has no more attributes, you can now delete it by typing del autorun.inf
4. Since SilentSoftech.exe is a malware you can remove its attributes by doing step 1 and step 3(just change the filename) ex. attrib -s -h -r silentsoftech.exe
NOTE : when autorun.inf keeps coming back even if you already deleted it, be sure to check your Task Manager by pressing CTRL + ALT + DELETE ( a virus is still running as a process thats why you cannot delete it. KILL the process first by selecting it and clicking End Process.
To start
1. Go to Start Menu > Run
2. Type cmd (cmd stands for command prompt)
3. Press Enter key
The Command Prompt will appear showing us where is our location in the directory
To use attrib
1. Go to the root directory first by typing cd\(because this is always the target of Malware / Virus)
2. Type attrib and press Enter key
In this example, There are two files that are considered as malware.
Note that there are two files which outlined in red (SilentSoftech.exe and autorun.inf). Since you cannot see this file nor delete it (because the attributes that was set on these files are +s +h +r)
1. +s - meaning it is a system file (which also means that you cannot delete it just by using the delete command)
2. +h - means it is hidden (so you cannot delete it)
3. +r - means it is a read only file ( which also means that you cannot delete it just by using the delete command)
Now we need to set the attributes of autorun.inf to -s -h -r (so that we can manually delete it)
1. Type attrib -s -h -r autorun.inf ( be sure to include -s -h -r because you cannot change the attributes using only -s or -h or -r alone)
2. Type attrib again to check if your changes have been commited
3. If the autorun.inf file has no more attributes, you can now delete it by typing del autorun.inf
4. Since SilentSoftech.exe is a malware you can remove its attributes by doing step 1 and step 3(just change the filename) ex. attrib -s -h -r silentsoftech.exe
NOTE : when autorun.inf keeps coming back even if you already deleted it, be sure to check your Task Manager by pressing CTRL + ALT + DELETE ( a virus is still running as a process thats why you cannot delete it. KILL the process first by selecting it and clicking End Process.
Subscribe to:
Posts (Atom)