LinuxQuestions.org
Visit Jeremy's Blog.
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 01-22-2006, 11:55 AM   #1
kudos
Member
 
Registered: Oct 2002
Location: UK
Distribution: Fedora 4
Posts: 90

Rep: Reputation: 15
sata boot problems


hi

im running a sata drive and installing slack 10.2

i have got it installed fine running sata.i module on boot up for install.
all went find and cfdisk /dev/sda got my drives setup etc

table as this
/dev/sda1 swap
/dev/sda2 /boot
/dev/sda3 /
/dev/sda4 /video
(checked this with fstab it match's)

now im having aproblem with booting into linux

after lilo im getting the following error messages.

Quote:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno =2

kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno = 2
VFS: Cannot open root device "803" or 08:03
please append a correct "root=" boot option
kernel panic: VFS Unable to mount root fs on 08:03
my lilo.conf looks like this

Quote:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 50
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 800x600x256
vga = 771
# Normal VGA console
# vga = normal

# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda3
label = Linux
read-only
# Linux bootable partition config ends
i can boot from the CD with
sata.i root=/dev/sda3 noinitrd ro

no errors etc

i hope someone can help me out here as im realy stock now
 
Old 01-22-2006, 12:07 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
You can try to change
Code:
boot = /dev/sda
to
Code:
boot = /dev/sda2
to see if Lilo likes it.

You need to run "lilo" again every time after you have altered /etc/lilo.conf.
 
Old 02-06-2006, 05:01 AM   #3
evan.bhomert
LQ Newbie
 
Registered: Feb 2006
Location: Jakarta
Posts: 1

Rep: Reputation: 0
Mr Saikee
I'am try for ur solution. but it's same it's not work.
anybody can help for problem like :
im running a sata drive and installing slack 10.2

i have got it installed fine running sata.i module on boot up for install.
all went find and cfdisk /dev/sda got my drives setup etc

table as this
/dev/sda1 swap
/dev/sda2 /boot
/dev/sda3 /
/dev/sda4 /video
(checked this with fstab it match's)

now im having aproblem with booting into linux

after lilo im getting the following error messages.

Quote:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno =2

kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno = 2
VFS: Cannot open root device "803" or 08:03
please append a correct "root=" boot option
kernel panic: VFS Unable to mount root fs on 08:03

my lilo.conf looks like this

Quote:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 50
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 800x600x256
vga = 771
# Normal VGA console
# vga = normal

# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda3
label = Linux
read-only
# Linux bootable partition config ends


i can boot from the CD with
sata.i root=/dev/sda3 noinitrd ro

no errors etc

i hope someone can help me out here as im realy stock now
 
Old 02-06-2006, 05:23 AM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
evan.bhomert,

You haven't tried my suggestion as your lilo.conf doesn't show it.

My suggestion of using boot=/dev/sda2 is because high up at your lilo.conf these 2 lines
Code:
boot = /dev/sda
message = /boot/boot_message.txt
have no information on where /boot/boot_message.txt can be obtained. Since your /boot is in sda2 and so I suggest the amendment.

Also you must to run "lilo" in Bash shell everything after altering its lilo.conf or no change will be implemented.
 
Old 02-06-2006, 10:32 PM   #5
verinux
LQ Newbie
 
Registered: Feb 2006
Location: Jakarta
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by evan.bhomert
Mr Saikee
I'am try for ur solution. but it's same it's not work.
anybody can help for problem like :
im running a sata drive and installing slack 10.2
i have got it installed fine running sata.i module on boot up for install.
..snip..deleted...snip...
i hope someone can help me out here as im realy stock now
From the error log, seems that your kernel doesn't support sata yet,

Have you use sata.i as your kernel in post-installation of slackware?

When you use sata.i in 1st booting, is just to recognize the sata drive and installed it there, but you have to use sata.i as your kernel on post-installation to make your slackware recognize the sata drive.

Hope it helps..
 
Old 02-06-2006, 11:56 PM   #6
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno = 2
VFS: Cannot open root device "803" or 08:03
please append a correct "root=" boot option
kernel panic: VFS Unable to mount root fs on 08:03

think not the problem with lilo, since lilo is coming
have u installed sata.i kernel when it asked for installing kernel.

or if u can boot into linux using sata.i root=/dev/sda3 noinitrd ro

boot into machine using this.
copy the sata.i kernel(or what ever is working) to /boot (along with the config and system map file) and edit lilo and run lilo

comment:
kudos
Member
Registered: Oct 2002
Location: UK
Posts: 74
Distribution: Fedora 4--> please change to slackware
 
  


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
problems installing custom 2.6.14 kernel (for SATA problems) Ekkume Ubuntu 0 12-29-2005 02:39 PM
How to boot into a SATA harddrive LostIn Linux - General 8 05-28-2005 08:23 AM
Boot problems with RH AS 2.1 and SATA Maxtor hard drive smochi Linux - Hardware 0 12-28-2004 03:47 AM
Can't boot with SATA crtek Slackware 1 05-22-2004 10:09 PM
SATA Boot Question flysideways Linux - Hardware 4 09-29-2003 11:55 AM

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

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