Sun disklabel ?

root of all evil root at argeas.cs-net.gr
Tue Mar 6 09:07:01 EET 2001


On Mon, Mar 05, 2001 at 11:12:23PM +0200, Christos Ricudis wrote:
> It ain't gonna work - to fdisk toy linux ftiaxnei DOS partitions, oxi BSD
> slices poy 8elei to Solaris. To mono poy mporeis na kaneis apo linux einai
> mount kai read/write Solaris disks.

Gamoto, epiasa adiabasto ton Christo, kai den exw prolabei na kanw promhtheies 
se psomi (twra pou oi fournoi tha gkremistoun) :-)

# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda (Sun disk label): 8 heads, 246 sectors, 9004 cylinders
Units = cylinders of 1968 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
   /dev/sda1             0      2000   1968000   83  Linux native
   /dev/sda2          2000      4000   1968000    0  Empty
   /dev/sda3  u          0      9004   8859936    5  Whole disk
   /dev/sda4          4000      6000   1968000    0  Empty
   /dev/sda5          6000      8000   1968000    0  Empty
   /dev/sda6          8000      9004    987936    0  Empty 
   
Command (m for help): t
Partition number (1-8): 1
Hex code (type L to list codes): L
      
0  Empty            3  SunOS swap       6  SunOS stand     82  Linux swap
1  Boot             4  SunOS usr        7  SunOS var       83  Linux native
2  SunOS root       5  Whole disk       8  SunOS home   

Hex code (type L to list codes): 2
Changed system type of partition 1 to 2 (SunOS root)

Command (m for help): p

Disk /dev/sda (Sun disk label): 8 heads, 246 sectors, 9004 cylinders
Units = cylinders of 1968 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
   /dev/sda1             0      2000   1968000    2  SunOS root
   /dev/sda2          2000      4000   1968000    0  Empty
   /dev/sda3  u          0      9004   8859936    5  Whole disk
   /dev/sda4          4000      6000   1968000    0  Empty
   /dev/sda5          6000      8000   1968000    0  Empty
   /dev/sda6          8000      9004    987936    0  Empty   

> You gotta use format on solaris, alla TI akribws problhma exeis m'ayto?

Oti DEN exw Solaris, alla mia arxaiologia SunOS 4.1.1 se Sparcstation 2, 
pou den blepei diskous me megali geometria. Opote eipa na kanw to slice apo
to Linux mias kai den exw Solaris, kai meta to antistoixo tou format
apo to Sun (BTW poia entoli einai ?)


roryt



More information about the Linux-greek-users mailing list