LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2003, 02:46 PM   #1
craig20two
LQ Newbie
 
Registered: Aug 2003
Location: Risca, South Wales
Posts: 2

Rep: Reputation: 0
Unhappy 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.
 
Old 08-28-2003, 03:04 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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
 
Old 08-28-2003, 03:23 PM   #3
craig20two
LQ Newbie
 
Registered: Aug 2003
Location: Risca, South Wales
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 09-03-2003, 03:42 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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)?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root partition too small! help! hueofwind Linux - General 13 11-09-2005 11:26 PM
Partition too small, and now stuck..HELP blakehampton Linux - Newbie 1 01-19-2004 04:21 AM
Partition scheme (two small hd) joseph_1970 Slackware 2 11-24-2003 03:19 PM
windows partition (a small one only1gameguru General 4 11-23-2003 02:31 PM
What distro goes best on a small partition? Nooooobie Linux - Distributions 3 09-29-2001 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration