LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux partitions- (https://www.linuxquestions.org/questions/linux-newbie-8/linux-partitions-66153/)

scocha 06-17-2003 11:13 AM

Linux partitions-
 
Hi, I'm brand new to Linux and I want to get started now that my computers hard drive crashed yesterday. I bought a 40GB hard drive and I want to use up to half of the drive for win98, and partition the rest for linux. I've had Slackware disks sitting on the shelf for about 6 months waiting for me to get off my a..., so maybe the hard drive crash was a good thing.
*can I make all my partitions using the fdisk utility that came with the slack, or is that just for setting up my linux partitions.
*I've read somewhere that making several Linux partitions can somehow make life easier rather than making one big partition+ a swap. Any suggestions on how I should divide 20 to 30 GB up for Linux?
Many more dumb questions to follow, thanks in advance.

awdoyle 06-17-2003 11:39 AM

You can make extra partitions for /home and /usr, etc, etc. But with your first installation it might be better just to have:
hda1 - win98/fat32
hda2 - /boot
hda3 - /
- then in your extended partition:
hda4 or 5 - swap
hda6 - shared/win32 that you can mount
At least that's how I have it, and I'm happy as a clam.

scocha 06-17-2003 02:42 PM

Thanks, thats how I will go ahead and do it. How large must each partition be? I'll probably have 20 GB total disk space to divide up for Linux.

michaelk 06-17-2003 03:04 PM

hda1 - win98
hda2 - /boot 70mb
hda3 - extended size should be rest of drive.
hda5 - swap 512 mb
hda6 - FAT32 shared If you want
hda7 - / all the rest

DrOzz 06-17-2003 03:07 PM

the only thing i will comment on, is that you should make your swap double of your ram amount...just a tip :P just in case you have more than 256ram

acid_kewpie 06-17-2003 03:10 PM

Quote:

Originally posted by DrOzz
the only thing i will comment on, is that you should make your swap double of your ram amount...just a tip :P just in case you have more than 256ram
That was true when you either bought RAM or paid the rent... now it's totally irrelevant.

scocha 06-17-2003 03:58 PM

What's the difference between creating a fat32 shared partition and simply mounting the win98 partition?
(I told you that I have plenty more dumb questions to come)

acid_kewpie 06-17-2003 04:46 PM

no real difference, keeps the space seperate, but if it's just win98 then it'll be fat32 anyway, so won't actually matter. more useful if it's xp or nt using ntfs...

DrOzz 06-17-2003 04:49 PM

Quote:

That was true when you either bought RAM or paid the rent... now it's totally irrelevant.
and its also true that this is the biggest pile of nothing i have ever read...is this supposed to translate to something with meaning in the english language...

scocha 06-17-2003 04:54 PM

Ok, my goal is to never buy another microsoft operating system so that sounds good. Thanks

acid_kewpie 06-17-2003 05:03 PM

Quote:

Originally posted by DrOzz
and its also true that this is the biggest pile of nothing i have ever read...is this supposed to translate to something with meaning in the english language...
Hmm, not a good way to get along here... it's not even a "big" pile of anything...

ok, so if you can't understand that for some reason...

the double ram rule has been around for years and years, first coming around when RAM was extremely expensive for very little reward, so by allocation of around that much swap based on the amount of RAM you had would balance a trade off of speed and total memory. Now many desktop systems have in excess of 1GB of ram, because it's comparatively cheap. Would you suggest a swap partitino of 2GB??? With more than 512mb physical memory you can be hard pushed to use it all up, let alone use up twice as much swap as well. It is simply wasting space. Mind you if you wish to prove that you can personally employ 3GB of memory, you win.

DrOzz 06-17-2003 05:49 PM

first of what do you mean not a good way to get along, you comment about something i say when we are talking about ram and swap space and you come in and tell me to go pay my rent..seroiusly d00d, do you expect me to understand what you are talkinag about...second off you say the concept was around for many years and yes it was, so it doesn't hurt to tell a guy it...

acid_kewpie 06-18-2003 06:20 AM

Quote:

Originally posted by DrOzz
first of what do you mean not a good way to get along, you comment about something i say when we are talking about ram and swap space and you come in and tell me to go pay my rent..seroiusly d00d, do you expect me to understand what you are talkinag about...second off you say the concept was around for many years and yes it was, so it doesn't hurt to tell a guy it...
bliemy, it wasn't an analogy about paying rent, i meant it. ram was VERY expensive, and people couldn't afford it generally.

people also used to burn witches... think that should still be advised? ;-) I presume you're just being delibertalye facetious about these comments, it certainly reads fine.

DrOzz 06-18-2003 07:07 AM

d00d i am not delibertly being anything, and now that you posted with that explanation, i totally understand what you meant about rent and ram, how you typed it originally, i will guaruntee not 100% of the people understood a damn word you said, actually not even 50% probably understood that, but thats neither here nor there...and you think it reads fine (obviously) cause your wrote the comment, of course it reads fine...but then you had to go along and start talking about witches...no wonder i commented on your oringal post...
and as for the topic itself and back to your original post now that i understand...if it is so irrelevant nowadays, then it sounds like your saying a person shouldn't even need a swap space, is that correct?

acid_kewpie 06-18-2003 07:51 AM

it never hurts to have some, but it will rarely get used to any real extent, and often wouldn't be missed.

DrOzz 06-18-2003 07:52 AM

fair enough

JZL240I-U 06-18-2003 09:30 AM

You can find out with the command swap off whether your system tolerates no swap space. Or use one of the many system monitors.

@scocha: I use a minimum amount of disk space in the shared partition to be comfortably able to store a CD-Image (900 MB), for obvious reasons.

;)

jong357 06-18-2003 11:14 AM

I like to use cfdisk...... Alot better than dos fdisk.... You can make partitions of every imaginable file system with cfdisk(Slack disk).... I'll warn you tho... It seems if you make an extra FAT32 partition with it(primary), 98 will list it twice..... So you'll have C, D and E when you should only have C and D... Really screwy. I've come to the conclusion that it's all 98's fault.... ;-) 98 likes to be the only primary partition even tho you are allowed 3..... Notice how fdisk won't let you have more than one primary if 98 is already installed? I tried bypassing that by using cfdisk and 98 flipped it's lid in "My Computer"... I don't know... Also having a /boot partition is pretty much pointless, especially a 70 mb one. /boot will never use more than 2 or 3 mb..... Up to you. I like to keep my partitioning as clean as possible.... If you dont make a /boot it just get's thrown on /. If you use multiple distro's it's nice to just have one root partition for each and then share a swap for all of them... make the swap 1mb or make it 10gb... Up to you.... :-)

Jon

MasterC 06-18-2003 11:41 AM

Quote:

Originally posted by acid_kewpie
it never hurts to have some, but it will rarely get used to any real extent, and often wouldn't be missed.
*Attempting to stay out of the argument but post to the discussion... I would have to agree. I've not used a swap partition at all since I went above 512MB RAM. That was even when I was running a webserver with mysql/php, FTP, NFS, SSH, many apps running, surfing, all kinds of things.

Swap is over-rated, over-sold and impressed into everyones mind as a necessity. I think we should tend to dispell this for the average n00b so they don't worry about making 2 and 3 Gig partitions for swap...

:)

Cool

scocha 06-18-2003 02:21 PM

I'll probably just go big on everything, like a gig for swap. I have a 450mhz pII with 96mb ram so I guess I'd use some swap. I'd probably buy a whole new computer before I get much more ram. I think I'll just do minimal for win98 and make a 10GB for applications and data to be shared. I really hope that I can dump windows completly very soon. I don't really care too much about the latest and greatest aps for windows that are out there. I'd say the biggest software I use is perfect office 9 and other aps that have been around for awhile. I'm really interested in trying to use wine or something like that to run those things so hopefully I can dump windows. Anyway, this weekend hopefully I'll find the time to setup linux so I can start asking real questions.:study:


All times are GMT -5. The time now is 12:46 AM.