remastering problem with tohd switch


Forum: Other Help Topics
Topic: remastering problem with tohd switch
started by: siggel

Posted by siggel on Oct. 25 2007,13:20
--- THIS WAS FALSE ALARM, SEE MY NOTE OF OCT 27. ---

Hi,

I did a very basic remastering, just editing isolinux.cfg to support German keyboard, dma, norestore and tohd=/dev/hda5

When I start DSL 4.0 (or also previous versions) from CD using

dsl lang=de dma norestore tohd=/dev/hda5

it works fine, copying all to hda5, then running from there. So I get an original DSL 4.0 but don't have the noise of the CD drive (thats my intention for doing this, to have a clean system after each boot).

But when I add those options into the isolinux.cfg file (I tried it manually as well as by mydsl remastering tool in dsl 4.0) and use this new CD for booting, it will complain, that it does not find a knoppix file system, i.e. it seems to look for it on hda instead of expecting it from CD.

Any idea what's the difference between providing the options at boot time and inserting them into isolinux.cfg? Is there an easy change to obtain the intended behavior?


Ciao
Sven

Posted by ^thehatsrule^ on Oct. 25 2007,15:57
Why do you want to copy the files every time?  It'd be easier, faster, and more efficient not to.

And you can also install a bootloader to your hard drive -- though if you don't want to, you can use the fromhd= code from bootfloppy/cd.

Providing the options during the boot screen are only temporary (for that session), whereas editing isolinux.cfg will have them saved permanently.

My guess is that you edited that file wrong.  You could post details on your attempt(s).

Posted by siggel on Oct. 26 2007,08:24
Quote
Why do you want to copy the files every time?  It'd be easier, faster, and more efficient not to.

The basic idea is I can be sure to have a CLEAN system each time I boot. So I can give it to my son for looking up things for school in wikipedia and don't care much about him having downloaded harmful stuff.

Quote
My guess is that you edited that file wrong.  You could post details on your attempt(s).

Ok, here is what Apps/Tools/Make MyDSL CD Remaster produced as isolinux.cfg. I also tried a version replacing lang=us by lang=de instead of just appending lang=de after an earlier lang=us. To me it looks ok but I'm not an expert. I also tried additionally fromhd=/dev/scd0 with an older DSL but that didn't work either, but I'll try again with DSL4.0.

Code Sample

DEFAULT linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce noapic lang=de dma norestore tohd=/dev/hda5 quiet BOOT_IMAGE=knoppix
TIMEOUT 300

PROMPT 1
DISPLAY boot.msg
F1 boot.msg
F2 f2
F3 f3
LABEL dsl
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce noapic lang=de dma norestore tohd=/dev/hda5 quiet BOOT_IMAGE=knoppix
LABEL memtest
KERNEL memtest
APPEND initrd=
LABEL dsl-txt
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal initrd=minirt24.gz nomce noapic lang=de dma norestore tohd=/dev/hda5 quiet BOOT_IMAGE=knoppix
LABEL expert                
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce BOOT_IMAGE=expert
LABEL fb1280x1024
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=794 xmodule=fbdev initrd=minirt24.gz nomce noapic lang=de dma norestore tohd=/dev/hda5 quiet BOOT_IMAGE=knoppix
LABEL fb1024x768
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 xmodule=fbdev initrd=minirt24.gz nomce noapic lang=de dma norestore tohd=/dev/hda5 quiet BOOT_IMAGE=knoppix
LABEL fb800x600
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=788 xmodule=fbdev initrd=minirt24.gz nomce noapic lang=de dma norestore tohd=/dev/hda5 quiet BOOT_IMAGE=knoppix
LABEL lowram
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal initrd=minirt24.gz noscsi noideraid nosound nousb nofirewire noicons minimal nomce noapic noapm lowram lang=de dma norestore tohd=/dev/hda5 quiet BOOT_IMAGE=knoppix
LABEL install              
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal initrd=minirt24.gz noscsi noideraid nosound nofirewire legacy base norestore _install_ nomce noapic noapm lang=de dma norestore tohd=/dev/hda5 quiet BOOT_IMAGE=knoppix
LABEL failsafe
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init 2 lang=us vga=normal atapicd nosound noscsi nousb nopcmcia nofirewire noagp nomce nodhcp xmodule=vesa initrd=minirt24.gz BOOT_IMAGE=knoppix base norestore legacy
LABEL userdef
KERNEL linux24
APPEND ###############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

Posted by ^thehatsrule^ on Oct. 26 2007,15:17
Looks like you edited it fine...
note: you only need to edit the first APPEND line if you're using the timeout (or just pressing enter) at the boot screen.

Quote
But when I add those options into the isolinux.cfg file (I tried it manually as well as by mydsl remastering tool in dsl 4.0) and use this new CD for booting, it will complain, that it does not find a knoppix file system, i.e. it seems to look for it on hda instead of expecting it from CD.
Does it copy the file first before erroring out?

Quote
The basic idea is I can be sure to have a CLEAN system each time I boot.
The main concept for frugal systems is that it IS a clean boot every time.  All you're going to do is add to the wear and tear (and time)...

Posted by siggel on Oct. 27 2007,09:19
Oh, I'm so sorry:

I just detected that I did all my "tohd" remasterings on the intended hardware which only has FAT partitions. Obviously it is not a good idea to do the remastering there. The resulting DSL-CD only "looked" right, but in detail seems not to be ok.

When remastering within /tmp, all works fine.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.