Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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 installed mandrake and it screwed over my red hat installation and did something to my boot loader for windows which isn't good. any way to get it back?!?!
Use your Redhat installation disk and use the rescue function and re-install grub (mandrake uses lilo). Add a stanza to /boot/grub/grub.conf for mandrake.
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/hda7
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=15
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
title Windows 98
rootnoverify (hd0,0)
chainloader +1
title Red Hat Linux (2.4.18-3)
root (hd0,6)
kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/hda7 hdd=ide-scsi mem=nopentium
initrd /boot/initrd-2.4.18-3.img
title Gentoo Linux
root (hd0,4)
kernel /boot/bzImage root=/dev/hda2 mem=nopentium hdd=ide-scsi
title Mandrake Linux
kernel (hd0,7)/boot/vmlinuz root=/dev/hda8 devfs=mount quiet vga=788 mem=nopentium hdd=ide-scsi
initrd (hd0,7)/boot/initrd.img
#title DebianLinux
# root (hd0,8)
# kernel /boot
Originally posted by fancypiper Use your Redhat installation disk and use the rescue function and re-install grub (mandrake uses lilo). Add a stanza to /boot/grub/grub.conf for mandrake.
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/hda7
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=15
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
title Windows 98
rootnoverify (hd0,0)
chainloader +1
title Red Hat Linux (2.4.18-3)
root (hd0,6)
kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/hda7 hdd=ide-scsi mem=nopentium
initrd /boot/initrd-2.4.18-3.img
title Gentoo Linux
root (hd0,4)
kernel /boot/bzImage root=/dev/hda2 mem=nopentium hdd=ide-scsi
title Mandrake Linux
kernel (hd0,7)/boot/vmlinuz root=/dev/hda8 devfs=mount quiet vga=788 mem=nopentium hdd=ide-scsi
initrd (hd0,7)/boot/initrd.img
#title DebianLinux
# root (hd0,8)
# kernel /boot
fancypiper, that is nice information you gave but how does it help the user. First off it appears he might be using a Windows loader instead of Linux ? And how do you assume he is using grub ?
johan the olive,
What loader are you specifically using, Windows NT Loader, lilo or grub, etc ? If your using a Windows and Mandrake overwrote it, you can either edit your new loader to boot from your perform a fdisk /MBR to clear your MBR to reconfigure your Windows loader..
Let us know with more details so we can help out..
What Windows flavor and what Linux distribution and version are you using?
Trickykid, I posted my response based upon what happened when I installed Mandrake and how I re-installed grub (default current Redhat bootloader). The question seemed to fit what I went through, so it may help him as that process fixed mine.
My situation:
Multiboot Windows 98SE, Redhat 7.3, Gentoo and Mandrake 9.0
More information given in questions = better and more accurate answers
GIGO
Last edited by fancypiper; 02-17-2003 at 01:27 PM.
The only way I can think of is to use the windows 2000 cd. I have donw it before after installing Redhat overwrote my MBR for Win 2k. Boot up with the cd and go into the rescue console. IN the help there should be an option called fixMBR or something like that. This will reinstall the boot loader as it was when Win 2k was first installed. Hope you have a boot disk for whatever linux you want to keep.
There is probably a way to do this kind of thing with lilo or grub but I wouldn't know about that.
ha ha that's funny. im not an idiot. i didn't buy my computer i built it. it didn't run windows me right, from my last computer, cause it kept giving me blue screens of doom aka memory problems. so my dad gave it to a friend who installed 2000 and now im gonna try and get the win 2000 disks from him aka copy them for me
not sure who to follow... i want to get back to old windows boot record or remove the one installed by mandrake so that i can format the slave and not have the boot loader it installed screw over my computer so i can't use it.
Ranish Partition Manager is a freeware partitioning tool you can run on a Windows bootable floppy to partition your drive(s) and show your partitions and show any possible problems with your layout. Wipe the Windows partitions you have now and put a legal operating system on there.
If you want to run Windows 2000, I suggest you buy the license for using it and get the disk so you can fix it.
Shoplifting or stealing software is not a good idea and is against the law as well.
Last edited by fancypiper; 02-20-2003 at 10:26 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.