LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2010, 01:03 PM   #1
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Rep: Reputation: 31
Burning non iso9660 filesystem to cd?


I would like to be able to burn a filesystem other than iso9660 to a cd (probably something like squashfs or cramfs), but I have encountered failure so far.
I have used standard CD-R's, and am using cdrecord (actually a symlink to wodim) while trying to burn an xfs filesystem. I have successfully burned iso9660 discs. I tried burning with and without the -pad option, but after burning, reading the resulting cd results in read errors. Do I need to use a specific mode? I think I just used -data. Any help would be appreciated!
 
Old 02-11-2010, 06:49 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Like looking at a country map and noticing that roads link up cities and villages (OK most of the time) a file system provides the structures the OS needs to find stuff. A squashfs isn't something you'd read like you would a regular read-write file system but rather expand in RAM to access the contents of say a Live CD file system: How to create and use a Live CD if you don't mind reading (the Fedora Wiki).
 
Old 02-11-2010, 11:36 AM   #3
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Original Poster
Rep: Reputation: 31
I'm not really trying to make a live cd (I could do that if I could get isolinux compiled), I'm just trying to cram as much stuff as possible on a cd. Instead of making a cd of compressed files, or of one compressed filesystem, I am trying to directly write the one compressed filesystem to a cd. It makes sense that if you normally write a file containing an iso9660 filesystem to a cd, you should theoretically be able to write ANY file to a cd (as long as you pad it to the right length), but I have not had much success.
 
Old 02-11-2010, 11:45 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by hda7 View Post
It makes sense (..) theoretically (..) not had much success.
Exactly my point.
 
Old 02-11-2010, 03:58 PM   #5
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Original Poster
Rep: Reputation: 31
Guess I'll just have to experiment with different modes, padding, etc. If I can get it to work, I'll post a reply!
 
Old 02-26-2010, 05:55 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Can't you feed wodim with dd?
 
Old 02-26-2010, 06:04 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Your solution would be to use some form or compression I would think as in your cram or squash. Most of the live cd guides tell how to make the compressed file but that can be later used live or to be mounted on a running system.
Something using mkcramfs piped in to the cd tools.

I would not try to use the disk in a new format or raw.

You are almost stuck with the iso standard if you want any support hardware. Some drives are pretty hard coded to only work in one manner.

Last edited by jefro; 02-26-2010 at 06:05 PM.
 
Old 02-27-2010, 08:25 PM   #8
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Original Poster
Rep: Reputation: 31
I suppose the iso9660 overhead is probably rather small for one file. I could probably deal with making a compressed filesystem of my files, and putting that file on a normal cd. Then at least the cd would be portable (though each system would still have to have a driver for the compressed filesystem). I just want to minimize the overhead of putting a bunch of compressed files on a cd.
 
  


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
Can't mount CD: "unknown filesystem type 'iso9660'" jlebar Linux - Software 9 02-19-2015 02:42 PM
can't mount DVD (unknown filesystem 'iso9660' baghdadi13 Debian 10 09-05-2007 04:39 AM
dd+iso9660 how to bruse Linux - General 1 12-21-2005 08:54 AM
How to get DVD burning under subfs filesystem? unknown111 Linux - Software 1 07-30-2004 11:54 AM
iso9660 mikeshn Linux - General 1 09-12-2002 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 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