Sponsored Content
Operating Systems Solaris Restoring to previous Boot Environment Post 302529982 by vimalbagmar on Saturday 11th of June 2011 09:17:07 PM
Old 06-11-2011
Hi, am facing same issue. My release is Solaris 10 5/09 s10s_u7wos_08. Not able to activate old BE , by booting thru net.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Adding to boot-up environment

During the boot-up process *nix runs scripts linked into the runlevel directories rc#.d. What I'm wondering is, how do I control the environment that those scripts see? I need to set a couple environment variables, and I can NOT do it from within the scripts because it poses a maintenance nightmare... (1 Reply)
Discussion started by: DreamWarrior
1 Replies

2. SCO

Wanting to boot from a previous kernel

I tried to add ppp on a serial line tty1b and I relink the kernel. Now, I would like to boot from the previous kernel because I lost the connexion for the others terminal (serial lines) too. I would appreciate any help. (3 Replies)
Discussion started by: pacctono
3 Replies

3. Solaris

Restoring Boot Manager after Windows Install

Hi everyone, so i have a 40Gb disk with Windows XP and Solaris 10 Installed... windows has once again become unoperable for virus and stufff, and i need to reinstall it, but when i do that the MBR will be overwriten right? and i wont be able to access solaris10 anymore, is there a way, like a... (1 Reply)
Discussion started by: sx3v1l_1n51de
1 Replies

4. UNIX for Dummies Questions & Answers

Messed up my boot environment or root profile

Ok, a couple weeks ago I was fixing a cron report about perl not happy with 'locale' info (LANG and LC not set). As a result, I was experimenting with setting the correct 'locale' in several areas (like /etc/sysconfig/i18n and who knows where). Somehow after a reboot, as soon as the OS starts... (3 Replies)
Discussion started by: Garball
3 Replies

5. Solaris

Update single zone in alternate boot environment.

I 'm having a weired situation my system has 8 zones, running fine on solaris x86_u4. I installed the live upgrade bundle patch and did a live upgrade. The new BE was created but it missed one of the zone and now if i mount the new BE i do not see that zone in the environment so my question is how... (3 Replies)
Discussion started by: fugitive
3 Replies

6. Solaris

unable to boot afer restoring root partion manages by veritas

Hi all, After restoring the / FS on a netra 240. It is unable to boot the system. The message displayed is the following: "The file just loaded does not appear to be executable" Bellow, the content of /etc/vfstab before restoring: #more /etc/vfstab... (0 Replies)
Discussion started by: faberarnold
0 Replies

7. Solaris

Automating old Boot Environment Cleanup Solaris 11

I'm trying to automate the patching process using scripts and cronjobs in Solaris 11. one of the things I'd like to do is cleanup the old boot environments. unfortunately beadm destroy requires a response :~$ pfexec beadm destroy -f solaris-13 Are you sure you want to destroy... (3 Replies)
Discussion started by: os2mac
3 Replies

8. UNIX for Beginners Questions & Answers

Lucreate Fails to Create Boot Environment;

My OS solarius 5.10 Generic_147148-2 i86 Error: please review new boots environments using options 1. Solution - show me the commands Partition is full, try to remove some unneeded files, then try to compress some other unneeded files. man command creates a temp file under... (0 Replies)
Discussion started by: zbest1966
0 Replies

9. Solaris

T5-4 Bootloop with 11.4 Boot Environment

TLDR: Patched a separate boot environment to 11.4. Activated and rebooted the system only to have it boot loop and show 11.3 on the patched boot environment. Bootloop process: The system went down, came up showing 11.3 then spewed bunch of errors and resetted. SEE BELOW FOR THE FINAL MSG... (1 Reply)
Discussion started by: samthewildone
1 Replies
synclist(4)							   File Formats 						       synclist(4)

NAME
synclist - list of files to be synchronized when changing from one boot environment to another SYNOPSIS
/etc/lu/synclist DESCRIPTION
The synclist file lists files that will be synchronized when you switch from one boot environment (BE) to another. The file is part of the Live Upgrade feature of the Solaris Operating Environment. See live_upgrade(5) for an overview of the Live Upgrade software. The synclist file consists of a list of entries, with two fields per entry. The first field is a pathname, the second a keyword. The key- word can be one of OVERWRITE, APPEND, or PREPEND. The meanings of these keywords is described below. synclist accepts comments; a comment is indicated by a hash mark (#) in the first character position on a line. The way in which a file is updated is indicated by the keyword in the second field of its synclist entry. All of these operations occur upon the first boot of a newly activated BE. The keywords have the following semantics: OVERWRITE Overwrite the contents of a file with the contents of the file of the same name on the previously booted BE. Both directories and files can be specified for overwriting. If you specify a directory, every file in and beneath the listed directory is subject to being over- written. (Whether an individual file or directory is overwritten depends on the outcome of the comparison of file versions, described below.) Following an overwrite operation, a file on a new BE has the same date of creation, mode, and ownership as the file of the same name on the previously booted BE. APPEND Append the contents of a file on the previously booted BE to the contents of the file of the same name on the new BE. Use of APPEND allows for the possibility of duplicate entries in a file. You cannot use APPEND with directories. Following an append operation, a file on a new BE will have a different modified date and time from the same file on the previously booted BE. The mode and ownership will be the same between the two files. PREPEND Prepend the contents of a file on the previously booted BE to the contents of the file of the same name on the new BE. Use of PREPEND allows for the possibility of duplicate entries in a file. You cannot use PREPEND with directories. Following a prepend operation, a file on a new BE will have a different modified date and time from the same file on the previously booted BE. The mode and ownership will be the same between the two files. The second (keyword) field in a synclist entry can be empty, in which case the OVERWRITE action is assumed. In deciding when to update a file on a newly activated BE, Live Upgrade uses an algorithm illustrated in the table below. In the table, "old" refers to a BE relinquishing activated status; "new" refers to a newly activated BE. The "resulting state" occurs when the new BE is first booted. +------------------+--------------------+----------------------+ |State of File | State of File |Resulting State | | | | | |on Old BE | on New BE |on New BE | +------------------+--------------------+----------------------+ |Unchanged | Unchanged |Not updated | +------------------+--------------------+----------------------+ |Updated | Unchanged |Updated | +------------------+--------------------+----------------------+ |Unchanged | Updated |Not updated | +------------------+--------------------+----------------------+ |Updated | Updated |Conflict Indicated | +------------------+--------------------+----------------------+ When a file is updated on both an old and new BE, as shown in the last row of the table above, Live Upgrade reports the conflict and allows you to resolve it. Modify the contents of synclist with caution. Adding certain files to synclist might render a BE unbootable. Also, be careful in using the file-inclusion and -exclusion options in lucreate(1M) in conjunction with changes you might make in synclist. Again, you could render a system unbootable or end up with different results from what you expected. Switching BEs among different Solaris Operating Environment marketing releases (for example, from a Solaris 9 BE to a Solaris 2.6 BE) requires care. This is especially true if you make any modifications to synclist. For example, consider that the last-active BE contains Solaris 9 and you want to activate a BE that contains Solaris 2.6. In synclist in the Solaris 9 BE, you have added files that are present in Solaris 9 that are not present in Solaris 2.6 or that are no longer compatible with Solaris 2.6. If you forced synchronization with the luactivate(1M) -s option, the BE containing Solaris 2.6 might be synchronized with files that might not work under Solaris 2.6. EXAMPLES
Example 1: Updating the passwd File Consider the following scenario: 1. You create a BE, named first. 2. You create a new BE, named second, using first as the source. 3. You add a new user to first, thereby making an addition to the passwd file in first. 4. Using luactivate(1M), you activate second. At this point, Live Upgrade recognizes that the passwd file has been updated in first and not in second. 5. When you boot second for the first time, Live Upgrade, directed by the keyword OVERWRITE in synclist, copies passwd from first to sec- ond, overwriting the contents in the latter BE. The result described above obtains with any of the files associated with the OVERWRITE keyword in synclist. If the reverse had occurred-- you edited passwd on second and left passwd in first untouched--Live Upgrade would not have modified passwd in second when that BE was first booted. Example 2: Updating the /var/log/syslog File Consider the following scenario: 1. You create a BE, named first. 2. You create a new BE, named second, using first as the source. 3. Logging occurs, adding to the contents of /var/log/syslog in first. 4. Using luactivate(1M), you activate second. At this point, Live Upgrade recognizes that /var/log/syslog has been updated in first and not in second. 5. When you boot second for the first time, Live Upgrade, directed by the keyword APPEND in synclist, appends the contents of /var/log/syslog in first to the same file in second. The result described above obtains with any of the files associated with the APPEND keyword in synclist. If the reverse had occurred--you changed /var/log/syslog on second and left /var/log/syslog in first untouched--Live Upgrade would not have modified /var/log/syslog in sec- ond when that BE was first booted. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWluu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
luactivate(1M), lucreate(1M), lumake(1M), attributes(5), live_upgrade(5) SunOS 5.10 6 Aug 2003 synclist(4)
All times are GMT -4. The time now is 05:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy