The time now is Wed 19 Jun 2013, 09:19
All times are UTC - 4 |
|
Page 1 of 2 Posts_count |
Goto page: 1, 2 Next |
| Author |
Message |
Guest
Guest
|
Posted: Sat 31 Dec 2005, 12:50 Post_subject:
Need big help backuping files to CD |
|
Okay, here's the deal. I have a regular Puppy Linux 1.0.6 CD, and I'm trying to back up my files with it. My Windows XP installation has a trojan horse, and a worm, on it and so I can't use that.
Now I have 256 megs of RAM, and a 256 megabyte compact flash card in a USB cf drive, and 1 cd-rw reader/burner. Also, I have a 1.6 gigahertz Pentium 4 processor. And two hard drives each with NTFS partions. Crying or Very sad
Here's the problem. I can use Graveman to burn a small amount of info onto the cd, but the ramdisk is too small to hold a disk image the size of a regular cd. I don't have enough cd's to archive all the info I want to burn, if I can only burn 30meg cds.
Is there any way to burn directly to the CD, without the disk image being needed?
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9909 Location: Arizona USA
|
Posted: Sat 31 Dec 2005, 13:48 Post_subject:
|
|
I'm not certain but you might be able to use the "dd" command. More info on using the "dd" command will be found in a thread in the Users forum.
If dd won't work for you, you might consider creating a (1 GB) swap partition on one of the drives, using Partition Magic.
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sat 31 Dec 2005, 14:06 Post_subject:
|
|
read
/usr/share/doc/cdrtools/cdrecord.htm
in a Webbrowser.
If the overall speed of the system is sufficient and the structure of the filesystem is not too complex, cdrecord will run without creating an image of the ISO 9660 filesystem. Simply run the pipeline:
mkisofs -R /master/tree | cdrecord -v fs=6m speed=2 dev=2,0 -
This creates a Diskimage from files and folders in /master/tree , and sends it through a pipe ("|") directly to cdrecord.
Mark
|
|
Back to top
|
|
 |
spywaremagnet
Guest
|
Posted: Sat 31 Dec 2005, 14:14 Post_subject:
|
|
Thanks so much!
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sat 31 Dec 2005, 14:21 Post_subject:
|
|
To check, if the folder will fit on a CD, run
du -m /folder
In some cases du might not work exact, so add some MB tolerance (you just can find it out by trying).
Like this you can burn "parts" of your harddrive to CDs.
Mark
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9909 Location: Arizona USA
|
Posted: Sat 31 Dec 2005, 14:21 Post_subject:
|
|
Thanks Mark.
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Sat 31 Dec 2005, 15:19 Post_subject:
|
|
Um, this is the result I got. Apparently I'm doing something wrong.
-----
# mkisofs -R /mnt/hda2/Documents and Settings/Maximillian/My Documents/My Music/iTunes/ | cdrecord -v fs=6m speed=4 dev=1,0,0 -
mkisofs: No such file or directory. Invalid node - /mnt/hda2/Documents
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.25
cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
-----
Also, how do I burn several directories/files at once? Forgive me, I'm new to Linux and only 11 years old.
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sat 31 Dec 2005, 15:52 Post_subject:
|
|
In a console, Spaces in Filenames do not work.
But you can do:
mkisofs -R "/mnt/hda2/Documents and Settings/Maximillian/My Documents/My Music/iTunes/" | cdrecord -v fs=6m speed=4 dev=1,0,0 -
That was error 1.
The second error:
You must tell it, what Device to use.
Do that:
Start graveman, and in "Settings" be shure your CD-burner is selected.
Exit graveman.
Now have a look at gravemans configurationfile.
Use the comand:
leafpad /root/.graveman/graveman.conf
It should have something like this:
| Code: | [lecteur]
dev= 0,0,0
name=WDC WD20 00BB-55GUC0 Disk |
So my Burner is "0,0,0".
So my final comand would be:
mkisofs -R "/mnt/hda2/Documents and Settings/Maximillian/My Documents/My Music/iTunes/" | cdrecord -v fs=6m speed=4 dev=0,0,0 -
If you burn directly, speed=4 might be too fast, if it does not work (buffer underrun) try speed=1
Does that work for you?
If you have questions, just ask.
I knew guys that were 13, that helped building http://pro-linux.de , which is germanys most famous Linux-Website
So you have 2 more years time to become an "expert"
Burning several folders at once:
No idea at moment, ... start - help - cdrtools - mkisofs
Seems to work like this:
mkisofs -R "/folder1" "/folder2" | ...
Mark
|
|
Back to top
|
|
 |
Ted Dog

Joined: 13 Sep 2005 Posts: 1064 Location: Heart of Texas
|
Posted: Sat 31 Dec 2005, 16:07 Post_subject:
Hints and help |
|
Guest,
Wonderful spelling and use of language for an eleven year old. Try using this it will help. Type part of command like just mki now press the [Tab] key. You should have gotten mkisofs I use it to get the correct paths when using windows. For your example if you have started to type Docu then [Tab] key in the command above, it would finish the name for you with the correct way of passing directory names with spaces, i.e. /mnt/hda2/Documents\ and\ Settings.... I can never recall the ways to correct those issues, but [Tab] key does.
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Sat 31 Dec 2005, 16:43 Post_subject:
|
|
I know that my CD-burner is at 1,0,0 because I used cdrdao a long time ago and figured it out. But thanks anyway. I tried it again, changing the settings and here is what I got:
-----
# mkisofs -R "/mnt/hda2/Documents and Settings/Maximillian/My Documents/My Music/iTunes/" | cdrecord -v fs=6m speed=2 dev=1,0,0 -
Using GEORG000 for /mnt/hda2/Documents and Settings/Maximillian/My Documents/My Music/iTunes/iTunes Music/George Jones & Tammy Wynette (George Jones & Alan Jackson)
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.25
cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
-----
Where did the SCSI drivers go?
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sat 31 Dec 2005, 17:01 Post_subject:
|
|
Hm..
If you run "lsmod", does it list a scsi-driver?
If not, try
modprobe scsi_mod or insmod scsi_mod
or
modprobe usb-storage or insmod usb-storage
Try the usb also if it is no USB-burner, as I think those drivers are somewhat related.
Here are some other modules I have loaded:
| Code: | sr_mod 14488 0 (unused)
ide-cd 29504 0
cdrom 27744 0 [sr_mod ide-cd] |
This is just a "wild" guess, as I do not really know a solution
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sat 31 Dec 2005, 17:07 Post_subject:
|
|
or try
dev=ATAPI:1,0,0
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Sat 31 Dec 2005, 17:29 Post_subject:
|
|
Here are the lsmod results:
-----
# lsmod
Module Size Used by Not tainted
sg 31100 0 (unused)
parport_pc 15108 0
parport 23880 0 [parport_pc]
sr_mod 14488 0 (unused)
ide-cd 29504 0
cdrom 27744 0 [sr_mod ide-cd]
unionfs 157488 1
nls_cp437 4316 1 (autoclean)
usb-storage 62336 1
nls_iso8859-1 2812 2 (autoclean)
ntfs 82764 1
sd_mod 11404 2
usb-uhci 21936 0 (autoclean) (unused)
usbcore 59596 1 (autoclean) [usb-storage usb-uhci]
i810_audio 23292 0 (autoclean) (unused)
ac97_codec 12020 0 (autoclean) [i810_audio]
soundcore 3588 2 (autoclean) [i810_audio]
8139too 13480 1 (autoclean)
mii 2320 0 (autoclean) [8139too]
crc32 2896 0 (autoclean) [8139too]
scsi_mod 93972 4 [sg sr_mod usb-storage sd_mod]
-----
SCSI drivers appear intact. And here is what happens if you enter in the burning command.
-----
# mkisofs -R "/mnt/hda2/Documents and Settings/Maximillian/My Documents/My Music/iTunes/" | cdrecord -v fs=6m speed=2 dev=1,0,0 -
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Using GEORG000 for /mnt/hda2/Documents and Settings/Maximillian/My Documents/My Music/iTunes/iTunes Music/George Jones & Tammy Wynette (George Jones & Alan Jackson)
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.25
cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
-----
By the way, how do you enable Joliet?
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sat 31 Dec 2005, 17:32 Post_subject:
|
|
And with
dev=ATAPI:1,0,0
?
mkisofs -R "/mnt/hda2/Documents and Settings/Maximillian/My Documents/My Music/iTunes/" | cdrecord -v fs=6m speed=2 dev=ATAPI:1,0,0 -
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Sat 31 Dec 2005, 17:34 Post_subject:
|
|
# mkisofs -R "/mnt/hda2/Documents and Settings/Maximillian/My Documents/My Music/iTunes/" | cdrecord -v fs=6m speed=2 dev=ATAPI:1,0,0 -
Using GEORG000 for /mnt/hda2/Documents and Settings/Maximillian/My Documents/My Music/iTunes/iTunes Music/George Jones & Tammy Wynette (George Jones & Alan Jackson)
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:1,0,0'
devname: 'ATAPI'
scsibus: 1 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: -1
cdrecord: Cannot do inquiry for CD/DVD-Recorder.
cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
CDB: 00 00 00 00 00 00
cmd finished after 0.000s timeout 40s
|
|
Back to top
|
|
 |
|
|
Page 1 of 2 Posts_count |
Goto page: 1, 2 Next |
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|