| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 38888 | 2003-10-21 05:32:00 | Partitioning a HDD in RedHat9 | nz_liam (845) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 185390 | 2003-10-21 10:35:00 | You will find "cfdisk" much nicer to work with. If you have a hunt around RH probably has a graphical tool. I know mandrake does. |
bmason (508) | ||
| 185391 | 2003-10-21 10:57:00 | fdisk should be there, have to log in as root su -l /sbin/fdisk |
rsnic (3780) | ||
| 185392 | 2003-10-21 11:17:00 | > fdisk should be there, have to log in as root > su -l > /sbin/fdisk Your right, it is there, however when I navigate into the sbin directory and type 'fdisk' or fdisk '/dev/hdc' I get the command not found error, strange. Gotta hit the sack now anyways, as I have lectures early in the morning (think they start @ 10). Cheers Liam. |
nz_liam (845) | ||
| 185393 | 2003-10-21 19:34:00 | QTParted is another app that's supposed to be a sort of "Partition Magic" Clone for linux :-) | Chilling_Silently (228) | ||
| 185394 | 2003-10-21 20:27:00 | > QTParted is another app that's supposed to be a sort > of "Partition Magic" Clone for linux :-) What a damm kick-ass tool, I downloaded the rpm (erkan.geleceklinux.org) and within a matter of seconds I had my drive partitioned, cool :):):) |
nz_liam (845) | ||
| 185395 | 2003-10-21 20:47:00 | OK, so now my drive is patitioned correctly, /dev/hdc1 is now a 150GB Ext3 partition, set as Active, now I just need to add the correct info the the /ect/fstab file, so that it will mount at bootup, (however im a little unsure about what exactily to add). My /etc/fstab fill currently looks like:LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda3 swap swap defaults 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 Any suggestions? Cheers Liam |
nz_liam (845) | ||
| 185396 | 2003-10-22 01:39:00 | What is the device (/dev/hdbXYZ?) and where are you mounting it? | Chilling_Silently (228) | ||
| 185397 | 2003-10-22 01:59:00 | Liam ... I see you had problems with paths in trying to use fdisk. Of course it was there. But when you did "su" to be root, you weren't getting the root's path, which includes /sbin. The user environment is carried over, unless you use "su -". When you went into /sbin, and types "fdisk", it said no file because (for very good reasons) the current directory ('.") isn't in root's path. :D Where do you want to mount this disk? If you decide to call it "/mybigdisk", just mkdir /mybigdisk then the line /dev/hdc1 /mybigdisk ext3 defaults 1 3 in /etc/fstab will get it automatically loaded at boot time, and checked every so often (that's the "1 3"). |
Graham L (2) | ||
| 185398 | 2003-10-22 06:43:00 | Great tool - didn't knwo that one existed. John |
JohnD (509) | ||
| 185399 | 2003-10-22 07:05:00 | > Liam ... I see you had problems with paths in trying > to use fdisk. Of course it was there. But when you > did "su" to be root, you weren't getting the root's > path, which includes /sbin. The user environment is > carried over, unless you use "su -". When you went > into /sbin, and types "fdisk", it said no file > because (for very good reasons) the current > directory ('.") isn't in root's path. :D > > Where do you want to mount this disk? If you decide > to call it "/mybigdisk", just mkdir > /mybigdisk then the line > /dev/hdc1 /mybigdisk ext3 defaults 1 3 > in /etc/fstab will get it automatically loaded at > boot time, and checked every so often (that's the "1 > 3"). Kickass!!! It works. I even made a desktop HDD icon that points to /mnt/MEDIA :):) Linux is great so customizable :D Thanks Graham L and everyone else for all the help you've given me A+ :) Eventually I will migrate my other 160GB HDD over to the linux box, then add another couple of big drives and have myself a kickass server box B-)B-) Thanks again everyone :) nz_liam |
nz_liam (845) | ||
| 1 2 | |||||