Peppermint OS Community Forum

Support => New Users => Topic started by: jlschwartz on June 27, 2014, 05:29:43 pm

Title: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on June 27, 2014, 05:29:43 pm
I cannot install Peppermint 5 to dual boot with Windows 7 pro.  I had Peppermint 4 installed on my Lenovo X130e.  I used easybcd to remove the grub boot loader and reclaimed the linux partitions under windows.  Then I booted to Peppermint Live USB and tried to install Peppermint 5.  However, when it starts the install it says it does not detect another operating system on the computer and does not give me the option to install Peppermint 5 beside of Windows 7 as I it normally does.  Windows 7 Pro is in fact installed on the PC and boots up and runs fine.  How can I get the Peppermint 5 to recognize that Windows 7 is there and install the dual boot system as I want to?  Looking for a solution as soon as possible.  Thanks.  Jeff
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: rjm65 on June 27, 2014, 05:32:51 pm
I cannot install Peppermint 5 to dual boot with Windows 7 pro.  I had Peppermint 4 installed on my Lenovo X130e.  I used easybcd to remove the grub boot loader and reclaimed the linux partitions under windows.  Then I booted to Peppermint Live USB and tried to install Peppermint 5.  However, when it starts the install it says it does not detect another operating system on the computer and does not give me the option to install Peppermint 5 beside of Windows 7 as I it normally does.  Windows 7 Pro is in fact installed on the PC and boots up and runs fine.  How can I get the Peppermint 5 to recognize that Windows 7 is there and install the dual boot system as I want to?  Looking for a solution as soon as possible.  Thanks.  Jeff
How many partitions does your drive have? I think maximum is 4 partitions...   ;)
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: mac on June 27, 2014, 05:48:02 pm
Open your terminal and run the following commands (one at a time) and post the output of each.....

Code: [Select]
df -h
then

Code: [Select]
sudo fdisk -l
then

Code: [Select]
gedit /boot/grub/grub.cfg
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on June 27, 2014, 05:56:06 pm
Mac,
I'll do as you ask, but in the meantime, I wanted to say that I'm trying to install the 64bit version of P5.  I did have the 64 bit version of P4 on this machine before.  However, if I try to install the 32 bit version it recognizes windows 7 and offers to install P5 beside it.  I hate to do that as I have 8 gig on this system and it won't be recognized under 32 bit.  I get the info you wanted but I thought that might tell you something.  Thanks.  Jeff.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: mac on June 27, 2014, 05:58:02 pm
Sorry, have to run....be back asap
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on June 27, 2014, 06:05:41 pm
Mac,

Here is the info you requested:

peppermint@peppermint ~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/cow            3.8G   19M  3.7G   1% /
udev            3.7G  4.0K  3.7G   1% /dev
tmpfs           759M  1.2M  758M   1% /run
/dev/sdb1       3.8G  629M  3.2G  17% /cdrom
/dev/loop0      555M  555M     0 100% /rofs
none            4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs           3.8G  4.0K  3.8G   1% /tmp
none            5.0M     0  5.0M   0% /run/lock
none            3.8G   72K  3.8G   1% /run/shm
none            100M  8.0K  100M   1% /run/user
peppermint@peppermint ~ $ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x0fe76135

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     3074047     1536000    7  HPFS/NTFS/exFAT
/dev/sda2         3074048   592367706   294646829+   7  HPFS/NTFS/exFAT
/dev/sda3       592371712   625139711    16384000    7  HPFS/NTFS/exFAT

Disk /dev/sdb: 4009 MB, 4009754624 bytes
23 heads, 22 sectors/track, 15477 cylinders, total 7831552 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   *          32     7831551     3915760    b  W95 FAT32
peppermint@peppermint ~ $ gedit /boot/grub/grub.cfg

** (gedit:3445): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
peppermint@peppermint ~ $

The then opens a Gedit file which I don't know how to attach here.  Thanks.  Jeff
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on June 27, 2014, 06:39:02 pm
rjm65,
My PC currently has 3 partitions.  It had 5 until I deleted/recovered the two that were being used for Peppermint 4.  Thanks.  Jeff
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: rjm65 on June 27, 2014, 06:43:24 pm
well what has worked for me in the past, was after removing linux I would boot from my windows 7 dvd and run repairs on the boot section so that grub is fully removed and windows 7 is booting properly using its own bootup configurations, then when I insert the linux cd and boot live windows 7 appears again and has the side by side options...

Another trick that worked for me was just done this evening I removed pep3 and installed pep5 alongside win7, how I did it was I booted from live cd and opened gparted and just formatted my linux drive using ext4...  this wiped out pep3 then i clicked install pep5 and all was swell it seen the empty partition that was formatted and placed itself right alongside win 7 where pep3 once was....
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: mac on June 27, 2014, 07:22:51 pm
Thanks for your patience, Jlschwartz....hated to do that but had to.  So......

Questions
Did you check the md5sum on the ISO?
Are you familiar with Gparted?
What is on sda3?

I think the problem is with the USB.  You might try another stick if you have one or can
borrow one.  Or, you might burn to a CD/DVD if you can.  Check the md5sum first, though.
If it does not match then re-download and reburn.   

EDIT: BTW, how did you remove P4?
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on June 27, 2014, 07:46:48 pm
Mac,
I checked the mdsum on both sticks I made - one for 32 bit and one for 64 bit and both checked out ok.  I am familiar with Gparted and in fact I have been using it right now.  It shows two very small partitions of unallocated space 1.9 mb however other windows partition software like Easeus Partition Master don't show those two tiny partitions of unallocated space.  I've tried to recover that space with Gparted but I have not been able to so far.  Since the 32 bit version works, I'm skeptical that is the problem.  Let me know if you have any ideas.

SDA3 is a Lenovo recovery partition.  Thanks.  Jeff
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: mac on June 27, 2014, 08:16:01 pm
Odd that one would recognize your Win7 install and the other not recognize it if there's not a problem with the 64bit ISO or the USB you have it installed on. 
 
One thing you might try, kinda the long way around, go ahead and install the 32 bit version and then install the 64 bit version allowing the installer to replace the 32 bit version. 

As always, backup important data first.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on June 28, 2014, 09:51:54 am
Mac,

At the risk of asking a dumb question how would that work.  Would I boot to a live usb with the 64 bit system and it would give me an option to replace the 32 bit system?  Please explain how that would work.  Thanks.  Jeff

I installed Peppermint 5 32 bit and everything went fine.  So now I just have to replace with the 64 bit version.  Thanks. Jeff
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: PCNetSpec on June 28, 2014, 11:43:42 am
Erm, technically you don't need to replace it.

Peppermint 5 32bit has a PAE enabled kernel so can access more than 4GB RAM .. it should utilise all 8GB ;)

easy way to tell .. what's the output from:
Code: [Select]
free -m

The other option would be to select "Something else" at the partitioning part of the installer and manually set up your partitions, which by the way MUST be logical partitions inside an extended partition,as you only have 1 primary partition left ;)
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on June 28, 2014, 12:15:41 pm
I tried what Mac suggested and it completely overwrote my windows partitions including my recovery partition.  Now the only thing on my PC is peppermint 5.  That's a big problem for me.  I don't have a windows 7 disk so I'm going to have to buy one and reload everything.  I'm really in trouble now...
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: kendall on June 28, 2014, 12:43:31 pm
I'm sorry to hear that it didn't work out. What should have happened is the 32 bit ISO should have recognized Win7, created a partition, and installed itself and then the 64 bit should have recognized the 32 bit partition, but only if you selected the manually construct the partition table with the installer.

Anyway, no need to purchase a Win7 disk as the ISO files are freely available to download:

http://techpp.com/2009/11/11/download-windows-7-iso-official-direct-download-links/ (http://techpp.com/2009/11/11/download-windows-7-iso-official-direct-download-links/)

You don't even technically need a product key to use them, but if you don't put one in within 30 days of installing, it gets really annoying.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on June 28, 2014, 01:51:43 pm
I assume that you make a bootable DVD of iso using unetbootin or something similar to use the windows iso image.  Is that right?  Thanks.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: rjm65 on June 28, 2014, 02:05:01 pm
I assume that you make a bootable DVD of iso using unetbootin or something similar to use the windows iso image.  Is that right?  Thanks.
The iso file is already bootable just burn it to a dvd using whatever software for burning you are familiar with...
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: PCNetSpec on June 28, 2014, 07:01:11 pm
If you cannot burn it to a DVD, and absolutely need to create a Windows 7 USB installation media .. see here:
http://arstechnica.com/business/2009/12/the-usb-flash-drive/

But I'm afraid you're going to require another Windows PC to create it on.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: mac on June 28, 2014, 10:09:11 pm
Quote
I tried what Mac suggested and it completely overwrote my windows partitions including my recovery partition.  Now the only thing on my PC is peppermint 5.  That's a big problem for me.  I don't have a windows 7 disk so I'm going to have to buy one and reload everything.  I'm really in trouble now...

Oh my, jlschwartz.  You must have chosen the install option that wipes the entire disk which was not at all my suggestion. 

(https://dl.dropboxusercontent.com/u/9267308/ff.png)

When you said earlier....
Quote
I am familiar with Gparted and in fact I have been using it right now
...I assumed you were going to create partitions on which to install Linux.  I did not see your subsequent posts until just now as I have been away from the computer today.  Kendall's explanation of what should have happened is what we were aiming for.  Sorry it didn't work out that way. 

So, moving on, you can download the Win7 ISO and create a DVD (as per Kendall's post), install Win7 (which will wipe your hard drive) and then use Gparted from the Peppermint cd/usb to create your partitions.  Then install P5. 
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: Slim.Fatz on June 29, 2014, 04:27:26 am
I tried what Mac suggested and it completely overwrote my windows partitions including my recovery partition.  Now the only thing on my PC is peppermint 5.  That's a big problem for me.  I don't have a windows 7 disk so I'm going to have to buy one and reload everything.  I'm really in trouble now...

Free at last! You should celebrate: your M$-Windoze-free life has begun!

Just curious: why do you absolutely need M$ Windows? I suppose there might be some reason(s), but I have been without M$-Windoze for over ten years and have had no regrets about not being victimized by it -- not to mention the money I have saved by not needing to buy user licenses for unsafe software. 8)

Regards,
 -- Slim
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: rjm65 on June 29, 2014, 08:35:12 am
Follow what Mac says, only I would not run gparted...
Install windows, then boot peppermint 5 live cd/usb and click install peppermint 5...
Choose install side by side with windows and let the installer make your partitions for you.... ;)
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on June 30, 2014, 11:49:04 am
All,

Thanks for the help.  When this happened I selected replace Peppermint 5 using the 64 bit live usb.  That's when the system not only replaced Peppermint 5 but also wiped my entire system in the process.  Not good. 

I have spent the better part of 2 days getting my machine back so I can use it with windows 7.  I use this machine on the road so I need it desperately to work.  I don't know if I have enough nerve to try to install Peppermint 5 again.  If I do I can tell you it will only be the 32 bit version.  The 64 bit version install scares me.  Thanks.  Jeff

Edit
I just booted up with the Peppermint 5 32 bit version live usb.  When beginning install I get this "the system does not detect an operating system in this computer".   Obviously, I just re-installed windows 7.  There is something very wrong with the install detection.  Thanks.  Jeff
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 01, 2014, 01:25:39 pm
Can anyone walk me through how I could install Peppermint 5 now since even the 32 bit version does not recognize windows 7?  Thanks.  Jeff
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: schmitzr1984 on July 01, 2014, 03:16:47 pm
Can anyone walk me through how I could install Peppermint 5 now since even the 32 bit version does not recognize windows 7?  Thanks.  Jeff
I was able to detect Windows 7 Pro from the beta version of Peppermint 5 (64 bit version)... is there any way you could post screen shots of what you're seeing jlschwartz?

As an aside I just took a peek at the "Running the Installer" guide here http://peppermintos.com/guide/downloading/, this could probably be updated with some screen shots to make it easier to confirm the "correct" options are being selected, this might not be straight forward to people who are completely new to Linux.  The following piece of information on the "Running the Installer" guide should probably be emphasized a little more too,
Quote
Other options here are to simply wipe the entire disk or to set up a more advanced partitioning table. If you're unfamiliar with setting up a partitioning table, it's advisable that you not select this option.

This is just my opinion but pictures are worth a thousand words...
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: PCNetSpec on July 01, 2014, 03:53:10 pm
Can anyone walk me through how I could install Peppermint 5 now since even the 32 bit version does not recognize windows 7?  Thanks.  Jeff

Did you install Win7 using the whole drive ?

Boot to the LiveCD/LiveUSB and select "Try Peppermint" .. then once at the desktop open a terminal and post the output from:
Code: [Select]
sudo fdisk -l
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 02, 2014, 08:54:48 am
Yes.  I used the whole disk for windows 7.

See the following:

peppermint@peppermint ~ $ sudo fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 320.1 GB, 320072933376 bytes
256 heads, 63 sectors/track, 38761 cylinders, total 625142448 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: 0x0000e0ea

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  4294967295  2147483647+  ee  GPT

Disk /dev/sdb: 4009 MB, 4009754624 bytes
23 heads, 22 sectors/track, 15477 cylinders, total 7831552 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   *          32     7831551     3915760    b  W95 FAT32
peppermint@peppermint ~ $
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: schmitzr1984 on July 02, 2014, 10:15:28 am
OK, I think I've got some info that could be useful for others.  Last night I installed Peppermint 5 using the "Something Else" option, I formated an old ext4 partition that previously had Linux Mint 13 and installed Peppermint in it's place.  After restarting I was surprised to see that no grub menu showed up at all.  This definitely didn't use to be the default for grub, to fix this issue I installed grub customizer using the following:
Code: [Select]
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
After launching grub customizer, I clicked on "General settings", selected "show menu", and changed the "Boot default entry after" time to 3 seconds.  For some reason the "Boot default entry after" option reverts to 10 seconds unless you first click on another tab (e.g. List configuration), then click "Save" in the top left corner.

Another option is to manually update /etc/default/grub, changing "GRUB_TIMEOUT" to the desired time and commenting out "#GRUB_HIDDEN_TIMEOUT".  Run sudo update-grub after making any changes to grub settings.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 02, 2014, 12:33:08 pm
shmitzr1984,
I have a different problem.  Peppermint 5 install does not recognize that I have windows 7 installed on the PC so I cannot install beside of windows 7 at all.  Thanks.  Jeff
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: schmitzr1984 on July 02, 2014, 03:35:02 pm
shmitzr1984,
I have a different problem.  Peppermint 5 install does not recognize that I have windows 7 installed on the PC so I cannot install beside of windows 7 at all.  Thanks.  Jeff
That is odd. I'm just taking a shot in the dark at this point, I noticed in your previous post that you had a GPT file system setup for Windows.  I've only ever used NTFS for Windows, I wonder if GRUB 2 is having issues with the GPT file system...

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 320.1 GB, 320072933376 bytes
256 heads, 63 sectors/track, 38761 cylinders, total 625142448 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: 0x0000e0ea

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  4294967295  2147483647+  ee  GPT

In a previous post you had three NTFS partitions on your primary drive.
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x0fe76135

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     3074047     1536000    7  HPFS/NTFS/exFAT
/dev/sda2         3074048   592367706   294646829+   7  HPFS/NTFS/exFAT
/dev/sda3       592371712   625139711    16384000    7  HPFS/NTFS/exFAT

I don't have extra hardware to test, but it might be worth investigating if the GPT file system is supported in GRUB 2.



I just looked and GPT is just a partition table type, not a file system...  :-[  So if you've formatted your drive with a NTFS file system I don't really know why GRUB wouldn't be able to detect it.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: AndyInMokum on July 02, 2014, 04:00:43 pm
Hi jlschwartz, you're having some adventure.  I have to ask though.  How can Peppermint install next to Windows if Widows is taking up the whole disk?  I think that you need to make a decision on how large you would like your Peppermint partition to be.  Next thing to do is BACKUP!! I cannot emphasize how important this is.  This not because things are likely to go wrong.  It is just in case.  Ever heard of Murphey's Law   :D!   After you have BACKED UP, shrink the Windows partition so that the left over part is the size you want for the Peppermint installation.  Format this left over part to ext4.

Seeing you have Windows on one partition, you have the ability to make a further three logical partitions or, two before you have to use extended partitions to make further  partitions.  In your situation, I suggest that you also make a "swap" partition  that is twice the size of your RAM.  That gives you a total of three partitions: 1 for Windows, 1 for Peppermint and one for "swap". Once you've done this, I think you will be able to install Peppermint next to Windows.  I  hope this helps, good luck  ;)!!
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 02, 2014, 08:24:14 pm
schmitz61984

The partitions I have are what was automatically set up by windows 7 pro.  I used the windows 7 setup disk and deleted the existing linux partitions.  Windows proceeded to do the rest automatically.   I then spent a great deal of time reloading everything from backups.  Incidently, the previous disk info you found was before I reloaded windows from scratch.  The last info is what i have now.  Thanks.

AndyInMokum

Thanks for your suggestion.  Can you give me more detail on how to create the partitions you are suggesting?  Should I use windows for that or gparted?  In either case you describe it in detail?  I'm not very adept at working with partitions so I'm a little nervous about it.  After creating the partitions will Peppermint then automatically recognize windows7 and install to the new partitions along side or do I have to that manually?  Thanks.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: AndyInMokum on July 03, 2014, 04:08:35 am
schmitz61984

The partitions I have are what was automatically set up by windows 7 pro.  I used the windows 7 setup disk and deleted the existing linux partitions.  Windows proceeded to do the rest automatically.   I then spent a great deal of time reloading everything from backups.  Incidently, the previous disk info you found was before I reloaded windows from scratch.  The last info is what i have now.  Thanks.

AndyInMokum

Thanks for your suggestion.  Can you give me more detail on how to create the partitions you are suggesting?  Should I use windows for that or gparted?  In either case you describe it in detail?  I'm not very adept at working with partitions so I'm a little nervous about it.  After creating the partitions will Peppermint then automatically recognize windows7 and install to the new partitions along side or do I have to that manually?  Thanks.

Sorry, I've just seen your reply.  Sure, I'll put something together for you  ;).  While you are waiting; do a BACKUP.  All that nervousness you're experiencing will disappear. I've a few things to do first and then I'll get to it  ;)!
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: AndyInMokum on July 03, 2014, 08:59:26 am
Hi how’s it going?  This explanation is going to use GParted to shrink an existing Windows partition and install Peppermint Five.

Spoiler (click here to view / hide)
First thing to do is make a BACKUP of all critical data.  I know I keep on about it but if on the really rare occasion things do go wrong.  It stops all the weeping, wailing and gnashing of teeth or even worse - having to explain to your significant other how all the wedding and honeymoon pictures and all the really special ones of the kids growing up are gone for ever  :'(!! You get the picture! 

I am assuming that you are either using GParted from the LiveDVD/USB or an independent GParted installation.  Open GParted by selecting Menu>System Tools>GParted.  When GParted has opened you will see a visual representation of your HDD/SSD.  In your case there will be one partition occupying the whole of HDD/SSD.  You are now going to queue the actions you want GParted to perform.  NOTHING becomes permanent until you select, “Apply All Operations”.

Right click the Windows partition and select "unmount" if the partition is mounted.  Next, select "Resize/Move".  A new window will open up.  Hover the cursor over the right end of the block until you see a double ended arrow.   You will now be able to drag the bar to the left.  This leaves an empty space behind.  This is the space you are going to use for Peppermint.  Alternatively, you could manually input the size you want in the box labeled, “Free space following (MiB):”.  A good universal converter is WolframAlfa:  http://www.wolframalpha.com/ (http://www.wolframalpha.com/) .

Once you've decided on the size you want, select, "Resize/Move".  You will now see that the Windows partition has shrunk leaving an unallocated space behind, (remember, this isn't permanent, you haven’t selected “Apply All Operations”).

To format the unallocated space:

Right click on the grey unallocated space and select, “new”.  A new window will open.  Select “Primary Partition” and format the filesystem to" ext4".  Label it /.  The forward slash represents “root”.  Again drag the right end of the block so that the new size is ideally around 15 - 20GB, (15,360MiB - 20,480MiB).   Click Add.  You will see your new edit as a new partition with a blue border.

Right click on the grey unallocated space and select new.  A new window will open.  Select “Primary Partition” and format the filesystem to ext4.  Label it /home.  Fill in the box labeled: “Free space following (MiB):”  with twice the value of your RAM in MIBs. Click Add.  You will again see your new edit as a new partition with a blue border.

Right click on the remaining grey unallocated space and select new.  A new window will open.  Select “Primary Partition” and format the filesystem to linux-swap  Label it swap and click Add.  You will again see your new edit as a new partition with a brown border.  Easy eh   ;D!

We are at crunch time.  Lets review.  There is the Windows partition, Then three partitions to be used by Peppermint.  /, /home and swap.  I’ll ask one more time.  Have you BACKED UP?

Hover your cursor over the return symbol near Help in the task bar.  Click on this.  You will have a finally warning about the risks of this operation.  We can ignore this because you have made a BACKUP.  Click Apply.  Now make a cup of coffee and wait as it can take some time.

Once that has completed you will see your new representation of your partition table.  Exit GParted and Peppermint Five.  Boot into Windows to check functionality. 


To Install Peppermint Five Beside Windows.

Shutdown Windows and boot into Peppermint Five Live.  Double click on the, “Install Peppermint 5”.  Select your language and click “Continue”. 

Check the, “Download updates while installing” and “Install this third-party software” or you can download these later.  It depends on your internet connection and your computer's speed.  Click Continue.

A new screen will appear titled, "Installation type”.  Select, “Something else”.

A new screen will appear titled, “Installation type”.  This is very important you get right.  In the window you will see your partitions.  One will be for Window.  Double click on this partition.

A new small window will open.  Select,”do not use this partition” and make sure the, “Format the partition” box is greyed out and unchecked.  If for any reason it isn’t like this. DO NOT PROCEED.  Now double check everything.  If it is okay, click OK.

Double click on the ext4 partition used for root. (hint: it will be the smaller of the two ext4 partitions).   Select in, “Use as:”  “Ext4 journaling file system”.  Leave the, “Format the partition” unchecked.  Select in, “Mount point” /.  Click Apply.  You will receive a warning about formating the partition.  This can be ignored because this has been done in GParted.  Move on to the next ext4 partition and repeat the process.  Only this time select in, “Mount point” /home.  Click apply.

The next partition is, swap and you need not do anything to this. 

Where to install the boot loader?   Under the, “Device for boot loader installation:”  you will see something like, “/dev/sdc ATA WDC WD7500BPVX-2 (750.GB)”.  Important.  If your / partition looks like, “/dev/sda1". The boot loader must be installed to, MBR “/dev/sda”.  If it is, “/dev/sdb1”. The boot loader must be installed to , MBR“/dev/sdb" etc.  Once you’ve done that, hit install and go and make another cup of coffee.  After the installation has finished, Reboot, change your BIOS boot order back to your HDD/SSD to the top.  You see the boot loader screen where you can select Peppermint Five or Windows 7.  I hope this helps - have fun  ;)!
[close]
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 03, 2014, 11:36:50 am
AndyInMokum,
Thanks for the information.  I won't be able to get at this for a while as I'll be on the road the next two weeks for business.  I'll need to digest this first.  I just reloaded everything to a new install of windows 7 so I already have a back up of data/files.  Thanks again for your help.  Jeff

Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: AndyInMokum on July 03, 2014, 11:47:46 am
AndyInMokum,
Thanks for the information.  I won't be able to get at this for a while as I'll be on the road the next two weeks for business.  I'll need to digest this first.  I just reloaded everything to a new install of windows 7 so I already have a back up of data/files.  Thanks again for your help.  Jeff

No problem, its my pleasure  ;)!
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: schmitzr1984 on July 03, 2014, 12:56:54 pm
Seeing you have Windows on one partition, you have the ability to make a further three logical partitions or, two before you have to use extended partitions to make further  partitions.

Sorry for going off on a tangent and I'm not trying to nit pick here, but I did a little research on GPT vs MBR partition tables after reading this thread.  It turns out the 4 logical partition table limit doesn't apply to a GPT partition table.  According to this article GPT theoretically supports an unlimited number of partitions, see http://www.maketecheasier.com/differences-between-mbr-and-gpt/

Another couple of fun facts in the above article.  MBR limits each partition to 2TB, GPT supports up to 9.44ZB for a 512-byte block (1 ZB is 1 billion terabytes).  GPT stores a backup header and partition table at the end of the disk so it can be recovered if the primary tables are corrupted.

I'm not trying to hijack this thread at all, I just thought this was interesting and wanted to share... I'm actually considering switching to GPT on my own PC now, this seems worth it for the backup part alone.  ;D
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: AndyInMokum on July 03, 2014, 02:21:46 pm
Seeing you have Windows on one partition, you have the ability to make a further three logical partitions or, two before you have to use extended partitions to make further  partitions.

Sorry for going off on a tangent and I'm not trying to nit pick here, but I did a little research on GPT vs MBR partition tables after reading this thread.  It turns out the 4 logical partition table limit doesn't apply to a GPT partition table.  According to this article GPT theoretically supports an unlimited number of partitions, see http://www.maketecheasier.com/differences-between-mbr-and-gpt/

Another couple of fun facts in the above article.  MBR limits each partition to 2TB, GPT supports up to 9.44ZB for a 512-byte block (1 ZB is 1 billion terabytes).  GPT stores a backup header and partition table at the end of the disk so it can be recovered if the primary tables are corrupted.

I'm not trying to hijack this thread at all, I just thought this was interesting and wanted to share... I'm actually considering switching to GPT on my own PC now, this seems worth it for  the backup part alone.  ;D

I did not realize this.  This is really interesting.  I have to do some more research.  GPT look really versitile.  It would save all the gymnastics involved with extended partitions and the 2TB limit. Thanks for pointing this out   ;).  What I've given jlschwartz should work well for him though.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jsb on July 06, 2014, 05:58:33 pm

Free at last! You should celebrate: your M$-Windoze-free life has begun!

Just curious: why do you absolutely need M$ Windows? I suppose there might be some reason(s), but I have been without M$-Windoze for over ten years and have had no regrets about not being victimized by it -- not to mention the money I have saved by not needing to buy user licenses for unsafe software. 8)

Regards,
 -- Slim

 :)  My dual boot phase, which was only about 9 months, recently ended in a similar manner to this.

It was Xubuntu, not Peppermint that freed me. When I decided to give the recent LTS of that a try, it told me something like "your system has peppermint 4 do you want to install alongside or replace peppermint 4". Silly me thought "hmm, I guess it does not even see windows on there" and I told it to replace peppermint.

When I realized that it had wiped out windows, I did not really care, even though before reading this, I had thought I had no way of ever restoring windows.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 19, 2014, 02:37:48 pm
AndyInMokum,

I have some questions on your explanation above.  After resizing the windows partition and you begin formatting, the first right click when you select new is to format the whole space - right? I'm confused because you keep saying click on the gray unallocated space but I thought you allocated it with the first procedure you indicate to do.  Sorry for asking a dumb question but I'm new to this process.  Can you clarify this a little more?  Thanks.  Jeff
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 22, 2014, 11:09:07 am
I booted to the Peppermint 5 live USB and ran gparted.  What I see is 3 partitions as follows:

/dev/sda1  Size is 100.00 MIB   Format Fat32  Flag is Boot
/dev/sda2 Size is 128.00 Mib Unknown Format   Flag is msftres
/dev/sda3  Size is 297.87 Gib Format NTFS  Flag is msftdata
unallocated  size is 1.34 Mib  everything else is blank.

In your write up above you said I should see one large partition but I see 3.  So I thought I better show you this.  Please let me know what I should do.  Thanks.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: rjm65 on July 22, 2014, 11:49:44 am
Well for starters you don't have a partition big enough for linux, your bulk of your drive is your win 7 partition, and the other 2 partitions I am assuming are the win 7 recovery partitions and data partitions needed to restore win 7... you would have to use gparted and shrink your windows partition and create enough unallocated space so linux can see there is room to install side by side with win 7...  I am not sure what peppermint 5 minimum size is but i am pretty sure you would need at least 6 gigs of space for it but if you can give it more it would be better for you in the long run... 
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 22, 2014, 03:43:37 pm
AndyInMokum or anyone who can help:

I set up the partitions for Peppermint 5 installation as described above.  However, I 'm confused as I have the root partition at 30 gig, the swap partition at 9 gig, and the home partition at 18 gig.  As I'm beginning the installation you indicate that the root partition will be the smaller of the two ext4 partitions.  I must have done something wrong as as I have the home partition smaller.  Please advise if I need to change this and if so how.  I don't want to do this installation wrong.  Thanks for your help.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: rjm65 on July 22, 2014, 04:06:19 pm
2 linux partitions are not needed... all you need is an ext4 partition and a swap partition, that is how I set up all my linux machines, and they all work fine...
if you are confused and don't want to mess things up, my suggestion would be to create one big unallocated space, then boot from live cd, and use the side by side option, and let the installer use that unallocated space...
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 22, 2014, 04:11:31 pm
I tried what you are suggesting, but the Peppermint install still does not detect Windows 7 and the option of a side by side installation is not available.  That is what started this in the first place and why I'm trying to install it this way.  I'm really at a loss for what to do now.  Any help would be appreciated.  Thanks.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: PCNetSpec on July 22, 2014, 04:15:11 pm
Any reason you're using a separate /home partition ?

How did you create these partitions .. before, or during the installation ?

Have you already installed in the configuration you mentioned ?

Do you mean the "installer" doesn't detect Windows, or do you mean an installed version of Peppermint doesn't add Windows to the bootloader ?
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 22, 2014, 04:22:37 pm
The reason I did the separate home partition is that is what AndyInMokum said I should do.  I created the partitions before the installation as I was instructed to do.  I just created the partitions and did not begin the install yet as I did not want to do something wrong.  I mean the Peppermint installer does not detect Windows 7 at all and does not give me an option to install Peppermint 5 beside windows 7.  However, windows 7 is in fact installed and operating.  This is really difficult.  Any help would be appreciated.  Thanks.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: rjm65 on July 22, 2014, 04:29:56 pm
sorry I can't help you out there, Every windows 7 install I have done, the installer shows windows 7 and gives a side by side option, I have never run into one that did not see windows 7...
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: PCNetSpec on July 22, 2014, 04:58:22 pm
Can you boot to the Peppermint LiveCD/LiveUSB, then post the output from:
Code: [Select]
sudo fdisk -l
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 22, 2014, 05:25:10 pm
As you requested:

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x0000e0ea

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   625142447   312571223+  ee  GPT

Disk /dev/sdb: 4009 MB, 4009754624 bytes
23 heads, 22 sectors/track, 15477 cylinders, total 7831552 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   *          32     7831551     3915760    b  W95 FAT32
peppermint@peppermint ~ $
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: PCNetSpec on July 22, 2014, 05:47:13 pm
OK, what makes you say you've already created the Linux partitions .. as fdisk isn't showing them ?

They might not be showing due to the incompatibility with fdisk and GT partition tables.

That is also likely why the installer is not finding Win7



I'm afraid I have little experience with GPT, so don't really feel happy proceeding .. my gut tells me if you create the extra partitions in windows, then choose the  "something else" option in the Peppermint installer and tell the partitons to be formatted and where to be mounted .. then put the bootloader on the / partition (not the MBR of /devsda .. then use something like "EasyBCD" to add Peppermint to the Windows bootloader rather than adding WIndows to GRUB, that this will be possible.

BUT

There are just too many steps involved where a single mistake could kill Windows too.

Unless you have a FULL disk image saved to another HDD, so you could recover if necessary .. or are happy to reinstall Windows from DVD if necessary (and you actually have a DVD) .. I think you'd be better off finding someone who can do this for you.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: jlschwartz on July 22, 2014, 05:52:14 pm
I created the partitions using Gparted and they show up under gparted.  That's all I can say.  I do have the disks as I just did a full re-install of windows 7 recovering from my first try at this.  I'm really disappointed that this is so difficult.  To my knowledge, I have a "standard" installation of windows 7.  Thanks.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: PCNetSpec on July 22, 2014, 06:06:27 pm
You have a standard install of Win7, but you're using the GPT partition table.

It would have been VERY easy if you'd changed to an msdos partition table before installing Win7.

If you're happy to reinstall Win7 again, I can tell you what to do .. but your call.
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: AndyInMokum on July 22, 2014, 07:21:09 pm
Hi Jeff,  I missed the whole thread with this one, sorry about that.  I say be cautious! The GPT partition table incompatibility looks like it may be an accident waiting to happen. If  PCNetSpec has concerns about it.  It mean we are in uncharted territory.   His idea of a full Windows re-install using a msdos-partition table is probably the safest and the most sensible way to proceed.  He can most certainly guide you through the process really easily.  Remember to backup any critical data you have on the Windows partition before you nuke it.   After that's done, everything should be playing nice!  Good luck  ;).
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: artman on September 24, 2014, 03:17:24 pm
I have the same problem.
When installing Peppermint 5 under windows 7 it does not show up.
Please, PCnetspec,  tell me how to install under MSDOSpartition rather that what just is the usual install form the win-DVD
Title: Re: Peppermint 5 Does Not Detect Windows 7
Post by: PCNetSpec on September 24, 2014, 04:46:10 pm
@artman

See your other topic .. and please stop double posting .. so I don't have to respond twice or appear to ignore one topic.
http://forum.peppermintos.com/index.php/topic,1039.0.html