LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-20-2003, 03:40 PM   #1
Trinity22
Member
 
Registered: Jul 2003
Location: oregon coast
Distribution: Fedora Core 3
Posts: 280

Rep: Reputation: 30
How can I partition Linux? w/o windows.


Is there anyway of paritioning without windows? As in keep the distro I am on now and have some space to try a new distro while still having this one in case i fubar something.

i've been doing searches but the only thing i'm finding is having some version of windows on the computer so you can use partition magic. is that the only option?

thanks for any assistance (links, anything) on this,
trinity
 
Old 08-20-2003, 03:53 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
partition magic? i'd never use that POS.... cfdisk should be able to do what you want.... but if you just want to try out other distros in the space where windows was, then you won't need to change a thing.... well actually you'll need to change the partition type from fat32 to linux native in fdisk / cfdisk etc... (but your installer may well do this for you anyway) other than that, not a thing... share the swap partition that you've already got and that's it really...
 
Old 08-20-2003, 03:56 PM   #3
Trinity22
Member
 
Registered: Jul 2003
Location: oregon coast
Distribution: Fedora Core 3
Posts: 280

Original Poster
Rep: Reputation: 30
well i don't have any version of windows....that's the thing. just running jamd linux right now, but i'd like to have that to rely on while trying slackware or something like that. so cfdisk? is that a program or command? is there a tutorial somewhere I should be looking for?

thanks,
trinity
 
Old 08-20-2003, 04:45 PM   #4
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
I don't think fdisk can change partition size. Like if you have 1 hard drive and the whole thing is partitioned you will need something to split the partitions up.

Post back with better info on your situation. Hard drive size, current partitions etc.
 
Old 08-20-2003, 05:43 PM   #5
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
I've had great success with GNU Parted available at http://www.gnu.org/software/parted/.

I couldn't figure out how to make it work with partitions with reiserfs filesystems, but I didn't try that hard either.

Lyle
 
Old 08-20-2003, 06:16 PM   #6
Trinity22
Member
 
Registered: Jul 2003
Location: oregon coast
Distribution: Fedora Core 3
Posts: 280

Original Poster
Rep: Reputation: 30
I have a 40GB hard drive and my /home/trinity directory is taking up 1.6GB. I'm not sure how to figure out how much the whole linux system is taking. the only os i have on my hd right now is jamd linux.

i dunno what other information would help.

trinity
 
Old 08-20-2003, 06:23 PM   #7
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
Run the command:

df -h

at the command line.

It will give you a report of how large your partitions are and how much you have stored in each one.

Lyle
 
Old 08-20-2003, 07:12 PM   #8
Trinity22
Member
 
Registered: Jul 2003
Location: oregon coast
Distribution: Fedora Core 3
Posts: 280

Original Poster
Rep: Reputation: 30
thanks lyle_s, this is what i get.

[trinity@dhcp-1648-7 trinity]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 38G 4.0G 32G 12% /
/dev/hda1 46M 9.4M 34M 22% /boot
none 504M 0 504M 0% /dev/shm
[trinity@dhcp-1648-7 trinity]$

trinity
 
Old 08-20-2003, 07:51 PM   #9
da_zombie
Member
 
Registered: Aug 2003
Location: timbuktou
Distribution: suse 9.1, Debian Sarge
Posts: 69

Rep: Reputation: 15
Parted is gr8! also if u have mandrake 9.1 disk just run that while booting n resize ur partition...n i think it wont destroy ur data!
 
Old 08-20-2003, 08:29 PM   #10
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
Quote:
Originally posted by Trinity22
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 38G 4.0G 32G 12% /
There you go; you could shrink /dev/hda2 and create some new partitions in the resulting free space for a new distro, all with parted.

Of course the usual back up everything warning applies.

Lyle
 
Old 08-20-2003, 08:51 PM   #11
Trinity22
Member
 
Registered: Jul 2003
Location: oregon coast
Distribution: Fedora Core 3
Posts: 280

Original Poster
Rep: Reputation: 30
is there a tutorial on that somewhere, or what are the steps. sorry to be a pain in the ass, but i'm anal about instructions.

trinity
 
Old 08-20-2003, 08:59 PM   #12
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
Well, anality aside, just follow da_zombie's instructions [actually, I've just realised that they don't apply]. Install GNU Parted onto your computer, then use it to resize some partition to free up space for your new installation.
 
Old 08-21-2003, 08:53 PM   #13
Trinity22
Member
 
Registered: Jul 2003
Location: oregon coast
Distribution: Fedora Core 3
Posts: 280

Original Poster
Rep: Reputation: 30
okay, well i'm trying to download parted. the readme says to download from the bootdisk folder, the partboot and partroot. except that i'm unable to download from the bootdisk folder (i've tried several ftp locations) and the old stable folder doesn't have the files in it like the bootdisk does.

any thoughts as to what to do?

trinity
 
Old 08-21-2003, 10:33 PM   #14
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
You might want to wait a bit. The GNU project ftp server was hacked and they're still working on making sure nothing untoward was done to any of the files, including the Parted files.

Lyle
 
Old 08-22-2003, 11:56 AM   #15
Trinity22
Member
 
Registered: Jul 2003
Location: oregon coast
Distribution: Fedora Core 3
Posts: 280

Original Poster
Rep: Reputation: 30
thanks for the information, hope it doesn't take too long, i'd really like to partition soon

trinity
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
moving files from windows partition to linux partition M O L8ingN2dust Linux - Newbie 11 01-08-2006 09:11 PM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM
I want to increase my Linux partition.Should I take space from a Windows partition? PrinceBalak Linux - General 1 06-25-2004 05:44 PM
What is the code to copy a file from my windows partition to my linux partition? THEBIGFISH Linux - Newbie 3 03-15-2004 10:14 PM
accessing windows partition from linux partition dave bean Linux - Newbie 19 10-15-2003 04:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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