LinuxQuestions.org
Visit Jeremy's Blog.
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 11-26-2011, 02:47 AM   #1
farstanley
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Rep: Reputation: Disabled
Boot Loader doesn't load other OSs


I have Mandriva and Ubuntu on my second hard disk with Windows 7 on the first but..
Mandriva and Ubunt bootloaders ( Grub ) did not detect each other while windows based bootloader detects all three so I went to Ubuntu and updated grub and now it does detect Mandriva but will not load it.
I get a Mandriva splash screen with text messages that freezes after which I have to pull the plug and restart. I can only reproduce these messages by photo.
Also I tried to get Mandriva ( 2011.2 ) to detect Ubuntu but I think I went about it in the wrong way because nothing happened.
Attached Thumbnails
Click image for larger version

Name:	DSC01000a.jpg
Views:	13
Size:	177.9 KB
ID:	8478  

Last edited by farstanley; 11-26-2011 at 03:41 AM. Reason: Found out how to upload the picture
 
Old 11-26-2011, 05:39 AM   #2
Skyer
Member
 
Registered: Aug 2011
Posts: 113

Rep: Reputation: 6
Hello, and welcome to LQ.

I'm no professional in this matters,
but from the errors displayed on screen, it seems like you don't have your root partition defined correctly for kernel. Which version of Grub do you use? Could you post output of "fdisk -l" and your grub.cfg file?


Skyer
 
Old 11-26-2011, 05:40 AM   #3
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
You did not tell us what steps you took to make grub work. If you can boot ubuntu now, go to terminal and use these commands

sudo update-grub /dev/sda


If you want to use a graphical interface follow these directions

Grub2 graphical

Both can be done with a ubuntu live cd also.

Last edited by Larry Webb; 11-26-2011 at 05:41 AM.
 
Old 11-26-2011, 05:43 AM   #4
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by farstanley View Post
I have Mandriva and Ubuntu on my second hard disk with Windows 7 on the first but..
Mandriva and Ubunt bootloaders ( Grub ) did not detect each other while windows based bootloader detects all three so I went to Ubuntu and updated grub and now it does detect Mandriva but will not load it.
I get a Mandriva splash screen with text messages that freezes after which I have to pull the plug and restart. I can only reproduce these messages by photo.
I'm not sure and I can't produce a ready solution, but I think this line of your startup messages is the key:
Code:
VFS: Cannot open root device "UUID=..." or unknown-block(0,0)
To me, that looks like your /etc/fstab is referencing the partitions by UUID, and the partition that should become the root filesystem has a wrong UUID. Is it possible that the partitions have become new UUIDs by reinstalling grub? If so, the /etc/fstab in Ubuntu, from where you started the grub installation, has been updated, but not that of Mandriva.

Here's what I would try:
  • Boot Ubuntu.
  • Be root.
  • Find out the actual UUID of Mandriva's root partition (Here's how to do that).
  • Temporarily mount the partition that should be the Mandriva root file system.
  • Open Mandriva's /etc/fstab in an editor and check if the UUIDs match the ones you found out before.
  • If not, fix them.
  • Check the other partitions, too (if there are more)
  • Try booting Mandriva again. Good luck.
Quote:
Originally Posted by farstanley View Post
Also I tried to get Mandriva ( 2011.2 ) to detect Ubuntu but I think I went about it in the wrong way because nothing happened.
How did you do that? Didn't you say you can't boot Mandriva any more?

By the way: Are you from Thailand? The books that are visible an the left side of your screen photo look like Thai script. I can't read it, of course, but I once noticed that it looks different from most other Asian scripts ...

[X] Doc CPU
 
Old 11-29-2011, 01:52 AM   #5
farstanley
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Skyer View Post
Hello, and welcome to LQ.

I'm no professional in this matters,
but from the errors displayed on screen, it seems like you don't have your root partition defined correctly for kernel. Which version of Grub do you use? Could you post output of "fdisk -l" and your grub.cfg file?


Skyer
Sorry for the delay in replying but I had to make a suddent trip to hospital

The roots are all defined ok ie both ubuntu and mandriva boot ok when, I think it's called chainloaded, from the
Windows based boot loader. The problem arises when I try to boot Mandriva from the Ubuntu Grub. will post
the files shortly
 
Old 11-29-2011, 01:54 AM   #6
farstanley
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Larry Webb View Post
You did not tell us what steps you took to make grub work. If you can boot ubuntu now, go to terminal and use these commands

sudo update-grub /dev/sda


If you want to use a graphical interface follow these directions

Grub2 graphical

Both can be done with a ubuntu live cd also.
I used sudo update-grub to get the Ubuntu grub to detect the Mandriva installation. I don't want to put it on /dev/sda
because it will overwrite the Windows 7 bootloader ( Acronis OS Selector )
 
Old 11-29-2011, 02:12 AM   #7
farstanley
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Doc CPU View Post
Hi there,



I'm not sure and I can't produce a ready solution, but I think this line of your startup messages is the key:
Code:
VFS: Cannot open root device "UUID=..." or unknown-block(0,0)
To me, that looks like your /etc/fstab is referencing the partitions by UUID, and the partition that should become the root filesystem has a wrong UUID. Is it possible that the partitions have become new UUIDs by reinstalling grub? If so, the /etc/fstab in Ubuntu, from where you started the grub installation, has been updated, but not that of Mandriva.

Here's what I would try:
  • Boot Ubuntu.
  • Be root.
  • Find out the actual UUID of Mandriva's root partition (Here's how to do that).
  • Temporarily mount the partition that should be the Mandriva root file system.
  • Open Mandriva's /etc/fstab in an editor and check if the UUIDs match the ones you found out before.
  • If not, fix them.
  • Check the other partitions, too (if there are more)
  • Try booting Mandriva again. Good luck.


How did you do that? Didn't you say you can't boot Mandriva any more?

By the way: Are you from Thailand? The books that are visible an the left side of your screen photo look like Thai script. I can't read it, of course, but I once noticed that it looks different from most other Asian scripts ...

[X] Doc CPU
Well spotted there. I'm Uk ex pat living in Thailand and I too get a caffeine fix first thing every day. And I had the same idea about the UUIDs but they are kind of long and made me squint. I'm going to print them in larger text and pin them up and have a good frown although I have a sneaky suspicion something about the Mandriva grub not accepting boot parameters from the Ubuntu grub or something similar, it's a Mandriva splash screen so Mandriva bootloader must be the culprit, but it works ok when I chainload from Windows. It's basically just me being pig headed enough to want to be able to boot everything from every bootloader.
I will try your suggestions and get back but meanwhile how would I update grub in Mandriva 2010.2? sudo update-grub and su (password) update-grub get me command not found type error messages

Last edited by farstanley; 11-29-2011 at 02:14 AM.
 
Old 11-29-2011, 08:28 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,271

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
If you installed Ubuntu after Mandriva, the Ubuntu Grub should have detected the Mandriva installation.
You will need to manually edit the Mandriva boot menu file to get Ubuntu in it (Mandriva still uses Grub Legacy as far as I know).
If you really want to do this, the best way to get the information you need is to go to the site below and download the bootinfoscript and run it and review the results.txt file. You could also post the info here

http://bootinfoscript.sourceforge.net
 
  


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
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - Newbie 15 10-21-2005 10:29 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Red Hat 1 09-25-2005 07:08 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - General 1 09-25-2005 07:07 AM
Xandros boot loader doesn't load Xandros wharp Linux - General 1 10-27-2004 06:47 AM
boot loader doesnt load ryan00davis Linux - General 2 04-27-2004 09:44 PM


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