Re: About RockRidge
Hi Michelle,
Sorry, still failed. Steps performed as follows;
(running Knoppix LiveCD to do it)
# 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.335230 seconds (312792955 bytes/sec)
# 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 35 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# 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
# du -h new_cd_image.raw
101M new_cd_image.raw
# mount -t ext2 new_cd_image.raw /mnt/hda7 -o loop
# mount /dev/hda8 /mnt/hda8
# cp -a /mnt/hda8/Working /mnt/hda7/
# du -sh /mnt/hda7
6.6M /mnt/hda7
# du -h new_cd_image.raw
101M new_cd_image.raw
(without umount /mnt/hda7)
# cdrecord dev=ATA:1,0,0 -v -eject new_cd_image.raw
....
.....
Fixating...
Fixating time: 27.556s
cdrecord: fifo had 1652 puts and 1652 gets.
cdrecord: fifo was 0 times empty and 1582 times full, min fill was 96%.
Here I can't resolve. The file is only 6.6Mb but it said 96% filled.
# mount -t ext2 /dev/cdrom /mnt/auto/cdrom -o ro
mount: mount point /mnt/auto/cdrom does not exist
# mount -t ext2 /dev/cdrom /mnt/cdrom -o ro
mount: mount point /mnt/cdrom is a symbolic link to nowhere
# mount /mnt/cdrom
mount: can't find /mnt/cdrom in /etc/fstab or /etc/mtab
# cat /etc/filesystems
ext3
ext2
iso9660
reiserfs
vfat
xfs
ntfs
minix
hfs
efs
# cat /etc/fstab
/proc /proc proc defaults 0 0
/sys /sys sysfs noauto 0 0
/dev/pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext2 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda3 /mnt/hda3 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda5 /mnt/hda5 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda6 /mnt/hda6 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda7 /mnt/hda7 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda8 /mnt/hda8 ext3 noauto,users,exec 0 0
Also tried "umount /mnt/hda7 before buring with same result)
B.R.
SL
> Am 2006-02-04 16:27:05, schrieb Stephen Liu:
> > Hi Michelle,
> >
> > Tks for your further advice.
>
> > 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
>
> OK, you have copier 6,6 MB
>
> Dou you have umounted it?
>
> umount /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
>
> Why do you do this?
>
> Burn the file new_cd_image.raw with cdrecord as RAWIMAGE directly
> onto a CD like you do it with the Debian-CD's
>
> You can burn the RAW-IMAGE directly onto CD and then mount it with
>
> mount -t ext2 /dev/cdrom /mnt/cdrom -o ro
>
> I have the fstab entry:
>
> /dev/hdc /media/cdrom auto noauto,user,ro 0 0
>
> and in my /etc/filesystems
>
> ----8<------------------
> ext3
> ext2
> minix
> vfat
> msdos
> iso9660
> hfsplus
> hfs
> nodev proc
> ----8<------------------
>
> and then I mount CD's with
>
> mount /mnt/cdrom
>
> 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)
>
>
> --
> To UNSUBSCRIBE, email to debian-cd-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
Reply to: