LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-12-2004, 04:26 AM   #1
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
slack 10 SATA / kernel 2.6.7


I recently gave Slack 10 a bash, booted from the scsi.i kernel because I have a SATA hdd (giga-byte mainboard).

Under CFDISK it lists my hdd as hda / hda1 etc... instead of sda / sda1...

Note that this is under the 2.4.26 kernel.

The install goes fine and I reboot into slackware and all is good. I then want to install the 2.6.7 kernel and do everything as instructed under the README and once I rebooted I get a kernel panic, I have a suspicion that this is because of my /etc/fstab still showing my hdd is hdax instead of sdax, and under the 2.6.7 kernel it wants to load the scsi modules... am I correct?
 
Old 10-13-2004, 05:41 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Re: slack 10 SATA / kernel 2.6.7

Quote:
Originally posted by equinox
I recently gave Slack 10 a bash, booted from the scsi.i kernel because I have a SATA hdd (giga-byte mainboard).

Under CFDISK it lists my hdd as hda / hda1 etc... instead of sda / sda1...

Note that this is under the 2.4.26 kernel.

The install goes fine and I reboot into slackware and all is good. I then want to install the 2.6.7 kernel and do everything as instructed under the README and once I rebooted I get a kernel panic, I have a suspicion that this is because of my /etc/fstab still showing my hdd is hdax instead of sdax, and under the 2.6.7 kernel it wants to load the scsi modules... am I correct?
What does dmesg look like in your kernel panic? I had a few before
I got 2.6.7 to work, but how did you get 2.4.26 to boot without a sata
kernel? You're the first I heard to get it working - must be using generic
scsi module.

In 2.6.7 it should load as /dev/sda - you're correct. You need the right
modules for your mobo chipset and hd, then your /etc/lilo.conf should
look something like this.
NB: You don't need an initrd if you have your filesystem built-in
Code:
mingdao@james:~$ cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="apm=power-off"
boot = /dev/hda    <- /dev/sda if lilo is in your sata drive
message = /boot/boot_message.txt
prompt
timeout = 50
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1024x768x64k
 vga=791
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda1
  label = Slack-2.6.7
  read-only
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
  label = Windoze
  table = /dev/hda
# Windows bootable partition config ends
The problem I had was getting lilo to accept "root = /dev/sda1"
when I had it booting as /dev/hde so don't forget that /etc/fstab
will have to match up with lilo...
 
  


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
Slack 10.1.0 and SATA RAID0 rmocius@auste.e Slackware 1 03-10-2005 11:28 AM
slack 10.1 on SATA drives acidjuice Slackware 7 02-17-2005 12:26 PM
RH9 and SATA - Kernel 2.4.27 - how to get SATA to work? rolf_mueller Linux - Hardware 5 10-30-2004 09:30 PM
slack 9.2? kernel 2.6? support for SATA raid?? scsikid Slackware 6 03-09-2004 09:53 PM
Slack and SATA trey85stang Slackware 7 02-13-2004 12:05 AM


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