LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-14-2004, 03:20 PM   #1
xanimal
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
Setting Up Lilo.conf


I have been working on setting up my linux PC for recording following the article at Linuxdevices.com

Article #AT8275095591.html

I have everything ready except for the Lilo part. I need to add the proper lines into the lilo.conf file so that it also has the parameters for my machine to boot in to XP Pro. Also note that I am using a 20GB HD and the Linux partition is hda7 and not hda1, and I do NOT want to mount the linux partition in Read-only. Please Help!

Here's what the article has for the lilo.conf

lba32 # if your CF card uses it
boot=/dev/hda # install lilo in master boot record of CF disk
backup=/dev/null # don't bother to backup the old MBR
prompt # lets you pick among several kernels, if you like
timeout=30 # wait 3 seconds before booting, to allow add'l options
vga=791 # use cool framebuffer console, with boot penguin logo
root=/dev/hda1 # where to look for the root filesystem
image=/boot/vmlinuz # location of kernel
label=Knoppix # name of kernel
initrd=/boot/miniroot.gz # location of initial boot image
read-only # in case of errors, mount read-only
append="ramdisk_size=100000
init=/etc/init lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce quiet BOOT_IMAGE=/KNOPPIX/KNOPPIX"
 
Old 07-14-2004, 08:23 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
That lilo.conf looks ok, just a couple minor changes are needed.

root=/dev/hda7 # where to look for the root filesystem
image=/boot/vmlinuz # location of kernel
label=Knoppix # name of kernel
initrd=/boot/miniroot.gz # location of initial boot image
read-only # in case of errors, mount read-only
append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce quiet BOOT_IMAGE=/KNOPPIX/KNOPPIX"

other=/dev/hda1
label=XP


Don't worry about the read-only, that is standard and the final mount will be handled by /etc/fstab so it will be remounted rw mode.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM
lilo.conf.anaconda v. lilo.conf rbaird2001 Red Hat 1 04-01-2004 12:16 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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