Skip to main content

how to install oracle linux from usb stick

here are tutorial making usb flashdisk as a media to install oracle linux to your pc

If you want to install Oracle Linux from a USB drive, keep in mind that not all hardware supports USB device booting.Also, during the boot process you may have to instruct your BIOS to boot from that specific USB device. Finally, keep in mind that this method of installation is not officially sanctioned by Oracle support.

Prerequisites
1. The first thing you will need is an ISO image of Oracle Linux. The quickest way to obtain an ISO image
is from the Oracle Software Delivery Cloud
2. You will need a desktop or server system running Oracle Linux in order to prepare your USB drive.
3. You will also need to download this script to create the bootable USB drive.
4. Your Oracle Linux system will also need the package syslinux installed. You can install syslinux
using yum with the following command:
# yum install syslinux

Marking Partition One as Bootable
Once your prerequisites are in order, you need to designate partition one as bootable. Use the parted application, as in this example:

[root@host]# parted /dev/sdb
GNU Parted 2.1 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) toggle 1 boot
(parted) quit
Information: You may need to update /etc/fstab.

The example above uses a USB key labelled /dev/sdb. The parted application will only accept device files without partition numbers. So, if we had selected /dev/sdb1 instead, we would have gotten an error message when we tried to write the changes to disk.

Creating the USB Key
Download the script from :
http://download.oracle.com/technetwork/systems/Install_OL_fromUSBStick_Script
or
https://www.dropbox.com/s/rul93qcz6tkig8m/livecd-iso-to-disk.sh

Now you can start creating USB key via the script that you downloaded earlier. The script accepts two paths: first the source ISO file and then the USB key:


[root@host]# sh livecd-iso-to-disk.sh --reset-mbr /home/user/OL6.3.iso /dev/sdb1
Verifying image...
livecd-iso-to-disk.sh: line 527: checkisomd5: command not found Are you SURE you want
Press Enter to continue or ctrl-c to abort
Size of DVD image: 2957
Size of images/install.img: 132
Available space: 31186
Copying DVD image to USB stick
install.img
137834496 100%
10.87MB/s
0:00:12 (xfer#1, to-check=0/1)
sent 137851396 bytes received 31 bytes 11028114.16 bytes/sec total size is 137834496 speedup is 1.00
Feeds
sent 37 bytes received 12 bytes 98.00 bytes/sec total size is 3100217344 speedup is 63269741.71 Updating boot config fil
Once the script is finished running you have a bootable USB drive that can install Oracle Linux. While booting, pay attention to your BIOS boot screens as they will often provide direction on how to select a specific boot device other than the ones in the standard boot sequence. For some older systems you may need to go directly into the BIOS setup utility to specify the USB device in your boot sequence. Once you have booted successfully off of your USB device and the installer starts installation will proceed just like an installation from regular DVD media.

source :
https://blogs.oracle.com/OTNGarage/entry/how_to_install_oracle_linux







Comments

Post a Comment

Popular posts from this blog

about gigabyte NIC onboard not detected on enterprise linux distribution

on several gigabyte motherboard, onboard network interface card  will not be detected on enterprise linux distribution (e.g. scientific linux, oracle linux server, etc). alternatively you must supply add-on card. or if you insist to use the onboard card, you must install the unofficial nic driver. this is tutorial how to install driver for onboard network interface card GIGABYTE first of all prepare your system. make sure it has package group "Development Tools" installed. if it has not, install it # yum groupinstall “Development Tools” download the source code : https://www.dropbox.com/s/na91bu4az4p9827/AR81Family-linux-v1.0.1.14.tar.gz extract the source code : # tar zxvf AR81Family-linux1.0.1.14.tar.gz the extraction process will make the new directory "AR81Family*", change to the directory # cd AR81Family* compile the source by type on terminal : # make then, # make install wait until the compiling process finish. next make the new scrip...

about getsebool and setsebool

The setsebool is used to set SELinux boolean value i.e. various configurations can be enabled or disabled using this tool. In other words, the setsebool command switches on and off the protection of SELinux. Type getsebool -a to see all such options which can be enabled or disabled at run time: e.g. # getsebool -a The following should give you a complete listing of all the vsftpd switches: e.g.  # getsebool -a | grep ftp  For example, if httpd_disable_trans set to 1, it will disable SELinux protection for  Apache web server. To disable it, enter:  # setsebool -P httpd_can_network_connect=1 To enable it, enter:    # setsebool -P httpd_can_network_connect=0

All certification