Slitaz cooking configuration-multiple boot help needed

Discussion in 'Linux' started by morningching, Dec 4, 2009.

  1. morningching

    morningching

    Joined:
    Aug 4, 2008
    Messages:
    31
    Likes Received:
    0
    Dear forum members,
    I have been searching information since yesterday how to configure grub to boot Slitaz cooking. I installed it in my acer aspire one as 4th operating system but I can't put correct lines in the configuration. So I can't boot it. I am using triple booting right now. Please help. Summary of my system-
    1st boot O.S- Windows XP
    2nd boot O.S- Ubuntu karmic 9.10
    3rd boot O.S- Ubuntu netbook remix,9.10


    I use grub2 bootloader, booted from Ubuntu karmic 9.10
    Now, 4th O.S is
    -Slitaz cooking 20091104
    -kernel (linux 2.6.30.6-slitaz(i686)
    -ISO(downloaded)
    -intalled slitaz in "/dev/sda10"

    with information found on internet I tried to put the following line in the grub configuration of Ubuntu karmic 9.10. But no luck.

    title SliTaz GNU/Linux (cooking) (Kernel 2.6.30.6-slitaz)
    root (hd0,9)
    kernel /boot/vmlinuz-2.6.30.6-slitaz root=/dev/sda10


    Please help me to put correct lines. The above lines do not boot. There is always error. Thanks in advance.
    best regards
    Dean!
     
    morningching, Dec 4, 2009
    #1
  2. morningching

    bodhi.zazen

    Joined:
    Aug 6, 2009
    Messages:
    71
    Likes Received:
    0
    You should be able to boot to Ubuntu and run :

    Code:
    sudo update-grub
    If that does not automatically update and add Slitaz, you will need to do some manual edits :

    See this wiki page for more detailed instructions on grub2 and making a custom menu :

    https://help.ubuntu.com/community/Grub2

    Don't be intimidated, once you get the basics you should be good to go ;)
     
    bodhi.zazen, Dec 4, 2009
    #2
  3. morningching

    morningching

    Joined:
    Aug 4, 2008
    Messages:
    31
    Likes Received:
    0
    I run the grub update. when I tried to boot Slitaz, it gives error message:
    Error 15: file not found.
    I upgraded my grub2 from ubuntu 9.04.I will read the link you gave me.
    Thanks.
     
    morningching, Dec 4, 2009
    #3
  4. morningching

    morningching

    Joined:
    Aug 4, 2008
    Messages:
    31
    Likes Received:
    0
    No luck still. I have edited the file /etc/grub.d/40_custom using the following command given a forum member:
    sudo gedit /etc/grub.d/40_custom

    I ugrade the grub But Slitaz is not shown at boot menu.The following lines are I edited the file /etc/grub.d/40_custom.
    #!/bin/sh
    exec tail -n +3 $0
    menuentry SliTaz GNU/Linux (cooking) (Kernel 2.6.30.6-slitaz) {

    insmod ext3

    set root= (hd0,10)

    linux /boot/vmlinuz-2.6.30.6-slitaz root=/dev/hda10

    }
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
     
    morningching, Dec 5, 2009
    #4
  5. morningching

    bodhi.zazen

    Joined:
    Aug 6, 2009
    Messages:
    71
    Likes Received:
    0
    I am not sure why it is not working, but looking over what you have posted, you have lots of whitespace and did not quote your title.

    Try :

    Code:
    #!/bin/sh
    exec tail -n +3 $0
    
    menuentry "SliTaz GNU/Linux (cooking) (Kernel 2.6.30.6-slitaz)" {
    set root=(hd0,10)
    linux /boot/vmlinuz-2.6.30.6-slitaz root=/dev/hda10
    }
    Then, after making your edits, update grub again.

    Does slitaz use an initrd ?
     
    bodhi.zazen, Dec 7, 2009
    #5
  6. morningching

    morningching

    Joined:
    Aug 4, 2008
    Messages:
    31
    Likes Received:
    0
    It works now.Thank you for your great suggestion.( This might help to new user. I install in ext3 but while putting as new entry it is used as ext2. red color is my new entry while editing)

    #!/bin/sh
    exec tail -n +3 $0
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    menuentry SliTaz GNU/Linux (cooking) (Kernel 2.6.30.6-slitaz) {
    insmod ext2
    set root= (hd0,10)
    linux /boot/vmlinuz-2.6.30.6-slitaz root=/dev/hda10
    }
     
    morningching, Dec 9, 2009
    #6
  7. morningching

    bodhi.zazen

    Joined:
    Aug 6, 2009
    Messages:
    71
    Likes Received:
    0
    Glad you got it working, thank you for posting the solution as I am sure it will help others as well.
     
    bodhi.zazen, Dec 10, 2009
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.