Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-04-2003, 04:46 AM   #1
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
trying to get lilo to autoload in my rcS script

i am trying to get my script to run lilo after i have dded my bootable image to my harddrive.

in my rcS script after the image has been dd'ed this is what i want to effectively happen:

mount /dev/hdc1/mnt/linux
cd /mnt/linux
chroot . /bin/bash

carry on the rest of the script.

what actually happens is at the chroot it goes to a prompt (which is sort of what i was thinking it might do) and then if i type lilo manually it works then type exit manually it will carry on with the rest of the boot script.

thing is i would run lilo without mounting the drive and just have a line in my lilo.conf to tell it where to put the bootloader but it complains that it doesnt recognise the device at 0x0010 or something like that.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RCS best practice? jonin Linux - Software 1 09-30-2004 06:54 PM
/etc/rc0.d-rcS.d ?? Wurstkoffer Debian 3 04-17-2004 07:36 PM
RCS for system maintenance Dark_Helmet Linux - Software 1 07-26-2003 08:07 PM
RCS and CVS which to use for configs? Dark_Helmet Linux - Software 0 06-29-2003 01:53 AM
etc/rcS.d/S100localnet intervention : command not found dj_relentless Linux From Scratch 4 02-04-2002 02:36 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration