Slackware13.1/ubuntu10.10 dual-boot grub2 question
I have read that installing ubuntu 10.10 will inevitably install grub2 with it(unless you use flash drive workaround). i am wondering how slackware 13.1 reacts to grub2.
Does it go on like nothings changed (if configured correctly)? Or does it freak out and have a fit? If slackware doesn't play nice with grub2. i don't think i will use ubuntu 10.10. |
I had Ubuntu 10.10 installed with GRUB2, then I installed Slackware, added Slackware to GRUB2's menu, and had no problems.
unrelated question: If you already run Slackware, why install Ubuntu? o: |
Quote:
Does grub2 have the same syntax as grub1? Quote:
EDIT: Is there some way to permenately disable emoticons in my posts? Rather than the manual way for each post? |
Quote:
|
Quote:
|
Quote:
https://help.ubuntu.com/community/Grub2 |
Quote:
I install Ubuntu first and let grub2 control the MBR. When I install Slackware I choose to not install lilo. Then I boot into Ubuntu and run: "sudo update-grub". This will create 4 entries in the grub2 menu for booting Slackware. One each for the huge, huge-smp, generic, and generic-smp kernels. Then when you create an initrd to boot the Slackware generic-smp kernel, running "sudo update-grub" from Ubuntu will for some reason not add the initrd line that you need to boot Slackware's generic-smp kernel. The solution is to create a custom boot entry for booting Slackware's generic-smp kernel. The details on how to do that are in the link that tacticalbread posted: https://help.ubuntu.com/community/Gr...Menu%20Entries For reference, here is my custom boot entry for booting Slackware 13.1 32 bit that I have installed on /dev/sda5: Code:
echo "Adding Slackware32-13.1 on /dev/sda5" >&2 Code:
menuentry "Slackware32-13.1 on /dev/sda5" { Code:
#!/bin/sh Write back if you need more help. And read that tutorial on grub2. It has all you need to know. |
Grub2 will boot Slackware just fine. If you're into letting LILO boot Ubuntu, you might run into some problems because Ubuntu's boot process is not clear. I tried to do that and had no success. I have a thread in their forums asking for more information and no one was able to suggest me anything.
|
Yesterday I installed Slackware on GPT partitions (just for fun), and since Grub Legacy doesn't support GPT, I'm using Grub2.
All is working well. If you're using one of the generic kernels, make sure your initrd is named like "initrd.img-`uname -r`" instead of the usual "initrd.gz". Otherwise, grub2 won't automatically detect it. |
I got grub2 booting both ubuntu and slackware. i had to wipe my disk to do it, though. the placement sort of screwed saving anything.
but it gave me an excuse to nuke my windows partition, so i'm happy. I have one problem now. i used some script to make an initrd, but i forgot what it was... :[ EDIT: i have slackware and ubuntu sharing /home on a separate partition. thanks to whoever gave me the idea (i forgot who :/). |
Quote:
Code:
su -c "$(/usr/share/mkinitrd/mkinitrd_command_generator.sh -r)" |
Quote:
|
Quote:
I just checked my Xubuntu install and, indeed, the Xubuntu 10.10 initrd is named initrd.img-2.6.35-25-generic instead of just initrd.gz. |
Quote:
I prefer to edit text files for customizing. so i made a 10_ubuntu and an 11_slackware in /etc/grub.d/ and turned of the executable bit on 10_linux and 30_osprober. |
All times are GMT -5. The time now is 10:10 AM. |