[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: About RockRidge



Hi Michelle,

Tks for your further advice.

I re-did it but still encountered problem.  I ran Knoppix LiveCD to
make this test

PC
Athlon 1.4G
RAM 512M

Steps performed as follows;

Started Knoppix LiveCD as root (Knoppix 1 --> startx)

sh-3.00# dd if=/dev/zero of=new_cd_image.raw bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes transferred in 0.505724 seconds (207341591 bytes/sec)

sh-3.00# mkfs.ext2 -b 1024 -m 0 new_cd_image.raw
mke2fs 1.38 (30-Jun-2005)
new_cd_image.raw is not a block special device.
Proceed anyway? (y,n) y

Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
25688 inodes, 102400 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
13 block groups
8192 blocks per group, 8192 fragments per group
1976 inodes per group
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

sh-3.00# tune2fs -c 0 -i 0 new_cd_image.raw
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds

sh-3.00# du -h new_cd_image.raw
101M    new_cd_image.raw

sh-3.00# mount -t ext2 new_cd_image.raw /mnt/hda7 -o loop

sh-3.00# mount /dev/hda8 /mnt/hda8
sh-3.00# cp -a /mnt/hda8/Working /mnt/hda7/

sh-3.00# du -h new_cd_image.raw
101M    new_cd_image.raw
sh-3.00# du -sh /mnt/hda7
6.6M    /mnt/hda7

sh-3.00# mkisofs -o new_cd_image.iso new_cd_image.raw
  9.73% done, estimate finish Sat Feb  4 15:49:09 2006
 19.48% done, estimate finish Sat Feb  4 15:49:14 2006
 29.20% done, estimate finish Sat Feb  4 15:49:15 2006
 38.95% done, estimate finish Sat Feb  4 15:49:19 2006
 48.66% done, estimate finish Sat Feb  4 15:49:23 2006
 58.41% done, estimate finish Sat Feb  4 15:49:27 2006
 68.13% done, estimate finish Sat Feb  4 15:49:32 2006
 77.88% done, estimate finish Sat Feb  4 15:49:34 2006
mkisofs: No space left on device. cannot fwrite 32768*1
sh-3.00# ls

Space not sufficient!!! the directory /Working/ copied was about 7Mb.

sh-3.00# ls
Desktop  new_cd_image.iso  new_cd_image.raw  tmp
The new_cd_image.iso was there.

# du -h new_cd_image.iso
84M     new_cd_image.iso

continued to burn the iso image to see what will happen.

sh-3.00# cdrecord dev=ATA:1,0,0 speed=10 -v -eject new_cd_image.iso
....
......
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 5554176 = 5424 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data    83 MB
Total size:       96 MB (09:31.52) = 42864 sectors
Lout start:       96 MB (09:33/39) = 42864 sectors
...
.....
Track 01:   83 of   83 MB written (fifo 100%) [buf  99%]  10.4x.
Track 01: Total bytes read/written: 87781376/87781376 (42862 sectors).
Writing  time:   64.877s
Average write speed   9.5x.
Min drive buffer fill was 22%
Fixating...
Fixating time:   32.861s
cdrecord: fifo had 1383 puts and 1383 gets.
cdrecord: fifo was 0 times empty and 819 times full, min fill was 21%.


sh-3.00# mount /dev/hdc /mnt/auto/cdrom
mount: block device /dev/hdc is write-protected, mounting read-only
sh-3.00# ls /mnt/auto/cdrom
Nothing displayed !!!

Remark:-
sh-3.00# ls -al /mnt/
total 11
drwxr-xr-x  9 root root 1024 Feb  4 15:21 .
drwxr-xr-x  9 root root 1024 Feb  4 15:37 ..
drwxr-xr-x  4 root root    0 Feb  4 15:55 auto
lrwxrwxrwx  1 root root   15 Feb  4 15:21 cdrom -> /mnt/auto/cdrom
lrwxrwxrwx  1 root root   16 Feb  4 15:21 cdrom1 -> /mnt/auto/cdrom1
lrwxrwxrwx  1 root root   16 Feb  4 15:21 floppy -> /mnt/auto/floppy
drwxr-xr-x  2 root root 1024 Feb  4 15:21 hda1
drwxr-xr-x  2 root root 1024 Feb  4 15:21 hda3
drwxr-xr-x  2 root root 1024 Feb  4 15:21 hda5
drwxr-xr-x  2 root root 1024 Feb  4 15:21 hda6
drwxr-xr-x  4 root root 1024 Feb  4 15:46 hda7
drwxr-xr-x  9 root root 4096 Feb  4 13:56 hda8

sh-3.00# ls /mnt/auto/
cdrom  cdrom1


Failed.

B.R.
SL


Konzack <linux4michelle@freenet.de> wrote:

> 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



Reply to: