Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 08-20-2010, 03:50 PM   #1
Registered: Aug 2010
Posts: 31

Rep: Reputation: 6
Knoppix remastering failed several times.

Hello to everybody,I tried to make the remastering of Knoppix 6.2.1 several times,but right now I've not been able to do it succesfully. Here are the steps I do,please can you check if there is something wrong ? Thanks.

knoppix 2 lang=it (I boot Knoppix 6.2.1 with these parameters)

fdisk -l (these are the partitions of my hard disks)

/dev/sda1 : NTFS (this is the hidden partition did by Windows 7)
/dev/sda2 : NTFS (this is the real partition where is installed win 7)
/dev/sda3 : Linux swap
/dev/sda4 : Linux (I use this partition to make the remastering)
/dev/sdb1 : this is the usb key

These are the commands I give :

mkdir /mnt/sda4/knx

mkdir -p /mnt/sda4/knx/master/KNOPPIX

mkdir -p /mnt/sda4/knx/source/KNOPPIX

cp -Rp /KNOPPIX/* /mnt/sda4/knx/source/KNOPPIX

cp -ar /mnt-system/boot /mnt/sda4/knx/master/boot

cp -ar /mnt-system/KNOPPIX/modules /mnt/sda4/knx/master/KNOPPIX/.

cp /mnt-system/index.html /mnt/sda4/knx/master/

cd /mnt-system && find . -size -10000k -type f -exec cp -p --parents '{}' /mnt/sda4/knx/master/ \;

mount --bind /dev /mnt/sda4/knx/source/KNOPPIX/dev

mount --bind /proc /mnt/sda4/knx/source/KNOPPIX/proc

mount --bind /sys /mnt/sda4/knx/source/KNOPPIX/sys

chroot /mnt/sda4/knx/source/KNOPPIX

mkdir /mnt/sdb1
mount -t auto /dev/sdb1 /mnt/sdb1
cd /mnt/sdb1

cp script /usr/sbin (I need to copy a script inside the squash image file of knoppix)

umount /mnt/sdb1
rm -r sdb1
umount /proc

rm -rf /mnt/sda4/knx/source/KNOPPIX/.rr_moved

mkisofs -R -U -V "K" -publisher "K" -hide-rr-moved -cache-inodes -no-bak -pad /mnt/sda4/knx/source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs - 65536 > /mnt/sda4/knx/master/KNOPPIX/KNOPPIX

cd /mnt/sda4/knx/master

find -type f -not -name sha1sums -not -name -not -name isolinux.bin \-exec sha1sum '{}' \; > KNOPPIX/sha1sums

mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/ -hide-rr-moved -o /mnt/sda4/knx/knoppix.iso /mnt/sda4/knx/master

At that point I reboot the computer and then I restart the knoppix remastered image with these parameters : knoppix 2 toram lang=it. It tries to load itself inside the memory and then this error occurr :

/init: line 693: /bin/mount : not found
/init: exec: line 742: /sbin/init: not found

I don't understand why. Please help me thanks.

Last edited by marietto; 08-20-2010 at 03:55 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
remastering knoppix bourne Linux - Software 4 11-29-2008 09:25 AM
A little help with knoppix remastering please bleachroxx Linux - Distributions 1 05-20-2007 09:46 PM
remastering knoppix lukman Linux - Newbie 4 06-09-2006 10:34 AM
Knoppix remastering help! Sephiroth? Linux - General 1 05-04-2006 03:22 PM
Remastering Knoppix Nikolay Linux - Distributions 7 05-03-2006 12:28 PM

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration