LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2012, 09:03 PM   #1
AllenRM
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Rep: Reputation: Disabled
[SOLVED] How To Avoid Problem of Access to Mint After Installing Windows XP


Currently running Mint 11 and dual booting with Windows XP. Planning to upgrade to Mint 13 soon and I'm hoping to avoid the usual problem of not being able to access Mint after installing Windows XP or having problems logging into XP because of some change in the Mint boot. I'm thinking there must be a way to install Mint 13 to avoid this problem. What about putting the two systems on separate hard drives and giving Mint a separate boot partition (/boot). Would that help? I'm just tired of dealing with this issue. The last time I installed XP, I wasn't able to boot either OS for several days. I don't want a repeat of that when I install Mint 13. Any suggestions will be appreciated.

Last edited by AllenRM; 09-13-2012 at 01:41 PM. Reason: To indicate solution to problem
 
Old 09-12-2012, 09:17 PM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Welcome to the forums!

I'm not sure what you mean by "avoid the usual problem" because the vast majority of people do not have this problem. I'm sure it is probably something simple that we can help you with if you give more details. Do you currently have a working Mint/XP dual boot?
 
Old 09-12-2012, 09:19 PM   #3
albinard
Member
 
Registered: Jan 2011
Location: New Mexico
Distribution: Xubuntu Core
Posts: 185

Rep: Reputation: 59
Installing Windows over Mint kills Mint.

Installing Mint over Windows leaves both alive.

Same for most Linux distros.
 
Old 09-13-2012, 12:18 AM   #4
AllenRM
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks for your response Snowpine. I guess I must be unusual then because I've had the problem of loosing access to Mint (or Ubuntu) every time I've installed Windows XP. But I have always been able to type a few commands in a terminal and restore access to Ubuntu or Mint. So when I re-installed XP yesterday I didn't expect any serious problem. I knew what I had done in the past so I booted from a live DVD, opened a terminal and typed the following code:

sudo fdisk -l (which showed that my Linix partition was sda2)
sudo mkdir /media/sda2
sudo mount /dev/sda2 /media/sda2
sudo grub-install --root-directory=/media/sda2 /dev/sda

I then removed the live DVD, closed the tray and hit Enter and instead of booting to Mint as in the past, I got a screen with the following information with a grub prompt at the end:

Minimal BASH-like line editing is supported. For the first word, TAB lists
possible command completions. Anywhere else TAB lists possible device or file
completion.

Later the same day I tried typing in the above commands again after restarting the computer. This time after the last command I got an error message: grub probe: error:cannot find a device for / (Is /dev mounted?) However, right after that I got the
following: Installation finished. No error reported. I rebooted the computer and got the same screen with the grub prompt at the end. Oh, and I can't boot Windows XP either.
So I'm not exactly a happy camper. That's the reason for my interest in finding some way around this business.
 
Old 09-13-2012, 08:44 AM   #5
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Apologies for misreading your original post. You are correct that the Windows installer is not "smart enough" to detect your Mint system and create a working dual-boot. Most users prefer to install Windows first, and then Linux, for this very reason. You are on the right track installing GRUB from the Live CD, and hopefully a Mint user will be along shortly to help you with the details.
 
Old 09-13-2012, 01:06 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,431

Rep: Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471
Try going to the site below when booted to your Mint Live CD and reading the instructions on using the bootinfoscript, download and run it. It will give you a lot of info on drives/partitions and boot files and you should be able to resolve it. If not, post the results.txt file you get after running bootinfoscript and someone should be able to help.

http://sourceforge.net/projects/bootinfoscript/
 
Old 09-13-2012, 02:00 PM   #7
AllenRM
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Yancek thanks for your response. I'm familiar with the bootinfo script and have used it in the past. However, in this case the problem has already been solved by a great little program called Boot-Repair-Disk which I learned about last night. I highly recommend this software to anyone having Linux boot problems, especially with a dual-boot with Windows. In two clicks, literally, the program fixed the boot problem and now both Mint 11 and Windows XP are working perfectly. To get the program's repository added to your sources and then installed on your system (even if you're running a live CD/DVD)requires only two lines of code entered in a terminal. Anyone interested can go here: https://help.ubuntu.com/community/Boot-Repair
 
  


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
Installing linux mint 12 within windows razedafer Linux Mint 4 03-31-2012 05:03 AM
Installing Windows 7 alongside Mint? Or is there another solution to this? CrazyGuy158 Linux - General 2 02-25-2012 05:31 PM
installing windows operating system along with linux mint Upendra Pratap Singh Linux Mint 4 05-19-2011 12:21 PM
How to recover my mint 8 after installing windows xp ? abdulhalim Linux - Newbie 5 01-23-2010 09:50 AM
Installing Mint inside of windows 7 The Blessed Hellride Linux - Newbie 15 12-26-2009 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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