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 09-10-2004, 12:52 AM   #1
mlsbraves
Member
 
Registered: Feb 2004
Location: Gulfport, MS
Distribution: Slackware 10.1, Gentoo
Posts: 90

Rep: Reputation: 16
Installing Slack on slave HD. Am I doing this right?


I'm installing a new hard drive and I'm setting it as slave. I want to install Slackware 10 on this drive and be able to boot from either hard drive. I've looked through many guides and the best one I've been able to find is: [website]bitbenderforums.com/vb22/showthread.php?postid=311808[/website] (Don't have enough post to post link yet )

Like the rest, they all explain how to install on one hard drive and just partition the drive. So can someone tell me if this is the way I need to do it in my case:

First run fdisk on slave HD:
Code:
fdisk /dev/hdb
hdb should be my slave HD right?

Then make partition for slack.
The slave is only 15GB so I don't know if I should just partition 14GB for root and 1GB for swap or use the scheme he uses in this guide:

Quote:
root partition
swap partition
partition for /usr
partition for /opt
partition for /home
Which Scheme should I use?

So assuming I'm going to create a just a root and swap partition I would create a primary partition for the root and then just an extended for the swap?

After this partitions should be set and I can begin install?
The bootloader should be able to choose between two different hd right? Anything different to setup?

Last edited by mlsbraves; 09-10-2004 at 12:53 AM.
 
Old 09-10-2004, 01:02 AM   #2
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
you've got it right. complex partition schemes may be beneficial for disk quotas, etc., but if you want to keep it simple you can just have root 14GB and swap 1GB and you'll be fine. you make both root and swap primary and for "type" set swap as "linux swap" and just leave root as type "linux". set root as bootable.

configuring lilo is the most difficult part. you should probably do an "expert" lilo install to make sure it sees your other partitions. "start new lilo header", "add new linux partition", (add whatever other partitions you have), "install lilo". that should set you on your way.
 
Old 09-10-2004, 03:07 AM   #3
mlsbraves
Member
 
Registered: Feb 2004
Location: Gulfport, MS
Distribution: Slackware 10.1, Gentoo
Posts: 90

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by sether
make both root and swap primary and for "type" set swap as "linux swap" and just leave root as type "linux". set root as bootable.
.
When you say set root as bootable, when is this done? I know to set swap to ID 82 and the root as 83.
 
Old 09-10-2004, 03:10 AM   #4
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
correct about 82/83. but there is an option in cfdisk called "Boot" (or maybe "Bootable", i forgot). use the up/down arrows to get to the root partition, then right/left arrows to get to the "Boot" (or "Bootable") option and press enter. then write and exit.
 
Old 09-10-2004, 01:17 PM   #5
mlsbraves
Member
 
Registered: Feb 2004
Location: Gulfport, MS
Distribution: Slackware 10.1, Gentoo
Posts: 90

Original Poster
Rep: Reputation: 16
So this must be done before installing slack? Just asking because there is nothing about this in the guide. I know in the installation it ask to select the root partition.
 
Old 09-10-2004, 06:32 PM   #6
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
yes. when you get to the prompt that says "you may now login as root". login, type cfdisk. partition the drive, exit, and type setup to start the install.
 
Old 09-12-2004, 04:24 AM   #7
mlsbraves
Member
 
Registered: Feb 2004
Location: Gulfport, MS
Distribution: Slackware 10.1, Gentoo
Posts: 90

Original Poster
Rep: Reputation: 16
Sorry, this should be my last question. How do I setup lilo to boot from either HD? The guide has the two OS's installed on the same HD so its a little different and the config will be different too. The config file he's got it:
http://www.bitbenderforums.com/~grog...a_liloedit.gif
But since I'm installing on hdb lilo would be installed on it wouldn't it? So when the system boots it will auto start on hda, master(windows), unless I change bios to start slave first. So should I change bios to start slave and change the config to:
Code:
boot = /dev/hdb
Code:
root = /dev/hdb
Code:
other = /dev/hda
I'm not sure what the table value is for.

Thanks for all your help so far.
 
  


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 debian on slave KO_32 Linux - Hardware 1 07-20-2005 06:02 PM
Help installing Linux on a slave HD VisionZ Linux - Software 10 04-12-2004 06:17 PM
installing slack onto the primary slave fobius Slackware - Installation 10 02-24-2004 10:38 AM
installing hd as slave 80gb tincat2 Linux - Hardware 2 12-29-2003 06:05 AM
Installing Slack on a slave HD with XP on master one. Degon Slackware 6 07-27-2003 02:58 AM

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

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