LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-21-2013, 11:21 PM   #1
AllenRM
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Rep: Reputation: Disabled
Can't Start Mint 13 Mate (64-bit) After Re-installing XP


A few days ago I re-installed Windows XP (32-bit) and as expected, could not boot to Mint 13. As in the past, I opened the boot-repair-tool to resolve the issue. This time, however, it would not work. I just got the message "an error occurred during repair" but no explaination of the type of error. In recent days I've tried several methods to restore grub 2 but without success. Each time I have received some error message. Two that I remember were "/dev/sda2 (my Mint partition) not found in /etc/fstab" and one indicating that the partition that I was trying to restore grub to did not exist.

Just a short time ago I tried yet another method, the chroot installation method. Here are the results from that:

mint@mint ~ $ sudo mount /dev/sda2 /mnt
mount: /dev/sda2 already mounted or /mnt busy
mount: according to mtab, /dev/sda2 is already mounted on /mnt
mint@mint ~ $ sudo chroot /mnt
mint / # sudo grub-install
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
/usr/sbin/grub-install.real: 2: /etc/default/grub: Syntax error: newline unexpected
mint / #

Not quite sure what to do from here. Would appreciate any help anyone can offer.
 
Old 07-21-2013, 11:43 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Did you try these steps from the Mint wiki

http://community.linuxmint.com/tutorial/view/245
 
Old 07-21-2013, 11:47 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
The boot repair should have saved a log file for you. Post that or else go get bootinfoscript and run and post the RESULTS.txt. Basically the same as the repair without attempting to fix anything - will show us what's where. These days you'll need to untar the download first.
 
Old 07-22-2013, 05:26 PM   #4
AllenRM
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Yes, rokytnji, I did follow the steps in the URL that you cited and I received the same error message that a number of others got, but in my case I did not get a further message that there were no errors. See my initial message above. I was still unable to boot Mint after rebooting the computer. sygOO,I have attached the Results file from the boot-repair-disk. I was a bit surprised by some of the things I saw there. Maybe I should just re-install Mint 13 again.
 
Old 07-23-2013, 06:15 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by AllenRM View Post
sygOO,I have attached the Results file from the boot-repair-disk.
????
 
Old 07-23-2013, 01:37 PM   #6
AllenRM
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Oops! Sorry, I forgot to post the Results file. I hope it's here now. Posting here is a bit different than other forums that I visit.
Attached Files
File Type: txt RESULTS.txt (54.7 KB, 33 views)
 
Old 07-23-2013, 07:50 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
It would have been useful to indicate that you had multiple hard drives. Your initial post indicates that you tried to mount your Mint partition at /mnt/sda2 and you received a message back that it was already mounted. You then ran chroot in /mnt rather than /mnt/sda2 where your Mint partition is (supposedly). Unless that was a typo on your part?

Your bootinfo script shows windows bootloader on the mbr of sda (sda2 is where you say you have Mint and it is a Linux partition) and you have the Grub bootloader in the mbr of sdb and indicates it looks on partition 2 for the Grub boot files. There is no sdb2? Grub is installed to the mbr of sdc and looks on the second partition for the Grub files. There is no sdc2.

What exactly do you want to do? You can chroot to sda2 and install Grub2 from Mint to the mbr of sda overwriting your xp boot files, then run os-prober and update-grub which should then include an entry for windows. Or you could do the same and install to the mbr of sdb from sda2, the Mint partition so that it points from sdb mbr to sda2. There is nothing wrong with the grub.cfg file on sda2 for Mint, then entry is correct, you just have it installed on the mbr of another drive. Have you tried booting from sdb, the 1TB drive?

You also have a number of xp and vista partitions on sda and sdb. Are most of these data partitions in addition to the OS?
Why do you have three swap partitions on sdb, only one is needed.

When you are having boot problems like this, you should always give information on home many drives, partitions and operating systems you have installed and your best guess as to where. Is there some reason why you installed Grub from Mint to a different hard drive than the one the / filesystem is on?
 
Old 07-24-2013, 06:58 AM   #8
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Having all grubs installed to the MBR on all drives. I would just use the bios to boot whatever hardrive I needed. Move sdb,sdc,sdd to the top of the list in bios and see what happens. Can't hurt.

My 2 hardrive Desktop running 4 different Linux operating systems, no Windows. /dev/sda is flagged as boot on mbr with grub legacy to boot all other linux installs (grub2) where grub 2 was installed to root instead of the mbr on sdb. Then hand made chainload entries in grub legacy to handle everyone else. One /swap partition rules them all. Just a old IBM M41 media center testing beater box.

That bootinfoscript looks to be a mess. I also thought this was only a 1 drive thread. I am surprised anything boots. Yanek and syg00 are better than me with these kinds of errors so I guess I'll back out and defer to them.
 
  


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
[SOLVED] Sound stopped working on Mint 13, 64-bit w/Mate lordr0ke Linux - Hardware 5 02-11-2013 08:16 PM
Linux MINT 14 w/ MATE, installing to a USB (diary) clausawits Linux Mint 1 02-05-2013 03:00 PM
[SOLVED] Linux Mint - vnc4server - start full mate session themrrobert Linux - Server 1 11-27-2012 03:41 PM
[SOLVED] Installing Mate 1.2 in Linux Mint 12 Lisa dsschanze Linux Mint 0 06-20-2012 06:45 AM

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

All times are GMT -5. The time now is 12:00 PM.

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