How to install CentOS 6.X From Pendrive or USB:

How to install CentOS 6.X From Pendrive or USB:

1. Take 8 gb pendrive and make it bootable CentOS pendrive. You can use Universal USB Boot Installer, or u can use unetbootin from  unetbootin.sourceforge.net/
2. Make one pendrive or usb of 8gb with ext3 filesystem and copy CentOS 6.4 image file.
Note: To make ext3:
let pendrive /dev/sdc
#fdisk /dev/sdc
to create new partition select ---> n
partition number --> 1
[enter]
[enter]
To write ---> w
Then remove the disk and reinsert it so its reread.
mkfs.ext3 /dev/sdc1
3. Now ur ext3 filesystem pendrive is ready.
4. Remove pendrive and insert in the window 7 machine in which u have the centos image.
5. In windows 7 install Ext2Fsd to interact between ext3 and windows 7.
6. The usb pendrive will be shown in the windows interface if it doesn't let u write at that situation make sure and make the modification in the ext2fs application.
  • Go to  ext2 Volume Mananger i.e software of that is in the link explained before or ext2fs, same.
  • Right click in the ext3 file system and select service management.
  • Remove read only permission and add write permission
7. Now Paste the centos image file in the pendrive of 8gb.
8. Now ur both pendrive is read one with the image of centos iso and next is centos bootable.
9. Boot ur system using bootable pendrive.
11. CentOS welcome Screen, press Next
12. After your machine get boot then insert next pendrive containing the image of centos.
 13. Now select /dev/sdb drive that contain image. Note: while if u have confusion which partition contain image then on the same time u can remove ur bootable pendrive and go back and after that one option of confusion is reduced. now there will be only your pendrive which contain image and partition of ur hard disk. If there are /dev/sdc1, /dev/sdc2 ... then that is sure that is ur hard disk. There is only one partition in ur pendrive that's why either it will be /dev/sdb or /dev/sdc. which mean there won't be /dev/sdb1, /dev/sdb2 like.
14. Now you can install centos with out any problem.
15. Here u have to make partition your self.
Short guidance:
/boot 500Mb
/swap --- make swap 1.5*RAM if ur ram is greater than 2gb.
/lvm 10gb like that or as much as u want according to ur size of ur hard disk
/     give rest of the partition you want.
mandatory partition /home, /var /tmp etc.
Then, There comes page to configure mbr, in this page mbr will be defined in the path of pendrive u have to change it to the harddisk location, then press next there comes error unable to find the image. then press alt+ctrl+f2 then
#umount /mnt/isodir
#mount -t ext3 /dev/sdc1 /mnt/isodir ( This line mean mount the pendrive in which we have copied the iso image of centos.)
#ls /mnt/isodir (Make sure there is the iso image of the centos that u have copied, if u have confusion to find you can use df -h and fdisk -l option to select)
When there is iso mage present then press alt+ctrl+f6 and press retry.
Then select optimal desktop or other what kind of os u want.
then continue ur process and u r done.











1 comment: