LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-20-2006, 02:13 PM   #16
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30

Well it's not working, I think that when you put the command rootnoverify you must put the partition where Windows is installed (Sorry my mistake)

Quote:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
Hope this one is the definitive
 
Old 02-20-2006, 02:19 PM   #17
n00bpenguin
Member
 
Registered: Aug 2005
Posts: 30

Original Poster
Rep: Reputation: 15
^yea, look at my previous post (last post on 1st page) I gave that one a shot on my own and it worked. Thanks so much man. I don't know why you guys actually help n00b's out so much, but it's a big help.
 
Old 02-20-2006, 02:30 PM   #18
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
I'm glad you made it!. As you have noticed you always learn something new in Linux.

Hope you enjoy Suse, it's a powerful distro.
 
Old 03-10-2006, 04:10 PM   #19
Envision5000
Member
 
Registered: Jan 2006
Location: Chicago
Distribution: Suse 10 + CentOs servers
Posts: 49

Rep: Reputation: 15
I am getting the same error as penguin. This must be a big issue with suse.

What does chainloader stand for ?
 
Old 03-10-2006, 04:22 PM   #20
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
Quote:
Originally Posted by Envision5000
I am getting the same error as penguin. This must be a big issue with suse.

What does chainloader stand for ?
From the GRUB manual:

— Command: chainloader [--force] file

Load file as a chain-loader. Like any other file loaded by the filesystem code, it can use the blocklist notation to grab the first sector of the current partition with `+1'. If you specify the option --force, then load file forcibly, whether it has a correct signature or not. This is required when you want to load a defective boot loader, such as SCO UnixWare 7.1

Basically it is used to boot the OS that is installed in the first primary partition.

Windows likes to be the "only" OS installed in the system, in the first primary partition, so you have use first the map command so Windows thinks it's installed in the first hard disk and then the chainloader command to let it think that it's booting from the first primary partition.
 
Old 03-10-2006, 08:19 PM   #21
Envision5000
Member
 
Registered: Jan 2006
Location: Chicago
Distribution: Suse 10 + CentOs servers
Posts: 49

Rep: Reputation: 15
Question

Quote:
Originally Posted by n00bpenguin
YESS !!!!!!!!!!!!

I finally got it figured out. I had to change the windows tag in menu.lst to this.


and finally it's working, and my grub bootloader is successfully loading windows and suse.
I'm extremely happy and would like to than everyone here and at the forums on
www.glug.us
and
www.campusblender.com

thank you so much victorh and everyone else that helped me in this thread.
I just tried the same thing and this is what it is giving me

map (hd0)(hd1)

Error 11: Unrecognized device string

----------------------------
does anyone know what the problem is?




below is my menu.lst file

# Modified by YaST2. Last modification on Fri Mar 10 04:19:44 UTC 2006

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd0,1)
kernel /boot/vmlinuz root=/dev/sda2 vga=0x317 selinux=0 resume=/dev/sda1 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows XP
map (hd0)(hd1)
map (hd1)(hd0)
rootnoverity (hd1,0)
makeactive
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,1)
kernel /boot/vmlinuz root=/dev/sda2 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 edd=off 3
initrd /boot/initrd
 
Old 03-10-2006, 08:27 PM   #22
Envision5000
Member
 
Registered: Jan 2006
Location: Chicago
Distribution: Suse 10 + CentOs servers
Posts: 49

Rep: Reputation: 15
linux:/boot/grub # fdisk -l

Disk /dev/sda: 37.0 GB, 37019566080 bytes
255 heads, 63 sectors/track, 4500 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 131 1052226 82 Linux swap / Solaris
/dev/sda2 * 132 4500 35093992+ 83 Linux

Disk /dev/sdb: 37.0 GB, 37019566080 bytes
255 heads, 63 sectors/track, 4500 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4499 36138186 7 HPFS/NTFS

Disk /dev/hdc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 14593 117218241 7 HPFS/NTFS
 
Old 03-10-2006, 08:39 PM   #23
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
Hi Envision5000, I have a question about the layout of your hard disks?

Where do you have Windows?, is it in /dev/sdb1 or /dev/hdc1?
 
Old 03-10-2006, 09:13 PM   #24
Envision5000
Member
 
Registered: Jan 2006
Location: Chicago
Distribution: Suse 10 + CentOs servers
Posts: 49

Rep: Reputation: 15
Quote:
Originally Posted by victorh
Hi Envision5000, I have a question about the layout of your hard disks?

Where do you have Windows?, is it in /dev/sdb1 or /dev/hdc1?
/dev/sdb1


/dev/hdc1 << this drive is used only for storage
 
Old 03-10-2006, 09:33 PM   #25
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
I've reviewed your file menu.lst, and it seems that you have omitted some spaces in the map command. Try again but with this correction:
Quote:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverity (hd1,0)
makeactive
chainloader +1
The rest is good, (hd1,0) for your system is /dev/sdb1
 
Old 03-10-2006, 09:41 PM   #26
Envision5000
Member
 
Registered: Jan 2006
Location: Chicago
Distribution: Suse 10 + CentOs servers
Posts: 49

Rep: Reputation: 15
I tried it with the spaces and that does not work either

It does not give an error, but just stops
 
Old 03-10-2006, 10:09 PM   #27
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
Well, if that didn't work, then you have to give us more info about your system:

1. Did you change the boot order in the bios?. Also would be helpful if you can post the order of the hard disks in your bios setup.

2. Where did you install GRUB? Did you accept to install it in the MBR?

With this info we'll have more clues.
 
Old 03-10-2006, 11:00 PM   #28
Envision5000
Member
 
Registered: Jan 2006
Location: Chicago
Distribution: Suse 10 + CentOs servers
Posts: 49

Rep: Reputation: 15
bios hard drive boot order ( should the below have different names? if yes how do I change them? )

WDC WD360GD-OOFL <first drive
WDC WD360GD-OOFL <second drive both have the same name


Grub is intalled in the boot directory

linux:/ # ls
. .. bin boot dev etc home lib lib64 media mnt opt proc root sbin srv subdomain sys tmp usr var windows
linux:/ # cd boot
linux:/boot # ls
. System.map-2.6.13-15.8-smp boot grub initrd-2.6.13-15.8-smp symvers-2.6.13-15.8-x86_64-smp.gz vmlinuz
.. backup_mbr config-2.6.13-15.8-smp initrd message vmlinux-2.6.13-15.8-smp.gz vmlinuz-2.6.13-15.8-smp
linux:/boot # cd grub
linux:/boot/grub # ls
. device.map e2fs_stage1_5 ffs_stage1_5 jfs_stage1_5 menu.lst.old reiserfs_stage1_5 stage2 ufs2_stage1_5 xfs_stage1_5
.. device.map.old fat_stage1_5 iso9660_stage1_5 menu.lst minix_stage1_5 stage1 stage2.old vstafs_stage1_5
linux:/boot/grub #
 
Old 03-10-2006, 11:01 PM   #29
Envision5000
Member
 
Registered: Jan 2006
Location: Chicago
Distribution: Suse 10 + CentOs servers
Posts: 49

Rep: Reputation: 15
when I try to boot into windows xp it gives me on a black screen

Grub loading stage 1.5


and freezes.
 
Old 03-11-2006, 03:37 PM   #30
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
Hi Envision5000, the reason I ask about the bios boot order is because it's possible you have changed the hard disks from master to slave, for example if you have installed Windows in the first hard disk (master), and then you have changed this hard disk to be slave. Did you do something like that? Could you explain us how did you install windows and then Linux, in that time did you do some change in hard disks?

A reason that could explain your problem, is that GRUB is not recognizing correctly the order of the hard disks, one more thing could you post the content of the file /boot/grub/device.map:

Code:
cat /boot/grub/device.map
Finally can you post the content of the file C:\boot.ini, in your Windows system?

Hope with that info we can give you a solution.

Last edited by victorh; 03-11-2006 at 03:42 PM.
 
  


Reply



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
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 05:44 PM
Dual booting 9.2 with 10.0 J.K Mandriva 8 08-16-2004 02:51 AM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 02:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM
booting ,dual booting kmadhukar Linux - Newbie 1 02-02-2002 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:30 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
Open Source Consulting | Domain Registration