Re: [opensuse] total system crash

On 8/2/2011 9:39 AM, James Knott wrote:
george olson wrote:
That is exactly what happened. I used the default options when installing Windows. I think it erased the master boot record or something.

I now recall that this happened to me before, about 2 years ago, when I was trying to install a dual boot system. Windows erased the grub loader at the time, and whoever helped me get my system back had me do something in a terminal with adjusting the grub loader. It has something to do with the grub loader.

Run fdisk from a Linux CD to set the Linux partition containing /boot to be bootable. That should undo the damage Windows caused.

Ok, I fixed the boot problem. I did some research on grub and found the following as what I needed to do, and so I did it, and got my system back.

1. booted with a live linux cd
2. opened a terminal with ctrl-alt-f2
3. typed in the system login: root (no password)
4. went to the grub command system by typing the command "grub"
5. found the partition with the GRUB boot loader with the command find /boot/grub/stage1
6. the partition was noted as (hd0,1) - that is GRUB syntax for the first hard disk, 2nd partition
7. set the GRUB root device to the partition above by typing the command root (hd0,1)
8. installed GRUB on the MBR of the hard drive with the command setup (hd0)

Now I can boot again, but I still have to deal with the display problem. I will start a new thread for that.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx