Some time ago, in order to back up some huge historical data, I had to kill the Ubuntu9.10 partition. Finally, we waited for 4.30 and couldn't wait to download Ubuntu10.04. We started installation on May 1. The partition is completely for fun. Let's take a look at the changes to activate the ext4 partition as the boot partition. After the installation, the effect is the same as expected. The system uses grub2 boot, you can use the Windows console to repair mbr and cannot destroy grub. When you are preparing to restore the Master Boot area, there is a slight flaw. Side and old
Some time ago, in order to back up some huge historical data, we had to kill the Ubuntu 9.10 partition.
Finally, we waited for 4.30 and couldn't wait to download Ubuntu10.04. We started installation on May 1.
The partition is completely for fun. Let's take a look at the changes to activate the ext4 partition as the boot partition. After the installation, the effect is the same as expected. The system uses grub2 boot, you can use the Windows console to repair mbr and cannot destroy grub.
When you are preparing to restore the Master Boot area, there is a slight flaw. While chatting with my wife, I casually clicked on the Windows Disk Manager and shook my hand. I clicked the menu item for activating drive C, and I lost drive E and drive F in the extended partition. The two disks contain a total of hundreds of GB of data, and my work files are all in it. As a result, I quickly fixed the partition table and finally restored it.
I used to like to use XOSL to guide multiple operating systems, but later I found that after XOSL is installed, windows on the same hard disk will not be able to log on. So this time we use NTLoader to guide Ubuntu.
Install Ubuntu 10.04 on/dev/sda3 and start to use WinHex to extract the Boot Sector. unexpectedly, the old installed version cannot identify the ext4 partition and is too lazy to update WinHex, so l got a grub4dos, put grldr under C: \, and then wrote a menu. lst
Default 0
Title Ubuntu10.04, kernel 2.6.32-21-generic
Root (hd0, 2)
Kernel/vmlinuz-2.6.32-21-generic root =/dev/sda3 ro quiet splash
Initrd/initrd. img-2.6.32-21-generic
Since grub4dos is used many times, it is easier to extract the boot sector using the dd command after Ubuntu is started.
Dd if =/dev/sda3 of =/media/win_c/ubuntu1004.bin bs = 512 count = 1
Then modify boot. ini and add:
C: \ ubuntu1004.bin = "Ubuntu"
In this way, when you try Winodws again, you don't have to worry about destroying Ubuntu boot.
By the way, since ubuntu switched to grub2, grub. in cfg, set root = is always different from what I understand. For example, if I am sda3, set root should be (hd0, 2 ), however, after the system is installed, it is always written as (hd0, 3). However, when I use 9.10 to fix grub, the specified boot partition always needs to be moved up. I don't know whether the writing method is changed or grub2 paste. Uuid is used, right?
By the way, most of the UI designers of this version are Apple fans, and they are also confused with purple! The little cross that closed the window slipped to the seek, which made my mouse always empty.
I am not busy playing the page. I am doing my work and configuring rsync first. It is easier to import data later.