Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-29 Thread Frank Cusack
I haven't been able to get this working. To keep it simpler, next I am going to try usbcopy of the live USB image in the VM, and see if I can boot real hardware from the resultant live USB stick. On Tue, Nov 22, 2011 at 5:25 AM, Fajar A. Nugraha l...@fajar.net wrote: On Tue, Nov 22, 2011 at

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-29 Thread Fajar A. Nugraha
On Wed, Nov 30, 2011 at 1:25 PM, Frank Cusack fr...@linetwo.net wrote: I haven't been able to get this working.  To keep it simpler, next I am going to try usbcopy of the live USB image in the VM, and see if I can boot real hardware from the resultant live USB stick. To be clear, I'm talking

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-29 Thread Frank Cusack
On Tue, Nov 29, 2011 at 10:39 PM, Fajar A. Nugraha l...@fajar.net wrote: On Wed, Nov 30, 2011 at 1:25 PM, Frank Cusack fr...@linetwo.net wrote: I haven't been able to get this working. To keep it simpler, next I am going to try usbcopy of the live USB image in the VM, and see if I can boot

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-29 Thread Fajar A. Nugraha
On Wed, Nov 30, 2011 at 2:35 PM, Frank Cusack fr...@linetwo.net wrote: The second one works on both real hardare and VM, BUT with a prequisite that you have to export-import rpool first on that particular system. Unless you already have solaris installed, this usually means you need to boot

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-22 Thread Jim Klimov
2011-11-22 10:24, Frank Cusack пишет: On Mon, Nov 21, 2011 at 10:06 PM, Frank Cusack fr...@linetwo.net mailto:fr...@linetwo.net wrote: grub does need to have an idea of the device path, maybe in vbox it's seen as the 3rd disk (c0t2), so the boot device name written to grub.conf is

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-22 Thread Fajar A. Nugraha
On Tue, Nov 22, 2011 at 7:32 PM, Jim Klimov jimkli...@cos.ru wrote: Or maybe not.  I guess this was findroot() in sol10 but in sol11 this seems to have gone away. I haven't used sol11 yet, so I can't say for certain. But it is possible that the default boot (without findroot) would use the

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-21 Thread Fajar A. Nugraha
On Tue, Nov 22, 2011 at 11:26 AM, Frank Cusack fr...@linetwo.net wrote: I have a Sun machine running Solaris 10, and a Vbox instance running Solaris 11 11/11.  The vbox machine has a virtual disk pointing to /dev/disk1 (rawdisk), seen in sol11 as c0t2. If I create a zpool on the Sun s10

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-21 Thread Frank Cusack
On Mon, Nov 21, 2011 at 9:04 PM, Fajar A. Nugraha w...@fajar.net wrote: So basically the question is if you install solaris on one machine, can you move the disk (in this case the usb stick) to another machine and boot it there, right? Yes, but one of the machines is a virtual machine. The

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-21 Thread Fajar A. Nugraha
On Tue, Nov 22, 2011 at 12:19 PM, Frank Cusack fr...@linetwo.net wrote: On Mon, Nov 21, 2011 at 9:04 PM, Fajar A. Nugraha w...@fajar.net wrote: So basically the question is if you install solaris on one machine, can you move the disk (in this case the usb stick) to another machine and boot it

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-21 Thread Frank Cusack
On Mon, Nov 21, 2011 at 9:31 PM, Fajar A. Nugraha w...@fajar.net wrote: On Tue, Nov 22, 2011 at 12:19 PM, Frank Cusack fr...@linetwo.net wrote: If we ignore the vbox aspect of it, and assume real hardware with real devices, of course you can install on one x86 hardware and move the drive

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-21 Thread Fajar A. Nugraha
On Tue, Nov 22, 2011 at 12:53 PM, Frank Cusack fr...@linetwo.net wrote: On Mon, Nov 21, 2011 at 9:31 PM, Fajar A. Nugraha w...@fajar.net wrote: On Tue, Nov 22, 2011 at 12:19 PM, Frank Cusack fr...@linetwo.net wrote: If we ignore the vbox aspect of it, and assume real hardware with real

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-21 Thread Frank Cusack
On Mon, Nov 21, 2011 at 9:59 PM, Fajar A. Nugraha w...@fajar.net wrote: On Tue, Nov 22, 2011 at 12:53 PM, Frank Cusack fr...@linetwo.net wrote: On Mon, Nov 21, 2011 at 9:31 PM, Fajar A. Nugraha w...@fajar.net wrote: On Tue, Nov 22, 2011 at 12:19 PM, Frank Cusack fr...@linetwo.net wrote:

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-21 Thread Nico Williams
Moving boot disks from one machine to another used to work as long as the machines were of the same architecture. I don't recall if it was *supported* (and wouldn't want to pretend to speak for Oracle now), but it was meant to work (unless you minimized the install and removed drivers not needed

Re: [zfs-discuss] virtualbox rawdisk discrepancy

2011-11-21 Thread Frank Cusack
On Mon, Nov 21, 2011 at 10:06 PM, Frank Cusack fr...@linetwo.net wrote: grub does need to have an idea of the device path, maybe in vbox it's seen as the 3rd disk (c0t2), so the boot device name written to grub.conf is disk3 (whatever the terminology for that is in grub-speak), but when I