Find the answer to your Linux question:
Results 1 to 4 of 4
System has WinXP on one hard drive,Ubuntu 12.04 on second hard drive. Had warning that Ubuntu was running out of space but as both are on 160Gb drives.I thought this ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Location
    UK - Welsh Borders
    Posts
    13

    odd partition problem on dual boot XP and Ubuntu system


    System has WinXP on one hard drive,Ubuntu 12.04 on second hard drive.
    Had warning that Ubuntu was running out of space but as both are on 160Gb drives.I thought this wrong.
    It seems that Ubuntu thinks its in partitions on the XP drive which is not where I put it on install some time ago.
    Would the use of a utility on XP to open Ubuntu files have caused this?
    I want to get rid of Ubuntu from the XP drive (where XP now reports a smaller drive) and get Ubuntu to behave on its own drive where it has loads of room.

    sudo fdisk -l
    [sudo] password for dave:

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x2430242f

    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 268414019 134206978+ 7 HPFS/NTFS/exFAT
    /dev/sda2 268414974 312580095 22082561 5 Extended
    /dev/sda5 268414976 304193535 17889280 83 Linux
    /dev/sda6 304195584 312580095 4192256 82 Linux swap / Solaris

    Disk /dev/sdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xae04ea50

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 63 268414019 134206978+ 7 HPFS/NTFS/exFAT
    /dev/sdb2 268414974 312580095 22082561 5 Extended
    /dev/sdb5 268414976 304193535 17889280 83 Linux
    /dev/sdb6 304195584 312580095 4192256 82 Linux swap / Solaris

    Disk /dev/mapper/nvidia_aecjebaf: 160.0 GB, 160041884672 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581806 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x2430242f

    Device Boot Start End Blocks Id System
    /dev/mapper/nvidia_aecjebaf1 * 63 268414019 134206978+ 7 HPFS/NTFS/exFAT
    /dev/mapper/nvidia_aecjebaf2 268414974 312580095 22082561 5 Extended
    /dev/mapper/nvidia_aecjebaf5 268414976 304193535 17889280 83 Linux
    /dev/mapper/nvidia_aecjebaf6 304195584 312580095 4192256 82 Linux swap / Solaris

    Disk /dev/mapper/nvidia_aecjebaf1: 137.4 GB, 137427945984 bytes
    255 heads, 63 sectors/track, 16707 cylinders, total 268413957 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x69205244

    This doesn't look like a partition table
    Probably you selected the wrong device.

    Device Boot Start End Blocks Id System
    /dev/mapper/nvidia_aecjebaf1p1 ? 218129509 1920119918 850995205 72 Unknown
    /dev/mapper/nvidia_aecjebaf1p2 ? 729050177 1273024900 271987362 74 Unknown
    /dev/mapper/nvidia_aecjebaf1p3 ? 168653938 168653938 0 65 Novell Netware 386
    /dev/mapper/nvidia_aecjebaf1p4 2692939776 2692991410 25817+ 0 Empty

    Partition table entries are not in disk order

    Disk /dev/mapper/nvidia_aecjebaf2: 22.6 GB, 22612542464 bytes
    255 heads, 63 sectors/track, 2749 cylinders, total 44165122 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    /dev/mapper/nvidia_aecjebaf2p1 2 35778561 17889280 83 Linux
    /dev/mapper/nvidia_aecjebaf2p2 35778562 44165121 4193280 5 Extended
    /dev/mapper/nvidia_aecjebaf2p5 35780610 44165121 4192256 82 Linux swap / Solaris

    Disk /dev/mapper/nvidia_aecjebaf5: 18.3 GB, 18318622720 bytes
    255 heads, 63 sectors/track, 2227 cylinders, total 35778560 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/mapper/nvidia_aecjebaf5 doesn't contain a valid partition table

    Disk /dev/mapper/nvidia_aecjebaf6: 4292 MB, 4292870144 bytes
    255 heads, 63 sectors/track, 521 cylinders, total 8384512 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/mapper/nvidia_aecjebaf6 doesn't contain a valid partition table
    df -l
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/mapper/nvidia_aecjebaf5 17608024 14334032 2379528 86% /
    udev 2053232 4 2053228 1% /dev
    tmpfs 824248 2316 821932 1% /run
    none 5120 0 5120 0% /run/lock
    none 2060612 156 2060456 1% /run/shm
    ~$

    Hope the above info helps.Dave

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    What utility are you referring to using from xp on Ubuntu?
    You have LVM, your drives are absolutely identical in size, number of partitions, size of partitions and in the fdisk output, the Start and End numbers are also identical. Perhaps if you posted some info on what utility you used and what you were trying to do, someone with knowledge of LVM would be able to help you.

  3. #3
    Just Joined!
    Join Date
    Jun 2011
    Location
    UK - Welsh Borders
    Posts
    13
    I toyed with EXT2FSD sometime.I would have been trying to access linux files,probably music.

    By the way I have tried disconnecting WinXP and Linux drives alternately.Grub loads and the "surviving" system runs when selected from menu.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    System has WinXP on one hard drive,Ubuntu 12.04 on second hard drive.
    You do see from your fdisk output that the drives are identical. You have a windows partition on sda1 as well as sdb1.
    sda2 and sdb2 are both Extended partitions.
    sda5 and sdb5 are both Linux partitions.
    sda6 and sdb6 are both swap partitions.
    If you compare the partitions on sda to the partitions on sdb you can see from the fdisk output that the Start and End numbers are identical for all the partitions.

    It looks like a RAID array or that you have somehow got both xp and Ubuntu on both disks? Do you have a data partition for xp on one of the drives? Do you have a data partition for Ubuntu on the other drive?

Posting Permissions

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