Re: About RockRidge
Am 2006-01-31 12:40:14, schrieb Stephen Liu:
> Hi Michelle,
>
> Tks for your advice.
>
> > 1) dd if=/dev/zero of=new_cd_image.raw bs=1M count=650
> > 2) mkfs.ext2 -b 1024 -m 0 new_cd_image.raw
> > 3) mount new_cd_image.raw /mnt -o loop
> >
> > 4) Copy your stuff onto it
> >
> > 5) Burn the RAW image onto CD
>
> I tried the steps but did succeed. I made the test on a FC3 PC on
> another location as I did not have a Knoppix LiveCD 4.0.2 in hand.
>
> Steps performed as follows;
> # dd if=/dev/zero of=new_cd_image.raw bs=1M count=650
OK
> # mkfs -t ext3 -b 1024 -m 0 new_cd_image.raw
^^^^
Never use ext3 for a CD!
> mke2fs 1.38 (30-Jun-2005)
> new_cd_image.raw is not a block special device.
> Proceed anyway? (y,n) y
OK
> This filesystem will be automatically checked every 34 mounts or
> 180 days, whichever comes first. Use tune2fs -c or -i to override.
^^^^^^^
Not to forget: tune2fs -c 0 -i 0 new_cd_image.raw
> (Remark: the files to be copied on a partition of fs ext3
correct it to ext2
> also tested "mkfs.ext2 -b 1024 -m 0 new_cd_image.raw"
> with the same result, not successful)
Thats weird, because I have many ext2 CD's and it works.
> # cp /home/satimis/Documents/FedoraCore3/ /mnt/
> cp: omitting directory `/home/satimis/Documents/FedoraCore3/'
What do you want to copy?
The contents or the directory of /home/satimis/Documents/FedoraCore3/?
Maybe: cp /home/satimis/Documents/FedoraCore3 /mnt/
or
cp /home/satimis/Documents/FedoraCore3/* /mnt/
> # du -h new_cd_image.raw
> 651M new_cd_image.raw
>
> # ls -al /mnt/
> total 21
> drwxr-xr-x 3 root root 1024 Jan 31 10:54 .
> drwxr-xr-x 25 root root 4096 Jan 31 09:25 ..
> drwx------ 2 root root 12288 Jan 31 10:54 lost+found
>
> To my surprize, there was nothing inside
How dou you have mounted it?
mount -t ext2 new_cd_image.raw /mnt -o loop
should do the job right
> I could not read the CD. Whether the steps only work on Knoppix
> LiveCD?
I am using Woody, Sarge and Etch and it works.
> TIA
>
> B.R.
> SL
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Reply to: