LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2018, 05:58 PM   #1
mekanixx
LQ Newbie
 
Registered: Apr 2009
Location: Alabama
Distribution: Puppy, Linux Mint, Ubuntu
Posts: 8

Rep: Reputation: 0
Unhappy Dual boot problem with Windows 7 and Linux Mint


WARNING! Long post!

I'm trying to dual boot windows 7 and mint using two drives. Been doing this for years with no problem that I couldn't work around until now. My windows got a virus and then my problems started...

I reinstalled windows to sda, no problem. I loaded my mint dvd and installed mint on sdb (60gb root, 200gb /home, 8gb /swap with the rest of the drive /ntfs for data. Installed grub to the mbr on sda.

After installing mint, I rebooted. Grub came up and I selected Mint and it booted fine. Rebooted to check that grub would boot windows, worked fine.

Then i tried to reboot into Mint again and got a grub rescue prompt. Lost windows boot and mint. I loaded up the live mint dvd and used gparted to look at my drives.

The two ext4 linux partitions were not recognized by gparted (or mount or fdisk or...), something had messed them up. I had to use a windows recovery disk to rewrite the mbr in order to boot back into windows.

I've tried installing several times since then with the same results. Sometimes I can boot maybe 2 times before it happens again.

Since this happened some things I've tried.

1. Used gparted to format the linux partitions before installing mint. Same problem.

2. Thinking my linux drive might be going bad, I tried the install with two other hard drives. Same problem.

3. I've tried boot-repair. Same problem.

4. I've tried Super Grub Disk, same problem.

5. I've tried to use easyBCD to use the windows boot loader, same problem.

6. Installed grub to sdb, same problem.

7. Installed grub to sdb1 with easyBCD, same problem.

8, Tried using a ubuntu dvd in case my mint dvd was bad. Yep, same thing.

So, I'm about ready to give up.

Acer AspireM 3900 with 8gb RAM
1tb windows disk, 2tb linux disk

Anyone got any idea on what else I could try? I'd really rather not use Virtualbox for my linux habit.

Thanks for any ideas.

Doyle
 
Old 09-29-2018, 07:35 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,400
Blog Entries: 28

Rep: Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166
I assume you tried update-grub if you tried the GRUB rescue CD. You seem to have approached this most thoroughly.

Have you tried installing GRUB to the MBR? That's usually where I put it and it has worked smoothly. Just to be on the safe side, you might look at formatting the MBR first.

You might also boot to a Live CD of something and point smartmon tools at the HDD. Perhaps it's ill.

Last edited by frankbell; 09-29-2018 at 07:38 PM.
 
Old 09-29-2018, 08:43 PM   #3
mekanixx
LQ Newbie
 
Registered: Apr 2009
Location: Alabama
Distribution: Puppy, Linux Mint, Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by frankbell View Post
I assume you tried update-grub if you tried the GRUB rescue CD. You seem to have approached this most thoroughly.
I did try updating grub, sorry I failed to mention that.

Quote:
Have you tried installing GRUB to the MBR? That's usually where I put it and it has worked smoothly. Just to be on the safe side, you might look at formatting the MBR first.
I actually tried installing to the MBR on both sda and sdb. When trying easyBCD I even tried sdb1. I didn't think about formatting the MBR but did format the drive partitions.

Quote:
You might also boot to a Live CD of something and point smartmon tools at the HDD. Perhaps it's ill.
I actually did this for the linux drive, sorry I forgot to mention this. I did try 2 other hard drives too.

Thanks Frank, I appreciate the help.
 
Old 09-29-2018, 09:15 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,159

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Sounds like a virus. Might even be one you paid for.

Some years back I had a Dell that shipped with a "handy" security utility they neglected to mention. It installed itself in sector 2 (third sector) on the boot disk so it could check boots. Every Windows boot it would check if it was installed, and if not, did so. Classic virus actions - which of course kept overlaying grub. Took me ages to find and get rid of it.
Another "product key validation" tool, which I can't remember the name of, was reported to do similar.

Doesn't explain why your second disk is getting trashed, but sounds similar enough to have me thinking "bloody Windoze mindset".
 
1 members found this post helpful.
Old 09-29-2018, 09:47 PM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,897
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by mekanixx View Post
I didn't think about formatting the MBR but did format the drive partitions.
Parts of malware often live outside partitions. When trying to eliminate a "virus", complete wiping is called for, not just portions, such as partitions or MBR. The MBR is just one sector. There is a big bunch of sectors immediately following the MBR that malware likes to hijack.
 
1 members found this post helpful.
Old 09-30-2018, 07:18 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,596

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Try running boot repair with the Create BootInfo Summary option selected. When it finishes, it will give you a link which you can post here and members will be able to view the output and possibly make suggestions on a possible fix.
 
1 members found this post helpful.
Old 09-30-2018, 09:24 AM   #7
mekanixx
LQ Newbie
 
Registered: Apr 2009
Location: Alabama
Distribution: Puppy, Linux Mint, Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
syg00 wrote:

Quote:
Sounds like a virus. Might even be one you paid for.
I'm beginning to think the same thing.

mrmazda wrote:

Quote:
Parts of malware often live outside partitions. When trying to eliminate a "virus", complete wiping is called for, not just portions, such as partitions or MBR. The MBR is just one sector. There is a big bunch of sectors immediately following the MBR that malware likes to hijack.
I didn't know this, sounds like I may need to do a low level format of the drives to see if that will clean them and reload everything.

Quote:
Originally Posted by yancek View Post
Try running boot repair with the Create BootInfo Summary option selected. When it finishes, it will give you a link which you can post here and members will be able to view the output and possibly make suggestions on a possible fix.
Here is the BootInfo:

http://paste.ubuntu.com/p/ZQzy2mWZCY/

Note that My CDROM is my phone, sorry about that. MULTIBOOT is a usb stick with rescatux-0.51b3 loaded. Yet another try at fixing this problem.

Thanks,

Doyle
 
Old 09-30-2018, 12:39 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,596

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Boot repair shown unknown filesystem type for your Linux partitions on sdb. Not sure why but you might try running fsck on each partition. Generally, the boot repair will show at least the boot files on the Linux partition and they do not show at all, specifically the grub.cfg should be there with all the menuentries. You could try to manually mount sdb1/sdb2 to see if you actually have Grub files there.
 
Old 09-30-2018, 02:00 PM   #9
mekanixx
LQ Newbie
 
Registered: Apr 2009
Location: Alabama
Distribution: Puppy, Linux Mint, Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
Boot repair shown unknown filesystem type for your Linux partitions on sdb. Not sure why but you might try running fsck on each partition. Generally, the boot repair will show at least the boot files on the Linux partition and they do not show at all, specifically the grub.cfg should be there with all the menuentries. You could try to manually mount sdb1/sdb2 to see if you actually have Grub files there.
This is what gparted shows also, unknown filesystem. Seems whatever this is trashes the whole partitions not just the grub entries. I'll try fsck and mount. I think I have already tried mount...

Thanks, I appreciate the help.
 
Old 10-01-2018, 06:12 AM   #10
mekanixx
LQ Newbie
 
Registered: Apr 2009
Location: Alabama
Distribution: Puppy, Linux Mint, Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Solved!

All,

I got to thinking about what syg00 and mrmazda said about this could possibly be a virus and decided to wipe the disk as mrmazda suggested. I wrote zero's to the drive using dd overnight and reinstalled Mint this morning. It worked!

I hope this will help someone else who is having the same problem.
 
Old 10-01-2018, 06:18 AM   #11
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by syg00 View Post
Sounds like a virus. Might even be one you paid for.

Some years back I had a Dell that shipped with a "handy" security utility they neglected to mention. It installed itself in sector 2 (third sector) on the boot disk so it could check boots. Every Windows boot it would check if it was installed, and if not, did so. Classic virus actions - which of course kept overlaying grub. Took me ages to find and get rid of it.
Another "product key validation" tool, which I can't remember the name of, was reported to do similar.

Doesn't explain why your second disk is getting trashed, but sounds similar enough to have me thinking "bloody Windoze mindset".
That could well have been FlexNet, as used by some Adobe products.

https://ubuntuforums.org/showthread.php?t=1661254
 
  


Reply



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
installing mint 18.2 amd64 onto a dual boot windows 7 / mint 17 amd32 has lost windows 7 rhubarbdog Linux Mint 13 12-02-2017 07:34 AM
Tried to install Linux Mint 18.1 Serena for Dual Boot - now Windows won't boot noeladd Linux - Newbie 20 04-23-2017 08:05 AM
[SOLVED] Windows fonts from a PC (Windows 7) to another PC (Linux Mint (17.2)) - not dual boot ArtKautz Linux - Newbie 9 09-30-2015 08:42 AM
[SOLVED] Dual Boot Windows 7 and Linux Mint 13, Windows failed jasperbuckens Linux - Software 6 12-21-2012 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:12 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
Open Source Consulting | Domain Registration