LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 01-26-2004, 01:26 AM   #1
freychef
Member
 
Registered: May 2003
Location: Montreal
Distribution: Slack, Libranet
Posts: 92

Rep: Reputation: 15
new hard drive, grub and swap?


I've been over the many threads here and this is my understanding of what I should do....

I'm looking to add a 2nd hard drive to my box which will be dedicated to Slackware. The 1st hard drive currently dual boots XP and Libranet. I use Grub to load both OS's.

Please confirm: Once 2nd HD is installed and Slack loaded, I just have to edit my Grub menu.lst to include the location of the 2nd HD and slack boot file? Yes?

And, second question, do I have to create a swap partition for Slack on the 2nd HD or can Slack use the current swap configuration on the 1st HD? I'm not very clear on this one.

Thanks for helping me clear this up.
 
Old 01-26-2004, 06:37 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Quote:
second question, do I have to create a swap partition for Slack on the 2nd HD or can Slack use the current swap configuration on the 1st HD? I'm not very clear on this one.
any and all linux distro's you install CAN use the same swap file.
 
Old 01-26-2004, 09:10 AM   #3
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
You'll have to know your slack kernel name before doing this, if it is /vmlinuz on hdb1 just add to menu.lst

Code:
title = Slackware
root (hd1,0)
kernel /vmlinuz
Be sure not to install another instance of grub on hdb1, since grub searches for menu.lst at boot time, it will use the first one it finds, and this may eventually drive you crazy

PS: Having swap partition on a different disk will probably even increase performance (if you use swap a lot) if the disks are on different buses (e.g. hda and hdc) since disk head doesn't need to go back and forth.

Last edited by ac1980; 01-26-2004 at 09:13 AM.
 
Old 01-26-2004, 09:55 AM   #4
freychef
Member
 
Registered: May 2003
Location: Montreal
Distribution: Slack, Libranet
Posts: 92

Original Poster
Rep: Reputation: 15
Thanks for the replies,

I just needed some confirmation on these questions.

Cheers.
 
  


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 grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
Hard Drive Swap Challenge Peterius Linux - Hardware 1 10-17-2004 11:42 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 01:01 PM
DSL hard drive install and swap Sparkfist DamnSmallLinux 2 05-04-2004 11:38 PM
Can I do this? Hard drive swap. bulliver Linux - Hardware 7 12-26-2002 02:54 PM


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