MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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 had Mandrake 9.1 installed on one hard disk (D: under Win XP) and Win XP on the other hard disk (C. I could boot both with LILO without any problems.
Today I decided to try out Mdk 9.2 and installed it on another partition on the same drive as Mdk 9.1. 9.1 is on partiontion hdb2 with XFS as the filesystem and 9.2 on partition hdb3 with reiserfs as the file system.
When I boot the system and choose Win XP or Mdk 9.2, I can boot fine, but when I select Mdk 9.1 to boot, I get a kernel panic display with messages like trying mount reiserfs but not found. Apparently it is trying to mount reiserfs but the installed filesystem is XFS.
Before I installed 9.2 I could boot 9.1 without any problems. Is there any parameter that I can specify in lilo.conf that can fix the problem with booting 9.1? Specifically, how can I make lilo boot 9.1 with XFS instead of reiserfs? Why is it trying to look for reiserfs in the first place, when the partition contains XFS?
In fact, you are using the same init.rd for both MdK9.2 and MdK9.1... which may cause problems.
I ended up copying /boot (for MdK 9.1) content in /boot (for MdK 9.2) renaming files before.
And then I would launch drakboot to take into account everything there is in /boot. I was in ext3 though...
Maybe it will work for you. Important files are vmlinuz*, initrd*
the lines for image and initrd is wrong. That uses the stuff for 9.2. In mdk9.2, create a new mountpoint /mdk91 say, and mount /dev/hdb2 to it:
mount /dev/hdb2 /mdk91
notice the change for image and initrd. Then run lilo again. You should be all set. Remeber that all of this is done from inside 9.2 and the the changes are to be made to /etc/fstab of 9.2.
Thanks, quatsch for your suggestion. I implemented it and it works!. This is what I did (for Mdk 9.2 from within Mdk 9.1, as I had restored the original boot loader using the boot CD for Mdk 9.1 after I had the problem booting Mdk 9.1. I needed 9.1 as I had my programs and files on it)
1. Opened Mandrake Control Center and created a mount point, /mdk92, for partition hdb3, the one I could not boot. When I saved it, Mandrake Control Center asked if I wanted to create an entry in /etc/fstab and I clicked yes. I did not have to manually create an entry in /etc/fstab.
2. Opened a terminal and created an entry for Mdk 9.2 in /etc/lilo.conf as follows.
wow, that's far more simple than my method...
I was certainly upset when I found mine, otherwise I would have chosen yours quatsch !!!
I'm updating my bug to refer to this thread...
1. Opened Mandrake Control Center and created a mount point, /mdk92, for partition hdb3, the one I could not boot. When I saved it, Mandrake Control Center asked if I wanted to create an entry in /etc/fstab and I clicked yes. I did not have to manually create an entry in /etc/fstab.
This wasn't necessary. You only need the other distro mounted when you run lilo so no need to edit fstab. You can just mount it by 'mount /dev/hdb3 /mdk92' w/o any entries in the fstab. Also, if you do edit fstab, you should specify the noauto option so it does not get mounted automatically at boot time - wanna minimize the possiblity of messing with another distro on the machine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.