LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-28-2013, 03:01 AM   #1
mariose
Member
 
Registered: May 2013
Location: South Africa
Distribution: Debian
Posts: 173
Blog Entries: 1

Rep: Reputation: 6
Smile Grub Error with Mint Debian over Ubuntu 12.04 with Win7 Dual Boot Grub Error


Hi Guys,

There has been alot of speculation over the spyware included with Ubuntu which makes me uncomfortable to use it anymore.

I currently have a system with Win7 and Ubuntu 12.04

I have decided to install Linux Mint Debian Mate 32bit over the Ubuntu installation.

The process i assumed would be to install over Ubuntu and write a new Grub loader but unfortunately that has not seemed to work. If i re install Ubuntu the Grub is back with my Win7 installation aswell but when installing Mint i get a "Grub not Found" error.

Additionally while installing Mint they ask me to install the Bootloader which i have tried on
/dev/sda
/dev/sda3

The partition layout is as follows:

sda1 = Win7 system partition
sda2 = Win7
sda3 = Ubuntu ( Which i am trying to overwrite with Linux)

Any suggestions would be highly appreciated,


If there is anything that i have missed or not explained please don't hesitate to let me know.

Thanks
Marios
 
Old 06-28-2013, 05:48 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
Hi:

Before you install your new distro you may want to back up all of your files. I do--

If you haven't already you may want to check the size of your Win's parttion. It may be that you will have to shrink the Win's
partition first before proceeding with the Linux Mint Debain install. Unless; of course you already did that-

The Linux Mint Debian distribution that you want to install; should; during the installation process include a 'partition manager'
to allow you to delete the 'Ubuntu' partition. This is most likely the 'manual' or 'expert' option.

With some distributions (Fedora) the installer automatically installs/configures the partitions of the distro for you.

Once you delete that Ubuntu partition you can use the free space to 'create a new partition' for your Linux Mint Debian distribution.
When you create the new partition your should choose to make it a "ext4" journaling file system.
And than make another partition for your Linux 'swap' 1 GB should be sufficient 2 GB may be overkill-

During the Linux Mint Debian installation Grub, the bootloader should already be configured for you and you should see a message during the
install that says something like: 'Configuring the bootloader'

In order to view the partitions on your computer; if you could, post the output of this command:as 'root'
Code:
fdisk -l
It shows all of the partitions in a readable table.

Is this a Desktop or a laptop?

Last edited by Ztcoracat; 06-28-2013 at 05:52 AM. Reason: Additional thoughts
 
Old 06-28-2013, 06:00 AM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
The Mint website might be helpful too-

http://linuxmint.com/rel_debian.php
http://www.linuxmint.com/documentation.php
 
Old 06-28-2013, 10:14 AM   #4
mariose
Member
 
Registered: May 2013
Location: South Africa
Distribution: Debian
Posts: 173
Blog Entries: 1

Original Poster
Rep: Reputation: 6
Smile

Ztcoracat,

Thanks for your valuable feedback,

I have managed to install Linux Mint thank you. However a new issue has arisen.

I cannot see my Windows installation in the Grub Menu. From what i know i think it has to do with /etc/fstab and manually adding the O.S

The output your requested is as follows which should be a good output for my new issue.

Code:
Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   107888855    53841004    7  HPFS/NTFS/exFAT
/dev/sda3       107890688   128370687    10240000   83  Linux
/dev/sda4       128370688   156299263    13964288    5  Extended
/dev/sda5       128372736   130469887     1048576   82  Linux swap / Solaris
Thanks again!

Marios
 
Old 06-28-2013, 12:36 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
I cannot see my Windows installation in the Grub Menu
If you are unable to boot windows because there is no menuentry in the Grub menu, open a terminal in Mint and run: sudo os-prober.
Watch the output to see if windows is found. If it is, run: sudo update-grub.
If you want to access windows files from Mint you will need to either manually mount it or if you want that option available, put an entry in the /etc/fstab file. You would first need to create a mount point. An example would be to create a win7 directory under /mnt.

sudo mkdir /mnt/win7, name it whatever you want. The link below gives a pretty good explanation of the various options which should help you to create the entry as you wish.

http://www.tuxfiles.org/linuxhelp/fstab.html
 
1 members found this post helpful.
Old 06-29-2013, 12:23 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
You are Welcome; mariose!

These are your Windows partitions:
Code:
Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   107888855    53841004    7  HPFS/NTFS/exFAT
One of them (most likely: 'sda2') is your 'Windows Recovery Partition'

Other than that; follow: yancek's instructions. His councel is wise.

Cheers
 
Old 06-29-2013, 02:13 AM   #7
mariose
Member
 
Registered: May 2013
Location: South Africa
Distribution: Debian
Posts: 173
Blog Entries: 1

Original Poster
Rep: Reputation: 6
Smile

Thank you both for you expert input. I will most certainly look into it!

Thanks again,
Marios
 
Old 07-01-2013, 05:54 AM   #8
mariose
Member
 
Registered: May 2013
Location: South Africa
Distribution: Debian
Posts: 173
Blog Entries: 1

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by yancek View Post
sudo os-prober.
Watch the output to see if windows is found. If it is, run: sudo update-grub.
Hi Guys,

Just wanted to say all is back to normal. I am dual booting back to normal with Linux Mint and the same previous Windows installation I had.

Thank you both for your assistance,

Regards
Marios
 
Old 07-01-2013, 09:31 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by mariose View Post
Hi Guys,

Just wanted to say all is back to normal. I am dual booting back to normal with Linux Mint and the same previous Windows installation I had.

Thank you both for your assistance,

Regards
Marios
Enjoy your Linux Mint and have a good week!
 
  


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
[SOLVED] Grub Error 17 - FC15 and Win7 dual boot aristotelix Fedora 10 07-06-2011 06:04 AM
grub error 18 windows xp and ubuntu dual boot 00000 Linux - Newbie 3 03-06-2010 08:16 PM
Grub 22 error using dual boot of Win7 and Linux Mint brianste Linux - Newbie 12 12-30-2009 09:31 PM
Grub Error 17 on Install dual Boot Ubuntu 8.10 marvinjean Linux - Newbie 8 01-17-2009 12:08 PM
Grub 1.5 Error 21 when installing Debian/Windows dual-boot VinceIP Debian 15 01-30-2007 05:13 PM


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