LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 08-15-2014, 02:39 PM   #1
zarathustra674
Member
 
Registered: Jan 2003
Location: Bible Belt Appalachian Mnts of Western VA/Eastern KY
Distribution: Still Hoppin.
Posts: 98

Rep: Reputation: 15
[SOLVED readon] LInux Mint 17 KDE Dual Boot With Win7, 2 separate Drives, Keep having 2 repair grub.


Hello Linuxquestions dot org. This used to be the site for me to go a long time ago for answers to almost anything. I've not posted in a long time, but I've always logged in occasionally and peeked around. Okay, I've used Linux for Years, but I'm no expert by any means which is why I'm here. If I were hard core, I'd be on DSL or another distro probably, probably not because I'm lazy like that, but I have searched the forum.

My issue is that I have an old pc AMD X2-4400 (not relevant), with two drives installed. A 250 GB and a 500GB I salvaged from an old DVR (This could be my problem). The 250 has Win 7 fresh installed before Mint 17. I seldom boot into Win7. But it seems that everytime I do, my Mint Drive no longer Boots. This is how it seems anyway. I can install Mint, Update, Install packages, and use it forever from the 500GB drive. I can reboot a few times at least for updates and crap to take effect (I know there's a way around this, but since I use the updater, I don't kill X and insmod, and stuff). It seems that evey time or almost every time I boot Windows, seldom as that is, my grub2 I think it is gets hosed. I can't remember if it error 17's or what, but I can fix grub and have from the command line using tutorials for Mint or Buntu's, and it will fix it the first time, but after a reboot to doze, and reboot to Nix, another stupid boot error.

keep in mind I'm not concerned with boot order in my bios or anything. I can select the boot drive from a menu directly. I installed the mbr to something like /dev/sda or sdb etc, not on the root partition itself, like /dev/sda1 or sda 2 etc.

Has anyone been through anything like this recently? Again, I can find a tutorial on restoring grub, (what happened to lilo), and be golden until a reboot. I can re-install mint from the USB and be golden too, I reformat root, leave home alone, and same deal.

Should I put the mbr somewhere else? Could the 500GB from the DVR, completely reformatted with the installer, with root, swap, home, nothing fancy in that order, And again, I always reformat root after a re-installation. I've tried btrfs and xfs as root filesystems. I don't think the FS type matters here though.


Thanks guys.

If anyone knows the dev to js2mouse, tell the guy, I said thanks for the credit in his help file so long ago. (Using two pointers in XFree86 simultanously one for a mouse, one for my Logitech Wingman Cordless), before media remotes were common. ha ha ha .. yeah i'm old and ain't learned a thing.

Last edited by zarathustra674; 08-28-2014 at 09:38 PM. Reason: Solved
 
Old 08-15-2014, 03:33 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,077

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
You could go to the site below and download and run the bootinfoscript from Mint 17. It will output a results.txt file which you can view to see if you can find the problems or if not, post it here and someone should be able to help.

http://sourceforge.net/projects/bootinfoscript/
 
1 members found this post helpful.
Old 08-15-2014, 05:40 PM   #3
zarathustra674
Member
 
Registered: Jan 2003
Location: Bible Belt Appalachian Mnts of Western VA/Eastern KY
Distribution: Still Hoppin.
Posts: 98

Original Poster
Rep: Reputation: 15
Yancek, thanks for your help. Once I figured out how to run sudo from mint live, got it. I'm reading through it as well. Thanks Again, These are mechanical drives. I don't think I have the UEFI, my pc is too old probabbly. Looks like root is ext4, I probably changed it when I re-installed the last time. Why does it say my boot is on a /dev/sdf6 with a volume of A1EB-A291? I really don't want to repartition again, but I can if necessary.

I bet I should've zipped it up,
Attached Files
File Type: txt output.txt (24.2 KB, 16 views)
 
Old 08-15-2014, 07:25 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,077

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
Quote:
Looks like root is ext4
That is the correct default filesystem type for Mint 17.

Quote:
Why does it say my boot is on a /dev/sdf6 with a volume of A1EB-A291
I would guess you ran this script from a 4GB flash drive which then sees itself as sda. the Mint 17 install medium? The "A1EB-A291" doesn't affect anything. That is the mount point for it on the flash drive under the /media directory.

I'm not sure why it shows as sdf and windows as sdg. Do you have other hardware attached to usb ports?

If you look at the grub.cfg file for sda1, it is on the flash drive. You have another grub.cfg file on sdf1 which is the Mint file and it shows Mint on (hd1, 1) which is sdb1 and this same file shows windows on (hd0,1) which is sda1. You should be able to boot the Mint drive and select either Mint or windows. You should also be able to select the Mint drive in the BIOS on boot or the windows drive on boot as Mint is installed to the mbr of its drive and the windows bootloader installed to the mbr of its drive.

Did you have the windows drive attached when you installed Mint or any additional drives?
 
1 members found this post helpful.
Old 08-16-2014, 12:25 PM   #5
zarathustra674
Member
 
Registered: Jan 2003
Location: Bible Belt Appalachian Mnts of Western VA/Eastern KY
Distribution: Still Hoppin.
Posts: 98

Original Poster
Rep: Reputation: 15
Yeah, I couldn't remember which fs I chose, I usually don't use ext4, I know it's tried and true though.

Quote:
I would guess you ran this script from a 4GB flash drive which then sees itself as sda. the Mint 17 install medium? The "A1EB-A291" doesn't affect anything. That is the mount point for it on the flash drive under the /media directory.
Yep

Quote:
I'm not sure why it shows as sdf and windows as sdg. Do you have other hardware attached to usb ports?

If you look at the grub.cfg file for sda1, it is on the flash drive. You have another grub.cfg file on sdf1 which is the Mint file and it shows Mint on (hd1, 1) which is sdb1 and this same file shows windows on (hd0,1) which is sda1. You should be able to boot the Mint drive and select either Mint or windows. You should also be able to select the Mint drive in the BIOS on boot or the windows drive on boot as Mint is installed to the mbr of its drive and the windows bootloader installed to the mbr of its drive.

Did you have the windows drive attached when you installed Mint or any additional drives?
Let me try to manually boot again, and I'll give you the specific error message. Thanks again though for all your assistance. As far as, having other devices attached during install, I can't think of any, there may have been an 80GB WD USB HD, and/or an 80GB ide drive. The two I'm using now are both a 250GB and 500GB sata mechanical.

Also, the cd-rw may or may not have been installed attached during the installation. It's junk as it turns out and needs to be removed.
 
Old 08-28-2014, 09:57 PM   #6
zarathustra674
Member
 
Registered: Jan 2003
Location: Bible Belt Appalachian Mnts of Western VA/Eastern KY
Distribution: Still Hoppin.
Posts: 98

Original Poster
Rep: Reputation: 15
Okay, as I said in the very first post, I tried to manually select drives to boot from. Because I purposely installed win w/bootloader to one physical drive, and Linux to the larger faster one with LILO(make that grub), installed to the boot area of that physical disk.

I have had this problem so many times in the past that I assumed I'd tried booting from each drive separately. Apparently I had not. I could have swore I saw an error message such as error 17, but apparently not. Usually after booting windows a time or two, I would be unable to boot linux anymore, having to resort to restoring grub from a live usb of mint. This worked in the past a few times and I wanted to get to the root of the problem (no pun).

Here's what I believe to be the issue all this time. When I installed winblows, Actually Win after taking cues from other OS' has become much much more stable from the days of 95-ME, I had no issues with 2k on. Even Vista if you can believe that. No major issues that is. Still I prefer Linux for both performance, learning, and most importantly and don't laugh, aesthetics. Linux can be customized so much more out of the box than any other os I've used. It just looks so much better after a few mods here and there.

And I trust it more simply because it is open source.

Now the problem. When I installed windows, I installed a free partition manager that I'd never used before that had a tendancy to start with windows. Now, I never took the time to remove it from either services or the registry startup location. This is what I believe was causing all of my issues with GRUB even though it was on a completely separate disk. After about my third isntall of MintKDE, I booted win in safe mode and removed the offending app. Since then There's been zero trouble.

I did have network issues in Mint after booting into it, and check everything from iptables using gui tools cause I'm lazy, I added rules and disabled it completely. I was able to ping anywhere on my internal network, but couldn't get out to the internet. I even manually configured it without dhcp and entered dns servers to see if that might fix it but no dice. I ended up doing yet another install because it doesn't take that long and I left my home partition alone so I never lost any settings or anything like that. Another thing I love about Linux.

In closing. Watch when dual-booting with win, when you have a free partition manager installed that insists on starting on each boot of the os. This has to be what was causing the issue.



One other very important thing that I must not leave out. And that is to give my sincerest thanks to yancek for his help in diagnosing the issue. I learned some stuff from him, using the bootinfo tool. He was quick to respond and always very polite. So props to him for being so kind and patient with me when all it was is a stupid mistake on my part. Something I should have known to try and again, I thought I had. So Thakns again yahcek for your help.


However, if this happens again without me having the partition tool installed, I'll be back, and will have to change the title back to unsolved.. LOL

Thanks again to yancek and the entire linux community here for all the help I've received here over the years. You guys are the best. Really.


With Best Regards I Remain,

Very truly yours
griz
 
Old 08-29-2014, 03:10 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Are you changing the boopt priority in bios to boot windows & then changing back to boot mint?
If that's the case I would just boot to mint & run
Quote:
update-grub
& just select the os to boot from there.
 
  


Reply

Tags
dual boot, grub error 17, kde, win 7


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] Grub Error with Mint Debian over Ubuntu 12.04 with Win7 Dual Boot Grub Error Gad Linux - Newbie 8 07-01-2013 09:31 PM
Grub 22 error using dual boot of Win7 and Linux Mint brianste Linux - Newbie 12 12-30-2009 09:31 PM
Dual Booting (2 Linux from Separate Drives) GRUB issue. RensoreK Linux - Desktop 1 08-22-2008 01:01 AM
Dual boot grub Mandriva WinXP separate drives McNider Linux - General 2 06-17-2005 05:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 03:14 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