LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-30-2004, 06:32 AM   #1
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 863

Rep: Reputation: 45
Cannot start Linux with new mobo


I have just upgraded my system with a new mobo, CPU and RAM.
I have 2 drives, Windows and Mandrake 10

The new board supports SATA and because of this Linux is seeing my 2 ATA discs as hde and hdf, where before they were hda and hdb.

I boot using Lilo
When I boot I get a kernel panic message:"No init found. Try passing init= option to kernel"

If I boot from CD into rescue mode my drives are mounted under /mnt.
I can edit the /etc/lilo.conf file but when I run lilo it cannot find shared libraries (everything is mounted under /mnt)

I tried doing an upgrade install. However when the wizard came to run lilo I got:
"lilo failure: Fatal: open /dev/hda1: no such device or address"

Is there a way out? If the worst comes to the worst and I do a complete reinstall will this still happen?

I'm currently stuck in Windows so any help back to Penguinland will be appreciated.
 
Old 12-30-2004, 06:37 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you should be able to pass in additional options on boot to replace hda with hde

http://www.tldp.org/HOWTO/LILO-2.html#ss2.3

alternatively can you not temporarily turn off the normal IDE (PATA) channels in BIOS?
 
Old 12-30-2004, 08:29 AM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
quote--------
If I boot from CD into rescue mode my drives are mounted under /mnt.
I can edit the /etc/lilo.conf file but when I run lilo it cannot find shared libraries (everything is mounted under /mnt)
------------------

if you mean that the root-dir ( / ) is under /mnt then you should either :

1) "#chroot /mnt" ; then run lilo.

or

2) run " #lilo -r /mnt "

egag
 
Old 12-30-2004, 11:29 AM   #4
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 863

Original Poster
Rep: Reputation: 45
Sorted

Thanks for the help.

As it turned out pressing Shift or Alt before Lilo started had no effect.

For other Mandrake users using the graphical Lilo screen: Press Escape when you get the Lilo menu. You can then type in the boot prompts.

So I then followed Acid_Kewpie's hints and re-entered Penguinland.

For others in this fix: There is no way to turn off the SATA controller in CMOS setup. Windows doesn't mind or notice that hda has become hde (the 1st four drives are assigned to SATA).

So at the Lilo boot prompt enter root=/dev/hdf1 if your Linux disc in#s the 2nd disc in the system. Once you're in, edit /etc/lilo.conf to change your drive names and then run /sbin/lilo.

Egag: did not get to try your suggestion - which seems rather elegant - 'cos I was probably working on the problem when your post was made, but thanks.
 
Old 12-30-2004, 11:47 AM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
hey....you got it up and running : thats what matters...
( read my sig. )

egag
 
  


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
Best chipset and Socket A Mobo for Linux AhYup Linux - Hardware 2 09-23-2004 11:54 AM
How can I write the mObO BIOS in the Linux ? jonh_doe_linux Linux - Hardware 4 12-05-2003 11:13 AM
Linux and Gigabyte AMD Mobo? horsiedad Linux - Hardware 1 11-28-2003 01:11 AM
Is there a mobo of choice when it comes to using linux caleb star Linux - Hardware 1 11-05-2003 04:05 PM
linux with sis mobo fatpig Linux - General 2 02-03-2003 04:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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