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'm trying to install Ubuntu 9.04 and Scientific Linux 5.3 on my Toshiba Satellite laptop. But no matter the order of installation, or change the settings, I cannot get them to work together.
I am aware that Scientific Linux doesn't like having another distro with / as root, so I worked under the assumption that I should install SL first, then Ubuntu. But I come up with GRUB problems. I get:
You should have one install its GRUB to the MBR and make the other one install its own GRUB to its own boot partition and then add a chainload entry to the GRUB in the MBR, like this:
I should install SL, with the SL GRUB boot loader, with (for instance):
/dev/sda1 /boot ext3 100MB (create the partition but not use it)
/dev/sda2 swap 1024 (my RAM is 512MB)
/dev/sda3 / ext3 10000
/dev/sda4 /home ext3 25000 (to create a 25GB SL partition)
Yes but make sure to install GRUB to /dev/sda1 (unless you want SL GRUB in the MBR, then you would have Ubuntu install its GRUB to its /boot partition).
By the way, why use a separate boot partition if it uses the same filesystem type as /? Oh yes, and obviously, in your scheme, /home can't be sda4 because that would be the extended partition; /home would be the first logical partition, i.e. sda5.
Quote:
Then install Ubuntu9.04, should I select the first option (install side-by-side) or the third option (use up all available space)?
You choose but I tend to prefer manual partitioning.
Quote:
Then add the chainload entry to the SL boot loader:
title scientific linux
root (hd0,0)
chainloader +1
No, that doesn't make sense. Why would you add an entry for SL to the SL bootloader - it already has one. It's for the other distro that you need to add a new entry.
No. hd0,0 is the first partition of the first drive. You need to install to the MBR (=sda).
Quote:
title Ubuntu 9.04
root (hd0,1)
chainloader +1
And hd0,1 is the second partition of the first drive - which is your SL / partition. You need to reference the root partition of the ubuntu system. If it is sda6, then it would be hd0,5.
Quote:
I'm concerned that I have two / (root) partitions becuase SL doesn't like that, or is it ok? Could I install Ubuntu, then SL this way?
Neither should be a problem. As it uses UUIDs, Ubuntu certainly won't stumble over SL and if SL uses either labels or UUIDS, it won't stumble over Ubuntu either.
I've now installed the two distros, but having GRUB problems.
I installed Ubuntu first, with the GRUB loader on /dev/sda, then installed SL with the GRUB on (hd0,2).
However, when I boot up the computer, it skips the Ubuntu GRUB and goes to the SL one, which only has SL as it's option. I tried to add the Ubuntu OS to the SL GRUB:
title Ubuntu 9.04
root (hd0,0) (I tried various different roots: hd0 or hd0,4 or similar
makeactive
chainloader +1
I installed Ubuntu first, with the GRUB loader on /dev/sda, then installed SL with the GRUB on (hd0,2).
That doesn't make much sense to me. So you installed SL GRUB to the boot partition of your Ubuntu system?? It should be installed on the SL boot partition.
Quote:
I tried to add the Ubuntu OS to the SL GRUB:
title Ubuntu 9.04
root (hd0,0) (I tried various different roots: hd0 or hd0,4 or similar
makeactive
chainloader +1
Which also didn't work. I either get error 12, 13 or 15.
Well, obviously, no. For the chainloading trick to work, a system needs to have GRUB on its boot partition. But from what I understand, Ubuntu GRUB was installed to sda, i.e. the MBR. Ergo: boot issues.
So let's repeat:
install Ubuntu, let it install its GRUB to the MBR (sda).
then install SL, let it install GRUB to its own boot partition (or / partition if you do not use a separate boot partition).
Then boot into ubuntu and add a chainloading entry for SL to its GRUB configuration file.
I've installed Ubuntu with GRUB going to MBR (/dev/sda).
Then installed SL with GRUB going to /.
Then booted up my computer, but GRUB only thinks SL is there, I cannot boot ubuntu without the live cd. I've gone into ubuntu on the live cd and looked at the boot bit, where only the SL kernels are, so I copied the ubuntu kernels across to it, but still getting error 15: file not found.
I type in:
sudo update-grub
whilst in /boot, but it doesn't recognise the ubuntu kernels.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.