LinuxQuestions.org
Review your favorite Linux distribution.
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-02-2008, 11:06 AM   #1
A7G1-6
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Installing LILO from host system to hdb to boot as hda in target system


Hello all,

First I will just say that I am a Linux newbie. Now that that's out of the way...

I'm trying to get a disk on module (IDE FLASH drive) to boot as the primary drive in a target system. Currently, on the host, I have Red Hat running from a primary IDE drive. The DOM is connected as the primary slave. I have partitioned the DOM and copied the system files over to it -- at least I think I have with a cp -a command. I have been reading books and reams of google search results on how to install LILO on the DOM, but nothing is working. I have gotten as far as LILO booting up to LI on the DOM. I'm not sure if that means that LILO has been installed on the DOM and can't find something, or if LILO was improperly installed or both.

Here is my tlilo.conf file:
boot=/dev/hdb
map=/boot/map
install=/boot/boot.b
disk=/dev/hdb
bios=0x80
prompt
timeout=50
linear
read-only
default=rtlinux

image=/boot/vmlinuz-2.2.18-rtl-doc
label=rtlinux
read-only
root=/dev/hda1

I had lilo version 21 installed on the host system when I was first trying this. After reading the LILO section in "Building Embedded Linux Systems" I saw that the autor recommends using version 22.3 or better. So, I went out and got the latest version and tried to build it on my host but got a message saying that as86, bd86, and BCC was not present. So, downloaded the LILO binary and just copied LILO to my /mnt/sbin directory and tried to run the following command:
./lilo -r /mnt -C /mnt/etc/tlilo.conf -t -v -v
I realize this is a test run, but I get this error message:

Fatal: Cannot open: /mnt/etc/tlilo.conf

I've been doing this for a few days and feel that I'm missing some fundamental concepts.

Please help!

Thanks,

Mike
 
Old 05-23-2009, 10:01 AM   #2
narendraksaini
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Hi Mike,

Were you able to get DOM working with linux like this or some other method. I am currently in the same situation and would like to know if you have found the solution, could you help?

Thanks in advance


Quote:
Originally Posted by A7G1-6 View Post
Hello all,

First I will just say that I am a Linux newbie. Now that that's out of the way...

I'm trying to get a disk on module (IDE FLASH drive) to boot as the primary drive in a target system. Currently, on the host, I have Red Hat running from a primary IDE drive. The DOM is connected as the primary slave. I have partitioned the DOM and copied the system files over to it -- at least I think I have with a cp -a command. I have been reading books and reams of google search results on how to install LILO on the DOM, but nothing is working. I have gotten as far as LILO booting up to LI on the DOM. I'm not sure if that means that LILO has been installed on the DOM and can't find something, or if LILO was improperly installed or both.

Here is my tlilo.conf file:
boot=/dev/hdb
map=/boot/map
install=/boot/boot.b
disk=/dev/hdb
bios=0x80
prompt
timeout=50
linear
read-only
default=rtlinux

image=/boot/vmlinuz-2.2.18-rtl-doc
label=rtlinux
read-only
root=/dev/hda1

I had lilo version 21 installed on the host system when I was first trying this. After reading the LILO section in "Building Embedded Linux Systems" I saw that the autor recommends using version 22.3 or better. So, I went out and got the latest version and tried to build it on my host but got a message saying that as86, bd86, and BCC was not present. So, downloaded the LILO binary and just copied LILO to my /mnt/sbin directory and tried to run the following command:
./lilo -r /mnt -C /mnt/etc/tlilo.conf -t -v -v
I realize this is a test run, but I get this error message:

Fatal: Cannot open: /mnt/etc/tlilo.conf

I've been doing this for a few days and feel that I'm missing some fundamental concepts.

Please help!

Thanks,

Mike
 
Old 07-25-2009, 10:37 AM   #3
asprakash
Member
 
Registered: May 2006
Location: Chennai, India
Posts: 74
Blog Entries: 3

Rep: Reputation: 18
I am sure, its too late reply for Mike. I dont thing my reply will help for Mike. But for Narendraksaini, i hope it will be useful.
Are you trying to install LILO on your DOM? Why you should not use Grup? I tried stand alone RTAI RTLinux in my DOM with LILO first. But I got some problems with LILO. Then I tried GRUP in my DOM and booted successfully. Hope this link will be useful, if you are trying to create a stand alone RTAI system on DOM, http://asprakash.wordpress.com/2009/...e-rtai-system/

Or you are facing different issues, please mention in detail.
 
  


Reply

Tags
dom



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
I removed hda, which had lilo how do I get hdb to boot? xnomad Linux - Software 2 07-12-2007 04:30 AM
cant boot into my target file system zbenjudah Linux From Scratch 4 04-16-2006 04:09 PM
Boot x86 target from flash, with the image and file system on the x86 host. batsayan Linux - Software 2 08-23-2005 12:09 AM
hda or hdb - lilo config Assassin Linux - Newbie 4 12-01-2003 08:31 PM
lilo dual boot two linux distros / hda and hdb rioguia Linux - Newbie 2 01-23-2003 12:35 AM

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

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