LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-17-2003, 10:12 AM   #1
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Rep: Reputation: 15
HELP! Boot Record Gone?


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?!?!
 
Old 02-17-2003, 10:29 AM   #2
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
What version of windows?
 
Old 02-17-2003, 10:37 AM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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
Installing a bootloader

# Redhat links
Red Hat Linux Manuals
Maximum RPM
rpmfind
Easier software management: APT-RPM - Red Carpet

# Redhat 8.0 configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86

Last edited by fancypiper; 02-17-2003 at 10:43 AM.
 
Old 02-17-2003, 11:48 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
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
Installing a bootloader

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..
 
Old 02-17-2003, 11:59 AM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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.
 
Old 02-17-2003, 09:01 PM   #6
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Original Poster
Rep: Reputation: 15
well mandrake installed something. not sure what it is. it's graphical though. im running win 2000. what else is their?
 
Old 02-18-2003, 12:46 AM   #7
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
What bootloader were you using before you installed Mandrake? Mandrake installs lilo, FYI.

Were you using grub or the Windows 2000 loader? I have read something about a Windows 2000 rescue console or something like that.

If you were using grub, my first post will solve that.

It's becoming harder to pull information from posters lately......

# Mandrake links
Mandrake home page
Mandrake Users website
Easy software management: Red Carpet
Maximum RPM
rpmfind

# Redhat links
Red Hat Linux Manuals
Maximum RPM
rpmfind
Easier software management: APT-RPM - Red Carpet

# Redhat 8.0 configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86

Quote:
what else is their?
Windows flavors started with Windows 3.0 (I think), then Windows 95, 98, NT, 2000, XP etc.

Last edited by fancypiper; 02-18-2003 at 12:53 AM.
 
Old 02-18-2003, 02:47 AM   #8
ChaoticBob
LQ Newbie
 
Registered: Feb 2003
Posts: 1

Rep: Reputation: 0
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.
 
Old 02-18-2003, 12:30 PM   #9
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Original Poster
Rep: Reputation: 15
before any linux, whatever windows installs. with redhat, grub. not sure with mandrake. it installed one itself

probably my biggest problem: no win 2000 disks. had some 98 not sure where....
 
Old 02-18-2003, 12:43 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Your Windows 2000 install disk is probably labeled something like rescue disk if it is like what came with my friend's Dell computer.
 
Old 02-20-2003, 11:04 AM   #11
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Original Poster
Rep: Reputation: 15
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
 
Old 02-20-2003, 11:31 AM   #12
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
vi /etc/lilo.conf
And add an entry for windows:

other=/dev/hd$1
label=windows
table=/dev/hd$


Of course replace the dollar signs with the actual drive letter. After that rerun /sbin/lilo.



Grub is an abomination. Ive had two filesystems toasted by it. Use lilo, simpler fewer headaches.
 
Old 02-20-2003, 12:31 PM   #13
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Original Poster
Rep: Reputation: 15
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.
 
Old 02-20-2003, 09:59 PM   #14
johan the olive
Member
 
Registered: Feb 2003
Posts: 98

Original Poster
Rep: Reputation: 15
i want to wipe the slave, install mandrake and end the problems. how do i go about this with this boot record ordeal? thx
 
Old 02-20-2003, 10:21 PM   #15
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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.
 
  


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 boot Linspire & Win XP - new master boot record? jimbo5454 Linux - Newbie 5 07-23-2006 12:06 AM
help restoring boot record (dual boot) lukegt Linux - Newbie 3 01-15-2005 06:24 PM
cloning both partitions, dual boot system, master boot record, logical volume manager saranga2000 Linux - Hardware 3 01-10-2005 11:04 AM
My boot record is gone! mvendramini Linux - Software 3 07-30-2003 06:46 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:58 AM.

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