Monday 29 October 2012

creating bootable pen drive or cd drive


Using cd and pendrive

Creating bootable cd or dvd
Copy the image folder from linux dvdor cd by mounting

#          Cp image /root/Desktop

Unmount the cd or dvd

#          Eject
#          Eject –t


Now copy the boot.iso file from image folder in blank cd or dvd by mounting and run the command
First
 #         cd /root/Desktop/image
#          cdrecord –v boot.iso


For bootable pendrive

We have copy diskboot.img file in pendrive
#          Cd /root/Desktop/image
#          Cat diskboot.img > /dev/sda1


Creating image of the dvd
 Insert the dvd or cd and writer this command to create image of disk
#          dd if=/dev/cdwriter /Deepak.iso

Write the image in cd or dvd
#          Cdrecord –v /Deepak.iso




Splitting the dvd image into many parts so that it can be written into cd.

Step 1 create image of the dvd or cd
#        dd if = /dev/cdwriter /vijay.iso
Step 2 to split the image
#        split vijay.iso     [it will split the image into default size]
To manually split the cd according to size
#        split –b 70000 (always in byte) /vijay.iso

Then write the image into blank cd
#        Cdrecord –v /vijay.iso1


To merge the cd into dvd

#        mkisofs –o 1.iso

No comments:

Post a Comment