Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 was dual-booting red hat 9 and win98 when i decided to upgrade to xp pro. I did so, and lost grub. My linux boot disk is corrupt, so i cant use it. I tried booting from the red hat install cd, but it refuses to update the boot loader because "no kernal changes have been made." The partitions still exist because i can see that windows didnt swallow up the entire disk. it stayed in its original partition. I d/l a freeware bootloader that would config in windows. it recognized the linux partitions, but couldnt manage to boot them.
I really want to get back to the penguin. Any help is greatly appreciated.
do you have a copy of knoppix ?
why not boot windows, use the DOS tools on the linux install disk to make a new boot floppy, boot that, and re-install grub.
windowsXP sucks hard.
when i installed it, my system was as follows
Primary Master = blank ntfs ready for windows install
Primary Slave = fully working linux install
the windowsXP insisted it needed to make a dos partiton on my linux drive to install XP,
after un-plugging linux hard disk, xp was happy to install.
I had the same problem, though with debian and lilo.
I booted with the install-cd, and switched to console. There you can mount your old linux partition (if the installer hasn't done so far) and use chroot /mnt/hda1 - or where ever your old linux is mounted.
Now you have access to all your installed tools, kernel and bootloader config files.
So I could just run lilo to install my old bootloader again, using my custom kernel and bootloader configuration as found on my linux partition.
__
Rud
- Boot from your RedHat CD.
- Type: linux rescue
- Then you will get three choices, choose: Continue ( If Linux fails to mount a partition, it will notify you. )
- At the command line, type: chroot /mnt/sysimage
- Then type: /usr/sbin/grub-install /dev/hda
Once done, boot from the floppy, login as root (password by default is xxxx).
Do the following:
Code:
cd /
mkdir /linux
fdisk -l
mount /dev/hdaX /linux
cd /linux/usr/sbin
grub-install /dev/hda
Since I don't know your partition setup, you will have to change the X with the correct number associated with the root partition.
Take a closer look at the output from fdisk, this will give you more info on your partition setup.
you might also get ahold of a live cd like knoppix and boot from that. it should auto-mount your partitions, but even if it doesn't you can follow the steps mathieu gave.
Well, after much formatting and reinstallation, i thought i had it all worked out. I had XP contained and installed first, and space open for Fedora Core to install in. Linux works perfectly. My boot loader is grub. If i select choose to boot XP, i get
Code:
rootnoverify (hd0,0)
chainloader +1
nothing further. windows is the first partition on the disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.