LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Anybody here ever do a "successful" DSL Re-master?? (https://www.linuxquestions.org/questions/linux-newbie-8/anybody-here-ever-do-a-successful-dsl-re-master-717912/)

linus72 04-09-2009 06:45 AM

Anybody here ever do a "successful" DSL Re-master??
 
It seems no matter what "how-to" I follow, when I recompress the image and then try to boot, everything goes fine-then it can't start X 'cause it can't find the .xinitrc or something?
This my 5th attempt-I have used both CD's and USB to copy DSL to a partition, but something never seems to get copied or it's copied to the wrong place....
S0, has anybody here ever done it successfully??

linus72 04-09-2009 07:11 AM

Actually, can I mount the "KNOPPIX" shell script/image like an ISO somehow and uncompress the image to a folder instead of running the live cd/usb?
Can I use the KNOPPIX remastering guide or does DSL contain different files (example- ".bash_profile")?

linus72 04-09-2009 08:00 AM

OK-I found this so that I can remaster without using the livecd.

( http://r4vi.org/index.html/?q=node/87 )

Problem-I get to this part-

Code:

mount -o loop tmp.iso image
And the terminal says-

Code:

mount: you must specify the
filesystem type

OK-here's the part I'm at-

Code:

cd remaster
mkdir image
mkdir -p source/KNOPPIX
mkdir -p master/KNOPPIX

mount -o loop dsl.iso image
cd image
find . -size -10000k -type f -exec cp -p --parents '{}' ../master/ \;
cd ..
extract_compressed_fs image/KNOPPIX/KNOPPIX > tmp.iso
mount -o loop tmp.iso image
cp -Rp image/* source/KNOPPIX
cp -Rp image/.bash_profile source/KNOPPIX
umount image

I'm stuck at "mount -o loop tmp.iso image".
So what do I do?

onebuck 04-09-2009 08:18 AM

Hi,

By chance are you utilizing the 'Remastering Guide'?

Code:

sample from guide;
mount -o loop dsl.iso image
(cd image; find . -size -10000k -type f -exec cp -p --parents '{}' ../master/ \;)
extract_compressed_fs image/KNOPPIX/KNOPPIX > tmp.iso
umount image
mount -o loop tmp.iso image
cp -Rp image/* source/KNOPPIX
umount image

Notice that the guide shows that you remain in the working directory for image then the extraction.

linus72 04-09-2009 08:38 AM

Actually no
But I will now.

All I need to do is add some wallpapers, themes, Rox, and change the getting-started.hmtl

Thanks, I'll try that now...

linus72 04-09-2009 08:45 AM

OH-can I do this from ubuntu-8.04?
I have cloop-utils but not cloop-src
Do I really need it?
Can I do this from Feather/Knoppix??

linus72 04-09-2009 09:38 AM

OK-now I'm in Feather and when I enter mount -o loop tmp.iso the term says-

mount can't find /mnt/hda6/remaster/tmp.iso in etc/fstab /etc/mtab

What now?

How would I add it? As what?

The "tmp.iso" is there at /mnt/hda6/remaster/tmp.iso

repo 04-09-2009 09:40 AM

Quote:

OK-now I'm in Feather and when I enter mount -o loop tmp.iso the term says-
Don't you forgot the mount point?

Code:

mount -o loop tmp.iso image

linus72 04-09-2009 09:50 AM

OK_yeah I did that
But as with the others-it doesn't seem to copy ALL the files-like ".bash_profile"
Or if it does where is it?
This should be easy-I don't understand?

repo 04-09-2009 09:59 AM

you know it is a hidden file, right?

Quote:

.bash_profile

linus72 04-09-2009 10:06 AM

YEP-I got ROX on the show hidden files thing....BUT-why doesn't it copy ALL the files when you copy the iso??
How do I make sure all the files are just like in the original image??
Really-right now I'm just trying to extract the DSL image and then recompress that same virgin DSL image, I'm not adding anything yet...
I'm just trying to see if I can recompress the image and it'll boot and run regular DSL.
This is from another remaster how to-

Code:

cp -Rp image/* source/KNOPPIX
cp -Rp image/.bash_profile source/KNOPPIX

But-when I did "cp -Rp image/* source/KNOPPIX" it put all the "." files just in the KNOPPIX folder-not in the directories-is that how it's supposed to be??
Where am I going wrong?

linus72 04-09-2009 10:24 AM

OK-it worked-But now I'm trying to copy the remaster folder to my Ubuntu8.04 Desktop and keep getting errors-unable to copy /dev/such and such..why?
What's the terminal way-"cp -a /mnt/sda6/remaster/* /home/bz/Desktop"??

linus72 04-09-2009 02:30 PM

This is simply not working-Apparently when you try to copy everything from the iso or CD the hidden files, etc are not transferred.
I just did it again for likt the 10th time-I can never get to the part where I can add aps etc 'cause when I try to either startx or get an internet connection it says there are alot of files missing-mostly the "." files.
What is the proper way to do this??
Nobody here-not even the Guru's , have ever remastered DSL successfully??

linus72 04-09-2009 08:02 PM

OK-instead of de-compressing the image(KNOPPIX), I instead did the mydsl-remaster on the CD.
BIG question-is there a way to add files/folders to the KNOPPIX compressed image without de-compressing it first?
Like mounting an ISO or is it possible??


All times are GMT -5. The time now is 11:03 PM.