How to set the boot order for dual systems (Windows and Linux), my/boot/grub/menu.lst contents are as follows: __linux

Source: Internet
Author: User
Tags xen hypervisor

Default=1

Timeout=5

Hiddenmenu

Title Windows XP

Root (hd0, 0)

Chainloader +1

Title Ubuntu 9.10

Root (hd1, 1)

Kernel/boot/vmlinuz-2.6.31-15-generic ro root=/dev/sdb1

### BEGIN automagic Kernels LIST

# # lines between the automagic kernels LIST markers would be modified

# # By the Debian Update-grub script except for the default options below

# # do not uncomment THEM, Just edit THEM to your needs

# # # # # Start Default Options # #

# # Default Kernel options

# # Default kernel options for automagic boot options

# # IF you want special options for specific kernels use kopt_x_y_z

# # where x.y.z is kernel version. Minor versions can be omitted.

# # e.g. KOPT=ROOT=/DEV/HDA1 ro

# # KOPT_2_6_8=ROOT=/DEV/HDC1 RO

# # KOPT_2_6_8_2_686=ROOT=/DEV/HDC2 RO

# kopt=root=uuid=d5d2551b-7b67-4cc3-bb0d-e967c1a4f959 RO

# # Default GRUB root device

# # e.g. groot= (hd0,0)

# groot=d5d2551b-7b67-4cc3-bb0d-e967c1a4f959

# # should update-grub create alternative automagic boot options

# # e.g. alternative=true

# # Alternative=false

# Alternative=true

# # should Update-grub lock alternative automagic boot options

# # e.g. lockalternative=true

# # Lockalternative=false

# Lockalternative=false

# # Additional options to use with the default boot option, but not with the

# # Alternatives

# # e.g. defoptions=vga=791 Resume=/dev/hda5

# Defoptions=quiet Splash

# # should update-grub lock old automagic boot options

# # e.g. Lockold=false

# # Lockold=true

# Lockold=false

# # Xen hypervisor options to use with the default Xen boot option

# xenhopt=

# # Xen Linux kernel options to use with the default Xen boot option

# xenkopt=console=tty0

# # altoption Boot targets option

# # Multiple altoptions lines are allowed

# # e.g. altoptions= (extra menu suffix) extra boot options

# # altoptions= (recovery) Single

# altoptions= (recovery mode) Single

# # Controls how many kernels should being put into the menu.lst

# # only counts the ' a ' occurence a kernel, not the

# # Alternative kernel options

# # e.g. Howmany=all

# # Howmany=7

# Howmany=all

# # Specify if running in Xen domu or have grub detect automatically

# # Update-grub'll ignore Non-xen kernels when running in Domu and vice

# # e.g. Indomu=detect

# # Indomu=true

# # Indomu=false

# Indomu=detect

# # should update-grub create memtest86 boot option

# # e.g. memtest86=true

# # Memtest86=false

# Memtest86=true

# # should Update-grub adjust the value of the default booted system

# # can be true or false

# Updatedefaultentry=false

# # should update-grub add Savedefault to the default options

# # can be true or false

# Savedefault=false

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.