LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2006, 10:40 PM   #1
ddu_
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 114

Rep: Reputation: 16
Boot Issues!


Hey guys, I've got an HP ZE1210 laptop that I want to run slackware on. After a successful install, I reboot the machine and I get this error:

Hard disk boot sector invalid
Press 'H' to rety Hard Drisk, any other key for floppy.


Pressing H gives the same error.

So, I use the Slackware install disk and at the boot prompt I use the following command as it suggests:

bare.i root=/dev/hda2 noinitrd ro

It boots up, and I'm able to get into KDE from here. However, during boot I see a lot of "modprobe: Can't open dependencies file /lib/modules/2.4.31.modules.dep"

I also see similiar errors when trying to rerun network scripts rc.inet1.

So, my questions are:

1: Is there a way to fix my boot problem?
2: what does the boot option bare.i root=/dev/hda2 noinitrd ro mean exactly? And, is this whats causing the modprobe errors?

Thanks in advance, i'll keep doing reasearch and hope for some help!
 
Old 10-11-2006, 12:02 AM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
"bare.i" is a reference to the kernel, its 'bare'
"root=/dev/hda2" is what hdd your /root is on

My guess is the modprobe errors are caused by missing programs and libraries. Did you pick and choose which programs to install when you installed Slackware? Or did you just go with everything?

I can't help with the invalid disk error, never seen that before (on my computer, hence I don't know how to fix it).
 
Old 10-11-2006, 02:57 AM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
The invalid disk error sounds suspiciously like there is no boot manager installed in your MBR. During the install did you install Grub or Lilo? Never seen the Slack installer to know when this would happen but you need to install Grub or Lilo to your MBR to boot. I've seen a lot of threads re modules.dep being missing on Slackware so it's not an uncommon problem. Googling or searching the forums should get you an answer
 
Old 10-11-2006, 11:53 AM   #4
ddu_
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 114

Original Poster
Rep: Reputation: 16
First, thanks for taking your time to answer

Quote:
Originally Posted by Penguin of Wonder
"bare.i" is a reference to the kernel, its 'bare'
"root=/dev/hda2" is what hdd your /root is on

My guess is the modprobe errors are caused by missing programs and libraries. Did you pick and choose which programs to install when you installed Slackware? Or did you just go with everything?

I can't help with the invalid disk error, never seen that before (on my computer, hence I don't know how to fix it).
I went with a full install of everything, and I've installed slack before, its just this particular PC thats doing it.




Quote:
Originally Posted by cs-cam
The invalid disk error sounds suspiciously like there is no boot manager installed in your MBR. During the install did you install Grub or Lilo? Never seen the Slack installer to know when this would happen but you need to install Grub or Lilo to your MBR to boot. I've seen a lot of threads re modules.dep being missing on Slackware so it's not an uncommon problem. Googling or searching the forums should get you an answer
I installed lilo during the install. I'll check around some more, thanks again .
 
Old 10-11-2006, 01:01 PM   #5
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Did you install different kernel and kernel-modules package? It could be that you're computer is using 2.6 kernel but you only have 2.4 kernel modules installed. I've had this issue several times when installed 2.6 series kernel or when configuring lvm-partitions.

Otherwise I would agree the MBR issue as during the slackware installation I think it defaults to install lilo to root instead of MBR IIRC.
 
Old 10-11-2006, 06:37 PM   #6
ddu_
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 114

Original Poster
Rep: Reputation: 16
nope, I installed the default one during install.

Is this a lilo issue?
 
  


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
Boot Issues UezeU Linux - Hardware 3 10-14-2005 09:53 AM
Boot up issues Pyro-dragon Linux - Newbie 6 01-26-2005 10:44 AM
Boot Issues LinuxLoverMeg Linux - Newbie 9 09-23-2004 08:02 PM
Boot-Up Issues Odd_Bloke Linux - Newbie 2 08-27-2003 05:00 PM
boot issues jgoulah Linux - General 1 06-18-2003 04:29 PM


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