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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-02-2009, 11:20 AM
|
#1
|
LQ Newbie
Registered: Apr 2009
Posts: 5
Rep:
|
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
|
|
|
04-02-2009, 11:33 AM
|
#2
|
Member
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346
Rep:
|
Try changing this,
title Windows
rootnoverify (hd0)
chainloader (hd0,0)+1
To this,
title Windows
rootnoverify (hd0)
chainloader +1
|
|
|
04-02-2009, 01:37 PM
|
#4
|
LQ Newbie
Registered: Apr 2009
Posts: 5
Original Poster
Rep:
|
Thanks so much for your replies on this problem.
Quote:
Originally Posted by Duck2006
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.
|
|
|
04-02-2009, 04:41 PM
|
#5
|
LQ Newbie
Registered: Apr 2009
Posts: 5
Original Poster
Rep:
|
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
|
|
|
04-02-2009, 04:53 PM
|
#6
|
Member
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346
Rep:
|
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)
|
|
|
04-02-2009, 05:37 PM
|
#7
|
LQ Newbie
Registered: Apr 2009
Posts: 5
Original Poster
Rep:
|
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
|
|
|
04-02-2009, 08:41 PM
|
#8
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,797
|
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'.
|
|
|
04-02-2009, 09:11 PM
|
#9
|
Member
Registered: Mar 2006
Location: Fort McMurray, Canada
Distribution: Gentoo ~amd64
Posts: 163
Rep:
|
Add the makeactive command to the Windows boot entry:
Code:
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
|
|
|
04-07-2009, 01:24 PM
|
#10
|
LQ Newbie
Registered: Apr 2009
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|