Other Help Topics :: ReMastering HOWTO for DSL
Thansk Meo!
The problem was in that for remastering need use ext2 file system. In my question http://damnsmalllinux.org/cgi-bin....;t=5650 , henk.1955 (thanks!) has explained me. Therefore to not convert partition I have use:
#dd if=/dev/zero of=/mnt/hda1/disk.img bs=1M count=300
#mke2fs /mnt/hda1/disk.img
#mount /mnt/hda1/disk.img /mnt/test -o loop
Next:
#cp –Rp /KNOPPIX/* /mnt/test/source
#cp –Rp /KNOPPIX/.bash_profile /mnt/test/source
As I the beginner in Linux I have made so (though I am assured on 99,999999 % that it incorrectly):
#cp -Rp /etc/* /mnt/test/source
#cp -Rp /ramdisk/* /mnt/test/source
#cp -Rp /etc/* /mnt/test/source
Create:
#mkisofs –R /mnt/test/source | create_compressed_fs 65536 >
/mnt/hda1/KNOPPIX/KNOPPIX
All ok.
Booting from Hda1 with parameters:
default 0
timeout 20
title DSLinux fromhda1 "bla-bla"
root (hd0,0)
kernel /boot/isolinux/linux24 dsl base toram vga=788 xmodule=vesa lang=us nomce noapic qemu quilet BOOT_IMAGE=knoppix frugal init=/etc/init ramdisk_size=100000 nodhcp
initrd /boot/isolinux/minirt24.gz
boot
system message:
----------------------------------------
Coping DSL image to ramdisk... Please patient.
Warning: Changing to /cdrom2 failed.
Creating /ramdisk (dinamic size=92964) on shared memory...Done.
Creating directories and symlinks on ramdisk.../linuxrc: cannot create /var/lib/samba/unexpected.tdb : read-only file system
VFS: Mounted root (vfat filesystem) readonly.
Unmounting old root
Trying to free ramdisk memory ... okay
Warning: unable to open an initial console.
Kernel panic: No init found. Try passing init= option to kernel.
------------------------------------------
At removal of parameter init=/etc/init nothing varies: (
If unpack minirt24.gz and mount minirt24, in directory /etc/init contains:
------------------
# linuxrc will configure the ramdisk system, anc then copy a static
# init from CD to ramdisk, after finishing the autoconfiguration.
/linuxrc
# Call the real init now
exec /etc/init "$@" </dev/console >/dev/console 2>&1
------------------
How I am am prompted with intuition, probably problem here? But what to correct?
Meo, which version did you remaster with?
I get the feeling this part is not correct for me:
#mkisofs -no-pad -l -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b
boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o mydsl.iso newcd
Can you please decipher the above so I can get a better understanding?
Just a side note here. When you determine the correct remastering command lines that suit your situuation, be sure and write a step by step and save it in your remaster. That way, when you use your remaster to make another, you can copy and paste the command lines in a terminal and make the process easier, and more accurate. I know a lot of you stay up late working on remasters, and can benefit from a nice copy and paste setup. I myself have a sub directory called "keepers", where I put the file "remaster_command" (just a name) that has what I use.
I do put the lines on cards, but that is a lot of work to copy them each time.
dslremaster!
I have used this way of remastering with all the latest releases of DSL including 1.0.1. If you do a backtrack in this thread you will find a point where there was a change in making the final iso-file. I got help from somebody (don't remember who) and I really can't explain that much about it. Just the obvious about how it works. Hope things work out for you!
OK have fun Y'all out there,
meo
I normally don't like to post links from other forums to here but maybe this is a good time to do it. I have been remastering the filesystems of Feather and DSL for about a year. I started with Feather but now do all my remastering in DSL. Below I have posted a remastering howto I put together in the Feather forum. I put this together early in my remastering learning curve so I am sure it can be simplified from what I did. At that time I wasn't as comfortable with the shell as I am now so I did everything from X. Keep in mind that you can also just go to the Knoppix site and use their remastering howto for Knoppix 3.4 for changing the base filesystem.
I hope this helps you.
BTW - Listen to RapidWeather concerning the commands. It is very easy to make a typo in the mkisofs commands. I created little bash scripts for compression and iso creation so I wouldn't have to type them all the time.
My Remaster Howto
Next Page...
original here.