Re: Making a Windows disk a file on Linux

2004-09-10 Thread Jeff Macdonald
On Fri, 10 Sep 2004 19:55:34 -0400, Jason Stephenson <[EMAIL PROTECTED]> wrote:
> If you really are interested in having a FAT32 or some specific
> filesystem available on a drive without repartitioning, then another
> workable solution is to create an empty file of the desirable size by
> using dd if=/your/file of=/dev/zero with other appropriate options. You
> can then format that file with a file system and mount it with the
> appropriate options. You can read and write to that file as if it were a
> regular filesystem. I've even used the above to make a "bootable" file
> for VMWare.

Thanks, I ended up taking the easy way out and just used rsync. :)
In the end I decided I didn't need a true copy of the FAT32 system. As
long as I can get to data I'm happy, as I don't really need to run any
programs (cross my fingers).

Thanks again all for the advice.

-- 
Jeff Macdonald
Ayer, MA
___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Making a Windows disk a file on Linux

2004-09-10 Thread Jason Stephenson
You've gotten some good advice so far, but I just wanted to mention 
another alternative that I've done on several different systems, 
including GNU/Linux and FreeBSD.

If you really are interested in having a FAT32 or some specific 
filesystem available on a drive without repartitioning, then another 
workable solution is to create an empty file of the desirable size by 
using dd if=/your/file of=/dev/zero with other appropriate options. You 
can then format that file with a file system and mount it with the 
appropriate options. You can read and write to that file as if it were a 
regular filesystem. I've even used the above to make a "bootable" file 
for VMWare.

It has been a year or more since I've done that and the specifics vary 
by OS (lately, I've been using FreeBSD more for that sort of thing), but 
finding instructions was fairly easy on the 'Net last time I needed to 
look. Also, if prodded, I could probably get you the proper sequence of 
commands on your OS choice after a few minutes refreshing my memory with 
the man and info pages.
___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Speakeasy DSL

2004-09-10 Thread David Roberts
[EMAIL PROTECTED] wrote:
On Thu, 2 Sep 2004, at 1:51pm, [EMAIL PROTECTED] wrote:
 

The only problem I've had was the initial install.  Verizon came out to
the house and ran two new lines (don't ask me why)
   

 *Two* new lines is rather odd.  Typically, Covad DSL (which is what
Speakeasy is using) brings in DSL on a dedicated line, so that means a new
loop has to be provisioned from Verizon.  This is in contrast to Verizon's
DSL, which typically "piggy-backs" on an existing POTS loop.
 

I *think* Verizon ran two new lines to replace the
two *old* lines, even though I was dropping the
second phone (used primarily for dial-up).  All I
know is I came home one day to find both wires had
been changed and the Covad guy used second one for
the DSL modem when he did his part.  Now I have a
"dedicated" line each for the phone and the DSL
modem.  I decided to just let it ride, keep an eye
on the bills, and not ask any questions (I hate
that glazed look you sometimes get when asking
questions).
dlr
--
"Linux: Because a PC is a terrible thing to waste."
  -- As seen on the 'net --
___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Exchange Server with Linux (and other) clients

2004-09-10 Thread Greg Rundlett
A project announcement today on Freshmeat.net talks about a project 
named Brutus that provides MAPI through CORBA under a dual-license model 
(including GPL for non-commercial applications)

http://www.omesc.com/modules/main_module/
--
FREePHILE
We are 'Open' for Business
Free and Open Source Software
http://www.freephile.com
(978) 270-2425
If you are smart enough to know that you're not smart enough to be an
Engineer, then you're in Business.
___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Making a Windows disk a file on Linux

2004-09-10 Thread Bill McGonigle
Just to elaborate on what Michael said, you can get cloop from the 
knoppix guys:

http://developer.linuxtag.net/knoppix/sources/
I think there also some "security" software for Windows that will zero 
unused space on a live filesystem - that should help with compression.

-Bill
___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


[Completely OT] Biking for charity

2004-09-10 Thread Paul Lussier

Hi all,

This is completely off-topic, but I need some help raising money for a
charity bike ride I'm in.

Here's the scoop.  After an entire summer of riding my bike rather than
commuting on the train, and even after getting hit by a car, I'm still
not tired of riding :) As a result, I've been talked into entering "The
Rodman Ride for Kids" (http://www.rodmanrideforkids.org/) with a couple
of other bikers at work.  

So, why am I telling you all this?  Well, because our team needs sponsors :)

This 100 mile bike ride will take place on Saturday, October 2nd and
will likely take my feeble legs all day to pedal it :) The ride benefits
a number of different charities, the one we're riding for is Mass
Mentoring Partnership:

Mass Mentoring Partnership (MMP) works to ensure the availability of
high quality mentoring programs to meet the needs of youth
statewide. Through technical assistance, advocacy, and public
awareness efforts, MMP seeks to expand mentoring and is a resource
for mentors, mentees, and mentoring initiatives. Since 1992, more
than 478 organizations and 3,000 mentors have received MMP training
and support. MMPs goal is for each community to have access to an
active and vibrant high-quality mentoring infrastructure to meet the
needs of its youth.

Donations can be made out to 'Ride for Kids' and can be in any amount
you would be so kind to sponsor me with :)

Please send any donation to me at my home address by October 2, 2004.
If you don't have my address, please let me know :)

Or, if you prefer, you can donate online at:

  http://www.rodmanrideforkids.org/site/content/donate.asp

You can either choose to sponsor me directly, or our team.  If you
choose the latter, our team name is the 'Permabit Wheelers'.

If a financial contribution is not possible at this time, then please at
least keep me in your thoughts that day as I attempt to pedal almost 3x
further than I've ever gone on a single bike ride :)

[ OBLinux: I need to hire a rather senior Linux/Unix sysadmin.  Good
  shell/perl skills a must, able to manage hundreds of linux systems
  shouldn't scare you, and Kerberos, AFS, Mac OS X, and Windows knowledge
  all very good things to have! ]

Thanks!

Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

 If you're not having fun, you're not doing it right!

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Making a Windows disk a file on Linux

2004-09-10 Thread Michael ODonnell


Unless it's vitally important to preserve some of the
obscure Windows-specific file attributes, tar seems
like a fine solution.

Otherwise, if I were doing this I think I'd create
a partition that's just large enough to hold the
collection of files in question, initialize that raw
partition with some repetititve pattern (read: highly
compressible, like all zeroes) then initialize that
partition with a Windows filesystem, then use Windows
to copy all files of interest to that partition,
then dd that partition image into Linux file,
then compress that image file, but noting whether
any useful compression was achieved.  If no useful
compression I'd access it via straight loopback mount,
else compressed loopback mount.

BTW, somebody mentioned "logical block addressing" but
note that LBA doesn't come into play at this level.
 
___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Making a Windows disk a file on Linux

2004-09-10 Thread Jeff Macdonald
On Fri, 10 Sep 2004 08:40:15 -0400, Ken D'Ambrosio wrote:
> Kenneth E. Lussier wrote:
> 
> Or... if it's a relatively small disk, you could just take an image of
> the disk (or partition), itself, using "dd" or even "cat" (eg. dd
> if=/dev/hda1 of=image_of_c_drive.img), and then mount it thusly:
> mount -t vfat -o loop image_of_c_drive.img /foo
> You could read and write it, then, 

That is my thinking to. Seems to me that would preserve the file
system the best.

> but you'd also pay the penalty of
> having the image file include all the empty space on the partition.

That is why I was asking about compressing stuff. There is a file
system call squashFS that compresses filesystems. I just noticed that
last night.  I don't know if 2.6 kernels have it, but that might be an
option.

The other option for getting rid of extra space is shrinking the
partition. I haven't played with  those tools, but I'd imagine parted
or a similar tool on a Knoppix CD is reliable. Have you folks had good
luck shrinking partitions?

> 
> Just another option...
> 

And I like it.

-- 
Jeff Macdonald
Ayer, MA
___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Making a Windows disk a file on Linux

2004-09-10 Thread Thomas Charron
On 10 Sep 2004 09:26:21 -0400, Bruce Dawson <[EMAIL PROTECTED]> wrote:
> On Thu, 2004-09-09 at 23:12, Jeff Macdonald wrote:
> > Hi,
> > I just bought a new Dell Laptop for my wife and I'd like to use her
> I don't know enough about VFAT vs FAT32 to know if the 110GB file will
> pose a problem or not.

FAT:
Volumes from floppy disk size up to 4 gigabytes (GB). 
Maximum file size is 2 GB.

FAT32:
Volumes from 512 MB to 2 TB. 
In Windows XP, you can format a FAT32 volume up to 32 GB only.
Maximum file size is 4 GB.

  Sorry for posting it in a strange format, I copied and pasted the
information from Microsoft Knowledge Base within Visual Studio.NET..
___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Making a Windows disk a file on Linux

2004-09-10 Thread Bruce Dawson
On Thu, 2004-09-09 at 23:12, Jeff Macdonald wrote:
> Hi,
> I just bought a new Dell Laptop for my wife and I'd like to use her
> old one for Linux. I have a file server running Gentoo that has mp3
> and videos and runs Samba for windows networking. What I'd like to do
> is dd the windows disk and have the target be a file and then mount
> that file as a FAT32 file system. In other words I don't want to
> create a partition for the data. I just want to keep it around for a
> while until I'm sure I don't need it anymore (a few years, just for
> good measure).

I believe this can be done using '-o loop' in mount, allowing you to
mount a file as a mounted file system. I haven't tried it myself, so I'm
not sure.

You'll just need to specify '-t vfat' or somesuch. And, you may also
need to specify something to force logical block addressing for the
filesystem. It will require someone who has done it before, or some
playing with on your part. But it should be do-able.
 
> Here is the catch, the disk is 60Gigs but only 11Gigs is being used.
> So I'd rather have just a 11Gig file instead of a 60 Gig file (I only
> have 20 Gigs free anyway). Can I do something like:
> dd {opts} | gzip {options} > file
> mount {options to read compressed file}
> mount {loop options to present previous mount a FAT32}
> 
> or should I shrink the drive instead?

I don't know enough about VFAT vs FAT32 to know if the 110GB file will
pose a problem or not.

--Bruce


signature.asc
Description: This is a digitally signed message part


Re: Making a Windows disk a file on Linux

2004-09-10 Thread Ken D'Ambrosio
Kenneth E. Lussier wrote:
AIf you are just trying to preserve the data, you could use mkisofs and create an iso9660 file system, then mount it like this: 
mount -t iso9660 -o ro,loop=/dev/loop0 windows.iso /foo

All of the files will be preserved and usable (not writable, though),
but it will no longer be a usable windows system.
 

Or... if it's a relatively small disk, you could just take an image of 
the disk (or partition), itself, using "dd" or even "cat" (eg. dd 
if=/dev/hda1 of=image_of_c_drive.img), and then mount it thusly:
mount -t vfat -o loop image_of_c_drive.img /foo
You could read and write it, then, but you'd also pay the penalty of 
having the image file include all the empty space on the partition.

Just another option...
-Ken
___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Making a Windows disk a file on Linux

2004-09-10 Thread Kenneth E. Lussier
On Thu, 2004-09-09 at 23:12 -0400, Jeff Macdonald wrote:
> Hi,
> I just bought a new Dell Laptop for my wife and I'd like to use her
> old one for Linux. I have a file server running Gentoo that has mp3
> and videos and runs Samba for windows networking. What I'd like to do
> is dd the windows disk and have the target be a file and then mount
> that file as a FAT32 file system. In other words I don't want to
> create a partition for the data. I just want to keep it around for a
> while until I'm sure I don't need it anymore (a few years, just for
> good measure).

Are you just trying to preserve just the data, or are you trying to
preserve the Windows system itself? If you are just trying to preserve
the data, you could use mkisofs and create an iso9660 file system, then
mount it like this: 
mount -t iso9660 -o ro,loop=/dev/loop0 windows.iso /foo

All of the files will be preserved and usable (not writable, though),
but it will no longer be a usable windows system.

Or, you could just tar and bzip the filesystem, then extract it when you
need it. 

HTH,
Kenny
-- 
Kenneth E. Lussier <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part


Re: Making a Windows disk a file on Linux

2004-09-10 Thread Jerry Feldman
On Thu, 9 Sep 2004 23:12:46 -0400
Jeff Macdonald <[EMAIL PROTECTED]> wrote:

> Hi,
> I just bought a new Dell Laptop for my wife and I'd like to use her
> old one for Linux. I have a file server running Gentoo that has mp3
> and videos and runs Samba for windows networking. What I'd like to do
> is dd the windows disk and have the target be a file and then mount
> that file as a FAT32 file system. In other words I don't want to
> create a partition for the data. I just want to keep it around for a
> while until I'm sure I don't need it anymore (a few years, just for
> good measure).
> 
> Here is the catch, the disk is 60Gigs but only 11Gigs is being used.
> So I'd rather have just a 11Gig file instead of a 60 Gig file (I only
> have 20 Gigs free anyway). Can I do something like:
> dd {opts} | gzip {options} > file
> mount {options to read compressed file}
> mount {loop options to present previous mount a FAT32}
> 
> or should I shrink the drive instead?
I don't think you can do it that way. FAT32 is a file system.
But, you could use tar or zip to save all the files as an archive, or
simply copy the Windows directory tree into a Linux directory. The main
difference here is that the Linux permission structure is used on native
Linux file systems where FAT32 has some attributes, such as hidden. 
Note that Win4Lin and WINE simulate Windows file systems as Linux
directory trees.

-- 
Jerry Feldman <[EMAIL PROTECTED]>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9


pgpfN6H4bLcSk.pgp
Description: PGP signature