SliTaz SliTaz Forum

You are not logged in.

#1 2012-04-09 02:51:33

idi_idi_idi
Member
Registered: 2012-04-09
Posts: 10

dual boot xp and slitaz

Hello i just installed slitaz after xp but i'm not sure of what to add on my grub file anymore, i already tried a bunch of things and can't get it to work. My slitaz is on hda2 and xp is on hda1.

This is what's in my menu.lst file for slitaz

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

Could anyone please help me, if you need more information just tell me how to get it and i will post it back here ASAP. Thanks.

Offline

#2 2012-04-09 05:20:15

aniguenni
Member
Registered: 2011-12-18
Posts: 153

Re: dual boot xp and slitaz

Hi idi_idi_idi,

first of all, you installed slitaz after xp, right? so you installed it normally with the slitaz installer, followed the instructions and installed the grub-loader at the end?

then it's very easy to complete the grub menu.lst on hda2 as follows. just add at the beginning or at the end of your menu.lst file (as root to save it afterwards again):

# For booting Windows from : /dev/hda1 (this line is not necessary. just for remark)

title   Microsoft Windows XP

     rootnoverify (hd0,0)

     chainloader +1

... that's it.

Offline

#3 2012-04-10 00:35:48

idi_idi_idi
Member
Registered: 2012-04-09
Posts: 10

Re: dual boot xp and slitaz

Hello again, yes i installed it after xp and followed the instructions and installed the grub-loader.

Well i tried what you said but i get this

Error 13: Invalid or unsupported executable format

when i try to choose it from the grub menu.

I don't know if this matters but i can access the files for both partitions. So i opened the gparted and for my xp partition /dev/hda1 there's a lock right next to it.

the mount point says media/disk         and at the end it says boot.

When i click information, it says on status that it's mounted on /media/disk

And for my other partition, /dev/hda2 it says on status that it's not mounted. Oh and there's no lock for this one. Thanks again.

Offline

#4 2012-04-10 05:41:09

aniguenni
Member
Registered: 2011-12-18
Posts: 153

Re: dual boot xp and slitaz

@idi_idi_idi

well have a look into these instructions below:

http://doc.slitaz.org/en:handbook:installation?s[]=dual&s[]=boot

http://apcmag.com/how_to_dual_boot_windows_xp_and_linux_xp_installed_first.htm

maybe this can help to sort out your boot problem.

i guess there is someone out here, who knows what the error 13 says. i'm very new to linux too. but i'm lucky. on my lifebook SliTaz was easily to install beside (after) windows. since that time, i use mainly this awesome os. only for some progs, which i urgently need and unfortunetely don't get them running with wine, i still use win XP.

Offline

#5 2012-04-10 07:17:31

hothorsegz
Member
Registered: 2012-04-09
Posts: 7

Re: dual boot xp and slitaz

hi .. not sure if the following links are useful since i did not have the same problem as you did

http://meld.org/discussion/general-discussion/grub-error-13-invalid-or-unsupported-executable-format

http://reboot.pro/12555/

    as for my situation the bootloader did not recognize Comice 4 Linux distro ...

   but as i continue to tinker with Slitaz 4 i will probably let the other Linux distro sleep ... ; )

Offline

#6 2012-04-10 11:53:48

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: dual boot xp and slitaz

your entry menu looks good to me

if this can help you, i ended up using grub4dos

it's very fast to install and if it solves your problem this way...

Offline

#7 2012-04-12 02:04:54

idi_idi_idi
Member
Registered: 2012-04-09
Posts: 10

Re: dual boot xp and slitaz

thanks to all of you for your help, i looked at all the links but i've had no luck, if anyone does get this later, could you perhaps do a tutorial/video i'm sure many people besides me would appreciate it. Because frankly idk what's wrong.

Offline

#8 2012-04-12 10:40:20

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: dual boot xp and slitaz

what message do you get ?

and,

did you try grub4dos ?

Offline

#9 2012-04-13 05:38:16

idi_idi_idi
Member
Registered: 2012-04-09
Posts: 10

Re: dual boot xp and slitaz

I was getting this Error 13: Invalid or unsupported executable format

but i've fixed it already although in a weird way. I installed ubuntu 10.04 along with these two operating systems and the bootloader from there fixed it automatically, Now i can boot all three. Well thanks to all of you who tried to help me. This is problem is now solved.

Offline

#10 2013-02-10 13:34:24

byllgrim
Member
Registered: 2013-02-10
Posts: 3

Re: dual boot xp and slitaz

I have this error too, but I dont want to instal ubuntu. Can you post the content of your  menu.lst?

Offline

#11 2013-02-10 15:02:02

Guest
Guest

Re: dual boot xp and slitaz

It may just need you to run update-grub

#12 2013-02-10 15:39:58

byllgrim
Member
Registered: 2013-02-10
Posts: 3

Re: dual boot xp and slitaz

I fixed it!

rootnoverify (hd0,1)

...worked, but not (hd0,0) as the manual says.

http://doc.slitaz.org/en:handbook:installation#dual-booting-with-windows

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]