LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2008, 06:33 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Rep: Reputation: 51
Hard Disk partitioning??


In My RHEL 4.0 System I can see two disk : /dev/sda and /dev/sdb(each of 1199GB size)
I want to make four 200 GB partitions on that hard disk for my required project.
I tried out the following but donno how gonna I make it happen:
Code:
node1# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


The number of cylinders for this disk is set to 145891.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help):

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-145891, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-145891, default 145891): +200G

Command (m for help): p

Disk /dev/sdb: 1199.9 GB, 1199997728768 bytes
255 heads, 63 sectors/track, 145891 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       24316   195318238+  83  Linux

Command (m for help):
Is it the correct way to create 200GB partition further in the same way?

Pls Help
 
Old 08-08-2008, 06:38 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
It looks ok but I am not sure if this +200G is supported. I always partition with sizes in MB.
But else everything is fine. You just need to format it using mke2fs.
 
  


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
Hard disk partitioning strunal Linux - Newbie 6 11-15-2007 09:18 AM
hard disk partitioning bong.mau Linux - General 6 04-11-2007 12:06 AM
Hard disk partitioning Michael Davont Fedora - Installation 3 01-15-2005 09:26 AM
Partitioning a hard disk humanrig Linux - Hardware 2 03-15-2004 07:38 AM
hard disk partitioning autorun Linux - General 7 10-09-2002 08:18 AM


All times are GMT -5. The time now is 05:41 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