LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-03-2008, 02:38 PM   #1
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Exclamation lilo question


Here is my setup: used a desktop to install Slackware to a CF card. On slackware, it is read as /dev/sda, but, as you probably know, when I put it in the computer it is used in (as the only drive) it should be read as /dev/hda. So, it has a kernel panic because the root= does not equal /dev/hda1 but /dev/sda1 and it doesn't know what to do. Thus, I stuck the CF card into my computer, unhooked my hard drive so I would screw anything up, and booted Knoppix. One in knoppix, I edited the lilo.conf file on the CF card to:

boot=/dev/hda
root=/dev/hda1
timeout 20

I saved and did a "lilo -C /media/sda1/etc/lilo.conf". I get an error that I have never seen before:
Quote:
Fatal: raid_setup: stat("/dev/hda")
And therefore, the changes are not saved to lilo. I'm not an expert (or else I wouldn't be asking...), but it sounds like Knoppix already uses Lilo (I thought it used grub..) and is trying to protect itself from being overwritten, or it sees the action as trying to set up some sort of raid array. I'm not sure, but I need to get this to work. Is there a way I can force it to work? Change the knoppix's lilo.conf to something else then change the CF card's lilo.conf to hda? I don't know.

Thanks!
 
Old 12-03-2008, 03:48 PM   #2
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472

Original Poster
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Thanks to "nullboy" on #slackware, I got it working. Passed the needed functions along and edited fstab to get it working.
 
  


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
LILO question Arbitor Mandriva 3 04-13-2004 01:54 PM
Question about LILO Bandhel Linux - Newbie 1 03-14-2004 02:42 AM
LILO question jamaso Slackware 7 11-15-2002 02:21 PM
Lilo Question jbrasher Linux - Newbie 2 05-01-2002 10:36 AM
Lilo/kernel question & font question phek Linux - General 9 09-18-2001 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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