Dual booting with Grub - installing Win 2000 from CD-Rom with an existing SuSe 9.1
Linux - NewbieThis 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.
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.
Dual booting with Grub - installing Win 2000 from CD-Rom with an existing SuSe 9.1
Hi, hopefully somebody can help me with my problem, I have Suse 9.1 installed on my PC ( two hds: 4GB used for Suse + 40 GB hd used for Suse users data and where I want Windows) and no other op system, I want to make the PC dual boot for Suse and Win 2000, this is how far I have got:
1 -
I have set up an extended partition on hdc of about 34GB the results of sfdisk are shown below:
Disk /dev/hda: 8894 cylinders, 15 heads, 63 sectors/track
Units = cylinders of 483840 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hda1 0+ 806 807- 381276 82 Linux swap
/dev/hda2 807 8884 8078 3816855 83 Linux
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 0 - 0 0 0 Empty
Disk /dev/hdc: 79656 cylinders, 16 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hdc1 0+ 8322 8323- 4194760+ f W95 Ext'd (LBA)
/dev/hdc2 8323 79655 71333 35951832 c W95 FAT32 (LBA)
/dev/hdc3 0 - 0 0 0 Empty
/dev/hdc4 0 - 0 0 0 Empty
/dev/hdc5 0+ 2080 2081- 1048761 83 Linux
/dev/hdc6 2081+ 4161 2081- 1048792+ 83 Linux
/dev/hdc7 4162+ 6242 2081- 1048792+ 83 Linux
/dev/hdc8 6243+ 8322 2080- 1048288+ 83 Linux
###Don't change this comment - YaST2 identifier: Original name: linux###
title SuSe Linux Professional 9.1
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x317 splash=silent desktop resume=/dev/hda1 showopts
initrd (hd0,1)/boot/initrd
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
initrd (hd0,1)/boot/initrd
title Boot Windows from CD
chainloader (cdrecorder) +1
title Microsoft Windows Professional 2000
map(hd1,0)(hd1,1)
map(hd1,1)(hd1,0)
rootnoverify(hd1,1)
chainloader +1
Grub works OK for booting Linux, but what I am attempting to do is: when the grub menu comes up insert my Win 2000 bootable installtion CD and then select "Boot Windows from CD" from the grub menu then install Win 2000. Once I have installed Win 2000 I will then use "Microsoft Windows Professional 2000" which with the map commands will allow Win 2000 to boot even though it is not on the primary drive.
The problem is when the Win CD is in the CD drive and "Boot Windows from CD" selected from the grub menu I get the following grub error:
ERROR 23 - parsing error.
So i am guessing there's something wrong with chainloader (cdrecorder) +1.
syntax. Can any one help me please?
I don't think Grub can boot a CD rom this way, stuff to do with the BIOS. Which is why I talked about setting this in the BIOS and physically swapping the drives.
I should point out that the map commands your using swap the second and first partitions on the second drive. NOT the first partition on the primary drive. (hd0,0) Is the first partition on the primary drive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.