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: remastering problem with tohd switch, remastering problem with tohd switch< Next Oldest | Next Newest >
siggel Offline





Group: Members
Posts: 3
Joined: Sep. 2007
Posted: Oct. 25 2007,13:20 QUOTE

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





Group: Members
Posts: 3275
Joined: July 2006
Posted: Oct. 25 2007,15:57 QUOTE

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).
Back to top
Profile PM 
siggel Offline





Group: Members
Posts: 3
Joined: Sep. 2007
Posted: Oct. 26 2007,08:24 QUOTE

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 ###############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Oct. 26 2007,15:17 QUOTE

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)...
Back to top
Profile PM 
siggel Offline





Group: Members
Posts: 3
Joined: Sep. 2007
Posted: Oct. 27 2007,09:19 QUOTE

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.
Back to top
Profile PM 
4 replies since Oct. 25 2007,13:20 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: remastering problem with tohd switch

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