LinuxQuestions.org
Review your favorite Linux distribution.
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 03-13-2005, 11:37 PM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
slackware on scsi


hi there i'm installing slackware on a scsi Hardrive at the moment and i can install it all fine and ok and then once i got to boot it for the first time it wont boot it just goes wvlinuz ................................... until it seams to time out. am i doing something wrong?
 
Old 03-13-2005, 11:45 PM   #2
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Sounds like you are not installing the kernel that has the SCSI drivers for your controller, ie probably installing the ide (aka bare.i) kernel in the "a" directory verse the one you are using to boot and complete the install with.

If that's the case, then you could use the CD to boot the correct kernel and manually install the right one. Else reinstall it, only when you select a kernel make sure you select the correct one.
 
Old 03-13-2005, 11:50 PM   #3
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
i did choose the scsi kernal i think, when it booted up i pressed F2 to see the options and then types the first word on the scsi line, i can't remember what it was but it started with an 'a' andt hen next few along the line was scis.s or something like that and once i was in there i could fdisk into the scsi drives useing fdisk /dev/sda1.

how do i edit what kernal it uses after an install?
 
Old 03-14-2005, 12:19 AM   #4
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Assuming you're using the Slackware CD, you'd just boot the PC with it, typing "scsi.s" at the boot prompt (or whatever kernel has the correct drivers for your controller). Then just login as root. Once you're logged in, then mount your / partition, assuming you did not separate it from /boot and installed everything to 1 partition. If you didn't then go ahead and mount them all. Once you have it mounted, then you'd just replace the kernel files in /boot with the ones from the CD. Then chroot into it, run lilo, exit, unmount the drive and reboot.

In short, run the following commands once you are logged into the CD:
Code:
mkdir /mnt/sda1
mkdir /mnt/cdrom
mount /dev/sda1 /mnt/sda1
mount /dev/hdc /mnt/cdrom
cd /mnt/sda1/boot
mv vmlinuz vmlinuz-org
mv System.map System.map-org
mv config config-org
cp /mnt/cdrom/kernels/scsi.s/bzImage vmlinuz
cp /mnt/cdrom/kernels/scsi.s/config .
zcat -d /mnt/cdrom/kernels/scsi.s/System.map.gz > System.map
cd /
chroot /mnt/sda1
lilo
exit
umount /mnt/sda1
umount /mnt/cdrom
reboot
The above assumes /dev/sda1 is your root parition, if it's not then change it. I don't think I missed anything. Also best I recall Slackware installs links for the System.map, config and vmlinuz files but I don't have a default install to reference to be sure. Anyway, the above should work fine, assuming /etc/lilo.conf is right and the kernel is named vmlinuz in it. You may want to take a peak at the lilo.conf file after running the "chroot" command but prior to running the "lilo" command to make sure everything is ok with it. I always name my kernels like so:

vmlinuz-2.4.29
config-2.4.29
System.map-2.4.29

and remove the links to avoid confusion. But if you do that make sure you change it in the lilo.conf.

BTW, while your in /mnt/sda1/boot, run "ls" and see what the current kernel is named. I bet it's the ide kernel, if so, then that's your problem. If not, you may want to try passing "vmlinuz vga=normal" at the boot prompt before replacing your kernel.

Oops, I had to change the above a bit, I didn't have you mount the CD. You didn't say what controller your CDROM is connected to, so I assumed it's connected to the Secondary IDE controller as the master. If that's not the case then substitute /dev/hdc with one of the following:

/dev/hda = Primary Master (IDE 0)
/dev/hdb = Primary Slave (IDE 0)
/dev/hdc = Secondary Master (IDE 1)
/dev/hdd = Secondary Slave (IDE 1)

Last edited by DaHammer; 03-14-2005 at 12:47 AM.
 
Old 03-14-2005, 12:54 AM   #5
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
hey you were right, i have the ide kernel ... and thanks for that website it was a Big hand. it explains how to install the right kernal for a scsi i'm going to give it a re-install.
 
Old 03-14-2005, 01:08 AM   #6
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Website? What website? Anyway, yeah you can reinstall it if you want as well. Just select "cdrom - Use a kernel from the Slackware CD" when you get to the part about installing a kernel. But it would be faster to just fix what you have.
 
Old 03-14-2005, 01:26 AM   #7
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
haha, your right, i was on a website at the same time as i was talking to you and i got the information off it, my mind is a little scrabbled at the moment, here's the website i was on, (it's really good for any slackware newbie's such as myself) http://shilo.is-a-geek.com/slack/instalslack2.html and the site i found in the scsi slackwar installation instructions was http://www.bitbenderforums.com/vb22/...?postid=311808 if anyone's insterested
 
  


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
Hotplug SCSI scanner or How to write to /proc/scsi/scsi from within a shell script. samac Linux - Hardware 1 08-30-2004 02:28 PM
SCSI problem on Slackware 10 sigeberht Linux - General 1 07-05-2004 08:22 AM
SCSI Slackware Install rivang Slackware - Installation 1 03-19-2004 01:15 AM
SCSI - Slackware and LILO Chryzmo Slackware - Installation 4 03-13-2004 10:41 AM
slackware 9.0 SCSI problems.. Noob2k Linux - Newbie 1 04-19-2003 11:37 PM

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

All times are GMT -5. The time now is 08:12 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
Open Source Consulting | Domain Registration