Modify the startup sequence of grub2 in linuxdebian
Source: Internet
Author: User
When debian is installed, grub is installed as the startup management by the way. because debian is the last installed system, grub places debian in the startup preference, considering that there will be more than win7 at ordinary times, change the startup preference to win7. Start debian and directly run/boot/grub/to find menu. ls...
When debian is installed, grub is installed as the startup management by the way. because debian is the last installed system, grub places debian in the startup preference, considering that there will be more than win7 at ordinary times, change the startup preference to win7. Start debian and directly run/boot/grub/to find menu. lst, the file is not found... search found that debian 6.04 installed grub2 by default, google grub2 modified the startup sequence, and found that grub2 was installed through/etc/grub. d/directory to determine the sequence of startup items $ cd/etc/grub. d $ ls-l www.2cto.com-rwxr-xr-x 1 root 3296 2009-10-24 08:44 00_header-rwxr-xr-x 1 root 1154 2009-10-24 08:31 05_debian_theme-rwxr-xr-x 1 root root 3778 10_linux-rwxr-xr-x 1 root 772 20_memtest86 +- Rwxr-xr-x1 shawn 5467 2010-04-17 23:52 30_os-prober-rwxr-xr-x 1 root 214 40_custom-rw-r-1 root 483 README can create and change files to configure the startup sequence of gurb2. We only need to set the order of 30_os-prober to 10_linux before we can make windows options before linux. Copy 30_os-prober and rename it 09_os-prober. Remove the executable permission of 30_os-prober. Run update-grub and DONE. Author junwi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service