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.
I just decided to give linux another try after a few years of putting up with windows again. Suse 10 installed fine. I have 2 hard drives, the first was entirely dedicated to XP pro, and thats the way I configured it with the install. The 2nd drive is where all the SuSE stuff went. SuSE works fine,but I just tried to load up windows and I get to a screen that says:
chainloader(hd0,0)+1
It just sits there.
Your problem is that Suse has altered your MBR Master Boot Record
You can try fixing this by booting into XP from it's CD-ROM and using the recovery console to repair the MBR but you will loose Susie.
You can get more info on this from a tutorial (165kb) I wrote at:
This is my grub.conf
---------------------------------------------------
setup --stage2=/boot/grub/stage2 (hd0) (hd1,1)
setup --stage2=/boot/grub/stage2 (hd1,1) (hd1,1)
quit
---------------------------------------------------
This is my menu.lst
----------------------------------------------------------------------------
# Modified by YaST2. Last modification on Tue Mar 28 04:18:14 UTC 2006
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd1,1)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd1,1)
kernel /boot/vmlinuz root=/dev/hdf2 vga=0x31a selinux=0 apm=off acpi=off
mce=off barrier=off ide=nodma idewait=50 i8042.nomux psmouse.proto=bare irqpoll
resume=/dev/hdf1 splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd1,1)
-----------------------------------------------------------------------------
Here is fdisk of the linux partition:
linux:/boot/grub # fdisk -l /dev/hdf2
Disk /dev/hdf2: 298.9 GB, 298988928000 bytes
255 heads, 63 sectors/track, 36350 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
----------------------------------------------------------------------------
And here is a fdisk of my windows partition:
Disk /dev/hde1: 300.0 GB, 300058182144 bytes
255 heads, 63 sectors/track, 36479 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/hde1p1 ? 13578 119522 850995205 72 Unknown
Partition 1 does not end on cylinder boundary.
/dev/hde1p2 ? 45382 79243 271987362 74 Unknown
Partition 2 does not end on cylinder boundary.
/dev/hde1p3 ? 10499 10499 0 65 Novell Netware 386
Partition 3 does not end on cylinder boundary.
/dev/hde1p4 167628 167631 25817+ 0 Empty
Partition 4 does not end on cylinder boundary.
first reinstall winblows. then reinstall linux. set the mbr to dualboot using grub. let winblows clean up any partition mess. reload everything from backup. this should work.
operator
Why do i need to re-install windows? I don't really understand whats going on. SuSE seems to know that I have windows installed because if I explore that drive i can see all my old files.
The error message is something like this:
Initializing gfx code
Static Memory...(random mem codes)
malloc 0 (random mem codes)
malloc 1 (random mem codes)
malloc 2 (random mem codes)
malloc 3 (random mem codes)
First - you do NOT need to reinstall windows. That said, if you need to use windows before someone is able to help you fix the problem, you can reinstall the mbr by using the windows cd. You do not need to reinstall the os, just the bootloader.
After you do this, you will not be able to boot into Suse. To do that you will need to reinstall the Suse bootloader (grub). To be completely honest, I have not been successful everytime with my reinstallations of grub - that is likely due to the fact that I seldom need to, and I do not remember the exact process. I think you can actually do that using the Suse cd. Whenever you do, double check all settings.
Sorry for not being more helpful - I have been where you are and remember the frustration. I have since been able to go completely Windows free on my personal PC.
Hi Halfstep
The link I showed in my previous post includes in the rar file 2 small free programs (MBRWIZ.exe and Bootpart.exe). there is also a pdf file detailind how to multi boot a number of systems on one computer. On my primary puter I boot into W98, XPpro-1 on one drive and XPpro-2 on another (just for fun). I also have Linux Xandros, Mepis, Fedora C4 & Debian Sarge on this computer. All programs are blisfully unaware of each other, all this is done via the Boot.ini file of windows using bootpart.
There is technically no limit to the number of OS & versions/distros you can boot into apart from disk space limitations.
That is why I suggested you reinstall Windows to reset the MBR then you can install as many Linux distros as you wish. MBRWIZ is a small program that allows you to backup/copy/reset the MBR. That way you don't have to reinstall anything if u stuff up & lilo or grub manage to alter the MBR
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.