Re: [newbie] splitting up a file on floppys

2001-08-09 Thread Tom Brinkman

On Wednesday 08 August 2001 11:03 pm, [EMAIL PROTECTED] wrote:
 hi all.
 it seem i remember that somehow linux can split files up on floppys,
 can someone give me a hint as to what command i would use to do this.
  do i use TAR to do this (as one would do with PKZIP in windoze)?  or
 is there another command.


see 'man split'  or  'info split'   There's lot's of way to deposit 
the resulting split files to floppy's.  Try 'man mtools'.  I'm sure a 
search would also turn up GUI tools for doin what you want.  Probly 
FE's for 'split' and 'dd'.  I can't vouch for any as 'bout all I use 
the floppy for is bootdisks since 700mb will fit on a 28ยข CDr ;
-- 
Tom Brinkman   Galveston Bay




Re: [newbie] splitting up a file on floppys

2001-08-08 Thread Sevatio

Sorry about throwing this pile of info at you.  I'm a bit short on time 
right now.  But in the follow pasted info, you'll find your answers.  
I'll leave you the task of trimming it down.

-Sevatio

2.18. How do I split a compressed backup into smaller files onto another 
hard disk?
This type of backup is typically done by those who want to split the 
archive into smaller chunks to fit on a CDR or to avoid the 2GB file size 
limitation. To do this type of backup you will need Dylan's boot disk, 
your original A drive to backup and a DOS FAT formatted hard drive to put 
the backup on. The drive needs to have enough space to hold the backup. 
It should be noted that if your TiVo has been used much the backup will 
be exceedingly large and doing a disk to disk image is generally a better 
idea. If the A drive is from a virgin TiVo this compressed image could be 
anywhere from 600MB to 20GB. The size will vary even for virgin TiVo's 
because some have the store demo mode on them and some don't. For the 
example below we will assume the following drive connections. 
 Original A drive connected to secondary port as the master drive ( 
/dev/hdc ) 
 DOS/Windows formatted drive connected to Primary port as the master 
  drive ( /dev/hda ). The partition can be either a FAT16 or FAT32 
  partition. Dylan's bootdisk does support Ext2 partitions also if 
  you wish to use one. 
 Do not connect the DOS/Windows drive to anything but Primary master. 
  Byte swapping is used for all other devices and Linux will not be 
  able to mount DOS partition connected to them. 
The following are the steps needed to do the backup. 
1.Connect the drives as stated above 
2.Boot the computer with Dylan's boot disk in the floppy drive 
3.Login in as root 
4.Type mount -t vfat /dev/hda1 /mnt (no quotes) 
5.Type dd if=/dev/hdc bs=32k | gzip -9c | split -b 650m - 
/mnt/tivodisk_ (no quotes).
Use dd conv=noerror,sync if=/dev/hdc bs=32k | gzip -9c | split -b 
650m - /mnt/tivodisk_ (no quotes) 
instead, if the first command gives you an error.
6.In the step above 650m denotes 650 Megabytes. This size file 
  should fit on a CD later for burning. You can make this value 
  whatever best suits your needs. 
7.Go relax because this will take awhile. Depending on the speed of 
  the computer, size of the A drive, this could take anywhere from 
  3 to 24 hours! 
8.When finished make sure there were no errors. 
9.Type umount /mnt (no quotes) 
   10.Power down the PC. 
To restore the backup do the following. Remember that this will erase 
whatever is on the drive connected to the secondary master port. 
1.Connect the drives as stated above 
2.Boot the computer with Dylan's boot disk in the floppy drive 
3.Login in as root 
4.Type mount -t vfat /dev/hda1 /mnt (no quotes) 
5.Type cat /mnt/tivodisk* | gzip -dc | dd of=/dev/hdc obs=32k (no 
quotes) 
6.Go relax because this will take awhile. Depending on the speed of 
  the computer, size of the A drive, this could take anywhere from 
  3 to 24 hours! 
7.Make sure there were no errors reported 
8.Type umount /mnt (no quotes) 
9.Power down the PC

 Original Message 

On 8/8/01, 5:03:46 PM, [EMAIL PROTECTED] wrote regarding [newbie] 
splitting up a file on floppys:


 hi all.
 it seem i remember that somehow linux can split files up on floppys, can
 someone give me a hint as to what command i would use to do this.  do i 
use
 TAR to do this (as one would do with PKZIP in windoze)?  or is there 
another
 command.

 thanks much.

 also, this is my first post from AOhelL.  if it is in HTML format please 
yell
 at me so i can fix it.  thanks

 Adrian