LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-26-2003, 08:20 PM   #1
Tyir
Member
 
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Rep: Reputation: 30
Help! having partition problem while installing for first time


Hi, I am trying to install (for first time)

I am following directions from book on offical website.

I boot from cd, fdisk
i want to install in the partition hda3

so i run fdisk
i deleted the partitions on it
then i made 3 paritions for swap, / and /home

here is my final output from running 'p' (im on my sister's laptop, this is copied)

/dev/hda3p1 1 86 ... Linux swap
/dev/hda3p2 87 695 ...Linux
/dev/hda3p3 696 1906 ...Linux
Seems good, i wrote, quit
ran setup
read the help fully, then went to addswap
It detected the swap, and made it swap
Then it went stright into target, which is my main problem

Title is:Pllease select a partitoin form following list to use for root Linux partition
List is:
/dev/hdb1
/dev/hdb2
But these are my partitions for my RedHat install on my second harddrive!!


I don't understand why it isn't detecting my 2 new linux parititions in hda3, when It detected the swap seemingly fine.
Thanks!
 
Old 11-26-2003, 08:27 PM   #2
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
cfdisk

I would suggest using cfdisk it is much more forgiving than fdisk, besides fdisk is to Windowey ;-)
After you create your partitions using cfdisk:

1. Use the arrow keys to select which partion you want to be the swap drive and then arrow-right to select type and then press ENTER a few times and it will atomatically select "type: SWAP" then you will want to arrow up to the partition you want to be your /boot drive and press enter to make it BOOTABLE.

2. Then when you are done select "write" and type "yes"

3. Select "quit"

4. It will then show you your partioning scheme, press "OK"

5. Next you can type "setup", press ENTER and continue as normal


or you can find a tutorial for fdisk :-)
 
Old 11-26-2003, 08:30 PM   #3
Tyir
Member
 
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Original Poster
Rep: Reputation: 30
this is funny
i tried using cfdisk orignally, but it gave a start error, i wasnt sure, but then tried fdisk

now i tried cfdisk again, and it seems to work

dont go away yet! lemme see how this goies

thanks
 
Old 11-26-2003, 08:38 PM   #4
Tyir
Member
 
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Original Poster
Rep: Reputation: 30
Ok...used cfdisk, made 3 partitions, swap then regular the regular
all were made as primary. not bootable

I not making a boot since I was to continue using GRUB form my RH, its wokring fine, figured that would be easier

Now its worse...
in setup, the first thing is Addswap, and now it detects the OTHER swap only..
I did set the first one as type swap however...
 
Old 11-26-2003, 08:41 PM   #5
Tyir
Member
 
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Original Poster
Rep: Reputation: 30
and it doesnt see the regular ones either...


Im wondering if this is because they are all in hda3?
is it bad that way and should i delete hda3 and make the three hda3 and hda8 and hda9 or something?
 
Old 11-26-2003, 08:44 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I'm confused. You can't make partitions in hda3. It *is* a partition. Even if it was an extended partition - and you say it's not - you should still have hda5,6,7. hda3p1 makes no sense. I don't even know how 'fdisk' and 'p' could print that kind of table. Unless I'm totally missing the boat.

-- Yeah, sort of. What's the output of 'fdisk -l'? - one command line, not from the menu. If hda3 is the last partition on your drive, delete it and create it again, as an extended partition, because you're going to go over the limit of four if you want three more. So then create hda5, 6, and 7 'inside' the new, extended, hda3.

Last edited by slakmagik; 11-26-2003 at 08:46 PM.
 
Old 11-26-2003, 08:46 PM   #7
Tyir
Member
 
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Original Poster
Rep: Reputation: 30
I was confused too!
anyway i just deleted hd3
and created hd3/4/5
for the 3

ran setup
and in swap-space
i have BOTH detected
and the only option is

Do you wish to isntall these as your swap partitions?
yes/no

but...but..i only want the FIRST one!
*confused*
If i say yes, will it steal the swap from RH and claim it as its own?
 
Old 11-26-2003, 08:50 PM   #8
Tyir
Member
 
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Original Poster
Rep: Reputation: 30
I experimented to see if it would give me a choice after and it didnt.. ;(

Hopefully i didnt break RH..
 
Old 11-26-2003, 08:51 PM   #9
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Well, actually, you should just use RH's swap anyway. It won't hurt anything for either distro and will save you space. Plus, then if you only needed two more partitions, you could make them both primary. I've got Slack and Debian both using swap on Debian's drive.

But it should give you an option. That's odd. If it doesn't and you really want two swaps and don't want Slack to use RH's, just delete the line about RH's swap in /etc/fstab after you install and boot up.
 
Old 11-26-2003, 08:53 PM   #10
Tyir
Member
 
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Original Poster
Rep: Reputation: 30
Well it configured both...but if it can use both and no harm to Rh then its all good
The rest seems to be smooth now, thanks guys!
 
Old 11-26-2003, 08:53 PM   #11
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
Here is how a partitioning scheme should look:

/dev/hda (primary hard disk)
/dev/hda1 (primary,bootable)
/dev/hda5 (logical,root)
/dev/hda6 (logical,home)
/dev/hda7 (logical,usr)
/dev/hda8 (logical,tmp)
/dev/hda9 (logical,var)
/dev/hda3 (primary,swap)

I know if you has 5 different people you will get 5 different partioning suggestions. This is the one that I have always used and it has never failed.
 
Old 11-26-2003, 11:58 PM   #12
Tyir
Member
 
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Original Poster
Rep: Reputation: 30
Ack!
It DID break my RH swap!

At least I'm pretty sure it did...
my gkrellm shows that the swap is totally unused which it never usually is
and xmms isnt working
:O

I need to figrue out hwo to reconfigure the swap!

Should i post this in the RH or general forum?
 
Old 11-27-2003, 07:34 AM   #13
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
What, Slack's not using any swap? That's not surprising. *g* Which distro are you talking about regarding that and xmms? Post the output of 'free', or just look at the command. Or click on gkrellm's swap meter. Either one should show a total, whether any's being used or not - and that means it's available at need. Swap is just a paging area of temporary stuff. You can't 'break' it. You *shouldn't* really use it. It's there for emergencies and/or to make up for limited physical RAM. The xmms thing has to be a different issue. That may be that you haven't chmod'ed your sound device.

If it is a RH problem and you still want to post on it, I guess it would still go in the RH forum.
 
Old 11-27-2003, 08:10 AM   #14
Tyir
Member
 
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Original Poster
Rep: Reputation: 30
aahhh...the problem had NOTHING to do with the swap....

it had ALL to do with the fact that when partitioning, my fat32 partitions got renamed and such, and when i tried playing a song, all my music files were moved from hda5 to hda6 or something

It's all good...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a nfs partition on boot time wjleon Linux - Newbie 1 05-02-2005 11:12 AM
Problem installing YaST, SWAP partition jlukasavige SUSE / openSUSE 10 12-02-2004 03:01 PM
problem in installing kernel and mounting ntfs partition buchalkalan Linux - Software 1 11-27-2004 10:02 AM
was able to partition AND format this time!!....BUT..... beginnerx Linux - Newbie 13 10-02-2003 02:24 AM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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