Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st August 2008, 00:17
The General The General is offline
Member
 
Join Date: Apr 2006
Location: U.K
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default XEN how do i install guest OS from ISO or CD-ROM

can anyone please tell me in plain terms how i can install a guest machine from an ISO or CD-ROM with xen using the command line not the GUI. I am trying to install smoothwall into a virtual machine, but im a newbie to XEN and i need to get this running ASAP!

I have managed to get vm running wth ISPCONFIG running on it with no problems, but this does'nt require a ISO or CD-ROM image as i can unpack the *.tar on the VM.....

Please help !!

Last edited by The General; 21st August 2008 at 12:31.
Reply With Quote
Sponsored Links
  #2  
Old 21st August 2008, 14:34
planet_fox planet_fox is offline
Senior Member
 
Join Date: Jun 2006
Location: Munic
Posts: 308
Thanks: 14
Thanked 8 Times in 6 Posts
Send a message via Skype™ to planet_fox
Default

I have a near problem How can I Install of ubunto host a debian or fedora with create image?

Must I only change the mirror? than I think its the same with iso cd, when i have a iso cd or dvd i must write in mirror this

Code:
xen-create-image --hostname=xen1.example.com --size=2Gb --swap=256Mb --ide \
--ip=192.168.0.101 --netmask=255.255.255.0 --gateway=192.168.0.1 --force \
--dir=/home/xen --memory=64Mb --arch=i386 --kernel=/boot/vmlinuz-2.6.24-16-xen \
--initrd=/boot/initrd.img-2.6.24-16-xen --install-method=debootstrap --dist=hardy \
--mirror=http://archive.ubuntu.com/ubuntu/ --passwd
Must I only change the mirror? than I think its the same with iso cd, when i have a iso cd or dvd i must write in mirror this

Code:
--mirror=/media/dvd/debian.iso
and
Code:
--dist=etch
Reply With Quote
  #3  
Old 21st August 2008, 14:54
The General The General is offline
Member
 
Join Date: Apr 2006
Location: U.K
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

there must be a simple way. It is such a common form of system install method (ISO/DVD/CD-ROM) that it must be something simple, as in "a few changes to the .conf file of something???? it should be made easier to accomplish....... or maybe it is easy! perhaps some GURU will tell us!

Last edited by The General; 21st August 2008 at 14:58.
Reply With Quote
  #4  
Old 21st August 2008, 20:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I don't know if this is possible. I've always used debootstrap or xen-tools...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 22nd August 2008, 00:20
The General The General is offline
Member
 
Join Date: Apr 2006
Location: U.K
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I thought you might say that Falko! i have been searching forums far and wide, checking out books on XEN as well and there is nothing said about these methods of install. Fedora offer a ISO/CD-ROM method of install with it's "virtual machine manager" how they work it god only knows!LOL

What about doing a convertion ISO > tar is that a possibility? I have seen plenty of stuff about installing .tar files if that was the case then installing ISO/DVD/CD-ROM would not be an issue.... would it?
Reply With Quote
  #6  
Old 25th October 2010, 05:35
alejo.vazquez alejo.vazquez is offline
Junior Member
 
Join Date: Oct 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default How to use debootstrap with CD-ROM

Hi:

Edit /etc/xen-tools/xen-tools.conf

Comment with # this line:

# mirror = http://ftp.us.debian.org/debian

Add this line:

mirror = file:/media/cdrom/debian/

At first you should have mounted the Debian CD-ROM in the directory: /media/cdrom

Greetings.

Alejo V.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I setup a Ubuntu domU guest on a CentOS / Fedora Core XEN server? SoftDux Installation/Configuration 0 27th July 2008 19:49
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46
Problems with Xen 3.0 Debian Install sergiochacon HOWTO-Related Questions 7 15th March 2008 18:19
install Net::DNS chrno Installation/Configuration 4 5th September 2006 17:01
Xen Ubuntu VM Install Question witless1 HOWTO-Related Questions 5 3rd May 2006 15:42


All times are GMT +2. The time now is 18:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.