Cloning can be quite tricky. Often the disk devices which are restored are all wrong for the new platform. However, if it's the boot archive that the system is complaining about then update that first. Boot archive architecture wasn't used after Solaris 10u3 so I guess your version is 10u3 or earlier.
Boot from CD and mount your harddisk root filesystem under /a
then.....
Then take the system down. On first attempted boot from hard disk ensure you use the -r switch to tell Solaris to reconfigure.
Post the results of that. As I said above, we might need to rebuild all filesystem devices.
I once found a document on the web describing how to build partition flar images instead of having just the one large one.
I have managed this but am having problems extracting the subsequent flar archives.
I ahve built the system from a jumpstart server and now need to add the program images etc... (0 Replies)
I have a Sun T5120, and I want to programmatically determine how much RAM it has.
# uname -a
SunOS myhost 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5120
The box has 64Gb; I tried prtdiag and prtconf, but they give me bogus info
prtconf gives me:
# prtconf |grep -i... (12 Replies)
Hi admins,
As we can create flash archieve on solaris with flarcreate command utility,
so is there any utility like this on Linux to create flah archieves ?? (10 Replies)
Hi,
can someone help with the following?
I got 1x146GB disk which is span by just one zfs rpool.
When issue for example:
as you can see in above output the flar is very small, just around 10KB
rpool with all data sets has several GB so this can't be good image. This is on the Solaris 10... (3 Replies)
Hi,
First sorry for my english !
I'm a newbie on Solaris and I'm trying to clone a SUN T5220 (sun4V platform) on SUN V240 (sun4u platform) using ufsdump/ufsrestore.
Dumping all filesystem and restoring it on the V240 box and Make the disk bootable using installboot command.
When... (21 Replies)
have been trying to create a 2 GB ramdisk (virtual) to run on my T-2000 simulator (Legion) which has sun4v architecture. I have a SPARC workstation which runs on sun4u architecture with Solaris 10.
I have created a ramdisk image using dd command, newfs, then used ufsrestore to restore the... (3 Replies)
Hi everyone,
We have the below sun Operating system, Now our storage team have Create a 500GB LUN for this server, How can i scan and mount the shared LUN ? Could anyone help me to resolve this issue.
SunOS my_hostname.com 5.10 Generic_150400-09 sun4v sparc sun4v
Update:
--------
I... (9 Replies)
Hi experts,
This is a production server.
Host information's are below
SunOS hostname_srv 5.10 Generic_150400-09 sun4v sparc sun4v
Now issue with ntp service, This host have zone in it with 9 hosts, Every hosts have ntp service issue. While i check for the service status it's in... (3 Replies)
Hi
I have systems running UFS and ZFS file system type, and I need to create images of them ( in HP-UX ) we call it ignite, but in my case I dont have tape drives attached to the servers. I have read about flar archives, but the do I have to create those images in single user mode or using the... (8 Replies)
Discussion started by: fretagi
8 Replies
LEARN ABOUT OPENSOLARIS
root_archive
root_archive(1M) System Administration Commands root_archive(1M)NAME
root_archive - manage bootable miniroot archives
SYNOPSIS
/boot/solaris/bin/root_archive pack archive root
/boot/solaris/bin/root_archive unpack archive root
/boot/solaris/bin/root_archive packmedia solaris_image root
/boot/solaris/bin/root_archive unpackmedia solaris_image root
DESCRIPTION
The root_archive utility is used to manage bootable miniroot archives and is currently only available on x86 platforms. The utility can
pack and unpack boot/root archives in both ufs and hsfs (iso9660) format. It will always generate ufs archives.
root_archive also uses the lofi file driver to export a file as a block device (see lofi(7D)) and mount to mount or unmount file systems
and remote resources (see mount(1M)). root_archive requires the same privileges that are needed to run these commands.
SUBCOMMANDS
The root_archive command has the following subcommands:
pack archive root Pack from the image found under the root directory to the archive.
unpack archive root
Unpack from the archive to an unpacked image under the root directory.
packmedia solaris_image root
Pack the solaris image to the root directory.
unpackmedia solaris_image root
Unpack the solaris image from the root directory.
For packmedia and unpackmedia, other items that do not go into the ramdisk image are copied or uncopied (see cpio(1)) as well. Specifi-
cally, this includes all the packaging databases needed for pkgadd and the other packaging utilities to succeed which are not used in the
running and hence pruned to conserve memory.
EXAMPLES
Example 1 Unpacking the Solaris x86 install image
The following command unpacks the current Solaris image from the root directory:
# root_archive unpackmedia
/export/nv/solarisdvd.nvx_dvd/latest /export/Boot
Where /export/nv/solarisdvd.nvx_dvd/latest represents a path to a Solaris x86 install image and /export/Boot is a directory that will be
purged or created, as necessary.
Example 2 Packing the Solaris x86 install image
The following command packs the current Solaris image to the root directory:
# root_archive packmedia
/export/nv/solarisdvd.nvx_dvd/latest /export/Boot
EXIT STATUS
The following exit values are returned:
0 The command completed successfully.
1 The command exited due to an error.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO cpio(1), bootadm(1M), mount(1M), attributes(5), lofi(7D)SunOS 5.11 26 Sep 2005 root_archive(1M)