PDA

View Full Version : Disc manager or How make partition?


Igoraus
2004-08-18, 06:08 AM CDT
I goot new disc, now what I must do to putt my new disc into box and make partition in Linux FC2.

I know how to open box and connect all nessery cable's.
And I know for command fdisk but on my Linuxbox that command:
[root@sbin]# fdisk
bash: fdisk: command not found

Is there some GUI disc manager or partition maker?
Or is there any app for making partitions or expand disc capasity ?

Sorry for bad Eanglish :o

tashirosgt
2004-08-18, 07:39 AM CDT
You were in the /sbin directory when you typed the command. Try putting a dot before the command like:
./fdisk
Or be in a different directory and and use the full path:
/sbin/fdisk

When it runs, fdisk will tell you that you need to give it the name of the device for the hard drive.

Igoraus
2004-08-18, 08:22 AM CDT
Is there any ather tull for managing partitions??

tashirosgt
2004-08-18, 08:49 AM CDT
There are gui tools for partitioning, but I have never used them.
http://part-gui.sourceforge.net/
http://qtparted.sourceforge.net/

triplehead
2004-08-18, 12:29 PM CDT
parted is ok command line utility, but does not have suport for ext3 (only ext2).
with mkfs you can make filesystems on existing partitions

crackers
2004-08-18, 08:23 PM CDT
Once you have an ext2 partition, you can "convert" it to ext3 easily enough with "mkfs.ext3" - see man mkfs.ext3.

AliOop
2004-08-19, 12:23 AM CDT
I just installed Slackware (please forgive me) on a testbox. I had to learn how to use fdisk or cfdisk in order to partition my HD. Went to a Slackware forum and asked for some assistance in learning how to use fdisk/cfdisk. I received these two links. They were very good in helping me understand how to use these programs. I ended up using fdisk only because I understood the instructions better. I've since used it at least four time on the same box. Very clear instructions on how to use them. Hope you find them helpfull.

http://www.linuxselfhelp.com/HOWTO/IBM7248-HOWTO/cfdisk.html

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=4

P.S. By the way, the command to start fdisk is "fdisk /dev/hda". M will bring up a menu. P will print (display) your partitions. Go to these links and all will become clear to you. Good luck.

imdeemvp
2004-08-19, 12:28 AM CDT
I goot new disc, now what I must do to putt my new disc into box and make partition in Linux FC2.

I know how to open box and connect all nessery cable's.
And I know for command fdisk but on my Linuxbox that command:
[root@sbin]# fdisk
bash: fdisk: command not found


this is the correct command:
[imdeemvp@localhost imdeemvp]$ /sbin/fdisk -l

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 6374 51199123+ 7 HPFS/NTFS
/dev/hda2 6375 8541 17406427+ c W95 FAT32 (LBA)
/dev/hda3 8542 8554 104422+ 83 Linux
/dev/hda4 8555 14593 48508267+ f W95 Ext'd (LBA)
/dev/hda5 8555 14463 47464011 83 Linux
/dev/hda6 14464 14593 1044193+ 82 Linux swap
[imdeemvp@localhost imdeemvp]$

Igoraus
2004-08-19, 03:51 AM CDT
ok, I'm make partition /dev/hdc1 on my disk 200 GB with command:
./fdisk /dev/hdc
now I'm ascing you how to format that partition...

Thenx for all replay's

i1n2d3y4
2004-08-19, 04:20 AM CDT
use mkfs.ext2 or mkfs.ext3 depending upon which kind of file system you want to make.

You can check the manual for mkfs by typing "man mkfs" at the prompt (of course don't type the quotes)

Igoraus
2004-08-19, 05:08 AM CDT
when I goot new disk what is order
1.fdisk (to make partition)
2.mkfs.ex3 (decide of file system)

or
1.mkfs.ex3 (decide of file system)
2.fdisk (to make partition)

confused

Igoraus
2004-08-19, 05:38 AM CDT
Now last question:

This is my new disk:
Disk /dev/hdc: 203.9 GB, 203927060480 bytes
255 heads, 63 sectors/track, 24792 cylinders, total 398295040 sectors
Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 63 398283479 199141708+ 83 Linux



How to update /etc/fstab to mount partition to folder /Muzik, so after reboot will my disk in that folder???

a'm tray something but when reboot linuxbox woun't star

Igoraus
2004-08-19, 06:52 AM CDT
I read
man mount

and foun all ansers

thenx to all you linuxpeople




[QUOTE]