swap partition deleted

Derek Broughton derek at pointerstop.ca
Thu Jul 16 14:02:10 UTC 2009


JYOTI SHEORAN wrote:

> i have a sata hard drive, in which i installed ubuntu, xp, vista, and red
> hat linux.
> i accidently deleted the swap partition n formatted it to ntfs in vista.
> now my ubuntu is not booting anymore.

Are you sure you deleted the _swap_ partition? Ubuntu doesn't need one to 
boot.  Boot into the recovery mode and see what messages you get.

> i have xp on primary partition and all other on logical partition
> i tried ubuntu live cd...it also shows my sata hard drive as unallocated
> how ever i am able to boot into xp, vista and red hat linux using vista
> bootloader
> in red hat linux also , my sata hard drive is shown unallocated. wat to do
> now?

Sounding very much like you deleted far more than your swap partition.

> how to create a swap partiton?

If you don't use hibernate/suspend, you don't need a swap partition at all - 
you can set up a swap _file_ in any existing partition.  If you _do_ use 
hibernate/suspend, there are ways to make it use a swap file, but they're 
not yet straightforward.

> without reformatting my whole drive? my
> hard drive is shown in vista and xp but not in any linux distro.

-- 
derek






More information about the ubuntu-users mailing list