Re: How do I label a disk?

From: _moray (moray1.spam_at_yahoo.com)
Date: 06/06/05


Date: Mon, 06 Jun 2005 12:46:54 +0200

Andrew Gabriel wrote:
> In article <HgJoe.14773$TR5.7214@news.edisontel.com>,
> _moray <moray1.spam@yahoo.com> writes:
>
>>Hi all,
>>
>>I recently purchased a refurbished Ultra60, it works very well and it
>>doesn't seem to have any problem so far.
>>During my tests I installed on this machine netbsd, solaris and linux
>>(gentoo), now I am going to definitely install solaris but I have this
>>problem with both the disks installed.
>>
>>When I first installed solaris I had to install it on the second drive
>>because the installer was complaining about a missing label on the first
>>disk (yes, I tried to label it with format with no results :(), then I
>
>
> Well, it really does help to say exactly what you typed in and
> exactly what the results were. There are a number of things
> which could be wrong ranging from you mistyping a command, through
> to a dead disk. You haven't provided enough information to say
> which it is.
>

I tried to label it with the format command:
# format
<select disk>
format> label

I also tried adjusting the partitions with
format> partition
and then relabel it.

At the moment here is the output of format (partitions of the first disk):

partition> print
Volume: solaris
Current partition table (original):
Total disk sectors available: 35362115 + 16384 (reserved sectors)

Part Tag Flag First Sector Size Last Sector
  0 root wm 34 128.00MB 262177
  1 swap wu 262178 128.00MB 524321
  2 unassigned wm 0 0 0
  3 unassigned wm 0 0 0
  4 unassigned wm 0 0 0
  5 unassigned wm 0 0 0
  6 usr wm 524322 16.61GB 35362114
  8 reserved wm 35362115 8.00MB 35378498

partition>

>
> That command doesn't go anywhere near the disk, it
> just creates an 8k file of nulls. Try:
>
> dd if=/dev/zero of=/dev/rdsk/c0t0d0s2 bs=8k count=1
>
>

# dd if=/dev/zero of=/dev/rdsk/c0t0d0s0 bs=8k count=1
WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd2):
        primary label corrupt; using backup

1+0 records in
1+0 records out

And then? format still reports the same partition table, but it also says:

selecting c0t0d0: solaris
[disk formatted]
Reading the primary EFI GPT label failed. Using backup label.
Use the 'backup' command to restore the primary label.

What are the steps to clean a disk so I can start over the installation?

thnx

Ciro.



Relevant Pages

  • Windows on Mac - how to.
    ... No-nonsense instructions for those "in the know". ... A custom slipstreamed CD is required to install XP on a Mac. ... This procedure WILL WIPE YOUR iMAC DISK CLEAN. ... Partition the disk in two using the OSX CD: ...
    (uk.comp.sys.mac)
  • Re: xp on intel Mac from usb stick?
    ... Would it be possible to run windows xp native from a usb stick? ... A custom slipstreamed CD is required to install XP on a Mac. ... partition managers but if you're feeling adventurous you may ... This procedure WILL WIPE YOUR iMAC DISK CLEAN. ...
    (comp.sys.mac.apps)
  • Re: No Driver Required?
    ... I've tried F disk and it only showed ... > I deleted the C partition and tried formatting but still can't get ... How do I format the whole ... If your Windows install media doesn't include XP SP1 or SP2 then ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Panasonic HD Recorders - What disk format?
    ... The earlier part of this is more about what may be Linux partitioning, ... might be possible to present the recorder with a larger disk already ... Most DOS/Windows utilities such as FDisk, Ghost, and Partition Magic Pro ... prompts to format it. ...
    (alt.os.linux)
  • Re: Cant find Hard disk
    ... Computer> Manage> Computer Management> Disk Management. ... Now you must partition and format your new drive. ...
    (microsoft.public.windowsxp.hardware)