LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 08-21-2013, 07:37 AM   #1
karthik_dba
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
Unhappy Import/upload OEL 5.7(ovf) to amazon ec2


Dear Legends,

Proud to be joining in Linux forums. I have been trying to convert Oracle Enterprise Linux 5.7 64 bit which is in ovf format to vmdk. Basically my requirement would be importing KVM/PV-Grub enabled Oracle Linux into Amazon ec2.

It would be more helpful that any one else can help me in this import.

Previously I tried to import fresh vmdk converted to raw using qemu but it failed due to kernel panic and so many errors similar to it.

So now I'm trying to import using ovf which would be already a KVM/PV-Grub enabled.

Thanks,
Karthik
 
Old 08-23-2013, 09:02 AM   #2
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,480
Blog Entries: 6

Rep: Reputation: Disabled
These may offer some guidance.

http://www.pythian.com/blog/using-or...th-amazon-ec2/
https://aws.amazon.com/solutions/glo...s/oracle/faqs/
https://aws.amazon.com/amis?ami_prov...mi_provider_id

Edit: Seems VMWare exports are the preferred mechanism.

Last edited by Habitual; 08-23-2013 at 09:04 AM.
 
Old 09-15-2013, 07:27 AM   #3
karthik_dba
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Unhappy

Thanks for your response. I might have crossed these links at my earlier stage but I was hitting the same kernel panic, Error 15, etc..
I'm doing some mistake but I could not recognize where it is. Is the following things are correct?


[root@localhost ~]# cat /etc/fstab

/dev/sda1 / ext3 defaults 1 1

#LABEL=/ / ext3 defaults 1 1

tmpfs /dev/shm tmpfs defaults 0 0

devpts /dev/pts devpts gid=5,mode=620 0 0

sysfs /sys sysfs defaults 0 0

proc /proc proc defaults 0 0



[root@localhost boot]# ls

config-2.6.18-274.el5xen System.map-2.6.18-274.el5xen

grub vmlinuz-2.6.18-274.el5xen

initrd-2.6.18-274.el5xen.img xen.gz-2.6.18-274.el5

symvers-2.6.18-274.el5xen.gz xen-syms-2.6.18-274.el5



[root@localhost grub]# cat menu.lst

# grub.conf generated by anaconda

#

# Note that you do not have to rerun grub after making changes to this file

# NOTICE: You do not have a /boot partition. This means that

# all kernel and initrd paths are relative to /, eg.

# root (hd0,0)

# kernel /boot/vmlinuz-version ro root=/dev/sda1

# initrd /boot/initrd-version.img

#boot=/dev/sda

default=0

timeout=5

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

hiddenmenu

title OEL 5.7 (2.6.18-274.el5xen) --> I need to boot this in EC2

root (hd0,0)

kernel /boot/vmlinuz-2.6.18-274.el5xen ro root=/dev/sda1 rhgb quiet

initrd /boot/initrd-2.6.18-274.el5xen.img

title Oracle Linux Server (2.6.18-274.el5xen)

root (hd0,0)

kernel /boot/xen.gz-2.6.18-274.el5

module /boot/vmlinuz-2.6.18-274.el5xen ro root=LABEL=/ rhgb quiet

module /boot/initrd-2.6.1

Last edited by karthik_dba; 09-15-2013 at 07:29 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Amazon Linux AMI(Amazon Machine Image) - ec2 server - query about pem file unclesamcrazy Linux - Newbie 3 07-26-2013 03:13 PM
Amazon EC2 & SES JB22 Linux - Newbie 1 03-16-2012 01:51 AM
SSH to Amazon EC2 Arlc Linux - Security 3 07-22-2011 07:41 PM
Amazon EC2 + EBS security david19801 Linux - Security 1 01-10-2011 07:08 PM
Amazon EC2 + EBS security server david19801 Linux - Server 1 01-10-2011 06:03 PM


All times are GMT -5. The time now is 02:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration