LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   creating partitions on the fly (https://www.linuxquestions.org/questions/linux-general-1/creating-partitions-on-the-fly-75663/)

p1az 07-24-2003 08:37 PM

creating partitions on the fly
 
After trying RH 9 on a 7.5 gig hd I've decided to go full speed ahead with linux and install it on one of my larger main hds, no dual boot... no xp... I'm going all out. I installed RH 9 perfectly fine, with my /boot, /, and /swap (all with the sizes I wanted). I was unsure how to partition the rest of the drive (so I left it go figuring I could just do it later), so now I have a ton of free space waiting to be used. I want to create additional partitions on the fly (M$ equiv: Disk Management). Is there a happy gui util that I can use to accomplish this? or am I just going to have to suck it up and use fdisk? Theres TONS of documention on partitioning before installs, but I havent found any on after the install. I am a newbie, but I just need pointed in the right direction and I can figure out the rest :)

fancypiper 07-24-2003 08:49 PM

Linux is not Windows, so don't use that mindset. :tisk:

Learn to do things the Linux way if you use Linux.
# Linux filesystem structure
Directory Navigation Help File
Filesystems, Directories, and Devices Help File
Proper Filesystem Layout

fdisk is not to be feared. If you exit with q, nothing happens, so it's easy to chicken out of. Try the command m first.

My partitioning scheme looks like this
Code:

root@uilleann # fdisk -l

Disk /dev/hdc: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes

  Device Boot    Start      End    Blocks  Id  System
/dev/hdc1            1      9729  78148161  83  Linux

Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
Units = cylinders of 16065 * 512 bytes

  Device Boot    Start      End    Blocks  Id  System
/dev/hda1  *        1      1217  9772056    c  Win95 FAT32 (LBA)
/dev/hda2          1217      1229    99855  83  Linux
/dev/hda3          1230      1676  3590527+  83  Linux
/dev/hda4          1677      4865  25615642+  5  Extended
/dev/hda5          1677      1742    530113+  82  Linux swap
/dev/hda6          1743      2189  3590496  83  Linux
/dev/hda7          2190      2636  3590496  83  Linux
/dev/hda8          2637      3751  8956206  83  Linux
/dev/hda9          3752      4865  8948173+  83  Linux
root@uilleann #

Code:

# Duron 950 uilleann box /etc/fstab file
/dev/hda6        /              reiserfs        defaults        1 1
dev/hda2        /boot          ext3                defaults        1 2
none            /dev/pts        devpts                gid=5,mode=620  0 0
/dev/hda8        /home          reiserfs        defaults        1 2
#/dev/hda3        /mnt/gentoo    reiserfs        defaults        1 2
#/dev/hda7        /mnt/mandrake  ext3                defaults        1 2
/dev/hda1        /mnt/winc        vfat                defaults        0 0
none            /proc          proc                defaults        0 0
none            /dev/shm        tmpfs                defaults        0 0
/dev/hdc1        /pub            ext3                defaults        1 2
/dev/hda9        /snd            reiserfs        defaults        1 2
/dev/hda5        swap            swap                defaults        0 0
/dev/fd0        /mnt/floppy    auto                noauto,owner    0 0
/dev/cdrom        /mnt/cdrom        iso9660                noauto,owner,ro 0 0

# Redhat links
RedHat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project


Skyline 07-24-2003 09:00 PM

Nope - I'm afraid its FDISK or something similar.

Or -

Re-installing from scratch should only take you 45-60 minutes.

p1az 07-25-2003 01:30 PM

yeah, I've used fdisk many many times before, but I guess I was just hoping that linux could accomplish partitioning on the fly (since so far its been able to do everything ive wanted to do plus more). I'll just do it the old fashioned way. Thanks for the help.


All times are GMT -5. The time now is 06:21 AM.