Apps :: Lilo and different append lines
I have been trying to have different menu choices that will select different configurations of myfrugal install. I currently boot XP and 1.3.1 frugal. I have no problem with these two. When I try to add a different frugal config and run lilo I get multiple errors. I have just been cutting my current lines and pasting them. After the paste I edit the append line and run lilo -C. Don't know what I am missing, but know there must be something. Ideas please?
David
post your lilo.conf file. You can seperately make comments about what you added , usually the last items, but not always.
This one work fine.
============================================
lba32 #enable large disk support
timeout=30 #wait 3 seconds before auto-booting
prompt
vga=791
boot=/dev/hda #put boot loader in MBR of target disk
#####################################################
root=/dev/hda3 #set root to be partition of target disk
image=/boot/isolinux/linux24
label=DSL
initrd=/boot/isolinux/minirt24.gz
read-only
APPEND="ramdisk_size=100000 init=/etc/init lang=us pci=irqmask=0x0e98 apm=power-off nofirewire nomce toram dma quiet frugal BOOT_IMAGE=/KNOPPIX/KNOPPIX fromhd=/dev/hda3 home=hda4 opt=hda4 mydsl=hda4 "
####################################################
other=/dev/hda1
label=Windows_XP
table=/dev/hda
###################################################
This one fails.
root @box:~# lilo -C /mnt/hda3/boot/lilo.conf
Added DSL *
Added Windows_XP
Syntax error at or above line 24 in file '/mnt/hda3/boot/lilo.conf'
===================================================
lba32 #enable large disk support
timeout=30 #wait 3 seconds before auto-booting
prompt
vga=791
boot=/dev/hda #put boot loader in MBR of target disk
#####################################################
root=/dev/hda3 #set root to be partition of target disk
image=/boot/isolinux/linux24
label=DSL
initrd=/boot/isolinux/minirt24.gz
read-only
APPEND="ramdisk_size=100000 init=/etc/init lang=us pci=irqmask=0x0e98 apm=power-off nofirewire nomce toram dma quiet frugal BOOT_IMAGE=/KNOPPIX/KNOPPIX fromhd=/dev/hda3 home=hda4 opt=hda4 mydsl=hda4 "
####################################################
other=/dev/hda1
label=Windows_XP
table=/dev/hda
###################################################
root=/dev/hda3
image=/boot/isolinux/linux24
label=DSL_NoRestore
initrd=/boot/isolinux/minirt24.gz
read-only
APPEND="ramdisk_size=100000 init=/etc/init lang=us pci=irqmask=0x0e98 apm=power-off norestore nofirewire nomce toram dma quiet frugal BOOT_IMAGE=/KNOPPIX/KNOPPIX fromhd=/dev/hda3 home=hda4 opt=hda4 mydsl=hda4 "
####################################################
Ok. Beats me what;s wrong. line 24 is the append line, and the only difference is the norestore option.
I checked the man pages, and there does not appear to be a length limit to an append line. That would appear that lilo either does not like tat keyword, the case is not correct, ie it needs to be in caps or some mix,
or there is a limit to the number of arguments that append can handle in one line.
Try removing one of the other parameters, run lilo, and if it is ok, then there is a limit. if it still fails, then it is something to do with the norestore keyword.
If thereis a limit, the is another option, you can set all the common options you have in one append line ahead of the device stanzas (right after the boot = line (called the global area)),
then for each stanza you want a different append option, add the line
addappend="norestore" in your new stanza.
Thank's tjm4fun for your input. I have read everything I can find including the lilo man pages and more than one howto. I have tried removing things, all with no luck. I am hoping that someone else may chime in with an idea. I try them all.
David
Next Page...
original here.