Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Hey guys, new to Linux and what I had was a dual boot windows 7 and windows 8 preview on a seperate partition. I "thought" I installed Ubuntu on the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2013
    Posts
    7

    Help, I can't find windows 7


    Hey guys, new to Linux and what I had was a dual boot windows 7 and windows 8 preview on a seperate partition. I "thought" I installed Ubuntu on the windows 8 version since I am not using that partition and now I cannot find out how to see my partitions and if I still have 7. I am not worried about losing any data on the 7 partition but it will be a big pain if I have to reinstall 7.

    The reason I put Ubuntu on was because I had a SD card from a DSLR that was corrupt, luckily I was able to get most of my pics off the SD card but was not able to recover any movies at this point. It was a slow process but at least I did get most of my pics.

  2. #2
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    896
    Please open a terminal and provide the output of the following command:
    sudo fdisk -l

  3. #3
    Just Joined!
    Join Date
    Jan 2013
    Posts
    7
    Got to the terminal, typed that in and now not sure what to do?

  4. #4
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    896
    Copy and paste the output into this ticket after you enter your password. We will look at the output, and try to determine what's going on, and give you further instructions.

  5. #5
    Just Joined!
    Join Date
    Jan 2013
    Posts
    7
    Ok, Thanks

    Usage:
    fdisk [options] <disk> change partition table
    fdisk [options] -l <disk> list partition table(s)
    fdisk -s <partition> give partition size(s) in blocks

    Options:
    -b <size> sector size (512, 1024, 2048 or 4096)
    -c[=<mode>] compatible mode: 'dos' or 'nondos' (default)
    -h print this help text
    -u[=<unit>] display units: 'cylinders' or 'sectors' (default)
    -v print program version
    -C <number> specify the number of cylinders
    -H <number> specify the number of heads
    -S <number> specify the number of sectors per track

  6. #6
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    896
    Hello,

    The command is
    sudo fdisk -l

    Make sure you are typing the -l part, as it's a lowercase L, not a 1 or capital i.

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    What options does machine show at startup? Does it display a menu having choices to boot up Ubuntu/Windows OS/Recovery etc.?

    Code:
    sudo fdisk -l
    Its small L in fdisk -l.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined!
    Join Date
    Jan 2013
    Posts
    7
    Ok, got it. Here is what I have

    Disk /dev/sda: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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: 0x000195dc

    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 1456832511 728415232 83 Linux
    /dev/sda2 1456834558 1465147391 4156417 5 Extended
    /dev/sda5 1456834560 1465147391 4156416 82 Linux swap / Solaris

    Disk /dev/sdb: 15.9 GB, 15931539456 bytes
    255 heads, 63 sectors/track, 1936 cylinders, total 31116288 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/sdb1 8192 31116287 15554048 c W95 FAT32 (LBA)
    scott@scott-Inspiron-560:~$ ^C
    scott@scott-Inspiron-560:~$

  9. #9
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    Quote Originally Posted by countryboy9799 View Post
    Code:
    Disk /dev/sda: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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: 0x000195dc
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048  1456832511   728415232   83  Linux
    /dev/sda2      1456834558  1465147391     4156417    5  Extended
    /dev/sda5      1456834560  1465147391     4156416   82  Linux swap / Solaris
    
    Disk /dev/sdb: 15.9 GB, 15931539456 bytes
    255 heads, 63 sectors/track, 1936 cylinders, total 31116288 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/sdb1            8192    31116287    15554048    c  W95 FAT32 (LBA)
    scott@scott-Inspiron-560:~$ ^C
    scott@scott-Inspiron-560:~$
    the first drive sda (750GB) has linux partitions only, the second drive sdb (16GB) has FAT32 only. You may have selected use whole drive while doing the install ... which drive had windows 7 on originally?

  10. #10
    Just Joined!
    Join Date
    Jan 2013
    Posts
    7
    The 16 GB drive is the SD card from my camera. The partitions I had were in the 750 GB drive. Does that mean my 750 drive no longer contains windows 7?

Page 1 of 2 1 2 LastLast

Posting Permissions

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