LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-18-2005, 01:26 AM   #1
ashlesha
Member
 
Registered: May 2005
Location: PA
Distribution: Ubuntu
Posts: 204

Rep: Reputation: 30
Question creating partitions and file systems on Solaris 8


Hi,

I want to create partitions and install multiple file systems on them in Solaris 8.
I ve checked out the man pages for fdisk, but still havent got the cmd to function accordingly..any pointers to how i can do this?
 
Old 05-18-2005, 08:33 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,731

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
Can you elaborate about what kind of partitions you want to create.
 
Old 05-19-2005, 12:44 AM   #3
ashlesha
Member
 
Registered: May 2005
Location: PA
Distribution: Ubuntu
Posts: 204

Original Poster
Rep: Reputation: 30
I tried creating a solaris partition..im basically learning solaris administration..
when i give the name of my hard disk it gives an error, saying device cant be opened!

another q is: what is the equivalent of /etc/login.defs in Solaris 8?
and how exactly does the useradd -D work..
i gave the opns for which i wanted default values eg. useradd -D -g -b user1 but it gives a syntax error!
tried giving names/numbers of the groups/GIDs and specified a home dir too, but it refuses to comply!!
 
Old 05-19-2005, 04:54 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,731

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
On what platform ? SPARC or x86 ?
Are you talking about fdisk partitions or Solaris slices ?
Quote:
when i give the name of my hard disk it gives an error, saying device cant be opened!
When you give the name to what ?

Quote:
another q is: what is the equivalent of /etc/login.defs in Solaris 8?
I guess its functionalities are in some of the /etc/default/* files.
Quote:
useradd -D -g -b user1 but it gives a syntax error!
There is indeed an syntax error in the command you show.
Try "man useradd" for hints.
 
Old 05-23-2005, 03:58 AM   #5
ashlesha
Member
 
Registered: May 2005
Location: PA
Distribution: Ubuntu
Posts: 204

Original Poster
Rep: Reputation: 30
hi,

its a sparc system...
i want to create fdisk partitions..i tried giving the name of my hard disk to the fdisk command..

useradd -D option worked finally

thanks,
 
Old 05-23-2005, 06:46 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,731

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
Are you trying to create an fdisk partition on a local disk or a removable one (usb) ?
 
Old 05-26-2005, 02:06 AM   #7
ashlesha
Member
 
Registered: May 2005
Location: PA
Distribution: Ubuntu
Posts: 204

Original Poster
Rep: Reputation: 30
on a local disk.

I have another query:

I want to change vimrc so that i can use the backspace key to delete text. How do i do that?
 
Old 05-26-2005, 02:38 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,731

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
You can't have fdisk partition on a SPARC local disk, as they are meant to let coexist other x86 OSes. See "man fdisk"

About vimrc, no idea, I never use vim, but you should start a new thread with that question, and probably post it in another forum, as this isn't Solaris specific.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need suggestions on creating proper file systems marc1978 Linux - General 4 10-23-2005 06:25 PM
Which file systems does Solaris 10 support? Eerath Solaris / OpenSolaris 4 07-25-2005 08:19 AM
How to resize solaris partitions? subaruwrx Solaris / OpenSolaris 2 08-23-2004 06:55 AM
Solaris 9 for x86 systems cmf5150 Solaris / OpenSolaris 5 08-19-2003 01:39 AM
Solaris 9 for x86 systems cmf5150 Linux - Newbie 1 08-07-2003 11:13 PM

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

All times are GMT -5. The time now is 06:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration