Results 1 to 6 of 6

Thread: Swap partition not visible in vista

  1. #1
    Join Date
    Dec 2008
    Beans
    9

    Swap partition not visible in vista

    Having successfully installing Ubunto on a new partition as part of a dual boot with vista I lazily (and rather foolishly)used my vista image partition as the destination for the swap drive.

    I did a subsequent installation and removed the swap althogether as the partition had become invisible to Vista. I have 3gb of memory so the swap wasn't essential. The drive still can not been seen in vista though. It is not a major issue as I have the restore cd but I would like the convenience of having the image back again.
    Is there anyway I can make it visible again without reformatting the partition?

    Cheers

  2. #2
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: Swap partition not visible in vista

    Can you post the output of this command from a terminal (in Ubuntu)?

    Applications -> Accessories -> Terminal
    Code:
    sudo fdisk -l
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  3. #3
    Join Date
    Dec 2008
    Beans
    9

    Re: Swap partition not visible in vista

    Here you go:

    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x380e892c

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 33069 265620472 7 HPFS/NTFS
    /dev/sda2 33069 35618 20478976 83 Linux
    /dev/sda3 35618 38914 26468352 82 Linux swap / Solaris

    I'd say it's not looking good!

  4. #4
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: Swap partition not visible in vista

    Quote Originally Posted by CageUK View Post
    Here you go:

    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x380e892c

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 33069 265620472 7 HPFS/NTFS
    /dev/sda2 33069 35618 20478976 83 Linux
    /dev/sda3 35618 38914 26468352 82 Linux swap / Solaris

    I'd say it's not looking good!
    Your swap partition is /dev/sda3. Now, see if you have an entry in /etc/fstab for it. Post the outputs of these commands from a terminal.

    Code:
    cat /etc/fstab
    sudo blkid
    free
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  5. #5
    Join Date
    Dec 2008
    Beans
    9

    Re: Swap partition not visible in vista

    These are the results

    mark@mark-laptop:~$ cat /etc/fstab

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda2
    UUID=b868c039-35c4-4990-a267-32a4ce8ca555 / ext3 relatime,errors=remount-ro 0 1
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

    mark@mark-laptop:~$ sudo blkid

    /dev/sda1: UUID="BC6E69F96E69AD38" LABEL="Vista" TYPE="ntfs"
    /dev/sda2: UUID="b868c039-35c4-4990-a267-32a4ce8ca555" TYPE="ext3"
    /dev/sda3: TYPE="swap" UUID="d3e7a3be-bdcc-4579-8119-467d4db711df"

    mark@mark-laptop:~$ free

    total used free shared buffers cached
    Mem: 3107420 745228 2362192 0 15488 222152
    -/+ buffers/cache: 507588 2599832
    Swap: 0 0 0
    mark@mark-laptop:~$

    Hope this means something to you!

  6. #6
    Join Date
    Mar 2008
    Location
    Cloud 9
    Beans
    1,428
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Swap partition not visible in vista

    Vista doesn't normally see Linux partitions and Swap isn't an actual partition in the sense of storage, it is meant to be used exclusively by the system as an overflow for memory and not accessible by any user. These have all been Ubuntu's view of things and they all seem ok to me. Why do you want to see the Ubuntu Swap partition with Vista? You can see regular ext3 and ext2 Linux partitions from Vista with EXT2fs and I'm sure there are a lot more out there.

    But before you reformat the space the old Vista image might have been try this:
    Code:
    sudo parted
    and in parted type:
    Code:
     print all
    . I don't know if you wrote your swap partition over top of the whole partition or not, but it is probably gone forever. parted or gparted might be able to reclaim the space for the image and you could possibly copy the restore disk to it. Good-luck
    Last edited by pastalavista; December 17th, 2008 at 12:32 PM.

Bookmarks

Posting Permissions

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