LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-31-2003, 02:58 AM   #1
scion
LQ Newbie
 
Registered: Oct 2003
Location: Dublin, Ireland
Posts: 8

Rep: Reputation: 0
Question Install help needed...


This is my first attempt at installing linux, my chosen type is, of course, slackware 9.1 because of its excellent hardware support.
I'm currently running XP Pro and want to make a partition and install slack on a duel boot.
I was told its risky and would be gratefull with a bit of help.
Firstly i hate partition magic because it destroys harddrives.
Does anyone recomend anything other then that?
I've printed off the install section from slackware.com but would like someone with experience to lend advice...

 
Old 10-31-2003, 09:39 AM   #2
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
I did this on my laptop (Sony Viao w/XP home).

Used the disk manager in XP to make XP partition smaller and freed
disk space for linux partitions. How much you leave for XP and how
much you give to linux is your call. Slack can easily fit into <3G if
you're strapped, but I'd give it > 6G if it's available. I have a 40G,
so I left 15G for XP, 5G for fat32, 1G linux swap, and the remainder
as a logical with 200M /boot, 9G /, and 9G /home/bbeers. But
everyone has their own opinion about partition setup.

Then boot the Slack CD,
fdisk to set up the free disk space for your new partitions,
(swap and /, at a minimum)
run setup
during section about lilo, install to MBR,
reboot, pick linux or XP,
no problems! :-)

HTH,

-bbeers
 
Old 10-31-2003, 04:43 PM   #3
mvendramini
Member
 
Registered: Apr 2003
Location: Brazil
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Quote:
1G linux swap
That's too much!

A good linux swap should be 2x bigger than your RAM, but only up to 128. If you've got more than that, (ex. 512Mb RAM) use 256Mb of disk space for linux swap.

As for the original post, I'm not sure if partition magic is safe for use or not, I know of people who used it successfuly.

I like to partition my disks using cfdisk, or if needed, gnu parted.
You could try backing up your data and then start from scratch (delete all your partitions, make your way up

Regars.
 
Old 11-02-2003, 09:25 AM   #4
scion
LQ Newbie
 
Registered: Oct 2003
Location: Dublin, Ireland
Posts: 8

Original Poster
Rep: Reputation: 0
Ok thatnks for your help
 
Old 11-03-2003, 08:37 AM   #5
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
Quote:
Originally posted by mvendramini
That's too much!

A good linux swap should be 2x bigger than your RAM, but only up to 128. If you've got more than that, (ex. 512Mb RAM) use 256Mb of disk space for linux swap.

Interesting, do have some URLs to support that assertion? Are you implying that
it is not possible to use more than 256M of swap, or that it's just inefficient? After
all, in the Old Days(tm) when one only had 1.5 or 2.2G of hard drive space, using
more than a minimal amount of that resource for swap may have been foolish, but
now with 60, 80, 120G hard drives the norm, why not 1,2, 5G for swap?
 
Old 11-03-2003, 09:42 AM   #6
tmorton
Member
 
Registered: Jan 2003
Location: In front of my computer in Oregon, USA
Distribution: Slackware
Posts: 198

Rep: Reputation: 31
Hi all,
I used QTParted off of the Knoppix disk on my computer. And it worked!
Then, I just partitioned it using cfdisk, installed slack, and lilo.
--Taj
 
Old 11-03-2003, 12:51 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Here's one: http://www.linux-mag.com/1999-05/newbies_03.html

Personally, I've got one rig with 1G of RAM and I've declared a 256Mg Swap. In practice, I don't think I've ever seen its usage go over maybe 70Mg or so, and if/when I decide to adjust my partitions, I'll definitely be taking swap down to 128Mg. I'd say that the main thing here is just to keep in mind that the only time swap really comes into play is if you've got so many apps running that your run out of memory, which probably doesn't happen all that frequently, and even if it did, if it only happened on an isolated basis it wouldn't really be an issue. It would only become a problem if it were a chronic condition. I would chalk up the advice that "swap should = twice RAM" to be a holdover from the early days, where you would be living large if you had 16Mg or 64Mg of RAM. These days, with much larger amounts of RAM being standard, partitioning half or a full gig (or whatever) just wastes space. I agree that in all likelihood a 128Mg swap would be more than enough. -- J.W.
 
Old 11-03-2003, 01:05 PM   #8
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
I don't really disagree, RAM and hd have both increased
dramatically, but ... any references from this millenium? ;-)
(The article you cite is about RH5.2 and a <1G harddrive)

Seriously, something with the underlying reasoning,
not just the recommendation. I'd really like to know.
Whether the space is wasted as empty file system or
wasted as unused swap space, you might agree
that it's easier to delete/compress/move to another
drive some files, than it is to remake a partition, but
then again, it is possible to make a swap *file* if
necessary, no?

-bbeers
 
Old 11-03-2003, 06:48 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Swap lives in its own partition, and is the only thing in that partition, therefore, regardless of whether it actually occupies 1% or 100% of that allocated space, that entire partition is off-limits to everything else. If you're using giant capacity disks, then I'd agree that whether you allocate 128Mg, 256Mg, or even 1G for swap, it won't really matter because you'd still have huge amounts of free space. However, if you've got more limited storage capacity, like on a 20G or 40G drive where 1 gig is a meaningful percentage of your total storage space, then it makes little sense to over-allocate space to swap, just as it would make little sense to over-allocate space for certain other partitions, such as /boot. (Would it be efficient to allocate a 1G partition for /boot? No, and for the same reason, it doesn't make sense to allocate 1G for swap if your system only rarely uses it.)

Obviously partitioning is a highly debatable topic, but in the case of swap, if you examine the usage of your own swap partition, and you notice that the high water mark never exceeds say 100Mg, then I would say that reserving 1G for it is overkill. As I said, for me, the max usage of swap I've ever seen on my rig is about 70Mg of the 256Mg I've allocated, and thus, if I had followed the "twice RAM" rule and allocated 2G for swap, that would needlessly decrease my available space for more useful stuff by almost 1.8G, which to me would be a waste. -- J.W.
 
  


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
Garnome install help needed JRR883 Linux - Software 0 11-13-2005 02:53 PM
Install help needed slyfox_00 Linux - Newbie 3 07-04-2004 12:34 PM
FreeTTS install help needed, please gervin Linux - Newbie 3 01-15-2004 08:54 PM
RH9 install help needed Zzapped Linux - Newbie 1 09-30-2003 02:47 PM
PHP4 install help needed RecoilUK Linux - General 14 07-17-2001 02:49 PM

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

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

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