Gebruikers nu online: 552 - Inloggen  » Zoek  » forum index

Howto install slax to your harddrive, dualboot.

pema
wrote 1 year ago


reply
This howto was published in earlier thread with other name but difficult to find.
This method DO NOT risc any data on your harddrive.

Goal: A dual boot laptop running windows XP and Linux Slax in separate partitions.

Procedure:
1. Download and burn live cd slax-iso alternativley download usb-slax (*.tar).
2. Download latest grub4dos at https://gna.org/projects/grub4dos, extract to a temp directory.
3. Create a partition on your harddrive using your favorite tool, ie partition magic, linux terminal commands, ubuntu livecd(gparted) puppy linux live-cd etc.
Format new partition to FAT32, partition size at minimum 300MB.
4. Copy the directories "boot" and "slax" from your slax cd-iso or slax usb-extract into your new partition.
5. Copy the file C:\ntldr in your windows xp root directory, the copy is your backup. Copy and paste at same place will do, giving you both "C:\ntldr"(origin) and "C:\copy of ntldr"(backup) at your "C:\".
6. Copy the files "grldr", "grub.exe" and "menu.lst" from the grub4dos extraction in your temp folder into C:\
7. Now follows the sensitive part, do not turn off your puter at these moments:
Rename the file C:\ntldr to C:\ntldrxp
Rename the file C:\grldr to C:\ntldr
8. Open menu.lst in a texteditor, preferrably wordpad, delete origin and copy / paste following:

# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# utility under DOS/Win9x or Linux.

#color black/cyan yellow/cyan
color cyan/blue white/blue
#timeout 30
#default /default

title SLAX
kernel (hd0,2)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/mnt/hda3/slax/
initrd=(hd0,2)/boot/initrd.gz
boot

title WinXp
find --set-root /ntldrxp
chainloader /ntldrxp

9. Edit menu.lst to fit your needs. I have on my computer a 800MB winxp install on first partition (windows C:\), this is called hd0,0 in menu.lst. Second partition (windows D:\) on my computer is my private documents and valuable files such as music etc, this is hd0,1 in menu.lst.
Third partition (windows E:\) is my toy partition where I play around with different os's, named hd0,2 in menu.lst.
So, depending on number of partitions you just have to count the hd0,x likewise, presuming we are staying at your first harddrive, a second hardrive would be hd1,x.
Note that windows "C:\" is named "hda1" in linux, "D:\" is named "hda2" etc, so you will have to change the hda3 in changes line in menu.lst.

10. All done. Reboot and choose your os in the grub menu. Delete the extracted grub4dos, we dont need it anymore.

Alternative:
If you not are using several partitions but just keeps to one and same "C:\"-partition, copy the directories "boot" and "slax" to your windows C:\, edit the menu.lst to "hd0,0" but keep same file path and name.

Observe:
If you go back to windows and remove grub, you have to rename "ntldrxp" back to "ntldr", otherwise windows will never find the file and boot correct.

Experts and pros's are free to fill in any simplifications or improvements in above howto.
/pm
 
trajkovvlatko
wrote 1 year ago


reply
Hey friend, this guide is extra great!!!
Thanks a loot!
I tried it on HP 510 notebook and had some weird problems i want to share.
After finishing the guide and rebooting, there was a "GRUB ERROR 17".
Read something on the net and quit. I planned to start all over.
I put the Windows XP cd to rewrite mbr with fixmbr and get only the Windows installation.
After rewriting, i expected to boot directly to Windows, but there was the blue boot menu with Slax and Windows. Didn't expect this, but it all worked fine.
Thanks again!
Everyone, if you need help with this, feel free to mail me. I'll try to help. trajkovvlatko at gmail com.
 
wddoy
wrote 1 year ago


reply
OMG! Thank you! I was trying to find this all over the place because Slax wouldn't boot from the live CD I made.

http://www.slax.org/forum.php?action=view&parentID=25871

I'll try this right away.

Wish me luck.
 
wddoy
wrote 1 year ago


reply
Nevermind I can't do this because I'm on the computer's guest account.

If I go on the admin account the computer crashes because of a smitfraud virus.
 
pema
wrote 1 year ago


reply
Sorry for late responding, been away from the forum for a while.
Grub Error 17:
Enter BIOS on your computer and set BIOS to auto detect the harddrive containing your linux os.

Admin rights:
There is excellent linux tools on boot cd's for editing windows user accounts giving anyone needed admin rights, while youre in there, sweep all the passwords to.

//pm
 
Ka
wrote 1 year ago


reply
hi tnx4such a good document but i cant add my usb slax to grub dir. everythig seems ok but i get an error "Error 22: No such partition" first of all in ur explanation u use as an "hda" but im my laptop partitions such a "sda" another differences my "e" partition as an "sda6" and not in this series as an sda3 . i uploaded some images related with my partition table and numbers.
i tried to change some parts of ur menu.lst but again cant be started Slax. some other choice in my grub list r working but slax doesnt. the files in e:\ dir it is in fat32 system . what is my mistake ? what should i do ?


http://www.6photo.org/gallery.php?entry=images/snapshot1.png
http://www.6photo.org/gallery.php?entry=images/snapshot2.png


menu.lst it is as an (boot.lst) i edited my grub. all the other things working properly except Slax

title SLAX
kernel (hd0,2)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/mnt/sda6/slax/
initrd=(hd0,2)/boot/initrd.gz
boot

If ı click Slax in grub menu i get error "Error 22 : No such Partition"
 
fundamental
wrote 1 year ago


reply
Try this insted: title SLAX
kernel (hd0,5)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/mnt/sda6/slax/
initrd=(hd0,5)/boot/initrd.gz
boot
 
Ka
wrote 1 year ago


reply
fundemental realy tnx its working .. but why is it is 5 ? and how can u c this ? if i need to see another partition again how can i know ?
 
fundamental
wrote 1 year ago


reply
Explanation of GRUB indexes:
------------------------------------
(hd%, &)

%
  • The hard drive device (primary drives are recognized first)

  • The primary hard drive will be 0;

  • The secondary hard drive will be 1;

  • Therefore the drives will be accessed by their index, which begins at 0.

  • ---------------
    &
  • The partition on the defined device.

  • The first partition will be 0;

  • The secondary partition will be 1;

  • Therefore the partitions will be accessed by their index, which begins at 0.

  • ------------------------------------
    IE.

    /dev/hdd7 (with only hd* hard drives)
    (hd3, 6)

    /dev/sdd7 (with only sd* hard drives)
    (hd3, 6)

    /dev/sda1 (with only sd* hard drives)
    (hd0, 0)

    ------------------------------------------------------
    On a side note:
    Ka,

    Can you please use the propper spellings of words (ie. no 'u', only you, etc...).
    Can you please also use proper capitalization.
    Forums are places where one should have time to compose a response, which should be mostly correct.
     
    Ka
    wrote 1 year ago


    reply
    Ok fundemental. I will be careful with my writings. Thanks again for your helping ...
     
    Xmexman
    wrote 1 year ago


    reply
    Justamente lo que estaba buscando, ya jala mi disco duro con el Slax.

    Solo tuve que cambiar de:
    kernel (hd0,2)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/mnt/hda3/slax/
    initrd=(hd0,2)/boot/initrd.gz

    a:
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/mnt/hda3/slax/
    initrd=(hd0,0)/boot/initrd.gz

    Tambien tuve que marcar como "booteable" la particion donde esta el Slax.

    Ahora ya me ahorre una licencia del Win Vista, algo asi como $190 dolares.

    Gracias!!!
     
    Guest
    wrote 1 year ago


    reply
    pema wrote:
    ...
    title SLAX
    kernel (hd0,2)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/mnt/hda3/slax/
    initrd=(hd0,2)/boot/initrd.gz
    boot
    ...


    Hi,

    can you please tell us how can we give cheatcodes for slax in the menu.lst ?

    Sincerely thanks and have a nice day,

    Miguipda ;-)
     
    Guest
    wrote 1 year ago


    reply
    Miguipda ... just edit them onto the long line that begins 'kernel (hd.... after the changes= cheatcode. Note, that is all on one line.
     
    plevel
    wrote 1 year ago


    reply
    @pema
    can i copy slax's boot and root folders on fat32 partition, edit BOOT.INI and start using Slax and windows together?
     
    IQuit
    wrote 1 year ago


    reply
    Here's how I did it:

    1. extract grldr to C:\
    2. extract boot/vmlinuz boot/initrd.gz slax/ to C:\
    3. append C:\grldr="GRUB" to C:\boot.ini
    4. reboot, select GRUB and from GRUB prompt:
    kernel /boot/vmlinuz root=/dev/ram0
    initrd /boot/initrd.gz
    boot

    done!
     
    oven2k
    wrote 244 days ago


    reply
    Please Help I cant install SLAX to HDD
    i did all steps 1-8
    my menu.lst File:
    ----------
    title SLAX
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/mnt/hda/slax/
    initrd=(hd0,0)/boot/initrd.gz
    boot

    title WinXp
    find --set-root /ntldrxp
    chainloader /ntldrxp
    ----------
    Win XP works Good

    But in boot SLAX i got (>>( ERROR 15 File not found )

    ********************
    GRUB Partition List

    Name Ldrv FS Base Size

    (hd0,1) D FAT32(0C) 0000003F36487 (38201M) IDE
    (hd1,0) - ExtendedX(0F) SATA
    (hd1,4) E NTFS(07)
    (hd2,0) - ExtendedX(0F) SATA
    (hd2,4) F NTFS(07)
    (hd3,0) C NTFS(07) SATA
    (hd3,1) - ExtendedX(0F)
    (hd3,4) G NTFS(07)

    ***********************

    MBRWiz /List

    Disk: 0
    Pos 0
    MBRndx 0
    Size 38G
    Active Yes

    Disk: 1
    Pos 0
    MBRndx 0
    Size 477G
    Active Yes

    Disk: 2
    Pos 0
    MBRndx 0
    Size 238G
    Active No

    Disk: 3
    Pos 0
    MBRndx 0
    Size 10G
    Active Yes

    Disk: 3
    Pos 1
    MBRndx 1
    Size 467G
    Active No

    ***********************

    Gigabyte P35C-DS3
    Intel Core 2Duo CPU 8400 3.00 GHz
    2046MB RAM 2x1024 (667Mhz)
    NVIDIA GeForce 9600GT 512MB
    SB Audigy 2

    "Computer Management"

    CD-ROM1 USB (LG) DVD-RW (I:)

    Disk 0 IDE 37 GB (D:) FAT32
    Disk 1 SATA 465 GB (E:) NTFS
    Disk 2 SATA 232 GB (F:) NTFS
    Disk 3 SATA 500 GB (C:) 10 GB NTFS (System) + (G:) 455 GB NTFS

    Disk (D:) contain slax & boot

    Please Help !
     
    burninbush
    wrote 244 days ago


    reply
    Try changing your (hd0,0) to (hd1,0) -- guessing your bios is finding sda1 before finding hda1.

    And changes cannot be directed to /dev/hda -- you probably meant /dev/hda1/slax.
     
    teo
    wrote 243 days ago


    reply
    THIS IS ABOUT INSTALLING SLAX UNDER XP

    2 years ago I built a personalized Slax that is installable under Windows XP. SInce I see that frugal-installing Slax for coexisting with XP is a often requered topic, here you are:

    Pros: It's a safe and easy way to install Slax from XP, with neither partitionig, nor changing your MBR. It will install for you all required files, edit boot.ini and take care about hidden partitions, etc. More, you can edit menu.lst for adding new entries, so that you can boot as many OSs as you want from XP.

    Cons: Language is Galego (Half the way between portuguese and spanish). You will be blind-running the assistant. As for now, you can NOT use the installer under Vista (well, you can but it will not boot Slax if you don't edit BCD and that's beyond my purpose)

    Instructions:

    -Get a copy of galinux_slax_1_4_inst_xp_19_7_2007.exe (aMule, Ares...)

    -Download the Slax of your choice and get it decompressed somewhere.

    -Start Win XP as admin and run galinux_slax_1_4_inst_xp_19_7_2007.exe. When required, just click on "seguinte" (next)

    -In the end you will be prompted to reboot. Just accept. After rebooting, chose "Xestor de inicio", accept again, new reboot and let XP start.

    -A second assistant will auto-run as soon as XP is up. WHen prompted, just mark all the storage units displayed (not really required, only to be on the safe side; wou'll be wasting 300KB in each).

    -Now you've got a copy of grldr and menu.lst in C:/ and your boot.ini ready to go. If needed, there will be more added copies in other partitions (that's for avoidind trouble when your XP is not installed in the real first partition). Editing c:/menu.lst you'll get a way for booting any OS you want.

    -Explore c:/galinux. You'll find a /base folder: delete everything there and put all your Slax modules there. You can also delete /opcionais (modules) and /docs. Copy/move all other required Slax files into c:/galinux. If you are using the FROMISO option, just keep a copy of your ISO somewhere and edit c:/menu.lst properly.

    -Edit C:/menu.lst (learn how to do it from reading syslinus/isolinux files from your downloaded Slax).

    -If the provided version of grldr does not work for you (AFAIK never happened), go to "Start">"Programs">"Galinux-Slax">"Xestor de inicio novo". Your c:\grldr file will be replaced for a newer one.

    -If you want to get rid of your frugal installation, go to "Start"->"Programs">"Galinus-Slax">"Desinstalar Galinux-Slax".

    -Screenshots in http://www.atma.es/victor/galinux/galeria/ (instalacion)

    -Further info in http://www.galinux.org (clicking on the UK flag you'll get a brief explanation about the distro)

    Hope it will be useful.
     
    oven2k
    wrote 243 days ago


    reply
    burninbush wrote:
    Try changing your (hd0,0) to (hd1,0) -- guessing your bios is finding sda1 before finding hda1.

    And changes cannot be directed to /dev/hda -- you probably meant /dev/hda1/slax.


    Sanks a lot burninbush its really helped i changed
    -------------
    title SLAX
    kernel (hd1,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 nopcmcia changes=/mnt/hda1/slax/
    initrd=(hd1,0)/boot/initrd.gz
    boot
    -------------
    and now SLAX work perfect

    Sanks a lot
     
    francois.e
    wrote 242 days ago


    reply
    @teo:

    Your install file for and from xp seems very interesting. I will surely try it. Have you had any problem reported with it yet?
     
    Teo
    wrote 242 days ago


    reply
    Not yet :)

    The point is to deal with the language and, once installed, to copy/move the files from the iso and edit the menu.lst. The rest of the task will be already done, even in the case of having hidden partitions, XP not installed in the first one, etc.
     
    forum
    wrote 241 days ago


    reply
    (Taken from Migan's guide in dual booting Slax and Windows XP) --> http://www.slax.org/forum.php?action=view&parentID=20462

    Setting-up your MSI Wind U100 Netbook for dual booting with windows xp was pretty simple in Windows XP.

    You will need some files and tweak some settings on your windows xp's "boot.ini".

    1. Download a copy of Slax from here -> http://www.slax.org/get_slax.php

    2. Extract(use winrar) and copy the two folder (slax, boot) from Slax 6.0.9 to your local drive (c:\)

    3. Download grub4dos-0.4.3.zip from here-> http://sourceforge.net/project/showfiles.php?group_id=104188

    4. Extract grldr & menu.lst from grub4dos-0.4.3.zip(use winrar) to your local drive (c:\)

    5. Change or modify or edit the file menu.lst.

    Replace it with this:

    ######################################################
    color black/cyan yellow/cyan
    timeout=20
    default=1

    title Back to Menu
    rootnoverify (hd0,0)
    chainloader +1
    boot

    title Slax ALWAYS FRESH - No changes are written anywhere.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Slax GRAPHICS MODE (KDE) - Use the maximum allowed resolution.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Slax COPY TO RAM - Copy data to RAM to enhance speed(needs >300MB).
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Slax GRAPHICS VESA MODE - Force 1024x768 display resolution.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=telinit~4 changes=/slax/
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Slax TEXT MODE - Using command prompt only.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw changes=/slax/
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Slax as PXE SERVER - Boot Slax on other computers over network.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=/boot/pxelinux.cfg/start;/boot/pxelinux.cfg/web/start;xconf;telinit~4
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Run MEMTEST - Diagnose your computer's RAM for possible errors.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/mt86p
    boot
    ######################################################

    6. Now, edit your windows xp's boot.ini then save it.

    Here is my boot.ini entry:

    [boot loader]
    timeout=20
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP" /noexecute=optin /fastdetect
    C:\grldr="Slax Linux"


    7. Restart or reboot your computer and enjoy dual booting Slax with Windows XP.
     
    forum
    wrote 241 days ago


    reply
    Hi! I just want to know if someone did try to dual boot Slax with Windows 7? Is it possible or not?
     
    teo
    wrote 240 days ago


    reply
    forum:

    Sometimes things are not that easy. I've been doing what you posted from 3 years ago and from my experience, when XP is not installed on the true first partition, most of the times you will not get your Linux started. That's why it is required first to unhide all of your partitions and only afterwards decide in which of them you'll put grldr and menu.lst.

    I don't know a word about Windows 7 but if you want to get Slax booted from Vista you can give a try to http://www.xente.mundo-r.com/net/giw.txt

    That was the first release and I didn't improved it since then but it always worked for me. What you get is a new entry in the BCD file of Vista for booting Linux, very likely editing XP's boot.ini.

    Best.
     
    Neo
    wrote 220 days ago


    reply
    forum wrote:
    (Taken from Migan's guide in dual booting Slax and Windows XP) --> http://www.slax.org/forum.php?action=view&parentID=20462

    Setting-up your MSI Wind U100 Netbook for dual booting with windows xp was pretty simple in Windows XP.

    You will need some files and tweak some settings on your windows xp's "boot.ini".

    1. Download a copy of Slax from here -> http://www.slax.org/get_slax.php

    2. Extract(use winrar) and copy the two folder (slax, boot) from Slax 6.0.9 to your local drive (c:)

    3. Download grub4dos-0.4.3.zip from here-> http://sourceforge.net/project/showfiles.php?group_id=104188

    4. Extract grldr & menu.lst from grub4dos-0.4.3.zip(use winrar) to your local drive (c:)

    5. Change or modify or edit the file menu.lst.

    Replace it with this:

    ######################################################
    color black/cyan yellow/cyan
    timeout=20
    default=1

    title Back to Menu
    rootnoverify (hd0,0)
    chainloader +1
    boot

    title Slax ALWAYS FRESH - No changes are written anywhere.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Slax GRAPHICS MODE (KDE) - Use the maximum allowed resolution.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Slax COPY TO RAM - Copy data to RAM to enhance speed(needs >300MB).
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Slax GRAPHICS VESA MODE - Force 1024x768 display resolution.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=telinit~4 changes=/slax/
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Slax TEXT MODE - Using command prompt only.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw changes=/slax/
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Slax as PXE SERVER - Boot Slax on other computers over network.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=/boot/pxelinux.cfg/start;/boot/pxelinux.cfg/web/start;xconf;telinit~4
    initrd (hd0,0)/boot/initrd.gz
    boot

    title Run MEMTEST - Diagnose your computer's RAM for possible errors.
    rootnoverify (hd0,1)
    kernel (hd0,0)/boot/mt86p
    boot
    ######################################################

    6. Now, edit your windows xp's boot.ini then save it.

    Here is my boot.ini entry:

    [boot loader]
    timeout=20
    default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Windows XP" /noexecute=optin /fastdetect
    C:grldr="Slax Linux"


    7. Restart or reboot your computer and enjoy dual booting Slax with Windows XP.


    Thanks dude that was great, i tried this and it works perfectly !!!
     
    francois.e
    wrote 135 days ago


    reply
    And what about some installation on vista?

    I have tried the BCDEDIT command in vista command mode without success to install the bootloader, this according to the following instructions:

    http://diddy.boot-land.net/grub4dos/files/install_windows.htm#windows3

    I get some error messages. Is anyone doing better?
     
    Slaxfan
    wrote 133 days ago


    reply
    Hi! I just want to say thank you to Tomas for making Slax and also to Migan for making the how-to dual boot windows XP and Slax.

    I used Migan's how-to and modified it to TRIPLE BOOT between SLAX, WINDOWS7 ( tested on RC1 & RTM) and WINDOWS XP.

    Everything is working fine and I'm using it for 2 weeks on my MSI Wind U100 series Netbook. No issues on my hardware (Webcam, Bluetooth, Wifi), everything is working for now (with some tweaks of course)...

    How-to: Triple boot Slax, Windows XP, Windows 7
    -------------------------------------------------

    You need to download:

    1. Download a copy of Slax from here -> http://www.slax.org/get_slax.php
    Extract(use winrar) and copy the two folder (slax, boot) from Slax 6.1.1 to your local drive (c:\)
    2. Download grub4dos-0.4.3.zip from here-> http://sourceforge.net/project/showfiles.php?group_id=104188
    Extract grldr & menu.lst from grub4dos-0.4.3.zip(use winrar) to your local drive (c:)


    1) I made 2 partitions on my harddrive, partition 1 (Windows XP)NTFS, partition 2 (Windows 7)NTFS.
    2) After partitioning harddrive, I installed first Windows XP on partition 1.
    3) Next was Installing Windows 7 on partition 2 making Windows 7 handles the main bootloader.
    4) Next was copying 2 folders (slax & boot) from Slax CD to the root of partition 2.
    (Note: You need to change or rename the slax folder boot to any name you want, say sboot so that it may not overwrite Windows 7 hidden system folder boot.
    5) Next you need to have a copy of "menu.lst" and "grldr" to your root partition 1 & 2
    6) Download grub4dos-0.4.3.zip from here-> http://sourceforge.net/project/showfiles.php?group_id=104188
    7) Extract grldr & menu.lst from grub4dos-0.4.3.zip to your root partition 1 & 2
    8) Modify or edit the "menu.lst"

    Here is a copy of Migan's "menu.lst" file entry (modified for triple booting Slax, Windows XP, Windows 7):
    (Note: reference to boot folder in menu.lst must be change to sboot) Take note that linux is case sensitive, SBOOT is different from sboot.

    ######################################################
    color black/cyan yellow/cyan
    timeout=20
    default=1

    title Back to Menu
    rootnoverify (hd0,1)
    chainloader +1
    boot

    title Slax ALWAYS FRESH - No changes are written anywhere.
    rootnoverify (hd0,1)
    kernel (hd0,1)/sboot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4
    initrd (hd0,1)/sboot/initrd.gz
    boot

    title Slax GRAPHICS (KDE)- Use the maximum allowed resolution.
    rootnoverify (hd0,1)
    kernel (hd0,1)/sboot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/
    initrd (hd0,1)/sboot/initrd.gz
    boot

    title Slax COPY TO RAM - Copy data to RAM to enhance speed(needs >300MB).
    rootnoverify (hd0,1)
    kernel (hd0,1)/sboot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4
    initrd (hd0,1)/sboot/initrd.gz
    boot

    title Slax GRAPHICS (VESA) - Force 1024x768 display resolution.
    rootnoverify (hd0,1)
    kernel (hd0,1)/sboot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=telinit~4 changes=/slax/
    initrd (hd0,1)/sboot/initrd.gz
    boot

    title Slax TEXT MODE - Using command prompt only.
    rootnoverify (hd0,1)
    kernel (hd0,1)/sboot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw changes=/slax/
    initrd (hd0,1)/sboot/initrd.gz
    boot

    title Slax as PXE SERVER - Boot Slax on other computers over network.
    rootnoverify (hd0,1)
    kernel (hd0,1)/sboot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=/sboot/pxelinux.cfg/start;/boot/pxelinux.cfg/web/start;xconf;telinit~4
    initrd (hd0,1)/sboot/initrd.gz
    boot

    title Run MEMTEST - Diagnose your computer's RAM for possible errors.
    rootnoverify (hd0,1)
    kernel (hd0,1)/sboot/mt86p
    boot
    ######################################################

    9) Edit your windows xp's boot.ini and change the entry to:

    [boot loader]
    timeout=15
    default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Windows XP" /noexecute=optin /fastdetect
    C:grldr="Slax Linux"

    10) Reboot or restart your computer.

    Thanks to Tomas and Migan!!!
     
    francois.e
    wrote 131 days ago


    reply
    @slaxfan:

    Can you describe the tweaks that you had to do for your MSI box? Or just refer the the few links where you describe these adjustments.
     
    mikaelft
    wrote 75 days ago


    reply
    Hmmm, I don't get this to work.
    I have another os on my USB and I want Slax also.

    What should I put in to me menu.lst ?
     
    francois.e
    wrote 71 days ago


    reply
    mikaelft wrote:
    Hmmm, I don't get this to work.
    I have another os on my USB and I want Slax also.

    What should I put in to me menu.lst ?


    I think that you are using a menu.lst that is different from the usual one. Can you post the overall menu.lst that you have?
     
    jayflood
    wrote 71 days ago


    reply
    I've just finished a script that will install slax frugally onto the HD. It will check for windows and if it exists it gives the option to dual boot. During the script you are asked which system you would prefer to boot by default.

    The only prerequisite is that there is an ext3 formatted partition already existing on the drive. I think some people new to slax would find it useful. Once i'm done testing i'll post it.
     
    francois.e
    wrote 70 days ago


    reply
    mikaelft has installed a linux system with the "ultimate boot cd on his usb key. The menu.lst or the use of slax.cfg seem to interfere with our usual way of using slax. The solution seems to be to reinstall both utimate boot cd iso and slax iso with the grub2 strategy of Homoludens. See:

    http://www.slax.org/forum.php?action=view&parentID=52260
     

      » Zoek  » forum index

    Post your reply

    Your name (Login):

    Message:

    These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



    Slax is now officially on FaceBook. Do you like Slax? Show yourself, become a fan just right now!