Robert Buick
2008-Nov-10 19:52 UTC
[zfs-discuss] grub prompt after aborted ufs to zfs live upgrade
I attempted a live upgrade of snv_100 ufs laptop over the weekend to zfs. It failed a couple of times complaining about not having enough space. I decided to put the zfs upgrade on the back burner and deleted the failed BE - naturally no luactivate was done at any time. I didn''t delete the the BE''s zfs pool. I placed into suspend and started up fine this morning, continued to work until now and decided to reboot the system. I now only get the grub prompt. If I do a rootnoverify, from the grub prompt, I get: (hd0,2,e): Filesystem type is zfs, partition type 0x82 How do I get my ufs snv_100 system back up and running? Thanks.
Robert Buick
2008-Nov-12 00:19 UTC
[zfs-discuss] grub prompt after aborted ufs to zfs live upgrade
Since the above post, I downloaded Super Grub and managed to recover a trashed (grub) FC8 installation that was lost when nevada was installed some time back. This now has as well as the FC 8 prompt in the Grub menu: title Solaris - BE1 rootnoverify (hd0,2,a) chainloader +1 makeactive title Solaris - BE2 rootnoverify (hd0,2,e) chainloader +1 makeactive Selecting either of the Solaris choices receives: Error13: Invalid or unsupported executable format Back with Super Grub, selecting Partitions presents, amongst the other partitions the two 15GB BE''s I was using for live upgrade, namely: N IDE SCSI GRUB HURD TYPE SIZE OS . . 3 hda3 sda3 (hd0,2,a) hd0s3 ufs 15GB . . 3 hda3 sda3 (hd0,2,e) hd0s3 swap 15GB dropping back to a grub prompt and entering root returns: root (hd0,2,e):Filesystem type is zfs, partition type 0x82 As I mentioned in my earlier post, the zfs BE had been deleted, but not the zpool. Any of the other Super Grub options to get the solaris running ends in failure. Thanks for your time. -- This message posted from opensolaris.org
Colin Seymour
2008-Nov-13 11:21 UTC
[zfs-discuss] grub prompt after aborted ufs to zfs live upgrade
Sounds like you''ve either trashed your GRUB config or it can''t find/access it. Try manually booting your ufs partition by using a GRUB entry like this: --- findroot (hd0,2,a) kernel$ /platform/i86pc/kernel/$ISADIR/unix module$ /platform/i86pc/$ISADIR/boot_archive --- You may need to try a different "root" line, so try: --- root (hd0,2,a) kernel$ /platform/i86pc/kernel/$ISADIR/unix module$ /platform/i86pc/$ISADIR/boot_archive --- ... if the first attempt doesn''t work. -- This message posted from opensolaris.org
Robert Buick
2008-Nov-14 08:34 UTC
[zfs-discuss] grub prompt after aborted ufs to zfs live upgrade
Still no luck :-( I installed snv_100 on a new disk, mounted the old disk and copied the home directories etc. and now at least I have a system that works, if somewhat stunted cf the old system. It would be good if the old disk could be brought back to its former glory... -- This message posted from opensolaris.org
Robert Buick
2008-Nov-17 19:31 UTC
[zfs-discuss] Solved: grub prompt after aborted ufs to zfs live upgrade
Thanks to Iain Curtain. 1. boot into single user mode from dvd, then su. 2. mount the rootpool as r/w on /a when prompted 3. run: installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0 4. reboot -- This message posted from opensolaris.org