05-24-2012
One way might be to use dd to copy the boot block sectors to a temporary file and then compare the contents of that file with the corresponding /usr/platform/.../bootblk using cmp or some other utility.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm really new at this and wondering how I would go about adding code to my script to verify that all records loaded successfully? (I am loading a file into a table) i'm using the Korn shell.
I'm also having trouble verifying parts in the header as i do not really understand the header and... (3 Replies)
Discussion started by: sheranjem
3 Replies
2. Red Hat
I install Redhat linux9 on my local desktop pc on which windoxs XP OS is installed earlier.I made half disk empty and then install Redhat linux9 on my pc and make the system in dual boot. As I install linux latter,the grub boot block(of linux)save on the hard disk.But now I wants to delete the... (3 Replies)
Discussion started by: sameerghogre
3 Replies
3. Programming
hello every body,
I have to verifiy if the param_key is selectionned twice or more and to print only one occurence i'm using htable what's the good implementation to add to the code to verify this.
code :
{
char *tmpStr = NULL;
ght_iterator_t iterator_param;
void... (0 Replies)
Discussion started by: kamel.seg
0 Replies
4. AIX
Hi,
every midnight hacmp verification is run automatically.
clverify.log says there is no erro bu clutils.log says there is 1 error but when i look at the clverify.log no problem at all.
Below is the output of the clverify.log
what may be the cause of the error in the clutils.log file.
Thanks,... (1 Reply)
Discussion started by: mmersoylu
1 Replies
5. Solaris
HI every one,
i need some information that is if any boot block is corrupted den we have to go to ok prompt then boot from cdrom or network if ok prompt also not working at dat time wat i have to do .please any one can help me .
Thanking for reply (10 Replies)
Discussion started by: sivajerripothul
10 Replies
6. News, Links, Events and Announcements
Microsoft to stop Linux, older Windows, from running on Windows 8 PCs | ZDNet
isn't that deserve an anti trust investigation?
MS monopoly is transfer into the hardware. (1 Reply)
Discussion started by: programAngel
1 Replies
7. Shell Programming and Scripting
Hi eveyone
I am planning to use crontab to delete all files in my donwloads directory that are older than one hour
I will be using crontab to run this script
find /home/kee/downloads/* -daystart -mmin +59 -type f -name -exec rm -r {}\;
could you please let me know if the above... (1 Reply)
Discussion started by: k33k00
1 Replies
8. Solaris
Hi All,
I have copied a existing root file system from c0t0d0 to c0t1d0 in SUN Fire 6800 by using the below command,
ufsdump 0ucf - / | (cd /new.root ; ufsrestore -rf - )
and later on I created a boot block on c0t1d0s0 by using the below command
installboot /usr/platform/`uname... (1 Reply)
Discussion started by: dammaharasba
1 Replies
9. Shell Programming and Scripting
Hello,
I have a file, in which line 40 is commented. It is basically a cron job,
#05,35,50 * * * * /usr/local/scripts/my.sh
how i can i verify the line 40 is commented, if not then give me message not commented, otherwise provide us message it is commented. (5 Replies)
Discussion started by: learnbash
5 Replies
10. Programming
Using ECDSA, how do you verify integrity of Data (D), Given the value for the following:
Random number (r)
Signature (s)
ECpublic Key (K)
Thanks. (0 Replies)
Discussion started by: dragonpoint
0 Replies
LEARN ABOUT OSF1
installboot
installboot(1M) installboot(1M)
NAME
installboot - install bootblocks in a disk partition
SYNOPSIS
installboot bootblk raw-disk-device
The boot(1M) program, ufsboot, is loaded from disk by the bootblock program which resides in the boot area of a disk partition.
The ufs boot objects are platform-dependent, and reside in the /usr/platform/platform-name/lib/fs/ufs directory. The platform name can be
found using the -i option of uname(1).
The installboot utility is a SPARC only program. It is not supported on the architecture. users should use installgrub(1M) instead.
bootblk The name of the bootblock code.
raw-disk-device The name of the disk device onto which the bootblock code is to be installed; it must be a character device which is read-
able and writable. Naming conventions for a SCSI or IPI drive are c?t?d?s? and c?d?s? for an IDE drive.
Example 1: Installing UFS Boot Block
To install a ufs boot block on slice 0 of target 0 on controller 1 of the platform where the command is being run, use:
example# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/c1t0d0s0
/usr/platform/platform-name/lib/fs/ufs
directory where ufs boot objects reside.
/platform/platform-name/ufsboot
second level program to boot from a disk or CD
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
od(1), uname(1), boot(1M), init(1M), kadb(1M), kernel(1M), monitor(1M), reboot(1M), rpc.bootparamd(1M), init.d(4), attributes(5)
WARNINGS
The installboot utility fails if the bootblk or openfirmware files do not exist or if the raw disk device is not a character device.
11 Apr 2005 installboot(1M)