LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2009, 06:45 AM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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??
 
Old 04-09-2009, 07:11 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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")?
 
Old 04-09-2009, 08:00 AM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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?
 
Old 04-09-2009, 08:18 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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.
 
Old 04-09-2009, 08:38 AM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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...
 
Old 04-09-2009, 08:45 AM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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??
 
Old 04-09-2009, 09:38 AM   #7
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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
 
Old 04-09-2009, 09:40 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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
 
Old 04-09-2009, 09:50 AM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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?
 
Old 04-09-2009, 09:59 AM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
you know it is a hidden file, right?

Quote:
.bash_profile
 
Old 04-09-2009, 10:06 AM   #11
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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?
 
Old 04-09-2009, 10:24 AM   #12
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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"??
 
Old 04-09-2009, 02:30 PM   #13
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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??
 
Old 04-09-2009, 08:02 PM   #14
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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??
 
  


Reply



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
Printing from XP to a Slug via CUPS - "Get-Printer-Attributes successful-ok " wibbleypants Linux - Networking 0 01-28-2009 12:24 PM
Why my wireless card "atheros" run only as an acces point in "Master" mode. jardiamj Linux - Wireless Networking 3 11-11-2007 12:12 AM
"Successful install" results in "Boot device not found" slackr007 Fedora 2 06-21-2005 04:05 PM
"Successful install" results in "Boot device not found" slackr007 Linux - Newbie 2 05-31-2005 08:02 PM
System stalls after "Bios data check successful" crash3k Mandriva 6 02-08-2005 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:23 AM.

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