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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-28-2003, 03:46 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Location: Risca, South Wales
Posts: 2
Rep:
|
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.
|
|
|
08-28-2003, 04:04 PM
|
#2
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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
|
|
|
08-28-2003, 04:23 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Location: Risca, South Wales
Posts: 2
Original Poster
Rep:
|
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.
|
|
|
09-03-2003, 04:42 PM
|
#4
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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 04:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|