LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2009, 12:20 PM   #1
Corey Hansen
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Rep: Reputation: 0
SLED 10/Windows XP SP3 Dual-Boot Error 13


Hi all,

I've got a laptop that I'm attempting to dual-boot SLED 10 and XP on. I'm very new to Linux and have made a couple different attempts at getting this to work. After my initial install everything seemed fine. I logged into my Windows build today and noticed that my wireless was off. After enabling it, I decided to restart to ensure that it would stick(this is a test build for a very large distribution) and now I get Error 13 when attempting to boot to Windows.

Code:
rootnoverify (hd0)
chainloader (hd0,0)+1

Error 13: Invalid or unsupported executable format
My menu.1st looks like this:

Code:
title Windows
      rootnoverify (hd0)
      chainloader (hd0,0)+1
GParted lists my partitions as this:

Code:
/dev/sda1   unknown   39.06 GiB
/dev/sda2   reiserfs  64.71 GiB
/dev/sda4   fat32      5.02 GiB
/dev/sda3   linux-swap 3.00 GiB
Sda1 is an NTFS partition for XP. 2 is SLED. 4 is a shared partition between the two OS's for documents and such.

If you can't already tell, I know very little about what I 'm doing. Any help would be greatly appreciated and if possible, explanation of what it all means would be great too.

Thanks
 
Old 04-02-2009, 12:33 PM   #2
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Try changing this,

title Windows
rootnoverify (hd0)
chainloader (hd0,0)+1

To this,

title Windows
rootnoverify (hd0)
chainloader +1
 
Old 04-02-2009, 12:34 PM   #3
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,787

Rep: Reputation: 211Reputation: 211Reputation: 211
I won't explain but you can start by reading here.

http://www.linux.org/lessons/beginner/toc.html
 
Old 04-02-2009, 02:37 PM   #4
Corey Hansen
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks so much for your replies on this problem.

Quote:
Originally Posted by Duck2006 View Post
Try changing this,

title Windows
rootnoverify (hd0)
chainloader (hd0,0)+1

To this,

title Windows
rootnoverify (hd0)
chainloader +1


I gave that a try and now instead of giving me the error, it just flashes some text way to fast to read and sends me back to the OS selection screen.

@ thorkelljarl
Thanks for the guide link. I will read through it and see what I can learn.
 
Old 04-02-2009, 05:41 PM   #5
Corey Hansen
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Original Poster
Rep: Reputation: 0
By smacking the pause/break button in sync with enter(a little hard when using the Fn button to hit pause) and trying it a few hundred times I think I got the unknown message.

Code:
rootnoverify (hd0)
chainloader +1

GRUB Loading stage1.5



GRUB loading. please wait...

Initializing gfx code...
static memory: 0x3c020 - 0x63f00
     malloc 0: 0x4df70 - 0x63f00
     malloc 1: 0x200000 - 0x300000
     malloc 2: 0x0 - 0x0
     malloc 3: 0x0 - 0x0
After that it cuts back to the OS selection screen. There's no error that I can seem to capture. Any ideas?

Thanks
 
Old 04-02-2009, 05:53 PM   #6
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Some info on grub.

http://www.gnu.org/software/grub/manual/grub.html

The line

rootnoverify (hd0)

Should be set to the partition that the has the / root in it.

So from your lay out try,

rootnoverify (hd0,1)
 
Old 04-02-2009, 06:37 PM   #7
Corey Hansen
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Okay...so now I've really got myself into trouble. I went ahead and tried your suggestion but got the same results. Then I started reading the GRUB manual and tried a few more things. I ended up with this:

Code:
title Windows      
    unhide (hd0,0)
    hide (hd0,1)
    rootnoverify (hd0,0)
    chainloader +1
    makeactive
    boot
I used the unhide/hide command because I thought that maybe the extra fat partition was causing problems. I had read that having other Windows primary partitions sometimes causes problems. I also started using hd(0,0) because according to the manual, GRUB counts up from 0. That would mean my NTFS partition is partition 0 rather than 1.

Anyway, after changing the menu.1st to the afore mentioned example I received this lovely error:

Code:
Error loading operating system
This comes up right after POST. I'm guessing I'm out of luck but I figured I'd pitch to you first. Is there any way to pop in the SUSE Live CD and maybe bring it back to life, or is it a total rebuild?

Thanks
 
Old 04-02-2009, 09:41 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Your menu.lst entry for windows should be:

Quote:
rootnoverify (hd0,0)
chainloader +1
You can put the (hd0,0) after chainloader if you want but should not need it/ Need a space after 'rootnoverify'.
 
Old 04-02-2009, 10:11 PM   #9
burninGpi
Member
 
Registered: Mar 2006
Location: Fort McMurray, Canada
Distribution: Gentoo ~amd64
Posts: 163

Rep: Reputation: 30
Add the makeactive command to the Windows boot entry:
Code:
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
 
Old 04-07-2009, 02:24 PM   #10
Corey Hansen
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for all your input. I finally had to wipe it and start over. Works fine now though. Again, I appreciate everyone helping me out and I'll definitely stay active here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install Windows XP to dual boot with my existing SLED netbook ddclutch Linux - Newbie 9 12-28-2008 09:47 AM
I have a WIN XP SP3 notebook 32-bit PC well I plan Dual Boot with Linux (same PC) lse123 Linux - Newbie 16 12-08-2008 09:27 AM
LPT1 port malfunctions after dual boot installation of SuSE SLED 10 with Windows XP narayanaras Linux - Newbie 23 12-23-2006 10:25 PM
Disk Read Error with Dual Boot Sled 10 & XP highroller_100 Linux - Newbie 6 10-04-2006 06:08 PM
Dual boot SuSe 9.1 Pro/ Windows XP , Error kruptos Linux - Newbie 5 02-07-2005 10:00 AM


All times are GMT -5. The time now is 09:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration