Breville Bb300 Breadmaker Manual
Odzykiwanie GRUB after reinstalling Windows
Odzykiwanie GRUB after reinstalling Windows
If we have two operating systems such as Debian and Windows XP (as in my case), we encounter a problem with an appropriate system after reinstallation of another (in fact it is only for reinstalling Windows, P).
I refer to overwrite the MBR
by Windows. If you use a boot manager like GRUB or LILO, for example, then you may find that after the reinstallation of Windows in general GRUB will not start.
So we have a problem - we must somehow recover the grub in the old way if we want to work on both systems.
start up from CD
First, we need to boot from the CD. This could be your installation disc operating system (Debian, Slackware, Gentoo, etc..) Or rescue disk. Rescue disk is the most minimal Linux system on a CD. I personally use is the second solution in the form of Timo's Rescue CD Set
. When you turn on your computer, go to
uiw BIOS settings, change the boot order to CDROM for example, C DISK, FLOPPY is possible to boot from the CD. However, in most current computers simply during startup press F8 and select the appropriate device from the list. Then, when you use the installation CD after booting up, hit all the required elements ALT + F2 (or CTRL + ALT + F2) to go to another console and get access to the shell. However, if
Timos Rescue CD Set
log in using the following data:
user: root password: rescue GRUB Recovery
Now we are only a few simple steps to do: First, display the partition table fdisk our device
-l
Now we are looking sign for a partition Linux installed, it may look like in two ways: SCSI eg / IDE dev/scsi/host0/bus0/target0/lun0/part1 eg / dev/hda4 . Once we identify the device, we need to mount them using the command mount
:
mkdir / mnt / mojDysk mount / dev/hda4 / mnt / mojDysk - Now we use the chroot command
to launch an interactive shell with special parent directory, eg / mnt / mojDysk will be used as / chroot / mnt / mojDysk final step is to re-install GRUB: grub-install / dev / hda or grub-install / Dev / sda
- Complete Exit from the shell, remove the disc from the CD-ROM drive and restart your computer. Now everything should work correctly.
Attention! Do not type in the command grub-install
value style
/ dev/hda1
instead of / dev / hda ! Use only the device ID. Eg If you enter the partition ID with Windows (in my case
/ dev/hda1 ), you will need to recover the MBR for windows, and once again play with the GRUB recovery.
Remember that IDs of disks, partitions, etc. to replace his own.
-
However, if by chance you manage to avoid running Windows to read the tutorial
bootsector'a and recovery in Windows MBR
0 comments:
Post a Comment