How to make Bootable pendrive with command prompt Linux(Without any software ….:-) …)

Sometimes we need to boot the windows 7 into pen drive from Linux operating system.Terminal is good friend of us then why to go for any software .we can make pen drive bootable without any software .Lets see how…!! 😉

  1. Plug in the pen drive and determine the device it’s mounted on with the command:

sudo fdisk -l

2. Umount the device

umount /dev/sdc1

In my case suppose its sdc1 , in your case it may be different.here dev means device

3. Format the pendrive

sudo mkdosfs -n ‘USB-Drive-Name’ -I /dev/sdc -F 32

4.Make the ISO file recognizable to BIOS by using following command

isohybrid filename.iso

5.This step is to copy the ISO file from original location to pendrive

sudo dd if=filename.iso of=/dev/sdc bs=4k

Here write root of your device name for example if your device shown as sbd1 then here write /dev/sbd.

6. Finally before ejecting do following commands:

sync
sudo eject /dev/sdc

That’s it. Very welcome to any queries. any one can issue a topic I can elaborate on that. 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s