Re: [SLE] Partition Table Erased, Machine still running

From: Paul Hewlett (hewlett_at_netactive.co.za)
Date: 03/30/05

  • Next message: Paul Hewlett: "Re: [SLE] How to remote desktop from WinXP client"
    To: suse-linux-e@suse.com
    Date: Wed, 30 Mar 2005 17:22:12 +0200
    
    

    On Wednesday 30 March 2005 15:42, Dan Am wrote:
    > Hi Folks,
    >
    > I erased the partition table of a running machine. Shame on me. Machine is
    > still running though. There _must_ be a way to get theinformation from the
    > running kernel. As fdisk states: "The kernel still uses the old table"
    > I tried /proc/partitions, but can't seem to get the cylinders right.
    > At the moment I am copying 120GB data over ethernet, which is kind of
    > tedious.
    > Anyone ever recover from this ?
    >
    > Regards
    > Dan

    /proc/partitions
    /proc/diskstats

    may give u enough info to recreate the partition.

    use sfdisk to save the partition file in future in case u do this again :-)

    PaulH

    -- 
    Paul Hewlett (Linux #359543) 
    Tel: +27 21 852 8812      Cel: +27 72 719 2725      Fax: +27 86 672 0563
    -- 
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Paul Hewlett: "Re: [SLE] How to remote desktop from WinXP client"

    Relevant Pages

    • Re: [SLE] Partition Table Erased, Machine still running
      ... >> I erased the partition table of a running machine. ... Shame on me. ... Regards ...
      (SuSE)
    • Re: Shrinking a partition
      ... hda5 Windows. ... I was recently playing with a server and I wasn't keen on resizing the NTFS partition because there was 32 Mb of free space in front of it. ... Otherwise the bootstrap code will not find which partition you want to boot and your disk will not boot. ... Dan> parted can resize some other types of filesystems like ext2, ...
      (Fedora)
    • Re: Win2k Ghost/Clone Laptop HD - Boot hanging
      ... Dan - thanks, that's a neat website. ... >>browse the USB 80 gig and see all my files are there! ... the boot.ini file in the partition points to the partition to be ... > assigned drive letters and start over with fresh assignments. ...
      (microsoft.public.win2000.hardware)
    • Re: Grub set up
      ... Now I am trying again to configure Grub to boot either linux ... Dapper Dan. ... I think I have my data on the "hda3" partition' ... For inetersts skae, SCSI drives are named in a similar fashion, but have ...
      (Ubuntu)
    • Re: [SLE] Partition Table Erased, Machine still running
      ... > I erased the partition table of a running machine. ... Nearly anyone would need help figuring out how, ... by the DFSee author to make it happen. ...
      (SuSE)