Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Last edited by farstanley; 11-26-2011 at 03:41 AM.
Reason: Found out how to upload the picture
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?
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.
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
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 ...
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
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 )
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.