Boot your system using CD or from recover partition, Select "Repair my computer" mode and select "Command Prompt".
Then you need to type:
bootrec.exe /FixBoot
bootrec.exe /FixMbr
It takes less than a second. Reboot and it’ll boot into Windows automatically.
Monday, October 8, 2012
Fixing the Windows MBR using a Ubuntu Live CD or USB
The method to fix the MBR is:
1. Boot the machine using the Live USB/CD.
2. Install lilo
sudo apt-get install lilo
3. Fix the MBR using lilo using the command:
sudo lilo -M /dev/sda mbr
Reboot your system, Bingo works like charm!!!!
Monday, January 23, 2012
How To Disable Linux USB Drive
For security’s sake, IT auditor and security team normally request system administrator to disable or turn off USB mass storage device to minimize risk of data theft.
Now, let’s see how to disable USB mass storage device on Redhat Linux (RHEL 5.2 particularly; should be applicable to other Linux distributions too):
Reboot server to enforce change. To confirm USB mass storage support has disabled, just execute
Now, let’s see how to disable USB mass storage device on Redhat Linux (RHEL 5.2 particularly; should be applicable to other Linux distributions too):
- Login as root,
- Open /etc/modprobe.d/no-usb for edit (create this file if it’s not exists),
- Append this line to the no-usb file (in step-2) and save it:
install usb-storage /bin/true
Reboot server to enforce change. To confirm USB mass storage support has disabled, just execute
lsmod | grep -i usb
or try plug in USB drive to confirm.
Subscribe to:
Posts (Atom)