LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-03-2003, 10:06 AM   #1
VR6boy003
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
partitioning error installing rh9


I'm trying to install RH9 on a laptop w/ WinXP already installed. I have three partitions already on the drive: one small fat32 at the start, a 10 gig windows, and a 30 gig ntfs for storage. That leaves me with 16238 mb of free space at the end of the drive. I'm using disk druid to set up the partitions for linux. It lets me make a /boot partition of 102 mb leaving me w/ 16136mb of free space. However, when I try to make another partition (swap or /) I get the following error..."Could not allocate requested partitions: Partitioning failed: Could not allocate partitions." Anybody know why?

Thanks in advance.
 
Old 11-03-2003, 11:00 AM   #2
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
What happens if you don't create a /boot partition? Just create the /root and /swap partitions!
 
Old 11-03-2003, 11:47 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
By free space do you mean unpartitioned? Could not allocate ... means there is not enough free space to create the partition you are trying to configure.

Check XP's diskmanager to see how much free space is on the drive and also verify your not using a dynamic disk configuration.
 
Old 11-03-2003, 01:20 PM   #4
VR6boy003
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
In disk druid it says there is 16,xxx mb of free space, which I'm sure is unpartitioned space. It looks like there's plenty of space to me.

How do I know if I'm using a using a dynamic disk configuration?

Must I have a swap partition or can I just make a /root?

Thanks.
 
Old 11-03-2003, 01:25 PM   #5
Mikhail_16
Member
 
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
you MUST have at least 2 partitions in linux /boot and /swap. The usual number is 3 /boot /swap and '/' (which is the where all the data is stored)
The reason for this is that /swap uses completely different filesystem from anything else and /boot usually likes older FS (ext2 is possibly the best one for it) '/' on the other hand likes ext3 filesystem.
 
Old 11-03-2003, 07:05 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Actually, if you have lots of RAM you could probably get by without a swap partion and get by with only a /. And if necessary you could create a swap file instead.

XP's diskmanager should indicate if it is a dynamic disk. This does not appear to be the problem.

I see a potential for several problems. Your extended partition is only as big as the sum of the logical drives. Therefore the installer can not create additional logical drives or its trying to create more then a total of 4 primary partitions.

Can you post how the drive is partitioned? Usually windows will partition something like the following:
1st partition FAT32
2nd partition extended (This a a place holder for logical drives.)
5th partition 10 gig (logicals start at number 5)
6th partition 30 gig
 
Old 11-03-2003, 09:55 PM   #7
VR6boy003
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I used partition magic to make space for logical drives /boot, /, /home, and swap. Then used disk druid to format the drives accordingly. The disk seems to be partitioned correctly now and it goes to the next step. What should i do about the boot loader? I've read a bunch of posts already and searched for a while and it seems like i need to copy the bootsect.lnx? file to my windows partition and edit my boot.ini file...i'm still not sure if i even need to install the boot loader since i'm using the winxp boot loader. Also, i have the little problem of not having a floppy drive on my new dell laptop...any advice about how to work around this?

So my questions again:
-If i need to install grub or lilo, where should it be installed?
-must i copy the .lnx file to my windows directory or can i dual boot some other way?
-if it is necessary, how can i work around the lack of a floppy drive?

Thanks again.
 
Old 11-03-2003, 11:49 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
To boot linux via Windows:
http://home.ubalt.edu/abento/linux/r...ualbootNT.html

Either grub or lilo will work.

You have a FAT32 partition that you can share files between the two OS's to get around the no floppy issue. You can also boot to a rescue mode with the 1st install CD if required for repairs or to make changes.
 
Old 11-04-2003, 12:36 AM   #9
VR6boy003
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I made the bootsect.lnx file using the rescue part of install cd 1. The file is now in the root directory. How do I put the file onto a fat32 partition I have already created?
 
Old 11-04-2003, 02:42 AM   #10
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
You would need to mount the fat32 partition:

As root, in a terminal window, mount -t vfat /dev/hda1 /mnt/vfat. hdax, where x is the number the vfat partition is located and you may need to create the /mnt/vfat directory before doing this.

To create the directory, type mkdir /mnt/vfat and it will be done. To copy the bootsect file.
cp /bootsect.lnx /mnt/vfat, and that should do it.

If you gonna use the bootsect.lnx file to dual boot using XP bootloader then you need to have that boosect.lnx file in the root folder of XP and then edit the boot.ini to add a line to it.

Here is an example:

c:\bootsect.lnx="Linux"

Let us know if you need more help.

I just found this link on dual booting.

Last edited by BittaBrotha; 11-04-2003 at 02:48 AM.
 
Old 11-04-2003, 10:42 AM   #11
VR6boy003
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
thanks, i got it to load...so now the win boot loader let's me choose between win and linux...so i choose linux and it brings me to grub which boots linux and it goes through all the boot stuff w/ the last line reading "start first boot" or something like that...then the screen goes black for a few seconds...then very many small dashed purple lines start scrolling on the screen almost like the matrix screensaver...

any ideas why?

thanks.
 
Old 11-04-2003, 06:29 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
I take it this is the first time you booted linux after the install?

What kind of video card do you have? Did you install x and did it test ok?
 
Old 11-04-2003, 07:58 PM   #13
VR6boy003
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I didn't see an option to test during the install...but after reinstalling i've determined it's the video card selection. I have a 32MB nVidia Quadro FX Go5200, so I chose the NVIDIA Quadro FX...but I guess that's wrong. In the second install i just used whatever came up by default. It worked fine after that, but once I got in I decided to look at the other cards it had listed and I messed it up again. When I logged off of X and went to log back on to apply the changes I got the purple screen again.

So here's my question: can I change the video card selection using a text based login and how would i do that (it automatically goes to graphic)...or can I use the rescue disk to change it?

Thanks again for all the help.
 
Old 11-04-2003, 08:11 PM   #14
VR6boy003
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
so i'm in text mode now logged in as root...is there a file somewhere that i can edit to change the video card?
 
Old 11-04-2003, 08:32 PM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Its the /etc/X11/XF86Config-4 file. I would go to Nvidia's website and download their latest driver file. Follow their install instrutions. You will need to use a text editor like emacs or vi. To start the server from text mode type in startx.
 
  


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
Installing RH9, Fatal error! markb658 Red Hat 4 03-29-2005 10:32 AM
Error while installing RH9 over the network using etherboot psingh Linux - Laptop and Netbook 2 11-17-2003 03:58 PM
Error while installing RH9 over the network using etherboot psingh Linux - Newbie 0 11-16-2003 08:39 PM
error installing rpms - rh9 xconspirisist Linux - Software 5 10-03-2003 04:04 AM
partitioning and installing win 98 AFTER RH9 is installed?:S R36613 Linux - Newbie 2 08-14-2003 04:33 PM


All times are GMT -5. The time now is 02:18 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