LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-14-2018, 08:24 AM   #1
mstrimel
Member
 
Registered: Apr 2004
Location: USA
Distribution: Mint 19 Cinnamon
Posts: 40

Rep: Reputation: 0
dual boot - where is my Windows partition


hi,
A while ago I had installed Windows to dual-boot. Now I reinstalled Linux Mint (upgraded to 19) and I've "lost" my Windows partition. Here are the results of df

Code:
mary@mythbox:~$ sudo fdisk --list
Disk /dev/sda: 74.5 GiB, 80026361856 bytes, 156301488 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
Disklabel type: dos
Disk identifier: 0x000ee1e5

Device     Boot    Start       End  Sectors  Size Id Type
/dev/sda1  *        2048  58636287 58634240   28G 83 Linux
/dev/sda2       58637311 156296384 97659074 46.6G  5 Extended
/dev/sda5       58637313  70396829 11759517  5.6G 82 Linux swap / Solaris
/dev/sda6       70396893 156296384 85899492   41G 83 Linux


Disk /dev/sdb: 596.2 GiB, 640135028736 bytes, 1250263728 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
Disklabel type: dos
Disk identifier: 0x000199e8

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb1              63 204796619 204796557  97.7G 83 Linux
/dev/sdb2       204796620 409593239 204796620  97.7G 83 Linux
/dev/sdb3       409593240 493564994  83971755    40G 83 Linux
/dev/sdb4       493564995 739327364 245762370 117.2G  5 Extended
/dev/sdb5       493568000 739325951 245757952 117.2G 83 Linux




Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 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
Disklabel type: dos
Disk identifier: 0x4242d502

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sdc1  *          2048    2099199    2097152     1G 83 Linux
/dev/sdc2          2099200  106956799  104857600    50G 83 Linux
/dev/sdc3        106956800  115310591    8353792     4G 82 Linux swap / Solaris
/dev/sdc4        115310592 1953523711 1838213120 876.5G  5 Extended
/dev/sdc5        115312640  325027839  209715200   100G 83 Linux
/dev/sdc6       1487773696 1953523711  465750016 222.1G 83 Linux
I thought that Windows would be on NTFS, but is there anywhere else it could be hiding?
 
Old 09-14-2018, 08:48 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,437
Blog Entries: 2

Rep: Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112
Unfortunately, it looks to me as if you have installed Mint over the whole disk rather than as a dual boot.

Out of interest, what is that second disk used for?
 
Old 09-14-2018, 09:09 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,161

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
Which windows system did you have installed? If it was 8/0, it should have been an EFI install and your Mint is a Legacy/MBR install. Which option did you select when you installed Mint? On which disk did you have windows installed? sdb shows a lot of unused space not included in your Linux partitions. If you had 8/10 installed, you may have left it hibernated and thus the windows partitions were not detected. It does look like you have overwritten whatever was on the drives before. I would suggest that if you have data on sdb from windows, you stop booting the drives and use the Mint install DVD/usb to try to access and recover that data, particularly if you don't have good backups. Testdisk might help.
 
Old 09-14-2018, 09:25 AM   #4
mstrimel
Member
 
Registered: Apr 2004
Location: USA
Distribution: Mint 19 Cinnamon
Posts: 40

Original Poster
Rep: Reputation: 0
hi,
I had installed Windows 7 64 bit pro previously. When I re-installed Mint, I was very careful to have it use only the same / partition and /home partition as I did before. I lost no data and Linux Mint is performing normally.
I don't have any data on the Windows, so no worries there. I just want to somehow find and detect the Windows partition so I can boot to it and use it for something.
It sounds like it's gone?
I am using the second disk to store music, photos, and videos. The third disk (usb drive) was for booting fedora and (I think) Windows but I really can't find the Windows partition!
Maybe it's gone ...
If I have to reinstall Windows, would it be better to use the USB drive or /sdb?
 
Old 09-14-2018, 09:34 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,437
Blog Entries: 2

Rep: Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112
In general, it appears that folk have more success with dual boots if they install Windows first and then Linux after that. In your case, that would obviously mean having to install Mint yet again.

Have you considered the possibility of using a VirtualBox virtual machine to run Windows? In saying that, a drive of 74.5 GiB doesn't leave much room for manoeuvre.

What was it that you were intending to do in Windows? - perhaps we can find an alternative way of doing it in Linux.
 
Old 09-14-2018, 09:36 AM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,616

Rep: Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498
I can't find windows partition too. Probably deleted/overwritten. I would prefer to install windows onto the built-in drive (instead of usb disk).
 
Old 09-14-2018, 09:52 AM   #7
mstrimel
Member
 
Registered: Apr 2004
Location: USA
Distribution: Mint 19 Cinnamon
Posts: 40

Original Poster
Rep: Reputation: 0
Hi, I had a virtual machine but The performance was very sluggish. I have a thumb drive from my office that is encrypted and does not work on either Mac or Linux. Itís simply not recognized, but it works under windows.
I guess I will install Windows first. It wasnít too hard.
 
Old 09-14-2018, 10:30 AM   #8
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,616

Rep: Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498Reputation: 3498
you can unplug the linux disk and plug in again afterward (when windows is installed)
 
Old 09-14-2018, 08:14 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,253

Rep: Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640
Even though you have some free space on /dev/sdb, it will have to be allocated as a logical partition. I'm not sure you can (easily) install to a logical on a second disk, but the Windows installer will insist on a primary partition on /dev/sda. A small partition for the boot code - similar to a separate /boot partition on Linux.

Probably not worth the effort. Make space for it on /dev/sda, or just erase the Mint, and do Win7 then Mint again. Win7 can be installed with Mint still there, but you'll have to re-intsll grub after the Win7 install finishes.
 
Old 09-15-2018, 05:05 PM   #10
masinick
Member
 
Registered: Apr 2002
Location: Clinton Township, MI
Distribution: Debian, antiX, Kubuntu, Xubuntu, and many others
Posts: 607
Blog Entries: 15

Rep: Reputation: 81
Quote:
Originally Posted by mstrimel View Post
Hi, I had a virtual machine but the performance was very sluggish. I have a thumb drive from my office that is encrypted and does not work on either Mac or Linux. Itís simply not recognized, but it works under windows.
I guess I will install Windows first. It wasnít too hard.
A virtual machine (VM) environment will not offer the same performance as an operating system directly installed.
However, if a computer is recent vintage and it isn't an extremely low-end device, I've found many systems able to run VM environments with acceptable performance in personal computer settings.

In commercial enterprise systems, it is very common to have numerous virtual instances of systems. Some of them are production quality environments when the hardware behind them is powerful and substantial. So it's certainly possible with run a VM with good performance, you simply need either a personal or commercial system with good or better than average capacity and performance.

Commercial systems at work can perform exceptionally well if the hardware is top notch and the implementation is effective. A lot of environments may be virtualized without people even knowing it unless they have a good understanding of the environment they are using.
 
Old 09-15-2018, 05:08 PM   #11
masinick
Member
 
Registered: Apr 2002
Location: Clinton Township, MI
Distribution: Debian, antiX, Kubuntu, Xubuntu, and many others
Posts: 607
Blog Entries: 15

Rep: Reputation: 81
Quote:
Originally Posted by hydrurga View Post
Unfortunately, it looks to me as if you have installed Mint over the whole disk rather than as a dual boot.
It does indeed appear that any Windows partitions have been replaced. NTFS is one common file system type you would see if Windows were present.
 
Old 09-16-2018, 11:53 AM   #12
mstrimel
Member
 
Registered: Apr 2004
Location: USA
Distribution: Mint 19 Cinnamon
Posts: 40

Original Poster
Rep: Reputation: 0
Thanks. My computer is a few years old, so I've decided to replace the 75GB /dev/sda with a new 1TB drive and install Windows as a dual boot on that drive.
I will want to move the contents of my current /dev/sda/home partition to the new drive.

What should I use to copy /dev/sda/home? dd or something else? Should I copy it to a DVD first and then to the new drive, or just copy it directly from the old drive to the new one after I install Linux Mint on the new drive?

Once I physically install the new drive, how will my computer know that I want it to be the primary drive? I know there used to be jumper settings on the drives, just not sure if that's still the case.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to partition when dual boot with Windows 10 bscho Linux Mint 26 11-28-2017 06:08 PM
Dual-boot with extendend partition. Can't boot windows again. carlitos_30 Linux - Desktop 4 08-27-2013 04:06 PM
In dual boot partition cant boot into linux after formatting the windows partition. SarahGurung Linux - General 9 08-27-2013 09:06 AM
dual boot - Grub won't boot Windows on /windows/D partition biosol SUSE / openSUSE 9 04-09-2006 09:14 PM
Grub/Dual boot - Windows partition restored via dd won't boot pazzport Ubuntu 1 01-06-2006 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration