How to remaster without CD directly from ISO on HD?

Using applications, configuring, problems
Post Reply
Message
Author
oui

How to remaster without CD directly from ISO on HD?

#1 Post by oui »

Hi

I did try to mount the CD rom in loop on the iso-file as following:

Code: Select all

mount -o loop /mnt/sda6/stocks/isos/qrky-120.iso /dev/sr0
after that, it is possible to read the ISO as if it would be the CDROM but not to start properly the remasterisation (Quirky 120 from qrky-120.sfs because I will try to eliminate seamonkey, geany, abiword and gnumeric, to make the new ISO lighter, and replace by the content of the KDE4 according to the discussion http://www.murga-linux.com/puppy/viewtopic.php?t=57450 and sfs)

a file usage of Xdialog appears.

nothing happens.

an other way?

bye

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#2 Post by Béèm »

hmmm, /dev/sr0 isn't a directory.
Are you sure about the command?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

2byte
Posts: 353
Joined: Mon 09 Oct 2006, 18:10

#3 Post by 2byte »

Hi oui,

You can do a manual remaster. I just remastered Lupu 5.11 this way and these are the notes I kept. I did the work on my sdb7 partition so change that part to your partition.

hand mount sdb7, (a separate ext2 partition on my hard drive)

mkdir /mnt/xx
mount /dir-where-iso-is/lupu-511.iso /mnt/xx -o loop
chdir /mnt/xx
mkdir /mnt/tmp

mount lupu-511.sfs /mnt/tmp -o loop
mkdir /mnt/sdb7/build

Use Rox to copy all files from /mnt/tmp to /mnt/sdb7/build

umount /mnt/tmp

Now you can edit the files in /mnt/sdb7/build, as desired.
Then put it all back together.

chdir /mnt/sdb7

mksquashfs /mnt/sdb7/build new-lupu.sfs

Use Rox to delete all files from /mnt/sdb7/build

Copy the new-lupu.sfs to /mnt/sdb7/build

Rename /mnt/sdb7/build/new-lupu.sfs to /mnt/sdb7/build/lupu-511.sfs

Copy all other files (except lupu-511.sfs) from /mnt/xx to /mnt/sdb7/build

umount /mnt/xx

chdir /mnt/sdb7

mkisofs -o XXX.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -no-iso-translate -boot-info-table build/

Done.
The new XXX.iso is in /mnt/sdb7

HTH
2byte


leotan
Posts: 4
Joined: Tue 03 Sep 2013, 03:46

#4 Post by leotan »

This is a bug in remasterpup versions 2 & 3.
There's a botched regex in the handling of the VIRTUALCD variable.
To fix it, replace where it says:

Code: Select all

sed -e 's/on[ ].*+//'
with this:

Code: Select all

sed -e 's/on [ ]*//'
(mind the blanks).

Post Reply