I''m running opensolaris 0906 in a triple boot environment with linux and windows. I just slapped a new hard drive into my machine and moved everything over with acronis migrate easy. Unfortunately, this failed to set up grub correctly so I resorted to the brute force solution of just reinstalling opensolaris to get things booting again. However I had underestimated the difficulty of getting my nice lived in install of opensolaris off of the old drive and onto the new one. (Probably should have tried a little harder to fix the booting issue, but it''s too late for that now). The main issue is that opensolaris doesn''t want to let me mount the old root file system after I stick it in there as a second hard drive. I figure that there''s probably a fairly simple solution here, but the learning curve on zfs is a bit on the steep side for all of its alleged ease of use. Any suggestions? -- This message posted from opensolaris.org
On 7/18/2010 3:45 PM, splazo doberman wrote:> I''m running opensolaris 0906 in a triple boot environment with linux and windows. > > I just slapped a new hard drive into my machine and moved everything over with acronis migrate easy. > > Unfortunately, this failed to set up grub correctly so I resorted to the brute force solution of just reinstalling opensolaris to get things booting again. > > However I had underestimated the difficulty of getting my nice lived in install of opensolaris off of the old drive and onto the new one. (Probably should have tried a little harder to fix the booting issue, but it''s too late for that now). > > The main issue is that opensolaris doesn''t want to let me mount the old root file system after I stick it in there as a second hard drive. > > I figure that there''s probably a fairly simple solution here, but the learning curve on zfs is a bit on the steep side for all of its alleged ease of use. > > Any suggestions? >Most likely, the problem is that both the old and new disks have a pool named ''rpool''. You thus can''t do anything like ''import rpool''. I''m assuming that you can at least see the old disk''s pools via a plain ''import'', correct? Have you tried importing via UID rather than via name - also, try importing with a different mountpoint option. Last resort - boot from the LiveCD, import the old disks'' rpool by UID, and then rename the whole pool something else (maybe ''oldrpool''). -- Erik Trimble Java System Support Mailstop: usca22-123 Phone: x17195 Santa Clara, CA
>Most likely, the problem is that both the old and new disks have a pool >named ''rpool''. You thus can''t do anything like ''import rpool''.>I''m assuming that you can at least see the old disk''s pools via a plain >''import'', correct? Have you tried importing via UID rather than via >name - also, try importing with a different mountpoint option.>Last resort - boot from the LiveCD, import the old disks'' rpool by UID, >and then rename the whole pool something else (maybe ''oldrpool'').Thanks for the advice. I''ll try importing by UID. As I mentioned in another post, I can''t actually get my solaris install on line until I spend most of a day downloading a bunch of compiler packages and building the NIS wrapper for my wireless card. Kind of a painful process that I''d rather not repeat. Of course, I can always get the screwdrivers out and slap the old drive back into the machine and dump all the necessary data onto a USB stick formatted with fat32 and then get the screwdrivers back out and reinstall the new drive and copy the data off of the stick, but this flies in the face of zfs'' claim to simplify administration of file systems. I was hoping for a more elegant solution. One not involving screwdrivers, that is. This stuff sure is tough. I read the stuff in the zfs admin guide about clones and all that, but it wasn''t really sinking in too quickly and seems to involve acquainting myself with enough new concepts that success seems a rather remote possibility. Think I''ll be sticking with UFS in the future. So far zfs has only made things substantially less convenient for me. -- This message posted from opensolaris.org
On Sun, Jul 18, 2010 at 3:45 PM, splazo doberman <lemuel_houyhnhnm at yahoo.com.mx> wrote:> I just slapped a new hard drive into my machine and moved everything over with acronis migrate easy.That''s the problem. You should have attached the new drive (or partition I guess) to copy over the OpenSolaris system.> Unfortunately, this failed to set up grub correctly so I resorted to the brute force solution of just reinstalling opensolaris to get things booting again.Check the admin guide for some hints: http://docs.sun.com/app/docs/doc/819-2379/ggvms?l=en&a=view The zpool should have the bootfs property set, as documented in the zpool man page. Grub''s menu.lst needs to have the correct bootfs value, as well as the findroot line. The boot signature needs to be set as well, since this is what the findroot command uses.> Any suggestions?The admin guide is the best place to start. An easy fix is to delete the new solaris partition and the use zfs mirroring to copy onto the new drive. -B -- Brandon High : bhigh at freaks.com