The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 07-31-2007
son_t son_t is offline
Registered User
 

Join Date: Jul 2007
Posts: 15
Reading raw disk on Solaris

Hello

I wonder if someone could help me in reading a raw (non-Solaris) disk on a Solaris system...

I have an IDE HDD in my Sun Blade and would like to read it (using C). It appears on the system and with the format command shows up as c0t1d0.

I use the dd command to read the disk as such:

rhino# dd if=/dev/dsk/c0t1d0s0 bs=1 skip=0 count=1024
dd: /dev/dsk/c0t1d0s0: open: I/O error
rhino# dd if=/dev/dsk/c0t1d0s2 bs=1 skip=0 count=1024
dd: /dev/dsk/c0t1d0s2: open: I/O error

but as you can see I get an error.

How do I read a raw, unformatted, non-Solaris disk in my Solaris box?

Any ideas appreciated...
Reply With Quote
Remove advertisements
!!
Forum Sponsor