Link to home
Start Free TrialLog in
Avatar of taaz
taaz

asked on

Linux Installation

I need to create
/u00   40Gb
/u01  10Gb
/u02  10Gb
what is the command to create teh above
Avatar of parparov
parparov
Flag of United States of America image

Do you need to create the partitions on an existing installation?
Or do you need to make them during the install?
Avatar of taaz
taaz

ASKER

can you give me the commands in
 both scenarios
ASKER CERTIFIED SOLUTION
Avatar of Kerem ERSOY
Kerem ERSOY

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of taaz

ASKER

i installed the linux on vmware.

$ fdisk -i
fdisk: invalid option -- 'i'

Usage:
 fdisk [options] <disk>    change partition table
 fdisk [options] -l <disk> list partition table(s)
 fdisk -s <partition>      give partition size(s) in blocks

Options:
 -b <size>                 sector size (512, 1024, 2048 or 4096)
 -c                        switch off DOS-compatible mode
 -h                        print help
 -u <size>                 give sizes in sectors instead of cylinders
 -v                        print version
 -C <number>               specify the number of cylinders
 -H <number>               specify the number of heads
 -S <number>               specify the number of sectors per track

> $ fdisk -i
> fdisk: invalid option -- 'i'

it is not i(I)  but l (L)

as usage indicates here:

Usage:
 fdisk [options] <disk>    change partition table
fdisk [options] -l <disk> list partition table(s)
 fdisk -s <partition>      give partition size(s) in blocks
Avatar of taaz

ASKER

sorry

fdisk -I  gives the same out put as fdisk -i
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of taaz

ASKER


   fdisk -l

Disk /dev/sda: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000956e8

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          39      307200   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              39        3660    29084672   83  Linux
/dev/sda3            3660        3917     2064384   82  Linux swap / Solaris
[root@localhost tariq]#
Did you put a capital L by mistake?
Avatar of taaz

ASKER

thks
It's a VMWare. That means, you need to assign more drivespace by VMWare host to this Linux. You'll need approximately 64GB more to make the three partitions you wanted.

Then, the easiest way to configure the partitions would be a curses-based partition editor like nparted.
You're welcome.