LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2003, 11:50 PM   #1
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
write directories using cdrecord


I was doing some tech work on a system and even tho the hard drive will not boot, when I use the knoppix live cd, I can see all the files.

The idea I have to save the hassle of removing the drive and setting it up as a slave in my main system to burn the files is....

to use cdrecord to burn the files that need to be backed up on the faulty drive before I format it.

I can burn files with cdrecord but haven't see any docs on how to burn directories.

Is this even possible and if so, what is the command?

Thanks in advance.
 
Old 07-30-2003, 12:53 AM   #2
bla
LQ Newbie
 
Registered: Jul 2003
Location: Poland
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Try creating images of directories trees: mkisofs and then burn this image. Simple. In manual of cdrecord should be example.
bla
 
Old 07-30-2003, 02:15 AM   #3
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Original Poster
Rep: Reputation: 30
yeah, i know but i am using knoppix live like i said which doesn't allow me write access to anything so that is completely useless, thanks anyway.

anyone else?
 
Old 07-30-2003, 03:55 AM   #4
bla
LQ Newbie
 
Registered: Jul 2003
Location: Poland
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Yet: mkisofs; You can create iso live and then pipe it to cdrecord;
Examples as I said are in manual. (;
 
Old 07-30-2003, 04:00 AM   #5
bla
LQ Newbie
 
Registered: Jul 2003
Location: Poland
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Heh, i've installed cdrecord for You:
cdrecord(1):
"
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 -
"
bla
 
Old 07-30-2003, 04:13 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Re: write directories using cdrecord

Quote:
Originally posted by yowwww
I was doing some tech work on a system and even tho the hard drive will not boot, when I use the knoppix live cd, I can see all the files. ...
Why? I mean, if it was a Windows machine use a rescue disk and type fdisk /mbr, if it was Linux, restore LILO or GRUB in the boot sector ... nothing against backups, but if you can see all files with KNOPPIX, it is only the boot loader which is faulty, so why don't you just repair the master boot record?
 
Old 07-30-2003, 04:45 AM   #7
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Original Poster
Rep: Reputation: 30
thanks for the further info bla, it's just that there are lots of directories so it might get complicated and extremely tedious. I might just connect it as a slave drive to my main system after and see if I can get it to see the drive that way.

JZL240I-U: I don't blame you for asking I guess, but if it were that easy, I wouldn't be asking about using cdrecord and the service call would have been done in 5 minutes. Just because I can see the files while using Knoppix doesn't mean the drive is in perfect shape. In fact when I loaded partiton magic via floppy, it just plain errored without showing me anything. Believe me, if it was an easy fix, I very likely would have found it by now.

Btw, you shouldn't use fdisk /mbr if it is windass xp, you should use the repair mode and use the "fixmbr" command instead. (and yes, I did try that, within the first 10 minutes I was at the customer's location)

Last edited by yowwww; 07-30-2003 at 04:47 AM.
 
Old 07-30-2003, 04:54 AM   #8
bla
LQ Newbie
 
Registered: Jul 2003
Location: Poland
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Hmm, one suggestion more. It is possible to create tar; tar -cf - / | cdrecord - <blah> but it is for sure not the best way to do it... (; Do as You want to. Good luck.
bla
 
Old 07-30-2003, 05:01 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
You hadn't told what you had already done ... so I just wanted to give an oblique reminder, no patronizing intended.

Doesn't cdrecord take -r or -R as an option? I have no Linux machine here, can't look.

Btw. thanks for the clarification on Windows, I use only NT, not the more "modern" versions, I'm migrating to Linux .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrecord: able to write successfully to CDRW, but not CDR media vjimin Linux - General 4 11-07-2005 06:36 AM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
Samba 3: Can't write to shared directories from Windows robintw Linux - Networking 10 07-31-2004 09:13 PM
mkisofs/cdrecord and directories Pedroski Linux - Software 4 03-12-2004 03:11 PM
Can i write a audio cd with cdrecord ? k0ljat Linux - Software 4 12-13-2003 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration