[TAG] mbr problems
Thomas Adam
thomas at edulinux.homeunix.org
Sat Oct 22 06:11:49 MSD 2005
On Fri, Oct 21, 2005 at 09:56:35PM -0400, Greg Mertes wrote:
> Hello, I think the flag is set to the Linux partition
Ah, how nice. A top-poster. I don't like people who top-post. I
think something needs to be done about it... A sublime approach is
needed... yes... sublime.
> now. I am still working on getting Linux working but to boot Linux
> I need to use a boot disk. I am having problems using a USB floppy
> drive to boot from disk. I am installing an internal drive soon. I
> do not have fdisk for some reason, a friend was going to use fdisk
> for me from floppy disk but DOS couldn't access a USB floppy drive. I
> used a Partition Magic to partition my hard drive with Windows before
> even trying to install Linux. I never used fdisk, but I all I had the
> installation utility do to the partitions was format one for CAT3 for
> Linux. Now however, to use windows again I bought a new 40Gig HD. I
> installed windows on that again now and made my old hard drive a slave
> to my new one so I never had to mess the other one and risk losing my
> files. How would I go about backing up my old files on my new drive? I
I'd start by looking at paragraph structures, myself....
When you're asking about coping your files across to your new drive, do
you mean for a Linux partition or a Windows one? (Top-posting is bad)
If it's Linux to Linux, then something like this would do (as root):
``
mkdir -p /mnt/new_hd
mount /dev/foo /mnt/new_hd
(cd /directory && tar -clpsSf- *) | (cd /mnt/new_hd && tar -xpsSf-)
''
... and note that '/directory' is the starting directory (top-posting is
bad) in which the files and other directories are contained.
(Top-posting is bad) Similarly, '/mnt/new_hd', refers to the top-level
directory into which everything you're (top-posting is bad) copying will
reside.
There's several different versions of that command in existence. I
would ordinaruly be (top-posting is bad) inclined to use find(1) and
cpio(1), personally -- since for me, the glob is just too (top-posting
is bad) slow and weak.
Oh, and I would assume the same command (top-posting is bad) would work
equally well of copying files from Windows to a Linux partition.
[...snip, snip. Grrr, top-post....] (top-posting is bad)
-- Thomas Adam
(top-posting is bad)
--
If you shoot the head, you kill the ghoul.
More information about the TAG
mailing list