LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices



Reply
 
Search this Thread
Old 02-21-2004, 10:36 PM   #1
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 9.1, Mandrake 9.2
Posts: 94

Rep: Reputation: 15
installing slack onto the primary slave


i'm really interested in trying out slackware. i have a new hard disk (SATA) that I plan to attach as the primary slave. I've never tried this before however. I've looked around LQ and can't find any similar situations. After I attach the hard disk, how do access it to begin partitioning?

another issue i was thinking about is booting. i have winxp and mandrake on my primary master and I believe I should be able to boot slack from my existing lilo. can this be done? any "better" way to do it?

thanks
 
Old 02-21-2004, 11:21 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
When installing slackware and it boots up and prompts for you to partition the disks, etc, you can partition your secondary drive by doing the following:

cfdisk /dev/hdb

And you will only be partitioning your second hd. If you need to partition your master drive, simply typing cfdisk or cfdisk /dev/hda will prompt to partition only that drive, etc.

And yes, you can easily use your existing loader to load slack at boot time, just be sure to skip over installing lilo during the install. And you'll need to edit your boot loader accordingly afterwards on the slackware specific details, etc.
 
Old 02-22-2004, 12:53 AM   #3
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 9.1, Mandrake 9.2
Posts: 94

Original Poster
Rep: Reputation: 15
ok..so i skip the lilo install after installing slackware..any tips on how to edit lilo to boot to slack?
 
Old 02-22-2004, 07:08 AM   #4
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
I am not sure but i heard that SATA is not supported by the current 9.1 's 2.4.22 kernel. You may have to compile your own custom kernel in order to get SATA going. Try to find out more on this.
 
Old 02-22-2004, 02:41 PM   #5
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 9.1, Mandrake 9.2
Posts: 94

Original Poster
Rep: Reputation: 15
yes, i have a 2.6.2 kernel custom compiled for mandrake 9.2 right now..but i need to know how to edit lilo to boot to slack from the primary master
 
Old 02-23-2004, 03:07 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,776

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
To set up lilo you need to create a new entry in the /etc/lilo.conf file.
Run your other distro and edit lilo.conf. duplicate an existing entry and change the label, image and root references to point to your Slackware installation. You may still need a bootdisk with support for SATA though.
 
Old 02-23-2004, 05:27 PM   #7
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 9.1, Mandrake 9.2
Posts: 94

Original Poster
Rep: Reputation: 15
hmmm..i never thought of that. That was one of things I wasn't sure what would happen. I know SATA is not supported by the 2.4.x series so I'm wondering if Slack will even be able to boot up from there?
 
Old 02-23-2004, 10:21 PM   #8
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 9.1, Mandrake 9.2
Posts: 94

Original Poster
Rep: Reputation: 15
i've connected my SATA drive via host adapter. i have an existing pata drive which is my boot drive. however, when i rebooted with the slack cd after installing the sata drive, i can't run fdisk on /dev/hdb. How do I know which drive is the SATA drive?

I think i read somewhere that SATA drives have "boot priority" is that true? I can't even get into Mandrake 9.2 (w/ 2.6.2 that has SATA support) without kernel panic. What's going on?
 
Old 02-24-2004, 06:52 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,776

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
You either have to boot with a kernel that has support for SATA compiled in, or a kernel/initrd image that will load the modules, so that the SATA drive can bemounted as root. If the SATA is the boot device you need akernel with support compile-in. You can make one in another running system. then boot with that and copy your distro over or install packages to the new HD. chroot into the new drive/installation and run lilo there.
 
Old 02-24-2004, 11:34 AM   #10
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 9.1, Mandrake 9.2
Posts: 94

Original Poster
Rep: Reputation: 15
i see. problem is, slack doesn't seem to detect my other hard disk ( the pata) which has mandrake and winxp on it. i have 2.6.2 in mandrake but slack seems to think my new SATA is /dev/hda. is soemthing wrong?
 
Old 02-24-2004, 11:38 AM   #11
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 9.1, Mandrake 9.2
Posts: 94

Original Poster
Rep: Reputation: 15
btw, when i try to load mandrake 9.2, it crashes, probably due to the sata drive...
 
  


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
Dual boot primary Linspire & XP primary slave? watmonki Linspire/Freespire 5 11-01-2005 09:16 PM
Installing FC3 on primary slave HDD... oolceeoo Linux - Hardware 2 02-22-2005 10:59 PM
Installing Slackware on a primary slave (/dev/hdb) vharishankar Slackware - Installation 2 02-16-2005 05:41 PM
boot loader, MBR, redhat9 on primary slave, winxp on primary master samik Linux - Hardware 4 10-15-2003 09:55 PM
Installing Win98 on slave drive to pre-existing linux install on primary eliszka Linux - Software 8 11-07-2001 11:46 PM


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