[SWLUG] Re: Accessing hard drive partitions
Neil Greenwood
neil.greenwood.lug at gmail.com
Mon Jul 18 19:59:09 UTC 2005
[Sorry, I forgot 'Reply to all' the fist time]
It's probably safer to use PartitionImage rather than dd. It's also
included on the Knoppix CD. dd has too much risk of screwing up your
hard disk if you get a parameter wrong.
PartitionImage (might be PartImage on the menu) is easy to use and a
lot safer, especially when restoring partitions.
Neil.
On 15/07/05, Paul G. Richardson <phantompgr at btopenworld.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Rhys,
>
> Can do one of many things, two suggestions would be:
>
> 1.
> Download a CD only distro like knoppix and run on laptop.
> Mount the current XP partition under knoppix using the mount command to
> something of your choosing, eg. /mnt/XPDir (need to make directory first
> though)
> Determine the device name of the recovery partition, eg. /dev/hda1.
> Use the dd command to backup the recovery partition as a partition file
> to the XP partition, eg. dd if=/dev/hda1 of=/mnt/XPDir/RecPartition
> (think that is all the syntax required might need to read the man page
> for anything extra)
> Partition is saved and can be restored at anytime to an empty 5GB
> partition by reversing the paremters on dd, eg.
> dd if=/mnt/XPDir/RecPartition of=/dev/hda1
>
> 2.
> Do the same process but first install your linux distro over XP home on
> the rest of the hard drive. Then dd off the 5GB recovery partition and
> format the partition and use as a backup drive or /opt etc...
>
> Regards
>
> PGR
>
> - --
> P.G. Richardson
>
> Email: phantompgr at btopenworld.com
>
> - ---
>
> "There is no present or future, only the past
> happening over and over again now."
> Eugene O'Neille
>
> "History is the nightmare from which I am trying
> to awake."
> James Joyce
>
>
>
>
> Rhys Sage wrote:
> > Thus far I've checked the drive directly under XP Home
> > and found it's a 5gb partition with 775 mb of data on
> > it. and is FAT 32. There I get my problem...
> >
> > I find a folder marked "recovery" but when I attempt
> > to open it (under XP) I get:
> >
> > "Recovery Partition
> > Warning!
> >
> > This area of your hard disk
> > (or partition) contains files used
> > for your system recovery.
> >
> > Do not delete or alter these files.
> >
> > Any change to this partition could
> > prevent any recovery later."
> >
> > I can't get any further than that. I really need to
> > back it up under XP to CD so that I can put it all
> > back later - if needed. Any ideas? I tried googling
> > and didn't get anywhere.
> >
> >
> >
> >
> >
> > ___________________________________________________________
> > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
> > _______________________________________________
> > SWLUG Discussion List - Discuss at swlug.org.uk
> > http://list.swlug.org.uk/mailman/listinfo/discuss
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
>
> iD8DBQFC2Aa76YOosaIZZJcRAuEeAJ94bubV6EFfLfUbwzkUxcWqkWuBEgCeIIuw
> 5qQAk57tkU8Mcr57vhBJgHw=
> =cO7f
> -----END PGP SIGNATURE-----
> _______________________________________________
> SWLUG Discussion List - Discuss at swlug.org.uk
> http://list.swlug.org.uk/mailman/listinfo/discuss
>
More information about the Swlug
mailing list