LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-23-2007, 02:40 PM   #1
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
disc partition naming


how does solaris name its disk partitions?

i want to install solaris on my box to try it out,

the partition i have for it is /dev/sda6 under linux,

but solaris uses differnt drive names,

waht would sda6 become under solaris?
 
Old 05-23-2007, 03:37 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by dasy2k1
how does solaris name its disk partitions?
Solaris uses a predictive and descriptive scheme to name disks and partitions.
It can be split in controller, target is SCSI/USB, disk number and partition or slice number.
Quote:
i want to install solaris on my box to try it out,

the partition i have for it is /dev/sda6 under linux,
Unfortunately, this won't work.
sda6 can't be but an extended partition while Solaris requires a primary partition (one of sda1 to sda4 in your case).

Last edited by jlliagre; 05-23-2007 at 03:39 PM.
 
Old 05-24-2007, 03:25 AM   #3
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Original Poster
Rep: Reputation: 36
great, all of those are taken! though if i moove the stuff on sda1 to sda6 i coyudl use sda1

provided i do that, what should i choose on the installation menu to get it instlled there?
 
Old 05-24-2007, 03:55 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Something like "c0t0d0p1".

As you aren't familiar with the Solaris installer, I would strongly suggest you to backup any important data in your disk. A mistake in your answers may wipe your disk ...
 
Old 05-24-2007, 10:27 PM   #5
bru
Member
 
Registered: Sep 2003
Location: South Carolina
Distribution: Ubuntu, CentOS, BT4, Debian
Posts: 132

Rep: Reputation: 15
dasy2k1,

I have no idea how to dual boot Linux and Solaris, but here is some important information regarding how Solaris handles partitions.


c0t0d0s0
Controller 0 Target 0 disk 0 slice 0

This is the first slice (read partition) on the drive

c0t0d0s2
This is the whole disk, not a partition. Very important to know.

So taking that you have a single IDE drive on your primary IDE controller on your Primary channel ...

c0: the first controller
t0: the 1st target (slave on the first controller is t1)
d0: disk number ALWAYS 0 for IDE
s0->7: The slice or partition, 2 is ALWAYS reserved for the entire disk
0: is usually assigned to the ROOT partition
1: is usually the SWAP partition
2: IS the entire disk
3: is usually /var
4: (can't remember for the life of me)
5: is /opt or optional software
6: is usually /usr
7: is usually /export/home

And if you are using SCSI ...


c0: the first controller
t?: boot disks are t0
non-boot disks are t1->t3
tape devices are t4 & t5
CDROMs are t6
"next in line" is t7
d0: disk number; quite often d0 with SCSI devices, but not always
s0->7: The slice or partition, 2 is ALWAYS reserved for the entire disk
0: is usually assigned to the ROOT partition
1: is usually the SWAP partition
2: IS the entire disk
3: is usually /var
4: (can't remember for the life of me)
5: is /opt or optional software
6: is usually /usr
7: is usually /export/home


As far as which controller is deemed the 1st controller, that is up to the hardware architecture, read dependent on the motherboard.


Hope this helps, or at least make you scratch your head for a while.

Also suns document sight and BIG ADMIN are great sites. (docs.sun.com & sun.com/bigadmin)

HTH,
 
Old 05-25-2007, 04:01 AM   #6
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Original Poster
Rep: Reputation: 36
so the first partition on my sata HDD is likly to be

c1t0d0s0

and my CD rom (on the master IDE (i only have one channel)
is likly to be

c0t0d0s2 ?
 
Old 05-25-2007, 09:00 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
No, bru information is only correct with SPARC hardware where the internal disks do not have to comply with the PC MBR partitioning model. SPARC disks do not have an MBR nor a primary partition table with four entries. The remaining partitioning in slices is still valid with x86 (s0, s1, s2 and so on). The difference is s2 doesn't represent the whole disk but only the whole Solaris partition minus the label.

Your first internal SATA disk partition is likely to be c0d0p1, and your CD drive may be something like c1t0d0p0.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with partition for a usb external disc alek66 Linux - General 3 06-27-2006 08:33 AM
Is there a way to have grub translate its own naming to naming scheme under Linux zhjim Linux - Software 6 05-28-2006 08:09 AM
mail server the naming naming convention problem kashan Linux - Newbie 0 07-16-2004 02:08 PM
Lilo and second partition in second disc arubin Linux - Newbie 4 04-29-2004 06:56 AM
Two questions: Old hardware(486) and partition-naming. Megamieuwsel *BSD 2 04-27-2004 04:06 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration