LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2002, 06:34 PM   #1
paook
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Rep: Reputation: 15
Partitioning Questions for First-Time Install


Okay. I'm about to install Linux for the first time and I have some questions about how best not to screw things up.

First, my system info:

- Micron TransPort GX notebook
- Intel PIII@852MHz, 256Mb RAM, 20Gb fixed HDD, 20Gb swabbable HDD
- WinXP installed on fixed HDD

So the plan right now is to set up the OS and program files of both WinXP and Linux (planning on using Redhat 7.2) on the fixed drive and put all the data files on the second drive. But I have no idea what kind of partitions to set up.

On the fixed drive I assume I need one Linux partion for the OS files, another for the Linux program files, and some kind of swap partition. Then I'll need a partion for the WinXP OS and program files. (Is it possible/advisable to separate the Windows OS and program files?)

Then on the swappable drive, do I just create separate partitions for Linux and Win files? Is there anyway to have a partion accessible by both OSes for files that both can use?

So anyone that could help me map this out?

Thanks.

paook
 
Old 03-14-2002, 07:00 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
As far as older versions of Windows, it's one partition. Can't split the tree structure up like linux. XP probably doesn't either. So you make one partition for XP. As for Linux, you have a lot of partting options, but I would go with a default or more standard setup, eg.

HDA = Fixed Disk
hda1 = XP
hda2 = / = root partition
hda3 = /usr
hda4 = /swap

hda2,3,4 will only be those numbers if you make them Primary partitions, which you can do. It's all an example.

HDB = Removable Disk
hdb1 = ANYTHING you want. I'd make it a Windows partition since Linux has no problems seeing them, reading and writing NT or FAT32. You need a program to see Linux partitions in Windows and you can't write to them. That's what I'd do, someone may have some idears ontop of this i'm sure.
 
Old 03-14-2002, 08:24 PM   #3
paook
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Okay, thanks very much taz.devil.

Do you have any suggestions on sizes for each partition on the fixed drive? And should they all be primary partitions? What exactly is the swap partition for anyway?

I'm planning on installing from a download -- I haven't looked at it yet, but I assume I can install Red Hat from the harddrive without having to burn a CD -- if that's the case, does it matter where I download it to?

Thanks again.

paook
 
Old 03-14-2002, 08:46 PM   #4
paook
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Hmm -- all right, now I'm looking at things and confusing myself. I think the setup I gave is probably the best, but here's what I'm working with.

My notebook only has one swap bay, so if I install one of the OSs on the swappable hard drive, I can't use the CD-ROM/CD-RW/DVD-ROM with it, which would be not good. Then again, I also have a lot of music and other data that I write to CDs on my system, but I wouldn't be able to write it (at least not without moving it) if have it on the swappable hard drive.

So you think it'd be best to do what I have planned but leave a large Win partition on the fixed drive? Is it possible to only put the Linux root on the fixed and put everything else on the swappable drive? All my Windows stuff comes to about 11.8Gb (2.11 in the WINDOWS folder) which means I have about 6.74Gb of free space on the fixed drive currently. (What genius decided to make a hardware Kb different from a software Kb?) So I don't think it'd be a problem to keep most of my Win data on the fixed drive as long as I can put some of the Linux partitions on the other drive.

Any ideas?

paook

Last edited by paook; 03-14-2002 at 08:48 PM.
 
Old 03-14-2002, 09:08 PM   #5
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Unless you decide to install everything, you probably wont go over a gig for linux install, and in that gig will more then likly be everything you will ever need and then some to be able to use linux for anything. heres what i did on my laptop:

hda1 fat32 win2k 10g
hda2 fat32 2g win/linux shared drive (backups)
hda5 ext2 slakware / directory 3gig
hda6 ext2 LFS / directory 3gig
hda7 ext2 linux shared drive 1gig ( dont ask why, I dont know why i did this one)
hda8 linux swap (used by both slak and lfs) 256mb

All this is on a 20g drive.
 
Old 03-14-2002, 09:12 PM   #6
paook
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Ah, thanks much.

So the swap drive doesn't need to be at all large, I take it?

paook
 
Old 03-14-2002, 09:14 PM   #7
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
most people make it twice the amount of ram you have.
128m = 256m swap
but really you shouldnt need more then 256megs of swap space.
 
Old 03-15-2002, 01:53 PM   #8
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Looks like Hanzerik has a good setup that would also fit what you want, so you may try that for yourself per his suggestions. It differs per system obviously, and as far as the swap goes, that's about right also. It's just a small partition utilized like extra RAM if you will. A scratch disk or overflow. If you have enough RAM, you'll end up never using it anyhow. Good luck...
 
Old 03-15-2002, 02:39 PM   #9
paook
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for the help, guys. I'll let you know how things work for me.

paook
 
Old 03-15-2002, 09:40 PM   #10
paook
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Okay, as I'm setting up my partitions I'm confusing myself again.

Bootable partitions are supposed to start below the 1024 cylinder (2Gb) limit or sometimes the 8Gb limit, right? So here's what I set up on my fixed disc before thinking about that:

hda1: FAT32 (C, 14573.Mb
hda2: Ext2 (/), 2303.4Mb
hda3: Linux Swap, 502.0Mb
hda4: Ext2 (/usr), 1698.0Mb

So is that going to be a problem since the Linux root directory starts after 14.6Gb? If it's a problem, how do I arrange things to work if I want a big Windows partition and a Linux partition that's also over 2Gb?

Oh, and how should I label my Linux partition on my swappable drive? -- /usr2 or something?

Thanks.

paook
 
Old 03-16-2002, 12:31 PM   #11
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Glad I am to say, that there is no more 1024 limitation. So don't worry about that. The new bootloader versions get around it easy. So as far as things are, you should be fine. As for the swappable drive, name the partition /home. I personally think that'd be the best, most universal way to go, and that way, you could also make a symlink to it from your fixed disc's /home dir to combine them in a sort of way.
 
Old 03-16-2002, 05:25 PM   #12
paook
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Okay, more problems. Started the install, but my system keeps hanging about three or four screens in, at the mouse selection screen.

Can anyone describe how I can use the md5sum program to check my image files to make sure everything's good? Or any other ideas?

paook
 
Old 03-16-2002, 09:04 PM   #13
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
If it keeps hanging at the mouse screen or the same place everytime, it's probably not the .iso's fault. I hear that laptops are pretty bit**y when it comes to getting Linux to work right. If you got the iso's from the site, they are probably fine. If there is a way to disable your mouse, do that and see if it still hangs then...
 
Old 03-17-2002, 01:46 AM   #14
paook
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Original Poster
Rep: Reputation: 15
The mouse actually isn't in use at the point it hangs -- it's just asking for the config settings for it. I can' t get anything to work right now, so I'll take a look around the boards and see what others have done with hangs, then maybe redownload the images anyway.

paook
 
Old 03-17-2002, 02:35 AM   #15
paook
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Hmm, well, tried text mode and expert mode just to see if things'd turn out differently, but I always end up at the same screen with the same problem. Unplugging the mouse doesn't do anything because it's not detecting it, it's just asking what I'm going to be using.

I'm trying a local disk install right now. I assume that's not the problem since the process starts correctly, but does anyone have any experience doing it this way? Should I burn the CDs and just see if that helps anything?

paook
 
  


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
[Gentoo] disk partitioning and install questions damnbiker Linux - Distributions 2 09-02-2005 05:06 PM
partitioning questions with reiserfs patrickdepingui Linux - General 3 01-26-2005 08:06 AM
Partitioning questions Hampster Mandriva 2 01-12-2005 05:19 AM
Average Partitioning Time milnet Mandriva 1 12-25-2003 04:20 PM
partitioning is necessary/okay, but I have a few questions beginnerx Linux - Newbie 2 09-26-2003 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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