LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Setting Up Lilo.conf (http://www.linuxquestions.org/questions/linux-general-1/setting-up-lilo-conf-205034/)

xanimal 07-14-2004 03:20 PM

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"

/bin/bash 07-14-2004 08:23 PM

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.


All times are GMT -5. The time now is 11:17 PM.