LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Partitioning with Linux (https://www.linuxquestions.org/questions/linux-newbie-8/partitioning-with-linux-76999/)

teyesahr 07-29-2003 01:22 PM

Partitioning with Linux
 
I recently installed Red Hat Linux 9.0 on my box, so that now it's a dual boot between win2k and Linux. Unfortunately, I gave my root partition way too much space (around 70gb), some of which I need to give back to windows (which has about 2gb of free space). I went through the Red Hat documentation and, per its instructions, rebooted in rescue mode, told it NOT to mount the harddrive with the partition I wanted to resize (the root partition, on hdb), and proceeded to run parted, a utility included with Red Hat. Parted, however, was unable to resize the partition ("yet," it said), and I can't think of another way to do it besides deleting, once again, all partitions on that hdd, and reinstalling Linux (i.e. using Disk Druid) - which I would prefer not to do; let's just say I want to do it a little more elegantly .

Thanks to anyone who can help me.

-TSR

"All censorships exist to prevent any one from challenging current conceptions and existing institutions. All progress is initiated by challenging current conceptions, and executed by supplanting existing institutions. Consequently the first condition of progress is the removal of censorships."
~George Bernard Shaw

tangle 07-29-2003 02:42 PM

What does the partition table look like for your hard drive?

teyesahr 07-29-2003 07:56 PM

Partition table
 
This is what my file system looks like for my second harddrive (/dev/hdb) - it's total size is 80GB; my first harddrive has one partition (NTFS) that has win2k with all my files and win-related programs.

(according to 'parted')
Minor_Start______End_______Type_____File System__Flags
1____0.031______101.975____primary__ext3________boot
2____101.975____73759.372__primary__ext3
3____73759.373__75806.718__primary__fat16_______lba
4____75806.719__76316.594__extended____________lba
5____75806.750__76316.594__logical___linux-swap


As you can see, the root partition is around 70GB in size, which is way way too large. I'm doing my best to make the transition from windows to Linux, but as of now I definitely need to give windows back some space.

Please help :-)

teyesahr 07-30-2003 05:32 AM

In an effort to get this back near the top so someone will help....


All times are GMT -5. The time now is 03:50 PM.