LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-01-2004, 09:11 PM   #1
trickflip
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
Problem Installing Fedora Core 2 (Partitioning Issue)


Hello,
Upon attempting to install Fedora Core 2 (64bit), I recieved the following message at the partitioning screen "could not allocate requested partition, partitioning failed: could not allocated partition you have not defined a root partition (/)..." (approx. that).
I currently have an NTFS partition (primary) and a FAT16 Partition (extended), with about 15 gigs of unallocated space (I have verified this is disk management), yet I seem to be recieving a message that many people are getting when they do not have unallocated space.
I am running a SATA hard drive, if that makes any difference (I doubt it does). Any help would be greatly appreciated. Thanks.
 
Old 09-02-2004, 08:03 AM   #2
rm6990
Member
 
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469

Rep: Reputation: 30
Does it show your Windows partitions? You need to make a Linux partition in the unallocated space and mount it as root. I would recommend also making a swap partition and a second linux partition mounting it as /home.
 
Old 09-02-2004, 08:06 AM   #3
trickflip
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
How large should each of these partitions be and of what type?. What will I use each of these for? (I have some guesses, but want to be sure.) Thanks.
 
Old 09-02-2004, 09:26 AM   #4
rm6990
Member
 
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469

Rep: Reputation: 30
Ok, the Swap partition should go first, and it typically should be twice the size of your RAM, but if you have a lot (like a gig or even 512 MB) then the same amount is alright. The Swap Partition is the equivalent of the Windows Page file. This partition will be of type Swap or Linux-Swap, whatever name it uses in the install program.

Next should come your root partition ( / ) . This is the equivalent of c: in windows. So, let's say you have a gig of swap, that leaves u 14 gigs unallocated. I'd recommend making this one 10 gigs (if you are going to put a lot of songs on this hd or movies or something, 7 or 8 will do as this will leave more room for the next partition). This partition should be of type ext3.

Next comes the home partition ( /home ). Imagine if c:\my documents in windows was on a different partition than the rest of c:, that is basically what you are doing here. So, if you screw up the system, which most newbies are liable to do (I've done it myself once or twice). You can reformat the second / partition and it won't hurt your /home partition. Anyways, to get back on track, set the mount point of this partition to /home and it should be of type ext3. It should take up the rest of the hard drive.

Set the mount point of the fat16 partition to whatever you want (could be /windows , /mnt/fat16 etc... I use /winswap because this is the partition I use to swap files between Windows and Linux as Linux doesn't write very well to NTFS partitions) and to be quite honest, Fedora doesn't support NTFS so don't touch that partition. Also, make sure you do NOT tell it to replace the filesystem or format or anything for the fat16, or any info on it will be lost. The option to do this should be right there.

You can later download and install the kernel module for NTFS and then mount your NTFS partition if this is important to you.

Normally I recommend using ReiserFS instead of ext3, but Fedora doesn't officially support ReiserFS (it is possible to use it but I had problems with it). It is a much faster file system. ext2 is not journalled so don't use it except on small partitions because if the power should go out, you can loose files.

If you use Windows for the most part, I think you would like Suse better personally. Let me know if u want to try it, I'll tell you how to do an FTP install so you can use Pro version and not that god-awful personal version.
 
Old 09-02-2004, 12:20 PM   #5
trickflip
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the help.
I went through with the manual partitions, pretty much to see if the installation would work. I installed a minimal amount of packages, (no GUI, etc). It's fun to mess around in the text based/command like thing. Dual boot is working fine. I plan to reinstall with more stuff soon, although I think my second cd is messed up, the installation kept crashing when using the second cd (one of the reasons I used minimal install (downloading a new ISO takes awhile)). Anyway, I would like to try SUSE. I had thought about using it previously (after the problems with Fedora), but as you noted, I wouldn't want to install the "personal version". I would greatly appreciate it if you assist me with the ftp install of Suse Pro. Thanks. =)

BTW, I didn't make it clear that I am not using the current fat16 partition to share files between linux and windows. (I noted that it was there in case for some reason, it was related to the problem). It (the partition) is being used for the windows page file. But, it doesn't seem like a bad idea to have a partition for sharing files. I'll keep that in mind during the next install. Also, I think the reason for the error with automatic partition was that it was trying to create three partitions as you noted, /, /home, SWAP, but that it could only create two . When I tried to create a third partition manually, (fifth including the windows partitions), it gave me the same error message, which I think confirms my above statement about the source of the error. (I hope that made sense =) ). If this is in fact the problem, will I be able to create a third (fifth total), or will I be stuck with two? Thanks again.
 
Old 09-02-2004, 12:43 PM   #6
rm6990
Member
 
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469

Rep: Reputation: 30
I've had problems with Fedora trying to make all partitions primary. So you would have Windows as hda1. Your extended should be hda2. Swap is hda3. root is hda4. You can't have more than 4 primary partitions on a harddrive, so that is likely what happened. SUSE doesnt have this problem, but there is a way to fix it in fedora, and that is to use another program, I particularily like QTParted, delete the linux partitions you made, and then increase the size of your extended partition to cover the whole rest of the disk. This would force Fedora to install inside the extended partition into logical partitions.

For SUSE, go to linuxiso.org, click on suse's logo, and then under 9.1 which is the current version you should see suse 9.1 ftp install....cant remember exactly what it says but ftp will be in the name. Download this and then burn it/boot from it. Make sure you md5sum it. You'll find what it should be at linuxiso.org. Pretty much go

md5sum boot.iso

and it will spew a bunch of numbers and letters back at you. If you are downloading through Windows, you will have to google for a program called winmd5sum, which has a gui and runs good on windows. Match these characters up with the ones at linuxiso.org and if they match, then go ahead and burn it.

When you boot from it, click installation. It will ask you to insert CD 1, click ok. It will fail to read CD 1, think all you click is ok here. Then click on hardware modules, network modules and make sure you pick your network card out of the list (if you don't know it check for it in windows). After that, click start installation, then click network, then ftp

It will ask for an IP address, this one is for a fast mirror 140.211.166.134 . Next it will ask for a directory on the server, this is /pub/suse/suse/i386/9.1/

There, give it a couple seconds to load and then the installation will start with Yast, I'm willing to bet you'll like it more than Red Hat's install wizard. Anyways post back and say whether it worked or not. A word of warning tho, the iso u download is only 20 MB, so the rest of the OS is downloaded while installing, so ur computer can be unusable for a while. For me it was 3 hours before it finished. Oh, and don't bother with ext3 with Suse, use reiserfs. I think I posted this earlier oh well. It is way better than ext3. Same mount points tho, / and /home

EDIT: Make sure you do a custom partition setup and then click expert (it might be the other way around). I've seen lot's of Linux install wizards do strange things when you let them partition on their own.

Last edited by rm6990; 09-02-2004 at 12:47 PM.
 
Old 09-02-2004, 12:51 PM   #7
trickflip
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
No swap partition for SUSE (or am I missing something...damn me, such a skimmer =))?
Thanks again for the help.

Last edited by trickflip; 09-02-2004 at 01:00 PM.
 
Old 09-02-2004, 01:40 PM   #8
rm6990
Member
 
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469

Rep: Reputation: 30
Windows is very vague when you make partitions with it. When I first started playing with Linux I didn't know this but your fat16 partition actually isn't an extended partition, it is a logical partition inside of an extended partition. Originally, a hard drive could only hold 4 partitions, but people found this wasn't enough so someone invented the extended partition which replaces one of your primary partitions. Then, inside that extended partition you can have up to 12 logical partitions. So now the maximum amount of partitions is 15. (3 normal primary plus 12 logical, the extended primary doesn't count because files cannot be stored on it without a logical sitting inside of it.)

What your windows probably did was create an extended and then create a logical the exact same size so it took up the whole partition.

Anyways, download System Rescue CD,

http://www.sysresccd.org/

It is very handy to have and is only 100 MB and can get u out of a lot of jams. Boot from it, and when the boot prompt comes up, type

fb800

Then hit enter at the keymap selection and then at the console type

run_qtparted

This is a partition magic clone that works better and supports more filesystems. Now right click on your linux partitions and delete them. And then go to file and commit, and they will be gone. Now if you notice your fat16 partition, it has a green box around it, this is the extended partition. Right Click just on the green box, then click resize. Now drag the right side of this green box as far as it will go to the right, then click ok file commit. Now, there is no more room for primary partitions so Linux will automatically install into a logical partition now when u tell it to make a new partition. So, your Windows will be hda1, Extended hda2, fat16 hda5 (3 and 4 r reserved for primary), linux swap hda6, root hda7, home hda8.

Well, I tend to go into too much detail and therefore my posts can get extremely long but ya, I think I have covered everything . So, ya, take a look at some of the postings, most windows users stop distro shopping when they hit suse. It is way better than Fedora and espescially better than Mandrake.


Here is my partition table (printout from fdisk) just incase u wanna use it as a reference

Device Boot Start End Blocks Id System
/dev/hda1 * 1 5134 41238823+ 7 HPFS/NTFS
/dev/hda2 5135 6090 7679070 c W95 FAT32 (LBA)
/dev/hda3 6091 19457 107370427+ f W95 Ext'd (LBA)
/dev/hda5 6091 6243 1228941 82 Linux swap
/dev/hda6 6244 8793 20482843+ 83 Linux
/dev/hda7 8794 13255 35840983+ 83 Linux
/dev/hda8 13256 17079 30716248+ 83 Linux
/dev/hda9 17080 19457 19101253+ 83 Linux

hda8 and hda9 are reserved for some other things I was going to install and havent gotten around to.

Last edited by rm6990; 09-02-2004 at 02:04 PM.
 
Old 09-02-2004, 04:43 PM   #9
trickflip
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
One last question (I hope). I have downloaded the linux nForce drivers from nvidia, but I'm not quite sure how to use them during the installation...I'll try and figure it out, but it is certainly nice to get help. Thanks.

I knew about the partition limits (3 primary, one extended), was just wondering before if there was an easy way around it (without resizing partitions, etc). Thanks again for the help.

Last edited by trickflip; 09-02-2004 at 04:48 PM.
 
Old 09-03-2004, 01:24 AM   #10
rm6990
Member
 
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469

Rep: Reputation: 30
Lol, yea, I confused your post from another thread where someone asked about partition limits...i can be daft sometimes . I know how to do GeForce, not sure about NForce tho....Which are you going to use, SuSE or Fedora? Let me know as SuSE often has different installation procedures for Nvidia products (much easier ones ) There should also be a readme right where u downloaded the drivers from at www.nvidia.com
 
Old 09-03-2004, 08:33 AM   #11
trickflip
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I would like to try SUSE. I need to install the nForce drivers (because of the SATA hard drive and the "network adapter" (which I need for ftp install)). The boot disk has a nForce ethernet thing already listed, but when I load it (with no parameters) it doesn't do anything. I did see the instructions on nVidia's site, and it seems to say that some special procedure is needed to install for SUSE, but I'm pretty much confused by the whole thing. At this point, I assume a shell is the command line like thing, and that root privelages are essentially admin privelages =), but other than that, I know very little about how to work with linux, making even simple instructions fairly incoherent. Pretty much, I would greatly appreciate help, again. Thanks =).

Last edited by trickflip; 09-03-2004 at 08:35 AM.
 
Old 09-04-2004, 12:03 AM   #12
rm6990
Member
 
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469

Rep: Reputation: 30
Hmmm, maybe you could try the Personal Edition ISO. It includes less programs and stuff but it loads more drivers off the bat, so it should work better on your computer.

The shell is a command line just like DOS in a way, but it is not exactly the same. You can access it by opening a new virtual terminal or in a terminal window.

The root user is the administrator. You cannot add/remove users, install most programs, etc... without being the root user.

If SUSE Personal is not good enough you could try one of these other distros:

Mandrake, Debian, Slackware, Xandros, YOPER, Sun Java Desktop (this one is pricy)

Or you could ask someone else who owns an Nforce MoBo or you could buy the Pro edition, then Yast would come up automatically and load drivers for everything. A little tip, you can get the full pro edition on DVD or 5 CD's for very cheap (16 dollars + shipping) from linuxcd.org
 
  


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
Problem for Installing Fedora Core 2 shipon_97 Linux - General 1 11-14-2005 09:28 AM
Problem with installing Fedora Core 3 OrangeSoda Fedora - Installation 5 08-20-2005 09:52 PM
Problem Installing Fedora Core 4 azuiden Fedora 2 06-19-2005 03:03 AM
Problem installing Fedora Core 2 freeboard8 Linux - Newbie 3 05-24-2004 10:47 PM
problem installing fedora core 1 Fraxxis Fedora - Installation 4 05-04-2004 04:49 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration