03-08-2005
ufsrestore, revisited
I just installed solaris 9 on a sunblade 150(sparc), and have it partitioned. I've been using ufsrestore to restore bring the config from my old system, to the sunblade. I'm not having any luck. The root directory restore seems to work. When I try to restore /usr, I get an "/usr/sbin/fsck not found, please use boot -b to recover or reinstall the system" error. I looked through some of my manuals and online, and found some info.
First step I've found is to mount the new files system to a temp mount point.
In my case, the first one I want is root(for me, it's on c0t0d0s0)
# mount /dev/dsk/c0t0d0s0
# mount: /dev/dsk/c0t0d0s0 is already mounted
Next step is to cd to the mounted directory
in my case, it's / (I'm already there)
I create the tape device entries
# tapes
# ufsrestore rvf /dev/rmt/0
(only one tape needed)
the root fs is restored, I perform an ls to verify.
#rm restoresymtable
I try to do a umount:
# umount /dev/dsk/c0t0d0s0
# / is busy
Once I saw that, I tried ps -eaf to see what was running, nothing on / . Got the same with fuser.
Am I missing something? Should I not have installed the OE first? Thanks for any input.
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a ascii file with lines like this:
240|^M\ ^M\^M\ Old Port Marketing order recd $62,664.- to ship 6/22/99^M\
when this record gets loaded into my database, the \ is stored literally and so the user sees carriage return \ (hex 0D 5C) when what i need is carriage return line feed (hex 0D... (1 Reply)
Discussion started by: Brandt
1 Replies
2. Solaris
in ufsrestore how do i know which volume my selected
folder or file exist?. (4 Replies)
Discussion started by: S26+
4 Replies
3. UNIX for Advanced & Expert Users
I have read through all documents in FAQ and have run into an issue with sending an email with body message text and an email attachment. I have included what I have thus far and I can get the message body to send in the email to work only. I cannot understand the uuencode even after I read the... (5 Replies)
Discussion started by: tekline
5 Replies
4. Virtualization and Cloud Computing
Many readers have read the hype, experienced the Orwellian marketspeak, watched the positioning debates, and seen poorly managed software companies play the game of analyst-chasing (similar to ambulance chasing when you think about it). Finally, the up-to-date definitions, and hopefully a bit of... (0 Replies)
Discussion started by: Linux Bot
0 Replies
5. Solaris
hi all,
ive downloaded ,built and installed coreutils from sunfreeware.com,in my quest to get the color display when ls is used(linux style)...
After the pkg is installed,how do i use ls to get the color?
I know its installed because i get a host of cmds that have been updated,l
like this,
... (1 Reply)
Discussion started by: wrapster
1 Replies
6. UNIX for Dummies Questions & Answers
I'm using this in AIX to find what file contains the value 'batch' in it, in all directories.
find / -type f -exec grep -l batch {} /dev/null \;
My question is, what if I only wanted to search *.sh files, and I wanted to pipe the results to a file called 'batch_find.txt'. How could I code... (3 Replies)
Discussion started by: NycUnxer
3 Replies
7. Shell Programming and Scripting
Dear all,
I have a large database of names which I have sorted on reverse with a Perl Script. A sample is provided below
agarsingh
aghansingh
akalsingh
akamsingh
akbareesingh
akhamisingh
akramysingh
akuvsingh
anchalusingh
andaroosingh
angadsingh
anjawsingh
angibai
angobai
angurbai... (11 Replies)
Discussion started by: gimley
11 Replies
LEARN ABOUT V7
install-solaris
install-solaris(1M) install-solaris(1M)
NAME
install-solaris - install the Solaris operating system
SYNOPSIS
install-solaris
install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation,
install-solaris invokes either a text-based installer or a graphical installer.
The following minimum requirements for physical memory dictate which features are available during installation:
For SPARC machines:
128 MB
Minimum physical memory for all installation types
128 MB
Minimum physical memory required for windowing system
384 MB
Minimum physical memory required for graphical-based installation
For x86 machines:
256 MB
Minimum physical memory for all installation types
256 MB
Minimum physical memory required for windowing system
512 MB
Minimum physical memory required for graphical-based installation
In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea-
tures available.
install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more
details.
install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the
installation media. Refer to the for disk space requirements.
Refer to the for more information on the various menus and selections.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcdrom (Solaris instal- |
| |lation media) |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
pkginfo(1), install(1M), pkgadd(1M), attributes(5)
It is advisable to exit install-solaris by means of the exit options in the install-solaris menus.
23 Sep 2005 install-solaris(1M)