Visit Our UNIX and Linux User Community


Partioning of Disks on Red Hat Linux

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Partioning of Disks on Red Hat Linux
# 1  
Old 04-09-2010
Partioning of Disks on Red Hat Linux

Hello

I have two disks on Red Hat Linux box. Disk one has been installed Linux Operating system.

The disk two has been partitioned as one disk with 100 GB on the partition /dev/hda1.

Right now, I want to modify it as 5 partitions.
I like to partition disk 2 into 5 partitions.

One will be using the same partition as /dev/hda1 with about 20 GB ,
remaining /dev/hda2 with about 20GB , /dev/hda3 with about 20GB , /dev/hda4 with 20GB , /dev/hda5 with 20GB , /dev/hda6 with 20GB

Could you please help me on necessary steps using FDISK or mkfs or what commands need to be used with options.




Regards
Lukas
# 2  
Old 04-09-2010
You can use fdisk (fdisk /dev/(device name without any numbers)

then m brings up the menu and that may help from there


another option, if you have it, is parted or gparted. That may help at this point, as it is graphical and could assist you with how you would like to partition

One thing to consider, is that you are only allowed 4 primary partitions. You broke convention with your implementation, using /dev/hda4 as a data partition
You can use an extended partition, which technically, uses a primary partition to create a container for logical partitions.
You would have /dev/hda1, hda2, hda3 (hda4 would be the remaining disk, but unused) then hda5 and onward would be logical partitions that are contained in hda4.

This may help

Large Disk HOWTO: Extended and logical partitions
# 3  
Old 04-10-2010
Partitioning of Harddisks on Linux Platform

Hello

Using Fdisk command we created Partitions.Are these partitions created called Raw Partitions.

Code:
[root@localhost ~]# fdisk /dev/sda
Command (m for help): p
Command (m for help): n
First cylinder (28569-38913, default 28569):
Using default value 28569
Last cylinder or +size or +sizeM or +sizeK (28569-38913, default 38913): +40000M
Command (m for help): n
First cylinder (28935-38913, default 28935):
Using default value 28935
Last cylinder or +size or +sizeM or +sizeK (28935-38913, default 38913): +40000M


Could you please tell us more on Creation of Raw Partitions


Regards
Lukas

Last edited by pludi; 04-10-2010 at 11:03 AM.. Reason: code tags, please...

Previous Thread | Next Thread
Test Your Knowledge in Computers #931
Difficulty: Medium
64-bit computer system storage allocation for timekeeping will allow them to represent dates more than 300 billion years into the future.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

How to download Red Hat Linux 7?

Pls help me where i can download linux 7 installations (7 Replies)
Discussion started by: ded325
7 Replies

2. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies

3. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

4. Linux

login in red hat linux

Hi, I have got a very simple, but unresolved problem. I am trying to login in Red Hat Linux here. However the login shell is mentioned as csh in /etc/passwd file. I am unable to make out which file is executed on login - .bash_profile ? There is no file like .bash_login or .bash_tshrc.... (3 Replies)
Discussion started by: asutoshch
3 Replies

5. Linux

Partioning Disks In Linux

Hi, group Just wondering suppose you have linux already installed & now you get a new disk so that your computer has two disks. How do you go about partitioning/slicing the new disk in linux ? which utility do you use ? Regards (4 Replies)
Discussion started by: Msororaji
4 Replies

6. Red Hat

RAID on Red Hat Linux 7.2

Hi all I have an old Compaq DL380 (G1) server with 4 hard disks. It is running Red Hat Linux 7.2 One of the disks died. I didn't build the box myself. How would I determine if software RAID was configured? I had a look a /etc/fstab, but it's only referring to ida/c0d0 The... (3 Replies)
Discussion started by: soliberus
3 Replies

7. Linux

Red Hat Linux 9

Hello there! Will anybody please tell me some good links to online eBooks on Red Hat Linux 9 user experiences and the like. If the books are in PDF Format, it will be nice to read. Thanks for cooperation in advance. Enjoy using open source and breathe freely! JAM (5 Replies)
Discussion started by: Jawwad
5 Replies

8. UNIX for Dummies Questions & Answers

XP to Linux (Red Hat)

I have a PC running XP, and I have a PC that dual boots W2K and Red Hat Linux 7.3. I have the two connected via crossover cable, and the two can access each other when both are running windows. If I were to boot up Linux, can my XP PC telnet to the Linux PC? Any pointers or websites to... (3 Replies)
Discussion started by: lawadm1
3 Replies

9. UNIX for Dummies Questions & Answers

Slackware's Linux 3.0 VS Red Hat Linux 7.x

Hello guys, I got overzealous (I Think). I got the book Linux Unleashed that comes with the Slackware 3.0 Version of Linux for $2.00.I also have Red Hat Linux 7.2 (No book, just the OS).What I wanted to know was,other than the bells and whistles of Red Hat is there any significant difference... (2 Replies)
Discussion started by: perrylx
2 Replies

10. UNIX for Dummies Questions & Answers

Red Hat Linux 6.0

Ok here is my problem i do not know the command to load a driver for my network card in Ted hat linux 6.0 could sombody give me a hand. and if there is anyone that has a list of commands for red hat that would be great also (2 Replies)
Discussion started by: bbutler3295
2 Replies

Featured Tech Videos