03-27-2010
Help:"Bad checksum in disk label" and "Can't open disk label package"?
Hello,
I'm brand new to Sun/Solaris.
I have a Sun Blade 150, with SunOS 5.8.
I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk on a desktop PC, and used Norton Ghost for DOS, the disk was recognized but once again not the file volume, so I wasn't able to make a disk backup, and I quit.
Put back the disk on the Sun Blade 150 PC, and then I was unable to startup the PC, showing the message "Bad checksum in disk label" and "Can't open disk label package".
What's wrong?
How can I solve this?
I need the data that's inside the hard-disk, so I cannot make a clean install, and how to boot from cd in this case (boot cdrom doesn't work)
Thanks for any help,
8 More Discussions You Might Find Interesting
1. Solaris
I tried rebooting my Sun server just a few minutes ago and I got the following at boot:
--
Sun Fire 280R (UltraSPARC-III+) , No Keyboard
Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.5, 1024 MB memory installed, Serial #xxxxxxxxx
Ethernet address... (6 Replies)
Discussion started by: deckard
6 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
3. Shell Programming and Scripting
Hallo,
i need a Prompting read in my script:
read -p "Enter your command: " command
But i always get this Error:
-p: is not an identifier
When I run these in c-shell i get this error
/usr/bin/read: read: bad option(s)
How can I use a Prompt in the read command? (9 Replies)
Discussion started by: wiseguy
9 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
6. Shell Programming and Scripting
Hi All,
i am trying to ssh to a remote machine and execute certain command to remote machine through script.
i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as
expect: spawn id exp5 not open
while executing
"expect "$" {... (3 Replies)
Discussion started by: Siddharth shivh
3 Replies
7. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
8. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT NETBSD
sunlabel
SUNLABEL(8) BSD System Manager's Manual SUNLABEL(8)
NAME
sunlabel -- read or modify a SunOS disk label
SYNOPSIS
sunlabel [-mnqs] device
DESCRIPTION
sunlabel reads or modifies a SunOS disk label on device, which is used by the PROM on NetBSD/sparc hardware to find partitions to boot from.
sunlabel only reads/writes the first 512 bytes of device.
The supported options are:
-m Ignore an incorrect magic number in the disk label.
-n Synthesize a new label rather than reading what is there.
-q Quiet mode - don't print unnecessary babble (currently this suppresses the ``sunlabel>'' prompt).
-s Ignore checksum errors when reading the label.
Note that -m is dangerous, especially when combined with -s, since it will then happily believe whatever garbage it may find in the label.
When using these flags, all values should be checked carefully, both those printed by L and the partition table printed by P.
sunlabel prints a prompt ``sunlabel>'' and expects commands. The following commands are understood:
? Show a short help message.
[abcdefghijklmnop] <cylno> <size>
Change partition (see below).
L Print label, except for the partition table.
P Print the partition table.
Q Quit program (error if no write since last change).
Q! Quit program (unconditionally) [EOF also quits].
S Set label in the kernel (orthogonal to W).
V <name> <value> Change a non-partition label value.
W Write (possibly modified) label out.
The a through p commands will accept, for the <size> parameter, the nnn/nnn/nnn syntax used by SunOS 4.x format. (For those not familiar
with this syntax, a/b/c means a cylinders + b tracks + c sectors. For example, if the disk has 16 tracks of 32 sectors, 3/4/5 means
(3*16*32)+(4*32)+5=1669. This calculation always uses the nsect and ntrack values as printed by the L command; in particular, if they are
zero (which they will initially be if -n is used), this syntax is not very useful. Some additional strings are accepted. For the <cylno>
parameter, ``end-X'' (where X is a partition letter) indicates that the partition should start with the first free cylinder after partition
X; ``start-X'' indicates that the partition should start at the same place as partition X. For the <size> parameter, ``end-X'' indicates
that the partition should end at the same place as partition X (even if partition X ends partway through a cylinder); ``start-X'' indicates
that the partition should end with the last cylinder before partition X; and ``size-X'' means that the partition's size should exactly match
partition X's size.
Note that sunlabel supports 16 partitions. SunOS supports only 8. Labels written by sunlabel, when partitions i through p are all set
offset=0 size=0, are identical to Sun labels. If any of the ``extended'' partitions are nontrivial, information about them is tucked into
some otherwise unused space in the Sun label format.
The V command changes fields printed by the L command. For example, if the L command prints
ascii: ST15230N cyl 5657 alt 2 hd 19 sec 78
rpm: 0 pcyl: 0 apc: 0 obs1: 0
obs2: 0 intrlv: 1 ncyl: 5657 acyl: 0
nhead: 19 nsect: 78 obs3: 0 obs4: 0
then V ncyl 6204 would set the ncyl value to 6204, or V ascii Seagate ST15230N cyl 5657 hd 19 sec varying would set the ascii-label string to
that string. sunlabel performs very few consistency checks on the values you supply, and the ones it does perform never generate errors,
only warnings.
AUTHORS
der Mouse <mouse@rodents.montreal.qc.ca>
BUGS
It may be that the space in the label where the information for the extended partitions is saved is used by SunOS.
Not very many consistency checks are done on the V arguments, and those only produce warnings.
NetBSD doesn't support 16 partitions in a Sun disk label yet.
BSD
December 21, 2002 BSD