All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Adams <pa3gcu@zeelandnet.nl>
To: Suriya Narayanan M S <mssnlayam@cs.annauniv.edu>,
	Pierre Rousselet <pierre.rousselet@wanadoo.fr>
Cc: GNU/Linux Newbie <linux-newbie@vger.kernel.org>
Subject: Re: CD writing in ext2 filesystem
Date: Thu, 25 Apr 2002 15:52:45 +0000	[thread overview]
Message-ID: <02042515524505.04696@unix.pa3gcu> (raw)
In-Reply-To: <200204241631.59061.mssnlayam@cs.annauniv.edu>

On Thursday 25 April 2002 01:24, Suriya Narayanan M S wrote:
> Hi,
> 	Thank you very much for help. Now I am able to write
> CDs in native ext2 format. This is very useful since there is
> no need to bother about long filenames, maximum depth, etc.
> I would like to summarize how to do it. This is for the benefit
> of others who are new to the list or have lost track of this
> discussion.

I cant imagen why you think you need to use what you have explained, the 
first thing is that if other's try your way then they will possably have the 
same problem i did with 'dd', with such a large file 650M dd will say;
dd: memory exhausted or at least it does here.
I have 256M and 300M swap, i dont know why it says that and to be honest i 
dont care. What i am going to explain is another way to do what you want but 
in my opinion "much easyer" and "cleaner".

Use a front end like xcdroast, configure xcdroast's H/D settings to the 
directory with all your files you want to burn.
Save setup and go to main screen.
Click "master tracks" and choose what you want to burn. You can now choose 
iso9660 options or leave them "as is" click on "Create session/image" click 
"calculate size", then click either "master to image" or "on the fly" thats 
it.

No need to create any files no need to "battle" with dd telling you that your 
memory is exhausted and no need to clean up afterwards and forall no need to 
have "extra" disk space to create such a large file on, (which really you 
dont need).

You will get long file names exachtly as you see it on your hard drive.
In my opinion that is one hell of a lot easier than your way.

No disrepects but why drive 1000 miles to go from a to b when the distance 
between the two is only 200 miles.


> 	The point to note is the block size has to be 4k.
>
> 	Create a file of the required size
> $ dd if=/dev/zero of=file.ext2 bs=650M count=1
> 	Create an ext2 filesystem in it. Block size 4096 is important
> $ mkfs.ext2 file.ext2 -b 4096
> $ mkdir mountdir
> # mount file.ext2 mountdir -o loop
> # cp something mountdir
> # umount mountdir
> 	Write the CD
> # cdrecord dev=0,0,0 speed=4 -data file.ext2
> 	Now mount the CD and use it
> # mount /dev/cdrom mountdir -t ext2 -o ro
>
> Thank you,
> Suriya Narayanan M S

-- 
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2002-04-25 15:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-25  1:24 CD writing in ext2 filesystem Suriya Narayanan M S
2002-04-25 15:52 ` Richard Adams [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-04-23 17:48 Suriya Narayanan M S
2002-04-23 18:47 ` Pierre Rousselet
2002-04-23 20:43 ` Staci
2002-04-24  9:45 ` Paul Furness
2002-04-24 14:50   ` Richard Adams
2002-04-25 17:00   ` Suriya Narayanan M S
2002-04-25 18:34     ` Richard Adams
2002-04-25 18:49       ` Pierre Rousselet
2002-04-25 19:20         ` Richard Adams
2002-04-25 19:12       ` Steven Smith
2002-04-25 19:29         ` Richard Adams
2002-04-21 16:51 Suriya Narayanan M S
2002-04-21 19:59 ` Pierre Rousselet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=02042515524505.04696@unix.pa3gcu \
    --to=pa3gcu@zeelandnet.nl \
    --cc=linux-newbie@vger.kernel.org \
    --cc=mssnlayam@cs.annauniv.edu \
    --cc=pierre.rousselet@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.