Berkeley CSUA MOTD:Entry 32812
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2004/8/10-11 [Computer/SW/OS/Windows, Computer/HW/Drives] UID:32812 Activity:moderate
8/10    What command line tool exist for windows to create an iso image
        from a directory structure? or from a set of files specified
        on the cmd line or a input file? thanks.
        \_ mkisofs. oh wait, you said  "command line tool ... windows"
           \_ Uhm, cdr-tools (where mkisofs comes from) has been
              ported to Windows for quite some time now. Just google
              it (some german guys wrote this). Oh wait, you're a moron...
              \_ I am a moron who doesn't use Windows.
           \_ despite your deleting this there is still mkisofs for windows:
              http://www.dimensional.com/~sitaram/CD-R-for-CLUEd-in-Windows-users.html
              http://tinyurl.com/4vm69
        \_ Try daemontools but I haven't tried it in a looong time.
           \_ Daemon Tools mounts ISo images, not creates them, yes?
           \_ Daemon Tools mounts ISO images, not creates them, yes?
              \_ I really don't remember.  Like I said its been a long time.
                 Maybe their site will point you to writing tools if they
                 don't have them.
2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
2013/3/25-5/18 [Computer/SW/OS/Windows] UID:54639 Activity:nil
3/25    It's strange that only every other Windows version is a hit.
        NT 4.0: hit
        2000:   flop
        XP:     hit
        Vista:  flop
        7:      hit
	...
2013/2/19-3/26 [Computer/SW/OS/OsX] UID:54611 Activity:nil
2/19    I program a lot by sshing to a Linux cluster.  So I'm used to using
        Xemacs to code.  This works fine from a Linux or Windows workstation,
        but sometimes I have to use a Mac.  On Mac, the meta is usually
        bound to option, but that often doesn't work over ssh for some reason.
        This makes using emacs a real pain.  Any suggestions on how to fix it?
        (Other than "use vi")
	...
2012/3/15-6/1 [Computer/SW/Languages, Computer/SW/OS/Windows] UID:54340 Activity:nil
3/15    Why does MS put double-quotes around the '8' in Windows Server 8, like
        the following?
        - Windows 8
        - Windows Server "8"
        \_ Because when they didn't do it, code didn't see the '\0'
           and went over?  Looks better than '8','\0' *shrug*
	...
2012/2/23-3/26 [Computer/SW/OS/Windows] UID:54312 Activity:nil
2/23    fixboot wrote FAT boot sector to my WinXP hard drive.  How can I convert
        the drive back to NTFS?
        \_ Does C:\WINDOWS\system32\convert.exe work?
	...
2011/12/21-2012/2/6 [Computer/HW/Laptop, Computer/SW/Editors/Emacs] UID:54269 Activity:nil
12/21   In Emacs, how do I make it so that it will resize its screen
        when the maximum resolution of my monitor changes? When I
        use my laptop, my emacs is too big (and I can't resize it
        because the bottom-right corner is not accessible).
        \_ Which OS?  Can't you drag the top border (not a corner) to resize
           the height to be smaller?
	...
2011/11/8-30 [Computer/SW/Security, Computer/SW/OS/Windows] UID:54218 Activity:nil
11/8    ObM$Sucks
        http://technet.microsoft.com/en-us/security/bulletin/ms11-083
        \_ How is this different from the hundreds of other M$ security
           vulnerabilities that people have been finding?
           \_ "The vulnerability could allow remote code execution if an
               attacker sends a continuous flow of specially crafted UDP
	...
2011/5/19-7/30 [Computer/SW/Security] UID:54110 Activity:nil
5/19    Uh, is anyone still using this? Please mark here if you post and
        haven't added this yet. I'll start:
        \_ person k
        \_ ausman, I check in about once a week.
        \_ erikred, twice a week or so.
        \_ mehlhaff, I login when I actually own my home directory instead of
	...
2011/2/14-4/20 [Computer/SW/Unix] UID:54039 Activity:nil
2/14    You sure soda isn't running windows in disguise?  It would explain the
        uptimes.
        \_ hardly, My winbox stays up longer.
        \_ Nobody cares about uptime anymore brother, that's what web2.0 has
           taught us.  Everything is "stateless".
           \_ You;d think gamers would care more about uptime.
	...
2011/4/6-20 [Computer/SW/Mail, Computer/SW/Unix, Industry/Startup] UID:54078 Activity:nil
4/6     My company is evaluating version control systems. Our two candidates
        are Perforce and Subversion. Anyone worked with both and have good
        arguments one way or the other? (These are the only two options we
        have.) We're most interested in client performance, ease of use, and
        reasonable branching.
        \_ I'll be 'that guy'. If perforce and subversion are optins, why isn't
	...
2007/11/12-16 [Computer/SW/OS/Linux, Computer/SW/Unix] UID:48623 Activity:nil
11/12   how do i make a fail safe magical backup for my debian box
        that i can quickly boot from if the box explodes?
        \_ keep a linux live boot cd around for just such an emergency
           \_ And learn about 'dd'
        \_ I was hoping there was something as slick as CCC, for unix.
           \_ You can first duplicate the disk offline with dd, then just
	...
2005/12/30-2006/1/4 [Computer/SW/OS/Windows] UID:41180 Activity:nil 65%like:41172
12/29   A friend's primary Windows 2000 hard disk got nuked, and her
        backup drive is missing data. I'm looking for any
        recommendations for data recovery software for FAT/NTFS
        (restoring deleted files or corrupted filesystems) or
        recommendations for data recovery services in SF?
        \_ Get an external USB drive enclosure.  You want something
	...
2005/12/27-30 [Computer/HW/Drives, Computer/SW/OS/Windows] UID:41151 Activity:nil
12/27   I'm trying to help out with my mother in law's computer problems. She
        has two Windows XP computers (one desktop, one tablet pc) that she was
        using for her job before she retired. The computers themselves are old
        and her workplace doesn't want them back but they are installed with
        all this corporate Novell stuff that I don't know anything about and
        her account on the computer has very restricted permissions (she can't
	...
2005/6/22-23 [Computer/SW/OS/OsX] UID:38251 Activity:high
6/22    When I burn an iso image using the "Disk Utility" in OS X (Tiger)
        and I then use readcd on a linux box to verify the md5sum of the
        burned cd, the md5sum of the CD doesn't match the md5sum of the
        origional iso file. Is OS X modifying the iso image before it
        burns it or something? Seems strange.
        \_ Does this match on any of your other burned-CDs vs. ISO files?
	...
2005/5/18-19 [Computer/SW/Apps/Media, Computer/HW/Drives] UID:37730 Activity:nil
5/17    My second data backup question. I am looking for a backup media I can
        take off-site. I'll repeat that we've found the failure rate backing up
        to CD unacceptable. She wants to go with an Iomega product but I was
        wondering if people have had good/bad experience with these,
        reliability-wise and if they have better suggestions. I have about
        $400 for this.
	...
2005/4/1-3 [Computer/HW/Laptop, Computer/HW/Drives] UID:37032 Activity:low
4/1     I'd like to play my favorite EA game on the laptop. However, I
        don't have a CD player for my laptop and I'm wondering if it
        is possible to mount the CD on my desktop and access it via
        wireless. I know that EA has really weird CD protection
        schemes, that's why I'm wondering if anyone has successfully
        done this. -ok thx
	...
2005/3/19-20 [Computer/HW/Drives, Computer/HW/CPU] UID:36772 Activity:high
3/19    Given the choice between a firewire and USB2.0 connection
        (between an external hard drive and my computer), which one is
        better and why? Thanks.
        \_ Firewire is faster and more robust for that application.  USB
           is more widely available if you'd ever want to move the disk to
           another machine.  -tom
	...
2005/2/23-24 [Computer/SW/Security] UID:36377 Activity:very high
2/23    Hi, my girlfriend's mom is in Taiwan.  Her computer stopped booting;
        it shows BIOS, but it won't show the WinXP screen.  So, it sounds like
        a virus (less likely, partial drive failure / OS corruption, but let's
        assume it's a virus).
        She is concerned about recovering her files.
        Normally if I were on-site I'd just pull out the drive, put it in an
	...
2005/2/3-5 [Computer/HW/Memory, Computer/HW/Drives] UID:36055 Activity:moderate
2/3     So, I'm really confused about this notion of computer science
        metrics where everything's kind of 2^n, but sometimes not. For
        example, if I have a 4 GIG hard drive, does that mean I have
        exactly 2^32 bytes of space? Does that translate to 4000000000
        bytes, or some number that's close to it? How about megahertz?
        Say I have a 2.5GHz computer, does it run at exactly 2500000
	...
2005/1/18-19 [Finance/Banking, Computer/HW/Drives] UID:35762 Activity:moderate
1/18    A bunch of CD-ROMS I have are corrupted. They're in a nice
        CaseLogic case, closed, stored in a temperate (70-85F), dry
        location. I have no idea why they're corrupted, but I know
        one thing-- they've been sitting close my Sharper Image Ionizer
        [plus UV mode turned on], for maybe 6 months. I'm suspecting
        that either the ions or the UV killed them, but is it actually
	...
2005/1/12 [Computer/HW/Drives] UID:35672 Activity:very high
1/11    Using SATA (serial ATA) as the one and only primary HD, any
        problem with boot up? How about with motherboards built in say,
        2002? Any problem with that? Pros/cons with SATA? Comments?
        \_ You expecting to install Windoze on SATA and have it boot?
        \_ I had to get a special driver floppy to install Win XP on a recent
           box w/ onboard SATA.  It wasn't too hard, though.  YMMV.  --dbushong
	...
2004/11/12 [Computer/HW/Drives, Computer/SW/OS/Linux, Computer/SW/OS/Windows] UID:34853 Activity:moderate
11/12   Dual boot question:  I had a hard drive set up with dual boot.
        XP and Linux.  I had problems with the Windows partition.
        I got a new hard drive.  I connected the new hard drive and set it
        as the slave drive.  I went into setup and set it to boot from the
        slave drive (the new one).  I then reinstalled XP on the new drive.
        Oops.  My boot loader on the original drive got overwritten.  The
	...
Cache (6027 bytes)
www.dimensional.com/~sitaram/CD-R-for-CLUEd-in-Windows-users.html
Thanks The command line way to burn CDs in Windows Why command line CD-R? I wrote this for a friend who just couldn't get the CD-R software on his machine to write to 700 MB (80 minute) blanks. I have also seen software that will not let you burn from ISO images, nor burn files coming off a network share, etc. Since the hardware can do it, I can only imagine that the software that comes free with it is intentionally crippled, perhaps to force you to shell out for a "full" version. Anyway, I was burned (pun intended) by one such piece of software once, so I decided to explore alternatives. I very quickly found that the cdrecord toolset that I knew from Linux had been ported to Windows! I have been using this Windows port for some time now, whenever I had to use a CD burner hooked to a Windows machine. I have now decided to write up this little document to help people like the friend I mentioned above. This document will help you use command line CD-R tools on a Windows machine. I am only going to talk about the simplest cases, like burning the contents of one complete directory, or burning from an ISO image you downloaded, etc. Incidentally, that site is full of interesting software, much that Linux people will be already familiar with, and some that they may not be. It's worth a visit or two, and in fact is in my permanent bookmarks. If you are familiar with the command line CD-R tools on Linux, you can skip the rest of this document. Maybe all you needed then was to know that they are available on Windows, and the URL above. Contents of the toolkit The ZIP file mentioned above contains the following programs. I have marked with an arrow the 3 files we really need for this short tutorial. Also note that this ZIP file does not have any documentation. This is fine, since any Linux machine will have the manpages (usually) and I presume the website also has documentation somewhere. ppt Step 1 - make an ISO image CDs use a filesystem called ISO9660. Burning a CD involves two distinct steps -- creating the filesystem and allocating the files on it, and then writing out the filesystem to the CD. The corresponding commands (see above) are mkisofs and cdrecord. The problem is, once the burn starts, it should NOT be interrupted for any reason. unless it's a CD-RW disk you may as well use it for a coaster. Hence it is important to "feed" the CD Writer as fast as it can gobble up the data! A really fast system can actually do both steps together, piping the result of mkisofs into cdrecord. However, I would not advice this on Windows, where the simplest things can load the system unexpectedly and piping may not work as reliably as it does on Unix. I strongly suggest you use both the "-J" and the "-R" flags. Read the manpages for cdrecord :-) Also note the FORWARD slashes on the file paths I gave. This is because the command is actually processed by cygwin (so it's sort of like you typed it at a Unix prompt, in some ways). Vicky is the guy I wrote this for, so the subdirectory has his name. Step 2 - Find out where your CD Writer is The CD-R tools assume that the CD writer is a SCSI device sitting on a SCSI bus. They need to be given a SCSI "target", which is 3 numbers separated by commas. The magic of this port of the CD-R tools is that, somehow, any Windows CD Writer looks like a SCSI drive. Anyway, you start by "scanning" the "SCSI bus", looking for SCSI devices. Anyway, as you can see, my CD writer is denoted by "1,0,0". All you have to do is visually identify (from the description) your CD Writer, and note down the three numbers corresponding to it. In the commands that follow, please change 1,0,0 to whatever you get when you run cdrecord -scanbus! Driver flags : SWABAUDIO Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Starting to write CD/DVD at speed 2 in write mode for single session. You'll see the line above, counting down from 10 seconds, then, when the countdown expires, you see: Last chance to quit, starting real write in 0 seconds. and finally it comes back to the command prompt if there were no errors. C:\vicky> Step 3 - make a dummy run This is not strictly needed if you followed my recommendation and created the ISO image already. But if you're paranoid, or your system is kind of slow or loaded, or you want to record at higher speeds, you should make a dummy run to see if the real burn will have any problems. index: 11 Manufacturer: Mitsubishi Chemical Corporation Blocks total: 336075 Blocks current: 336075 Blocks remaining: 329609 Starting to write CD/DVD at speed 4 in dummy mode for single session. Starting new track at sector: 0 Track 01: 12 of 12 MB written (fifo 100%). Track 01: Total bytes read/written: 13238272/13238272 (6464 sectors). cdrecord: fifo was 0 times empty and 78 times full, min fill was 89%. The thing to look for in this output is the line that says cdrecord: fifo was 0 times empty and 78 times full, min fill was 8 9%. If it says anything other than "0 times empty" you're in trouble. If the "min fill" was anything less then 75% you may want to consider reducing the speed. It's a memory area, 4 MB by default, that the cdrecord program maintains. Should the system that is feeding "cdrecord" become slow, it would still have 4 MB of data to send to the writer, and hopefully in that time the input process would be able to catch up. index: 11 Manufacturer: Mitsubishi Chemical Corporation Blocks total: 336075 Blocks current: 336075 Blocks remaining: 329609 Starting to write CD/DVD at speed 4 in write mode for single session. Starting new track at sector: 0 Track 01: 12 of 12 MB written (fifo 100%). Track 01: Total bytes read/written: 13238272/13238272 (6464 sectors). cdrecord: fifo was 0 times empty and 77 times full, min fill was 89%. However the 4 PPTs, since they were explicitly named, made it into the disk as is. This is an important point to remember: if any of the parameters you give are directories, they won't make it to the CD -- only their contents will make it.
Cache (6027 bytes)
tinyurl.com/4vm69 -> www.dimensional.com/~sitaram/CD-R-for-CLUEd-in-Windows-users.html
Thanks The command line way to burn CDs in Windows Why command line CD-R? I wrote this for a friend who just couldn't get the CD-R software on his machine to write to 700 MB (80 minute) blanks. I have also seen software that will not let you burn from ISO images, nor burn files coming off a network share, etc. Since the hardware can do it, I can only imagine that the software that comes free with it is intentionally crippled, perhaps to force you to shell out for a "full" version. Anyway, I was burned (pun intended) by one such piece of software once, so I decided to explore alternatives. I very quickly found that the cdrecord toolset that I knew from Linux had been ported to Windows! I have been using this Windows port for some time now, whenever I had to use a CD burner hooked to a Windows machine. I have now decided to write up this little document to help people like the friend I mentioned above. This document will help you use command line CD-R tools on a Windows machine. I am only going to talk about the simplest cases, like burning the contents of one complete directory, or burning from an ISO image you downloaded, etc. Incidentally, that site is full of interesting software, much that Linux people will be already familiar with, and some that they may not be. It's worth a visit or two, and in fact is in my permanent bookmarks. If you are familiar with the command line CD-R tools on Linux, you can skip the rest of this document. Maybe all you needed then was to know that they are available on Windows, and the URL above. Contents of the toolkit The ZIP file mentioned above contains the following programs. I have marked with an arrow the 3 files we really need for this short tutorial. Also note that this ZIP file does not have any documentation. This is fine, since any Linux machine will have the manpages (usually) and I presume the website also has documentation somewhere. ppt Step 1 - make an ISO image CDs use a filesystem called ISO9660. Burning a CD involves two distinct steps -- creating the filesystem and allocating the files on it, and then writing out the filesystem to the CD. The corresponding commands (see above) are mkisofs and cdrecord. The problem is, once the burn starts, it should NOT be interrupted for any reason. unless it's a CD-RW disk you may as well use it for a coaster. Hence it is important to "feed" the CD Writer as fast as it can gobble up the data! A really fast system can actually do both steps together, piping the result of mkisofs into cdrecord. However, I would not advice this on Windows, where the simplest things can load the system unexpectedly and piping may not work as reliably as it does on Unix. I strongly suggest you use both the "-J" and the "-R" flags. Read the manpages for cdrecord :-) Also note the FORWARD slashes on the file paths I gave. This is because the command is actually processed by cygwin (so it's sort of like you typed it at a Unix prompt, in some ways). Vicky is the guy I wrote this for, so the subdirectory has his name. Step 2 - Find out where your CD Writer is The CD-R tools assume that the CD writer is a SCSI device sitting on a SCSI bus. They need to be given a SCSI "target", which is 3 numbers separated by commas. The magic of this port of the CD-R tools is that, somehow, any Windows CD Writer looks like a SCSI drive. Anyway, you start by "scanning" the "SCSI bus", looking for SCSI devices. Anyway, as you can see, my CD writer is denoted by "1,0,0". All you have to do is visually identify (from the description) your CD Writer, and note down the three numbers corresponding to it. In the commands that follow, please change 1,0,0 to whatever you get when you run cdrecord -scanbus! Driver flags : SWABAUDIO Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Starting to write CD/DVD at speed 2 in write mode for single session. You'll see the line above, counting down from 10 seconds, then, when the countdown expires, you see: Last chance to quit, starting real write in 0 seconds. and finally it comes back to the command prompt if there were no errors. C:\vicky> Step 3 - make a dummy run This is not strictly needed if you followed my recommendation and created the ISO image already. But if you're paranoid, or your system is kind of slow or loaded, or you want to record at higher speeds, you should make a dummy run to see if the real burn will have any problems. index: 11 Manufacturer: Mitsubishi Chemical Corporation Blocks total: 336075 Blocks current: 336075 Blocks remaining: 329609 Starting to write CD/DVD at speed 4 in dummy mode for single session. Starting new track at sector: 0 Track 01: 12 of 12 MB written (fifo 100%). Track 01: Total bytes read/written: 13238272/13238272 (6464 sectors). cdrecord: fifo was 0 times empty and 78 times full, min fill was 89%. The thing to look for in this output is the line that says cdrecord: fifo was 0 times empty and 78 times full, min fill was 8 9%. If it says anything other than "0 times empty" you're in trouble. If the "min fill" was anything less then 75% you may want to consider reducing the speed. It's a memory area, 4 MB by default, that the cdrecord program maintains. Should the system that is feeding "cdrecord" become slow, it would still have 4 MB of data to send to the writer, and hopefully in that time the input process would be able to catch up. index: 11 Manufacturer: Mitsubishi Chemical Corporation Blocks total: 336075 Blocks current: 336075 Blocks remaining: 329609 Starting to write CD/DVD at speed 4 in write mode for single session. Starting new track at sector: 0 Track 01: 12 of 12 MB written (fifo 100%). Track 01: Total bytes read/written: 13238272/13238272 (6464 sectors). cdrecord: fifo was 0 times empty and 77 times full, min fill was 89%. However the 4 PPTs, since they were explicitly named, made it into the disk as is. This is an important point to remember: if any of the parameters you give are directories, they won't make it to the CD -- only their contents will make it.