Re: About RockRidge
Hi Michael,
I left out the option "-a" on running "cp" command. Sorry.
> ># 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
>
> Because you didn't copy anything onto it, see above, cp failed.
Re-did following steps;
# dd if=/dev/zero of=new_cd_image.raw bs=1M count=650
650+0 records in
650+0 records out
# mkfs -t ext3 -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)
83312 inodes, 665600 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67895296
82 block groups
8192 blocks per group, 8192 fragments per group
1016 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409,
663553
Writing inode tables: done
Creating journal (16384 blocks): 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.
# mount new_cd_image.raw /mnt -o loop
# cp -a /home/satimis/Documents/FedoraCore3 /mnt/
# ls /mnt/
FedoraCore3 lost+found
The directory "FedoraCore3" was there.
# du -h new_cd_image.raw
651M new_cd_image.raw
# du -sh /mnt/
568M /mnt/
It showed the size of the directory copied onto it.
Burning CD:-
# cdrecord dev=ATA:1,0,0 speed=10 -tao -v -eject new_cd_image.raw
(Remark: tried both without "umount /mnt" and with "umount /mnt" before
burning, same result)
....
.....
Starting new track at sector: 0
Track 01: 650 of 650 MB written (fifo 100%) [buf 100%] 10.0x.
Track 01: Total bytes read/written: 681574400/681574400 (332800
sectors).
Writing time: 453.440s
Average write speed 9.9x.
Min drive buffer fill was 98%
Fixating...
Fixating time: 26.818s
cdrecord: fifo had 10736 puts and 10736 gets.
cdrecord: fifo was 0 times empty and 10453 times full, min fill was
89%.
# umount /mnt
# mount /dev/hdc /mnt/cdwriter
mount: block device /dev/hdc is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
# mount -t ext2 /dev/hdc /mnt/cdwriter
mount: block device /dev/hdc is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
# mount -t ext3 /dev/hdc /mnt/cdwriter
mount: block device /dev/hdc is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
Still could not mount the CD.
B.R.
SL
Reply to: