This is the old SliTaz forum - Please use the main forum.slitaz.org

gparted etc...
  • joshjosh February 2010
    after creating a partion for slitaz and installing it, i have no other OS to pick besides slitaz! what happened?!
  • johnpauljohnpaul February 2010
    Hi, don't worry, your other OS are still here...
    you need to configure GRUB :
    First find the partition you want to boot (use gparted)
    then in root mode, edit /boot/grub/menu.lst
    and at the end of the file, add the partition you want to boot, example :


    #For booting Windows XP from : /dev/hda2

    title Windows XP
    rootnoverify (hd0,1)
    makeactive
    chainloader +1


    in rootnoverify, 0 is my first hard drive and 1 is my second partition (hda2). Actually you need to write rootnoverify (hd0,N-1) if your OS is on hdaN.

    Hope this helps, ask if you need more information,
    JP
  • joshjosh February 2010
    sda2 is xp
    sda3 is slitaz
  • johnpauljohnpaul February 2010
    So you can try to add to /boot/grub/menu.lst :

    #For booting Windows XP from : /dev/sda2

    title Windows XP
    rootnoverify (sd0,1)
    makeactive
    chainloader +1

    and windows XP should appear under slitaz in grub menu when you restart...
    cheers
  • joshjosh February 2010
    nope. just grub error 17
  • slicelslicel February 2010
    See http://stringofthoughts.wordpress.com/2009/05/24/grub-error-17-debianubuntu/ .

    It would be good if instructions for grub dual boot were prominent to a new user downloading an iso.
  • mojomojo February 2010
    Try this:

    title Windows XP
    rootnoverify (hd0,1)
    makeactive
    chainloader +1

    Bookmark for more grub multiboot help:

    http://members.iinet.net.au/~herman546/p15.html
  • NikNik February 2010
    You said that sda2 is xp and sda3 is slitaz!
    What is sda1?
  • joshjosh February 2010
    i dont know what sda1 is! its 10 gigs and 5 gigs are free, gparted labels it "pqservic" im assuming its recovery data or something...
  • joshjosh February 2010
    here is a screen shot of my gparted:

    http://img641.imageshack.us/img641/5175/screenshotef.png
  • slicelslicel February 2010
    Sda1 probably is the recovery partition that vendors use instead of providing a recovery cdrom.

    The 2nd post should work, or even less.

    title windows
    rootnoverify (hd0,1)
    chainloader +1

    I thought a standard slitaz hd installation had to be on ext2 or ext3, not ntfs.
  • joshjosh February 2010
    i got the slitaz part to work w/ grub but not xp....
  • slicelslicel February 2010
    I do not understand when your slitaz worked, if your slitaz works on ntfs, what you tried in your grub menu, if xp shows in your grub menu at boot, how xp is failing now, or what the results were of trying suggestions in the 6th post's link.
  • joshjosh February 2010
    i get a lot of errors.
    heres the break down.

    1. created partion with live cd
    2. installed slitaz on partition
    3.reboot
    4.grub error 17
    5. tried everyones post
    6. grub error 17
    7. formatted partition to ext3
    8. grub error 15
    9. changed grub list
    10. slitaz works
    11. reboot.
    12. grub error 1 (on win xp)

    error 1 says syntax error in the listing. ive tried several combination of sd0,0 etc....

    im installing on a friends pc which makes it hard to fix when im not there to phyisicaly see the specs.

    any suggestions?
  • slicelslicel February 2010
    I did not think that sd0 was proper syntax. The 2nd, 7th, and 11th posts should work now.

    title windows
    rootnoverify (hd0,1)
    chainloader +1
  • TotoetsasoeurTotoetsasoeur February 2010
    @Josh,
    Please find my configuration (which just works like a charm). I hope this will help you.

    I have only one hard disk. The two OS are installed:

    - Windows_XP is installed on /dev/sda1
    - Slitaz is installed on /dev/sda4


    Here are the informations I got when running gparted:

    /dev/sda1: ntfs-50GB
    /dev/sda2: fat32-15GB
    /dev/sda3: ext4-200MB
    /dev/sda4: ext3-30GB


    And this is my menu.list contents:

    $ cat /boot/grub/menu.lst
    # /boot/grub/menu.lst: GRUB boot loader configuration.
    #

    # By default, boot the first entry.
    default 0

    # Boot automatically after 8 secs.
    timeout 8

    # Change the colors.
    color yellow/brown light-green/black

    # For booting SliTaz from : /dev/sda4
    #
    title SliTaz GNU/Linux (cooking) (Kernel vmlinuz-2.6.30.6-slitaz)
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.30.6-slitaz root=/dev/sda4

    # For booting windoz XP from : /dev/sda1
    title Win_XP
    rootnoverify (hd0,0)
    chainloader +1
    $


    And that's it. :)
    Cheers
    Stephane
  • NikNik February 2010
    I think it is important that win XP is installed on partition 1 so like sda1.
    That's just my experience! Whenever I tried installing it to a secondary partition it didn't work for me. So I usually leave some space at the beginning of my Harddrives free - or at least without any OS installed - for a windows installation!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social