Results 1 to 3 of 3

Thread: hdinstall erased wrong partition for swap

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    3

    hdinstall erased wrong partition for swap

    I installed Knoppix in my HD. Before the partitioning tool was run I had the following partitions:

    /dev/hda1 (win1)
    /dev/hda2 (linux)
    /dev/hda5 (win2)

    I didn't have a swap partition for the previous Linux installation since it was only for trying it out. Since I am now thinking about switching to Linux, I removed /dev/hda2 which was 5GB and created two new partitions with one of them being a swap partition of 500MB.

    So in the partitioning tool, I was shown the following information:

    /dev/hda1 (win)
    /dev/hda2 (linux)
    /dev/hda5 (swap)
    /dev/hda6 (win2)

    So when I clicked ok I came to a page where I was asked whether I wanted /dev/hda5 to use as a swap partition. I agreed since I thought that he would have rearranged the internal partition map. Only later I realized that there was a message after writing the partition table which was something like "The partition table was written to disk but couldn't be reloaded."

    To cut it short: My old /dev/hda5 partition was taken as swap partition though the partition type is still Fat32. I cannot access my partition anymore even from within WinXP and I wonder whether all the data was lost or can I do something to get it back?

  2. #2
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262
    Partitions formatted under Linux ext2,3,reiser,or xfs are not visible under windows-as regular disk partitions like D,E,F,etc. However you can still check their presence by using Partition magic( and sometimes the DRDos fdisk).
    Also if you boot with the knoppix cd it should show your partitons with no problems. Then there is Qt parted.
    If you want the data on your old partition I think that is gone.

    You did not mention if your HD install was successful?

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: hdinstall erased wrong partition for swap

    Quote Originally Posted by droy



    So when I clicked ok I came to a page where I was asked whether I wanted /dev/hda5 to use as a swap partition. I agreed since I thought that he would have rearranged the internal partition map. Only later I realized that there was a message after writing the partition table which was something like "The partition table was written to disk but couldn't be reloaded."
    Also included in the warning was a line telling you to re-boot for the changes to take effect which you obviously did not do therefore it over wrote the existing partition that was read from the old table still loaded.

Similar Threads

  1. What is wrong with my partition table?
    By yonatan in forum Hardware & Booting
    Replies: 9
    Last Post: 02-17-2005, 02:00 AM
  2. swap partition
    By ZeroKun in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 05-07-2004, 06:44 PM
  3. Help with swap partition
    By bob58 in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 03-19-2004, 11:31 PM
  4. Must have swap partition?
    By metavoid in forum General Support
    Replies: 7
    Last Post: 02-20-2004, 04:40 PM
  5. Linux swap partition
    By Sucker in forum General Support
    Replies: 3
    Last Post: 01-29-2003, 11:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$3472.00



Supermicro 4U 4x Nvidia GPU AI Server 2.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 2.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$1382.00



Supermicro 4U 4x Nvidia GPU AI Server 3.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$1732.00



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



HP Chromebase Desktop PC 21.5

HP Chromebase Desktop PC 21.5" FHD Core i3-10110U Intel UHD 8GB DDR4 128GB SSD

$359.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core picture

Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core

$79.99



Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor picture

Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor

$24.00



2019+ MACBOOK PRO 16 MAGIC 32GB RAM 512GB SSD 8 CORE 5.0GHz i9 5500M - SONOMA picture

2019+ MACBOOK PRO 16 MAGIC 32GB RAM 512GB SSD 8 CORE 5.0GHz i9 5500M - SONOMA

$861.12



Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro picture

Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro

$249.00