LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-26-2003, 05:52 PM   #1
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Rep: Reputation: 15
Question resizeing the partitions


i just finished installing the last things keeping windows on my hard drive ( avview and a few others ), so now i want to resize the partitions so that linux has more space than windows. i don't want to completly uninstall windows ( unfortunaltly ) because there are a few programs i need that only run on windows ( wine doesn't like them... ).

so, how do i resize the partitions?

fdisk gives me this for a list:

Command (m for help): p

Disk /dev/hda: 20.4 GB, 20491075584 bytes
240 heads, 63 sectors/track, 2646 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1625 12284968+ c Win95 FAT32 (LBA)
/dev/hda2 1626 2573 7166880 83 Linux
/dev/hda3 2574 2646 551880 82 Linux swap

how do i give the linux ( hda2 ) more space? currently, hda1 has 11 gig, and hda2 has 7 gig, and hda3 has 500 megs.

hda1 = windows 98
hda2 = linux
hda 3 = swap

thanks for any help

rebel
 
Old 06-26-2003, 05:56 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,948

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
You can use GNU parted. See the website for documentation and limitations. Depends on what kind of filesystem you are using for linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 02:11 PM
NTFS Resizeing cheetahman Linux - Newbie 4 09-01-2005 07:58 AM
Movie resizeing daft Linux - Software 1 02-15-2005 03:00 PM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 05:12 PM
partitions? N_A_J_M Linux - General 5 08-25-2002 11:49 PM


All times are GMT -5. The time now is 04:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration