- Download the Centos DVD for your system.
(Optional: You can run the md5sum command on your download and compare the hash against that stored on the server) - Clear the USB (NOTE: This is assuming your device is sdb!!! Double check, otherwise you may wipe your hard-drive!!!):
sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1
- Make it bootable (you can type in 'm' to show a help menu):
sudo fdisk /dev/sdb
>n
>p
>1
>(default)
>(default)
>a
>1
>t
>c
>w - Format the partition:
sudo mkfs.vfat /dev/sdb1
- Download the livecd bash script and make it executable:
wget http://git.fedorahosted.org/cgit/livecd/plain/tools/livecd-iso-to-disk.sh
chmod +x livecd-iso-to-disk.sh - Install the software required by the script:
sudo apt-get install isomd5sum syslinux extlinux
- Run the script:
sudo ./livecd-iso-to-disk.sh [your-dvd-iso] /dev/sdb1
- Insert your USB device and run!
This blog is a knowledge dump of all the technical information floating around in my head. It deals with anything involving software, hardware, gadgets, and technology.
Nov 14, 2012
Installing CentOS 6.3 from a USB mass storage device
I've done A LOT of research on this issue and I have finally been able to create a bootable USB to use for installing CentOS.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thanks for contributing!! Try to keep on topic and please avoid flame wars!!