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: using cheatcodes automatically, turn on/off toram-option< Next Oldest | Next Newest >
mark_one Offline





Group: Members
Posts: 29
Joined: Nov. 2005
Posted: Nov. 07 2005,14:42 QUOTE

hi.

this is the first time i use this forum so don't hit me too hard if i'm writing bullshit.
i managed to install dsl to my hd via the frugal script.
i use two partitions. hda1 for the dsl image and hda2 for /home /opt and backup/restore.
my problem is:
how can i use cheat-codes after installing dsl to harddisk without typing them at the bootprompt? how can i pass this options to the kernel automatically? i know how to restore settings or reload extensions via bootlocal.sh but i don't know how to pass different kernel options automatically.
it's just that i sometimes want to load everything into ram and sometimes not. the background is that i want to do the frugal installation, change everything to my satisfaction (using fvwm instead of fluxbox, install mozilla....) an then turn on the "toram" switch to load everything into ram next time the system boots.  is that possible? or do i have to create a new mydsl-image?

i'm an average skilled user and all the different /etc and /KNOPPIX/etc directories a.s.o... are a bit confusing. the reason is that i don't know which files are editable and affect the next boot process and which files are not. is there any list? or is there any howto where i can read how booting works in dsl?

i hope you can help me. thanks in advance.

mark
Back to top
Profile PM ICQ 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 07 2005,17:01 QUOTE

With a frugal install, directories that are writeable using the backup/restore process are /home/dsl and /opt.
Using tar.gz mydsl packages, this is extended to /etc.
Using .dsl mydsl packages, you have write access to basically the whole system.

None of these options will affect the initial boot process.  In order to automatically enter boot options you will need to edit your bootloader's config file, which is most likely in /cdrom/boot (the partition that holds the DSL installation).  With Grub you can simply modify menu.lst.  With Lilo you will need to modify lilo.conf and then run the lilo command to reconfigure it (as far as i know).  If you're booting from the CD the bootloader is either isolinux or syslinux, which will require rebuilding the ISO file.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
mark_one Offline





Group: Members
Posts: 29
Joined: Nov. 2005
Posted: Nov. 08 2005,10:13 QUOTE

Quote (mikshaw @ Nov. 07 2005,12:01)
[...]In order to automatically enter boot options you will need to edit your bootloader's config file, which is most likely in /cdrom/boot (the partition that holds the DSL installation).  [...]



hi.
thanks for helping me out. now i know at least which files to edit.
but i have another problem:
when i edit /cdrom/boot/lilo.conf (frugal installation without 'toram' option) as you said and then try to run lilo before i do a reboot i get this error:
'Fatal: creat /boot/map~: Read-only file system

now the only thing that 'mount' pretends to be read-only is
/dev/cloop on /KNOPPIX type iso9660 (ro)

what can i do to fix the problem? install grub? well i don't want you to take my hand and lead me through kindergarten. i know this is annoying. for me too because i'm not very patient and i hate to waste hours of time just to figure out how to solve problems like this.
but it would be nice if you could help me again.
thanks.

mark
Back to top
Profile PM ICQ 
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: Nov. 08 2005,12:57 QUOTE

You need to be in root to edit this file directly unless you save it to home after you edit it. If you do it that way you can then open a terminal as root and copy the file back over itself in the boot directory. The easier, but less safe way is to open Beaver as root from a terminal and edit the file lilo.conf directly.

--------------
"Help stop internet piracy...use Linux!"
Back to top
Profile PM WEB MSN 
3 replies since Nov. 07 2005,14:42 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: using cheatcodes automatically

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