Pages

Sunday, December 11, 2011

Remove Grub loader and get windows 7 boot loader back (uninstalling Linux)

1.Put the Windows 7 installation/Upgrade disc in the disc drive, and then start the computer (set to boot from CD in BIOS).

2. Press a key when you are prompted.

3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.

4. Click Repair your computer.

5. Click the operating system that you want to repair (Windows 7 in this case), and then click Next.

6. In the System Recovery Options dialog box, click Command Prompt.

7. Once in the command prompt, type exactly Bootrec.exe /FixMbr and then press ENTER. You will see "operation completed successfully." (Doesnt even take a second. Dont be alarmed )

8. Reboot and set BIOS to boot from the HDD again.

GRUB will be overwritten in step 7 and Windows boot loader will once again take control of loading your OS(s).

Bootrec.exe /FixMbr


// The /FixMbr option writes a Windows 7 or Windows Vista-compatible MBR to the system partition. This option does not overwrite the existing partition table. Use this option when you must resolve MBR corruption issues, or when you have to remove non-standard code from the MBR.

Saturday, December 3, 2011

Bootable windows 7 on usb drive

Download windows 7 usb dvd tool from link given below


http://images2.store.microsoft.com/prod/clustera/framework/w7udt/1.0/en-us/Windows7-USB-DVD-tool.exe


Run it.


browse to the source of windows 7 iso image
click next and then specify the destination drive.
it’ll ask to format, just accept everything and then proceed.
Finally your windows 7 bootable usb pendrive will be ready.

yum-downloadonly

with this plugin we can save the packages for future install without internet

1.>>>>>>>>>yum install yum-downloadonly

2.>>>>>>>>>yum update httpd -y --downloadonly --downloaddir=/opt

here update can be changed to install…….httpd with needed package name…..opt with needed directory

later we can install downloaded rpm with

3.>>>>>>>>>rpm -ivUh *.rpm