|
Title: Virtual optical drive Post by: demon on July 05, 2007, 09:34:16 AM How to create it ? I want to install some OS(Linux or *BSD) on logical partition without use psysical CD\DVD, e.g. from ISO image. On analogy with VMware. It's possible?
Title: Re: Virtual optical drive Post by: Michael on July 26, 2007, 10:58:53 AM Assuming you are using an HMC you will first need to create the virtual scsi server and client adapters and specify their connection.
If the VIOS partition is already running you will need to reboot it, or you can create to VSCSI Server adapter using DLPAR and update the profile with the same information so it will be there after a reboot. Assuming a reboot, on the VIOS partition login as padmin. assuming this is your first virtual scsi client the command will be: mkvdev -vdev /dev/cd0 -vadapter vhost0 Note: this is the same command you would use to create a virtual scsi disk. To verify your result - use: lsmap -vadapter vhost0, or lsmap -all to remove the virtual link: rmvdev -vtd vtscsiX (where X is the value returned when you created it). Title: Re: Vurtual optical drive Post by: demon on August 07, 2007, 01:46:00 PM I mean how to install OS(AIX) on LPAR from ISO image?
Title: Re: Virtual optical drive Post by: Michael on August 07, 2007, 05:14:43 PM If you have downloaded an ISO image you will need to burn it to DVD or CD.
With the DVD drive either attached physically to VIOS partition and then as virtual CD Drive (which is what I first assumed you meant), or directly attach the IDE (Other Storage) to the partitioin. AFAIK (as far as I know) AIX does not support mounting of an ISO image. Neither do I know of it as a supported target storage. In other words, I dont think it is possible to install from an ISO image without first burning it to media. Title: Re: Virtual optical drive Post by: megabear on November 01, 2007, 09:35:22 PM Hi i found this on de internet .
First Create a filesystem with crfs command: #/usr/sbin/crfs -v jfs -g rootvg -a size=800 -m/cd1iso -Ano -pro -tno -a frag=4096 -a nbpi=4096 -a ag=8 This command creates the /cd1iso file system on the rootvg volume group. Now dd the “iso” image into rlv00 # dd if=image.iso of=/dev/rlv00 bs=10M Use chfs to change the attributes of a file system: # chfs -a vfs=cdrom cd1iso # mount /cd1iso # cd /cd1iso When done, remove the filesystem/unmount, enter: # rmfs /cd1iso This removes the /cd1iso file system, its entry in the /etc/filesystems (created using chfs command) file, and the underlying logical volume. Title: Re: Virtual optical drive Post by: demon on January 15, 2008, 12:53:09 PM Hi i found this on de internet . Very usefull information, thx.First Create a filesystem with crfs command: #/usr/sbin/crfs -v jfs -g rootvg -a size=800 -m/cd1iso -Ano -pro -tno -a frag=4096 -a nbpi=4096 -a ag=8 This command creates the /cd1iso file system on the rootvg volume group. Now dd the “iso” image into rlv00 # dd if=image.iso of=/dev/rlv00 bs=10M Use chfs to change the attributes of a file system: # chfs -a vfs=cdrom cd1iso # mount /cd1iso # cd /cd1iso When done, remove the filesystem/unmount, enter: # rmfs /cd1iso This removes the /cd1iso file system, its entry in the /etc/filesystems (created using chfs command) file, and the underlying logical volume. But need correction #/usr/sbin/crfs -v jfs -g rootvg -a size=800 -m/cd1iso -Ano -pro -tno -a frag=4096 -a nbpi=4096 -a ag=8 # dd if=image.iso of=/dev/lv00 bs=10M #chfs -a vfs=cdrom /cd1iso # mount /cd1iso Title: Re: Virtual optical drive Post by: flok on September 10, 2008, 02:16:47 PM At least aix 6 installs fine from a virtual optical drive. Linux in all its forms too but for debian you need to have the latest version of the nightly build.
I wrote a simple howto here: http://vanheusden.com/aix/vcd.php (http://vanheusden.com/aix/vcd.php) |