[Gllug] 'lost' partition -- can anyone help?

Alain Williams addw at phcomp.co.uk
Wed May 18 17:34:06 UTC 2005


On Wed, May 18, 2005 at 06:12:05PM +0100, Stuart Sears wrote:
> Chris Hutchison wrote:
> >Doh! figured out that I'd have to log in as root to run fdisk.  Reads as 
> >follows:
> >
> >[root at localhost chris]# fdisk -l /dev/hd{a,b}
> >
> >Disk /dev/hda: 40.0 GB, 40000000000 bytes
> >255 heads, 63 sectors/track, 4863 cylinders
> >Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> >   Device Boot      Start         End      Blocks   Id  System
> >/dev/hda1   *           1         764     6136798+  83  Linux
> >/dev/hda2             765        4863    32925217+   5  Extended
> >/dev/hda5             765         904     1124518+  82  Linux swap
> >/dev/hda6             905        4863    31800636   83  Linux
> >
> >Disk /dev/hdb: 122.9 GB, 122942324736 bytes
> >16 heads, 63 sectors/track, 238216 cylinders
> >Units = cylinders of 1008 * 512 = 516096 bytes
> >
> >   Device Boot      Start         End      Blocks   Id  System
> >/dev/hdb1   *           1      238216   120060832+  83  Linux
> so it looks like /dev/hdb1 is your backup?
> all you need to do is mount it somewhere like you must have done before
> mkdir /mnt/backup
> mount /dev/hdb1 /mnt/backup
> rsync / cp / progrm of your choice /mnt/backup/<whatever> /where/it/goes

Assuming that it is an ext2 or ext3 format file sytem ...
You can check when the filesystem was created:

	 tune2fs -l /dev/hdb1

That will tell you if the reinstall reformatted the disk partition.

-- 
Alain Williams
Parliament Hill Computers Ltd.
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256

#include <std_disclaimer.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20050518/4f59ff8b/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list