Can i create pcfs partition using sun solaris 10 ?


 
Thread Tools Search this Thread
Operating Systems Solaris Can i create pcfs partition using sun solaris 10 ?
# 1  
Old 03-23-2006
Can i create pcfs partition using sun solaris 10 ?

Can i use the sun solaris 10 to create Fat32 partition ? and i have another question im so confused between format command an fdisk within it, and mkfs and newfs, well what i got is that i have to use format to create partition physcially in my hard disk then i have to use mkfs or newfs (which is a link to mkfs) i have to use it to format the partition with the file system which i want but again why the size ?!, well lets assume that i have a brand new harddisk and i attached it in my sun solaris box, now i want to make it two slices one FAT 32 and the other one is UFS what i have to do, step by step.
# 2  
Old 03-23-2006
For FAT32 - from Sunsolve:
Quote:
# fdisk /dev/rdsk/c5t0d0s2

SELECT ONE OF THE FOLLOWING:

1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Exit (update disk configuration and exit)
5. Cancel (exit without updating disk configuration)
Enter Selection: 1

SELECT ONE OF THE FOLLOWING:

1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Exit (update disk configuration and exit)
5. Cancel (exit without updating disk configuration)
Select the partition type to create:
1=SOLARIS 2=UNIX 3=PCIXOS 4=Other
5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG
9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32
D=FAT32LBA E=DOSEXTLBA 0=Exit? D or C <-- D or C is valid

SELECT ONE OF THE FOLLOWING:

1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Exit (update disk configuration and exit)
5. Cancel (exit without updating disk configuration)
Select the partition type to create:
Specify the percentage of disk to use for this partition
(or type "c" to specify the size in cylinders). 100 <-- percentage

SELECT ONE OF THE FOLLOWING:

1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Exit (update disk configuration and exit)
5. Cancel (exit without updating disk configuration)
Select the partition type to create:
Should this become the active partition? If yes, it will be activated
each time the computer is reset or turned on.
Please type "y" or "n". y

SELECT ONE OF THE FOLLOWING:

1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Exit (update disk configuration and exit)
5. Cancel (exit without updating disk configuration)
Enter Selection: 4

#

This is what it would look like if you reran fdisk.

Cylinders
Partition Status Type Start End Length
%
========= ====== ============ ===== === ====== ===
1 Active Win95 FAT32 1 30400 30400 100

Partition 1 is now the active partition.

4.) At this point you need to create the FAT32 file system.

# mkfs -F pcfs -o fat=32 /dev/rdsk/c5t0d0s2:c
Construct a new FAT file system on /dev/rdsk/c5t0d0s2:c: (y/n)? y

Depending on the disk it could take anywhere from a 1min to 15.
250GB took about 15min
#

5.) Mount the drive.

# mount -F pcfs /dev/dsk/c5t0d0s2:c /mnt
#
# ls -ld /mnt
drwxrwxrwx 1 root other 4096 Dec 31 1969 /mnt
# cp /etc/release /mnt
# ls /mnt
release
#
# cat /mnt/release
Solaris 8 2/04 s28s_hw4wos_05a SPARC
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
Assembled 08 January 2004
#
And to create a UFS filesystem out of free non-partitioned space (this isn't the normal procedure)
Quote:
A single hard disk should contain only one active Solaris partition. However, it is possible to convert non partitioned disk space on the same hard disk for use with Solaris x86. Use the following procedure at your own risk. This is not guaranteed to work on all systems.
Document Body Top

Instructions for making additional UNIX file systems.

You can have up to 4 fdisk partitions per hard drive, but only one can be used for Solaris x86.

However, it is possible to create UNIX file systems on other fdisk partitions that are mountable by Solaris x86.

These partitions cannot be subdivided into slices the way the main Solaris partition is.

You can have only one filesystem on each additional fdisk partition.

WARNING: USE THIS PROCEDURE AT YOUR OWN RISK. IT IS NOT OFFICIALLY TESTED OR DOCUMENTED.

IF THERE IS AN ERROR IN YOUR CALCULATIONS YOU COULD INADVERTENTLY DESTROY ADJACENT FDISK PARTITIONS.

fdisk /dev/rdsk/c#t#d#p0 (for a SCSI drive) or fdisk /dev/rdsk/c#d#p0 (for an IDE drive) (where # is filled in for the device you are using)

Create a new partition of type "OTHER". Get the length from the length field for this new partition. The following example uses partition

#3 for Solaris x86 with a length of 515 cylinders.

-Take note of the cylinder size. The line for this info is worded:

"Cylinder size is 896 (512 byte) blocks"

-Now multiply the fdisk length (515) and cylinder size (896).

896 * 515 = 461440 bytes

-Create UNIX ufs filesystem on new partition

mkfs -F ufs /dev/rdsk/c#t#d#p3 461440 (for a SCSI drive) or mkfs -F ufs /dev/rdsk/c#d#p3 461440 (for an IDE drive)

Change this to whatever partition number is used.

Now you have a UFS file system that you can mount at /dev/dsk/c#t#d#p3 (for a SCSI drive) or /dev/dsk/c#d#p3 (for an IDE drive).
# 3  
Old 03-23-2006
Thanks so much RTM you are always helpful, but as i thought there is something defferent with Solaris X86.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

2. UNIX for Dummies Questions & Answers

Create a raw partition

Hi, I had created a primary partition (/dev/sda3) and made ext3 file system on it. then mounted it on a directory and touch a file (x) into this partition. however, I want to remove this partition and recreate it as an empty partition. so I used 'd' in fdisk command and delete that partition.... (3 Replies)
Discussion started by: Siavash sh
3 Replies

3. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

4. Shell Programming and Scripting

Not able to create alias in bash Sun solaris

Hello Friends, I am facing problem in creating aliases. I am working in SunOS 5.10. When I login in system i have been given ksh shell. What i am doing is that ? I am changing shell to bash then I am creating 2 alias in command prompt like: alias deploy_dir=' cd... (4 Replies)
Discussion started by: krsnadasa
4 Replies

5. Solaris

Create Unix printer in sun Solaris

Guy's Can anyone explain how to Create Unix printer in Solaris what's the exact steps to create Unix direct printer ? (3 Replies)
Discussion started by: Mr.AIX
3 Replies

6. UNIX for Dummies Questions & Answers

create new partition

My Linux system's disk is partitioned as follows: center; 1 | 1 | 1 . DEVICE MOUNT POINT SIZE _ hda1 / 100Mb hda5 /usr2048Mb hda6 /home 10Mb hda7 /var512Mb hda8 swap 12Gb There is 4Gb of unpartitioned free space remaining on the disk (in the logical extended partition) The /usr partition... (2 Replies)
Discussion started by: semaphore
2 Replies

7. Solaris

How to Create New Partition

Hi there Background: New to Solaris - installed VM Ware on a vista laptop, then installed Solaris 10 using ISO file. My aim, is to get to stage where I can install Oracle 11g Database. Question: See attached file. Simple question, how do I create a new partition say called "Oracle" 30G in... (11 Replies)
Discussion started by: Ackers
11 Replies

8. UNIX for Dummies Questions & Answers

Sun Solaris 10: How do I create a bootup disc? The Sun website confuses me

Hey there, I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Discussion started by: Jupiter
0 Replies

9. Linux

how to create new partition in Linux

i want to create on directory called /data under "/ " . but when i m using mkdir /data it is telling permission denied. could any one tell me how to do it ? (1 Reply)
Discussion started by: useless79
1 Replies

10. Solaris

[help] create partition for /data

hi experts, i had installed and do mirroring with sun solaris 8 v890 sparc, i had forget to make a partition for directory /data, i have 6 hard drive with disk0 mirror disk1(for root,var,opt,etc) ,disk2 mirror disk3(for /data2) and disk4 mirror disk5(for /data3), how to make a new partition for... (2 Replies)
Discussion started by: bucci
2 Replies
Login or Register to Ask a Question