LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 07-31-2012, 03:41 AM   #1
flebber
Member
 
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: Slackware 14.1
Posts: 393

Rep: Reputation: 30
Grub2 - Triple booting error - 3rd Distro not detected.


I currently on my laptop have Windows7 and Ubuntu 12.04 dual booting. I created some space so I could install and run Sabayon or Kororaa as well.

Basically the drive is set up like this/

/dev/sda1 win7
/dev/sda2 win7
/dev/sda3 win7
/dev/sda4 Ubuntu Swap
/dev/sda5 Ubuntu root
/dev/sda6 Ubuntu home
/dev/sda7 50Gb free space

When i installed fedora the install went fine it actually reinstalled grub without asking and so booted on restart. I went back into ubuntu and reinstalled grub 2 to the MBR and ran update-grub2. However now Fedora was not detected.

Fedora created /sda7 into an LVM of sda7 a 500mb boot and 3 other LVM'd partirions 8/9/10. However when you update grub2 from ubuntu you now do not see Fedora.

So i removed fedora and installed Sabayon, Sabayon uses anaconda and so instal was basically the same as Fedora and the result was also an LVM like Fedora. Again however using update-grub2 Sabayon cannot be seen or booted it does not detect that the LVM existed at all.

So I thought should do an old school non lvm setup so I grabbed the Fedora disk and created a manual install and created
/dev/sda7 /
/dev/sda8 /home
install, nice and simple. When the installer asked to install grub I skipped it so as not to interfere with the grub2 I control from ubuntu.

However still when I ran update-grub2 in ubuntu there was no linux partitions or distro's detected by grub2 and fedora was unable to boot.

How can I get grub2 to recognise newly installed distro's installed after /dev/sda7?
 
Old 07-31-2012, 03:46 AM   #2
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 389

Rep: Reputation: 46
I've had instances where the newest OS wasn't recognised by grub2 because the partition wasn't mounted. Mounting the partition and running update-grub2 solved the problem for me. In your case:
Code:
mount -t ext4 /dev/sda7 /mnt/
update-grub2
Reboot and see if Fedora is now part of the menu boot options.
 
Old 07-31-2012, 06:20 AM   #3
flebber
Member
 
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: Slackware 14.1
Posts: 393

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Glennzo View Post
I've had instances where the newest OS wasn't recognised by grub2 because the partition wasn't mounted. Mounting the partition and running update-grub2 solved the problem for me. In your case:
Code:
mount -t ext4 /dev/sda7 /mnt/
update-grub2
Reboot and see if Fedora is now part of the menu boot options.
Yes that did it thanks.
 
Old 10-08-2012, 06:52 AM   #4
shapulani
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 92008447 46003200 83 Linux
/dev/sda2 149790121 156248189 3229034+ 5 Extended
/dev/sda3 92008448 93032447 512000 83 Linux
/dev/sda4 93032448 149788671 28378112 8e Linux LVM
/dev/sda5 149790123 156248189 3229033+ 82 Linux swap / Solaris

When I execute that command:

shapulani@shapulani-desktop:~$ sudo mount -t ext4 dev/sda3 /mnt/
mount: special device dev/sda4 does not exist

I need help thanks
 
Old 10-08-2012, 10:09 AM   #5
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,139

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Your post shows you are trying to mount sda3 and your error shows sda4 is not present. Typo?? You need a forward slash in front of dev for starters as well as the correct partition:

Quote:
sudo mount -t ext4 /dev/sda3 /mnt/
 
Old 10-09-2012, 04:18 AM   #6
shapulani
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
shapulani@shapulani-desktop:~$ sudo mount -t ext4 /dev/sda3 /mnt/
shapulani@shapulani-desktop:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-31-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-31-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-30-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-30-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-29-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-29-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sdb1
done
shapulani@shapulani-desktop:~$

Still no joy
 
  


Reply

Tags
fedora 17, grub2, sabayon, ubuntu 12.04


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kcm-grub2 - No valid GRUB2/BURG installation could be detected cristi92b Linux - Newbie 2 06-14-2012 08:01 AM
Triple-boot Linux distros - how and where to install GRUB2? Bernt.Ribbum Linux - General 10 12-10-2011 01:05 PM
grub2 returns a "invalid magic number" error when booting slackware 13.0's kernel baji Slackware - Installation 4 03-09-2010 06:15 PM
Booting Fedora 12 from Ubuntu's Grub2, ERROR: NOT AN ASSIGNEMENT mitchell7man Linux - Newbie 4 02-04-2010 02:17 AM
3rd Harddisk + 1GB NIC card not detected VanDaMe Linux - Hardware 3 04-13-2007 06:31 AM


All times are GMT -5. The time now is 03:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration