Re: [newbie] OT: How to mount a Windows partition ~ OOps ~ error ~ tar clf - . | ( umask 0; cd /mnt2; tar xvf - )

2005-03-23 Thread SnapafunFrank
riccardo wrote:
On Tuesday 22 March 2005 06:22 pm, David Anderson wrote:
 

I want to be able to mount hda1 and sda1 and copy files from one to
the other
   


~ if, I get the drift . . . you have booted from CD and neither hda1 
nor sda1 are mounted?


So ~ make an extra mount point/directory called, say :  /mnt2
[ say your file systems are Reiser type ]
__
mount -t reiser /dev/hda1 /mnt
next:
mount  -t reiser /dev/sda1 /mnt2
then, cd to /mnt
finally, as root, give the command :
tar clf - . | ( umask 0; cd /mnt2; tar xvf - )
..
best rgds
_
 

Sorry to butt in here, and I am only a newbie so treat my thoughts with 
caution, but would not hda actually refer to the cd itself in this case?
Can't remember, but I did have some like type issue when I last did a 
hard drive back up this way. Remember having to use some other
commands to actually see the hard drive in the finish. Still, Mephis may 
be more friendly this way, so to check it out do attempt to look inside
the partition to see whether or not you recognize any of your window files.

Now off to study riccardo's commands to see what I can learn from them.
--
Newbie Seeking USER_FUNCTIONALITY always!
Regards
SnapafunFrank
Big or small, a challenge requires the same commitment to resolve.
Registered Linux User # 324213 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] OT: How to mount a Windows partition ~ OOps ~ error ~ tar clf - . | ( umask 0; cd /mnt2; tar xvf - )

2005-03-23 Thread Mikkel L. Ellertson
SnapafunFrank wrote:
riccardo wrote:
On Tuesday 22 March 2005 06:22 pm, David Anderson wrote:
 

I want to be able to mount hda1 and sda1 and copy files from one to
the other
  

~ if, I get the drift . . . you have booted from CD and neither hda1 
nor sda1 are mounted?


So ~ make an extra mount point/directory called, say :  /mnt2
[ say your file systems are Reiser type ]
__
mount -t reiser /dev/hda1 /mnt
next:
mount  -t reiser /dev/sda1 /mnt2
then, cd to /mnt
finally, as root, give the command :
tar clf - . | ( umask 0; cd /mnt2; tar xvf - )
..
best rgds
_
 

Sorry to butt in here, and I am only a newbie so treat my thoughts with 
caution, but would not hda actually refer to the cd itself in this case?
Can't remember, but I did have some like type issue when I last did a 
hard drive back up this way. Remember having to use some other
commands to actually see the hard drive in the finish. Still, Mephis may 
be more friendly this way, so to check it out do attempt to look inside
the partition to see whether or not you recognize any of your window files.

Now off to study riccardo's commands to see what I can learn from them.
hda - Master device on first IDE interface (ide0)
hdb - Slave device on first IDE interface (ide1)
hdc - Master device on second IDE interface (ide2)
hdd - Slave device on second IDE interface (ide3)
hde - Master device on third IDE interface
hdf - Slave device on third IDE interface
...
Depending on your BIOS, it may only have numbers for the devices on the 
first two IDE interfaces.  The sirst IDE interface is sometimes called 
the primary and the second one the secondary IDE interface.

Mikkel
--
  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com