In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to configure the installation of Ubuntu 8.04 to boot directly with XP. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
According to the old rule, do not write Grub to mbr during installation, first let Ubuntu 8.04 sleep in the system, and then configure Windows XP to boot Ubuntu. After some exploration, it is found that there should be two ways in theory:
Method 1: use XP to boot Ubuntu 8.04 directly, that is, what is configured in boot.ini is the Ubuntu boot file (sector? ), I didn't succeed in this method.
Method 2: the experiment is successful, but it can not be regarded as a real XP boot, because the essence is to use Grub. That is, XP boots Grub, and then Grub boots Ubuntu.
My boot.ini is as follows:
[boot loader] timeout=10 default=multi (0) disk (0) rdisk (0) partition (1)\ WINDOWS [operating systems] multi (0) disk (0) rdisk (0) partition (1)\ WINDOWS= "Microsoft Windows XP Professional" / noexecute=optin / fastdetect c:\ grldr=Ubuntu
Grldr is copied to the root directory of C disk when it is installed, and initrd.gz and menu.lst,menu.lst are copied together as follows:
Default 0 timeout 0 title Ubuntu kernel (hd0,6) / boot/vmlinuz-2.6.24-16-generic root=/dev/sda7 ro quiet splash initrd (hd0,6) / boot/initrd.img-2.6.24-16-generic boot title Windows XP rootnoverify (hd0,0) makeactive chainloader + 1
Among them, 9Mel 12 lines only allow Grub to reboot XP, what is really important is 4Mel 7 lines, timeout is set to 0 to skip the choice of Grub, which is tantamount to abolishing the option of rebooting to XP.
The first thing to explain is the name and location of the kernel file, the two in the / boot directory, which were later found in the system, can also use the default links: / vmlinuz and / initrd.img, which always point to the updated kernel, so that even if the kernel changes, there will be no problem.
Second, be sure to point to the correct disk partition. Here is (hd0,6) because Ubuntu 8.04 is installed behind the XP partition on my machine, and my partition is as follows:
XP primary partition (ntfs) | XP logical partition 1 | XP logical partition 2 | Ubuntu 8.04 partition.
Two of the logical partitions are in an extended partition. Without looking at the relevant documents carefully, my inference is that the primary partition is (hd0,0) and the extended partition is (hd0,1), because mbr can hold a total of four partitions, so (hd0,2) and (hd0,3) are reserved for them. The next row is (hd0,4) for logical partition 1, (hd0,5) for logical partition 2, and Ubuntu 8.04 partition is (hd0,6).
Because it is a SATA hard drive, the partition identified by Ubuntu 8.04 as / dev/sda*,* starts with 1, and the partition of natural Ubuntu 8.04 is / dev/sda7.
Thank you for reading! On "how to configure Ubuntu 8.04 installation with XP direct boot" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, you can share it out for more people to see it!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
Package mainimport ("bufio"io"fmt"io/ioutil"os/exec"net/http"os"strin"
© 2024 shulou.com SLNews company. All rights reserved.