Sponsored Content
Full Discussion: boot log files
Operating Systems Solaris boot log files Post 302131767 by zafyil on Monday 13th of August 2007 03:59:25 PM
Old 08-13-2007
boot log files

Hello,

I am working on a liveupgrade

bash-2.05# lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
first_disk yes yes no no -
second_disk yes no yes no -


I am trying to boot from the second_disk

luactivate second_disk
init 6

But it boots from the first_disk... There is a problem for sure but I can't find the log files so I don't know what went wrong.

Do you know where can I find the log files for that boot attempt? Would they be on the first_disk or second_disk?

Thanks,
Zafer
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Replacing root / boot files

Hi everybody, I am running SCO-V openserver platform running on P-100. How can I replace root / boot files ? I want to do this because, if my system is not getting booted or my root is corrupted, I want to just replace this with the back up taken or boot/root floppy. Usually I am restoring... (1 Reply)
Discussion started by: skant
1 Replies

2. SuSE

/var/log/boot.msg

I have a Dell Latitude c840 that runs SuSE 8.0 Enterprise server that hangs on bootup on trying to create /var/log/boot.msg. It boots in rescue mode just fine. I've tried deleting the old boot.msg file that was in there, but that did no good. Does anyone have any advice/know of a website with... (3 Replies)
Discussion started by: Jody
3 Replies

3. UNIX for Dummies Questions & Answers

boot / reboot log info

hi guys, i know some commands to check last boot information in solaris and redhat. #last -10 | grep boot #who -b #cat /var/adm/messages | grep signal but how do i check for boot info in hp-ux other than from the "shutdownlog" #last -10| reboot has rebooted my hp-ux server ! ... (2 Replies)
Discussion started by: cromohawk
2 Replies

4. Solaris

System boot up log file

Hi, where can I check the system boot up log file like those message when the system booting up.... Thanks. (14 Replies)
Discussion started by: efang
14 Replies

5. UNIX for Dummies Questions & Answers

Not able to generate boot.log.

Hi I m not able to find anything under boot.log file. Here is the output of boot.log files. As you can see nothing is getting written inside the boot.log files . How can i make all the events to be logged under boot.log file? # ls -ltr /var/log | grep boot -rw------- 1 root root 0... (6 Replies)
Discussion started by: pinga123
6 Replies

6. Boot Loaders

Reboot and Select Proper Boot device or insert Boot media in select Boot device and press a key

Hello, I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error " reboot and select proper Boot device or insert Boot media in select Boot device and press a key " I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies

7. AIX

Replaying log stuck during boot

I had some problems with NFS see here: https://www.unix.com/302790997-post9.html and now I cannot boot the partition when I boot I get stuck here Saving Base Customize Data to boot disk Starting the sync daemon ... (7 Replies)
Discussion started by: filosophizer
7 Replies

8. Red Hat

Customized boot log messages

Hi all Many years ago, I found online this script that was incredibly funny and I had blogged it Unfortunately because of my poor record-keeping, I seem to have lost the shell script Would somebody be kind enough to tell me how to replicate this? Thank you! (0 Replies)
Discussion started by: hedkandi
0 Replies

9. Shell Programming and Scripting

Redirecting log files to null writing junk into log files

Redirecting log files to null writing junk into log files. i have log files which created from below command exec <processname> >$logfile but when it reaches some size i am redirecting to null while process is running like >$logfile manually but after that it writes some junk into... (7 Replies)
Discussion started by: greenworld123
7 Replies

10. UNIX for Advanced & Expert Users

Knowing the boot files

Hi, I have experienced a situation whereby after rebooting the server, we were not able to bring it up. After further troubleshooting it was found that it was an issue with the "boot" image/file permission. Have you experienced such an issue? I was not the one who did the troubleshooting... (1 Reply)
Discussion started by: anaigini45
1 Replies
lumount(1M)						  System Administration Commands					       lumount(1M)

NAME
lumount, luumount - mount or unmount all file systems in a boot environment SYNOPSIS
/usr/sbin/lumount [-l error_log] [-o outfile] BE_name [mount_point] [-X] /usr/sbin/luumount [-f] { [-n] BE_name | [-m] mount_point | block_device} [-l error_log] [-o outfile] [-X] DESCRIPTION
The lumount and luumount commands are part of a suite of commands that make up the Live Upgrade feature of the Solaris operating environ- ment. See live_upgrade(5) for a description of the Live Upgrade feature. The lumount and luumount commands enable you to mount or unmount all of the filesystems in a boot environment (BE). This allows you to inspect or modify the files in a BE while that BE is not active. By default, lumount mounts the file systems on a mount point of the form /.alt.BE_name, where BE_name is the name of the BE whose file systems are being mounted. See NOTES. The lumount and luumount commands require root privileges. OPTIONS
The lumount and luumount commands have the following options: -f For luumount only, forcibly unmount a BE's file systems after attempting (and failing) an unforced unmount. This option is analogous to the umount(1M) -f option. -l error_log Error and status messages are sent to error_log, in addition to where they are sent in your current environment. -m mount_point luumount unmounts the file systems of the BE that owns mount_point. See description of mount_point under OPERANDS, below. The use of -m is optional when specifying a mount point for luumount. -n BE_name Name of the BE whose file systems will be unmounted. See description of BE_name under OPERANDS, below. The use of -n is optional when specifying a BE name for luumount. -o outfile All command output is sent to outfile, in addition to where it is sent in your current environment. -X Enable XML output. Characteristics of XML are defined in DTD, in /usr/share/lib/xml/dtd/lu_cli.dtd.<num>, where <num> is the version number of the DTD file. For luumount, if you supply an argument and specify neither -m nor -n, the command determines whether your argument is a BE name, a mount point, or a block device. If it is one of these three and the argument is associated with a BE that has mounted file systems, luumount unmounts the file systems of that BE. Otherwise, luumount returns an error. OPERANDS
BE_name Name of the BE whose file systems will be mounted or unmounted. This is a BE on the current system other than the active BE. Note that, for successful completion of an lumount or luumount command, the status of a BE must be complete, as reported by lustatus(1M). Also, none of the BE's disk slices can be mounted (through use of mount(1M)). mount_point For lumount, a mount point to use instead of the default /.alt.BE_name. If mount_point does not exist, lumount creates it. For luumount, the BE associated with mount_point will have its file systems unmounted. Note that default mount points are automatically deleted upon unmounting with luumount. Mount points that you specify are not deleted. block_device For luumount only, block_device is the root slice of a BE, such as /dev/dsk/c0t4d0s0. luumount unmounts the file systems of the BE associated with block_device. EXAMPLES
Example 1: Specifying a Mount Point The following command creates the mount point /test and mounts the file systems of the BE second_disk on /test. # lumount second_disk /test /test You can then cd to /test to view the file systems of second_disk. If you did not specify /test as a mount point, lumount would create a default mount point named /.alt.second_disk. Example 2: Unmounting File Systems The following command unmounts the file systems of the BE second_disk. In this example, we cd to / to ensure we are not in any of the file systems in second_disk. # cd / # luumount second_disk # If /dev/dsk/c0t4d0s0 were the root slice for second_disk, you could enter the following command to match the effect of the preceding com- mand. # cd / # luumount /dev/dsk/c0t4d0s0 # EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/etc/lutab list of BEs on the system /usr/share/lib/xml/dtd/lu_cli.dtd.<num> Live Upgrade DTD (see -X option) ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWluu | +-----------------------------+-----------------------------+ SEE ALSO
lu(1M), luactivate(1M), lucancel(1M), lucompare(1M), lucreate(1M), lucurr(1M), ludelete(1M), ludesc(1M), lufslist(1M), lumake(1M), lure- name(1M), lustatus(1M), luupgrade(1M), lutab(4), attributes(5), live_upgrade(5) NOTES
If a BE name contains slashes (/), lumount replaces those slashes with colons in a default mount point name. For example: # lumount 'first/disk' /.alt.first:disk SunOS 5.10 24 Jan 2002 lumount(1M)
All times are GMT -4. The time now is 08:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy