LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Suse 8.2 and small partition! Please help! (https://www.linuxquestions.org/questions/linux-newbie-8/suse-8-2-and-small-partition-please-help-86713/)

craig20two 08-28-2003 02:46 PM

Suse 8.2 and small partition! Please help!
 
Hi.

My first posting to this group. I hope to get to know a lot of you soon!

Having just "upgraded" to Linux" I have a problem.

Here's my question:

I have just installed Suse Pro 8.2. Windows on 1 drive and Linux on the 2nd. Everything went well. But........
My 30 gig drive has only given Suse a 1.7gig partition!
I have 26 gig free. And I want Suse to use this.
But how? I need to enlarge the partition, but have had no luck in trying so far. How can I do it?
I have a swap file created (250meg), and the Suse partition (Linux Ext2) is only 1.7 gig.
I would like Suse (Linux Ext2) to use the rest of the disk, which is unused.

What is the easiest way to do this? I love the look of Suse, and it's duel-booting perfectly, but this is really bothering me!

TIA for your help.

Craig.

Mara 08-28-2003 03:04 PM

Are you sure there are no partitions on the second drive, only Linux? To make sure, open a terminal, become root ('su' command then your root password). Use
fdisk /dev/hdb
then press 'p'+enter and 'q'+enter to quit. You should see one (if your Linux uses /dev/hdb1 etc) or two partitions (if it's /dev/hdb5 or later).

If it's the only partition, backup all important data, then (again, as root) run
parted /dev/hdb
Parted has a text mode interface, the right command to resize your partition is 'resize'. You can also read help ('help resize').
The command will look this way:
resize 1 0 sizeofyourdrive

craig20two 08-28-2003 03:23 PM

Hi Mara.

Thanks for your reply.

On the Linux drive there is only the following:

Linux Swap 251meg Primary
Linux Ext2 1.763meg Active Primary
unallocated 26.615meg Primary

I want to increase the Linux Ext2 partition to take up
the rest of the drive.

But how?

Thanks for your time.

Craig.

Mara 09-03-2003 03:42 PM

So it looks Linux Ext2 is /dev/hda2. Check it in fdisk!
Check one more thing. Are you able to create a new partition in fdisk (bigger than 26MB)?


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