Tuesday, July 12, 2011

Centos 6 usb netinstall

This small article describes how to install Centos 6 using the CentOS-6.0-x86_64-netinstall.iso transfered to a usb stick. First thing you would need is the actual iso that is found on your favorite public mirror in the isos directory and under x86 or x86_64 bit architecture sub directory. My favorite mirror is the one maintained by the rlug guys and the full path to the iso file is : ftp://ftp.ines.lug.ro/centos/6.0/isos/x86_64/CentOS-6.0-x86_64-netinstall.iso

Now to the transfer of ones and zeros this is acomplished by the command (caution this will erase your entire usb thingy):

dd if=/path/CentOS-6.0-x86_64-netinstall.iso of=/dev/sdb bs=1M

where sdb I foolishly assume is the path to the usb stick.

After this is done boot from the usb stick as you would normally boot from any CDROM (is anyone doing this any more) and when asked about the url to install point to a public mirror's images directory inside of centos 6 directory. And just to give you an example of what is needed : ftp://ftp.ines.lug.ro/centos/6.0/os/x86_64/ that is if your installing using a good bandwidth Romanian internet provider. There are about 1054 packages to be downloaded for the default Desktop group so be patient and enjoy the bits coming to your computer.



P.S: I think I'll keep for a while C6 installed on my laptop, at least until the next Fedora becomes usable :(.

4 comments:

  1. You could also use livecd-iso-to-disk:

    http://git.fedorahosted.org/git/?p=livecd;a=blob_plain;f=tools/livecd-iso-to-disk.sh;hb=HEAD

    which is capable of creatin a bootable usb stick from the full dvd images that can be used for installations.

    Greets
    Marcus

    ReplyDelete
  2. Hello,

    I tried it that way with the package supplied in the epel repo for Centos 5.6 but it did not work. I was fancying that option also as the USB Stick space was still usable after the iso transfer, as it was the case with the dd option I used an 8 GB stick for a 200 MB iso :).

    --
    Adrian

    ReplyDelete
  3. ..what particular Fedora version is not usable are you pertaining to..? Im using Fedora 15-64bit as my main platform secondary is Win7(seldom used), i ran vmware with my winxp vmware-image since when i was in F13-64bit. The only problem i have in Fed15 is the ATI_HD drivers which currently had an issue the ATI-catalyst... but so far Im using the default video drivers from Fed15.

    ReplyDelete
  4. @cyb3rc0n - I do not like the latest Fedora because of the Gnome Shell interface that is designed from my point of view for mobile devices - and not laptops/workstations and thus productivity.

    ReplyDelete