T
Frank Edwards wrote:
On Friday 16 December 2005 1:00 pm, Lovell Mcilwain
<[EMAIL PROTECTED]> wrote:
I will try this when I get home since my linux machine is not in front
of me at the moment. When I run fdisk -l I get the following output:
Device Boot Start End Blocks Id System
/dev/hda1 2 3569 28659960 f W95 Ext'd
(LBA)
/dev/hda2 3570 3700 1052257+ 82 Linux swap /
Solaris
/dev/hda3 * 3701 7295 28876837+ 83 Linux
/dev/hda5 2 3569 28659928+ 7 HPFS/NTFS
I did install windows first since I can't get past the problem of grub
being erased or not functioning if I install windows after linux. If
I could ever get that to work I would have simply just reinstalled it
since I don't use windows that much.
If you install Windows after Linux and lose the ability to boot Linux,
try this:
boot from the original install media with the "rescue" option (most of
the time you can simply type "rescue" at the "boot:" prompt),
follow the prompts to "repair" your system until the filesystems are
mounted,
switch to console #2 (ALT-F2) and execute "mount" and/or "df" to find
out which partitions are mounted and where,
use the "chroot" command and specify the mount point of the root
filesystem on the hard drive (such as "chroot /mnt"),
make sure you have access to the boot partition by mounting it (if
you're installation did not include a separate partition for boot, this
command will produce an error -- just ignore it): "mount /boot"
and last, re-install GRUB with the command
"grub-install /dev/hda" (change the disk to correspond with the drive
where GRUB should be installed -- this example uses the Master Boot
Record -- or choose a partition, in which case the partition must be
made "active" under DOS/Windoze in order to load GRUB).
You can now unmount /boot (if necessary), and "exit" the chroot command.
Then reboot your system -- CTRL-ALT-DEL is probably easiest -- and GRUB
should regain control.
This sounds extremly heavy. I will have to find a way to save all of
my stuff before doing this obviously. Is it possible that I can try
just doing all of this before re-installing windows to see if that
solves the problem?
My assumption from what your telling me and what my output is, is that
my grub entry is correct since it has (hd0,4). If that is the case can
you tell me what my other options are? I don't mind wiping my windows
partition but my linux partition (as it should be) is my most
important
so having to rebuild that just to reinstall windows wouldn't be worth
it :)
Your GRUB entry looks fine. I'd bet that one of the Windoze files are
missing, such as NTLDR or similar.
If that is the case then is should be able to simply run windows repair
and see if it replaces that file to make a bootable partition.
Good luck.
Im expecting when I do any of this, my system will blow up for one
reason or another so once again I will try to copy as much of my
configurations as possible so that I don't loose much time. I guess
that will be my Sunday project.
|
_______________________________________________
LinuxR3000 mailing list
[email protected]
http://lists.pcxperience.com/cgi-bin/mailman/listinfo/linuxr3000
Wiki at http://prinsig.se/weekee/