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

Stuart Sears stuart at sjsears.com
Wed May 18 17:12:05 UTC 2005


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

Stuart
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list