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

need to add my xp install to grub list.how do i do this? its the first partition
  • how do i do this? its the first partition
  • tikbalangtikbalang May 2010
    here's a sample from grub4dos menu.lst:


    title find and load NTLDR of Windows NT/2K/XP
    fallback 1
    find --set-root --ignore-floppies /ntldr
    chainloader /ntldr
    # savedefault --wait=2


    it searches for the first xp installation then boots it. i don't know how different it would be in grub.
  • ok ill check it out thanks.i should just get rid of xp and just use it all for slitaz
  • seawolfseawolf May 2010
    Depending on the version of GRUB, the following may also work:

    title Windows XP
    rootnoverify (hd0,0)
    chainloader +1
  • # /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/hda2
    #
    title SliTaz GNU/Linux (cooking) (Kernel vmlinuz-2.6.30.6-slitaz)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.30.6-slitaz root=/dev/hda2
    heres mine as of right now
  • Hi Acidburned,
    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
  • thank you stephane just what i needed.
  • thanks every one for there help..this is the only linux system i can run or install on this system for some reason.
  • @ acidburned,
    Nice to hear you got it working.

    If you think the issue is solved, would you mind editing topic title and add [SOLVED] at the beginning to get something like:

    [SOLVED] need to add my xp install to grub list.how do i do this? its the first partition

    Happy slitaz.
    ;-)
    Stephane
This discussion has been closed.
← All Discussions

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