Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Lilo and different append lines< Next Oldest | Next Newest >
spotslayer Offline





Group: Members
Posts: 96
Joined: April 2005
Posted: July 23 2005,22:21 QUOTE

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
Back to top
Profile PM 
tjm4fun Offline





Group: Members
Posts: 22
Joined: Jan. 2005
Posted: July 24 2005,01:20 QUOTE

post your lilo.conf file. You can seperately make comments about what you added , usually the last items, but not always.

--------------
one laptop. many worlds.
W2k,Slackware10,DSL,Yoper, and others as my mood changes
Visit my home at: www.bitbenderforums.com
Help is only a post away!
Back to top
Profile PM AOL 
spotslayer Offline





Group: Members
Posts: 96
Joined: April 2005
Posted: July 24 2005,14:44 QUOTE

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    "

####################################################
Back to top
Profile PM 
tjm4fun Offline





Group: Members
Posts: 22
Joined: Jan. 2005
Posted: July 24 2005,23:30 QUOTE

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.


--------------
one laptop. many worlds.
W2k,Slackware10,DSL,Yoper, and others as my mood changes
Visit my home at: www.bitbenderforums.com
Help is only a post away!
Back to top
Profile PM AOL 
spotslayer Offline





Group: Members
Posts: 96
Joined: April 2005
Posted: July 25 2005,00:22 QUOTE

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
Back to top
Profile PM 
4 replies since July 23 2005,22:21 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Lilo and different append lines

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code