This forum has been archived. All content is frozen. Please use KDE Discuss instead.

iso9660 limitation to 4GB in use with remastersys

Tags: None
(comma "," separated)
l.t.
Registered Member
Posts
38
Karma
0
I did not know where to put this in & my english is very bad so...
I am very sorry, if I'm not right in this place please help by putting this into the right place, where this can figured out.

For people who don't know "remastersys" please take a look here-> http://www.remastersys.com/

Problem: (I copied & paste it from upper link)

The 4GB limit explained - not a remastersys limitation I end up getting at least 2 emails and/or PM's per week about this and have answered it on the forum numerous times so I figured I would create this explanation and make it sticky.The 4GB limit is an iso9660 spec that is present in the cdrtools forked genisoimage that is present in debian and ubuntu. There is also another issue limiting things to 4GB - if you put it on a usb flash drive, they are usually formatted fat32(vfat) which has a file size limit of 4GB as well. I have successfully been able to split off the squashfs files into separate ones and with a patch to casper it will boot. The problem then arises that the ubuntu installer Ubiquity can only handle having the entire filesystem on a single squashfs file so you can't install it. There is no workaround or fix for this. The live filesystem is mounted to a single mountpoint and this is what the installer expects too. If your system is too large to do a normal backup, you should either exclude or move off your media files and any virtual machine hard drives before making a backup and then copy them back later or after install. Many folks have mistakenly seen this as a limitation of remastersys but as you can see from the above info this is just not the case and never has been. This is a limitation of ubuntu and debian.

Can anyone please fix this, ore tell my how to fix it by myself ?

Thank you for any help
Regards

Reproducible: Always

Steps to Reproduce:
1.open up a terminal & type... sudo remastersys dist
2.have a system, thats bigger than 4 GB, if you have remastered it with "remastersys"
3.Watch the output information after remaster job is done

This Stuff might can help http://en.wikipedia.org/wiki/ISO_9660

http://en.wikipedia.org/wiki/Comparison ... g_software

http://en.wikipedia.org/wiki/El_Torito_ ... tandard%29

What I found on http://cdrecord.berlios.de/private/man/mkisofs-2.0.html

NAME mkisofs - create an hybrid ISO9660/JOLIET/HFS filesystem with optional Rock Ridge attributes.

SYNOPSIS mkisofs [ options ] [ -o filename ] pathspec [pathspec ...]

... under OPTIONS...
-b eltorito_boot_image Specifies the path and filename of the boot image to be used when making an "El Torito" bootable CD.
The path- name must be relative to the source path specified to mkisofs.
This option is required to make an "El Torito" bootable CD.
The boot image must be exactly the size of either a 1200, 1440, or a 2880 kB floppy, and mkisofs will use this size when creating the output iso9660 filesystem.
It is assumed that the first 512 byte sector should be read from the boot image (it is essentially emulating a normal floppy drive).
This will work, for example, if the boot image is a LILO based boot floppy.
If the boot image is not an image of a floppy, you need to add one of the options: -hard-disk-boot or -no- emul-boot.
If the system should not boot off the emu- lated disk, use -no-boot. -eltorito-alt-boot Start with a new set of "El Torito" boot parameters.
This allows to have more than one El Torito boot on a CD. A maximum of 63 El Torito boot entries may be put on a single CD. ...


undocumented funktions? ... http://osdir.com/ml/cdwrite@other.debia ... 00041.html

http://en.wikipedia.org/wiki/DVD - DVD 9 - a solution !?

Last edited by l.t. on Wed Aug 08, 2012 8:49 am, edited 1 time in total.
User avatar
google01103
Manager
Posts
6668
Karma
25
re: 4gbfile limit:
you can install ntfs-3g and reformat the flash drive to NTFS, you could also reformat it to various Linux file systems that don't have the 4gb limit

re: iso9600 limit from WikiPedia: http://en.wikipedia.org/wiki/ISO_9660#T ... size_limit
It is, however, possible to circumvent this limitation by using the multi-extent (fragmentation) feature of ISO 9660 Level 3 and create ISO 9660 filesystems and single files up to 8 TB. With this, files larger than 4 GB can be split up into multiple extents (sequential series of sectors), each not exceeding the 4 GB limit. For example, the free software such as InfraRecorder and mkisofs as well as Roxio Toast are able to create ISO 9660 filesystems that use multi-extent files to store files larger than 4 GB on appropriate media such as recordable DVDs.


from man page of mkisofs:
-iso-level level
Set the ISO9660 conformance level. Valid numbers are 1 to 4.

<snip>

With level 3, no restrictions (other than ISO-9660:1988) do apply. Starting
with this level, genisoimage also allows files to be larger than 4 GB by
implementing ISO-9660 multi-extent files.



OpenSuse Leap 42.1 x64, Plasma 5.x

l.t.
Registered Member
Posts
38
Karma
0
thank you for posting to this problem
I don't think you get it right
I know there is a lot of software, can create images, dvd's what ever... over 4gb
"The 4GB limit is an iso9660 spec that is present in the cdrtools forked genisoimage that is present in debian and ubuntu. "
..."The problem then arises that the ubuntu installer Ubiquity can only handle having the entire filesystem on a single squashfs file so you can't install it. There is no workaround or fix for this. The live filesystem is mounted to a single mountpoint and this is what the installer expects too."...

this means actually, the iso will not be created if the filesystem is over 4gb !
Is there a chance to edit THIS iso9660 by scripting ore what ever might be necessary to choose iso9660 level 3 ?
might this be useful ?, I don't know if I get it right...
The problem then arises that the ubuntu installer Ubiquity can only handle having the entire filesystem on a single squashfs file so you can't install it.
in level 3 - will there be created more than one file?
User avatar
google01103
Manager
Posts
6668
Karma
25
on my system for genisoimage the -iso-level LEVEL is supported (at least according to the command help)

If the limit is based on cdrtools as forked and packaged by *buntu you could try compiling the original yourself http://cdrecord.berlios.de/private/cdrecord.html


OpenSuse Leap 42.1 x64, Plasma 5.x

l.t.
Registered Member
Posts
38
Karma
0
I told your last post, as following question, to Tony B.

can you please take a look on the following page
If the limit is based on cdrtools as forked and packaged... could you try compiling the original yourself ?
http://cdrecord.berlios.de/private/cdrecord.html


NOW I become a picture...
I did not realize, this is political...
I will tell you what he said...

What would be the point since nobody running ubuntu or debian would want to use it and I can't support it? I would then have to make a separate version for cdrtools and I won't do that.

If you use usb, there is a 4GB limit there as well. If you use debian and my debian remastersys, you can easily copy your real install over to a usb drive or another drive as I created the installer to be able to do this.

I am not about to argue with the debian and ubuntu developers about licensing for the cdrtools.

Regards,
Tony


"having a religion is nice, till the point sombody turns religion into politic - this always means war!"
can't follow & understand why some people always have to distroy what they have
Regards to all the others
l.t.
Registered Member
Posts
38
Karma
0
There are still a lot open questions...
l.t. wrote:Is there a chance to edit THIS iso9660 by scripting ore what ever might be necessary to choose iso9660 level 3 ?
might this be useful ?, I don't know if I get it right...
The problem then arises that the ubuntu installer Ubiquity can only handle having the entire filesystem on a single squashfs file so you can't install it.
in level 3 - will there be created more than one file?

Is there anybody who will keep time to work around ?

I'm no friend of half way solutions & it can't be the intrest of all the developers to leave,
no matter what kind of ditribution you're at,
linux - systems in a place of non funktionally playgrounds

There is a lot of not completed work to be on a perfect & legal system
PLEASE !!!
l.t.
Registered Member
Posts
38
Karma
0


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]