Flux rss

[BootLoader] System dual boot by default

Published by netty5, last update on Wednesday October 22, 2008 05:47:17 AM by netty5

[BootLoader] System dual boot by default





From your "bootloader" to change the default system load up, proceed as follow:
(note that all these procedures are run under "root")

For Lilo


Edit configuration file /etc/lilo.conf.
substitute the value of the "default" variable by the "label" of the specific system you want to load.
e.g from the following file the default system loaded will be linux :

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
default=linux
prompt
timeout=50
message=/boot/message
 
other=/dev/hda1
        label=windows
        table=/dev/hda
 
image=/boot/vmlinuz
        label=linux
        root=/dev/hda4
        append=""
        read-only


To start on Windows you just have to change the default"variable to:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
default=windows
prompt
timeout=50
message=/boot/message
 
other=/dev/hda1
        label=windows
        table=/dev/hda
 
image=/boot/vmlinuz
        label=linux
        root=/dev/hda4
        append=""
        read-only 


After saving the file configuration /etc/lilo.conf, you need to restart lilo for the changes to take place.
Type in the following command in a terminal (under root):

/sbin/lilo –v

For Grub


Edit the configuration file base upon the version used:

/boot/grub/grub.conf or /boot/grub/menu.lst.

Substitute the value of the default variable par by the number corresponding to the specific system you want to load (note that it always begins with "0" )

From the following example the system loaded will be Linux :

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz

# section to load linux
# entry 0
title Linux (2.4.18-5.47)
        root (hd0,0)
        kernel /vmlinuz-2.4.18-5.47 ro root=/dev/sda2
        initrd /initrd-2.4.18-5.47.img

# section to load Windows 2000
# entry 1
title windows
        rootnoverify (hd0,0)
        chainloader +1


To start up with Windows simply change the value of the default variable:

default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz

# section to load linux
# entry 0
title Linux (2.4.18-5.47)
        root (hd0,0)
        kernel /vmlinuz-2.4.18-5.47 ro root=/dev/sda2
        initrd /initrd-2.4.18-5.47.img

# section to load Windows 2000
# entry 1
title windows
        rootnoverify (hd0,0)
        chainloader +1


Just save your configuration. When using Grub changes are made automatically, no need to restart your system.
Dual Boot Ubuntu/Vista GRUB Error 21 Hello, Ok, I have Vista and Ubuntu dual booted, on separate hdds. I had just finished beating Crysis: Warhead, an awesome game by the way, for some reason my computer bsods. I reboot and when it restarts I get a GRUB21 error. So, since I'm sorta... en.kioskea.net/forum/affich-25667-dual-boot-ubuntu-vista-grub-error-21
Linux / Vista Dual Boot issues Hi, guys! I’m trying to learn more about using Linux. I'm using a dual boot from a HP Laptop preloaded with Vista. I use Linux more and more now but still switch to Vista, mainly for my photos and relative software and MP3. Is there a way that... en.kioskea.net/forum/affich-448-linux-vista-dual-boot-issues
Dual Boot Win98/Linux Hello, Does it matter which partition comes first when dual booting with win98 and Linux? en.kioskea.net/forum/affich-14648-dual-boot-win98-linux
Booting Windows XP in Safe ModeBooting Windows XP in Safe Mode What is Safe Mode? How to get into Safe Mode with Windows XP How to get into Safe Mode with Windows XP Home edition How to get into Safe mode by the System Configuration Utility What is Safe Mode? Safe... en.kioskea.net/faq/sujet-223-booting-windows-xp-in-safe-mode
Error Message: Disk Boot failureError Message: Disk Boot failure-insert system disk and press enter Solution 1: Ensure that your drives are empty Solution 2: BIOS set up Solution 3: New hard drive configuration Solution 4: Hard drive not properly plugged in Solution 5:... en.kioskea.net/faq/sujet-341-error-message-disk-boot-failure
Disk boot failure - Insert system disk and press EnterDisk boot failure - Insert system disk and press Enter A new hard drive was installed The hard drive is unplugged Corrupted system files Damaged disk If it happens that you are prompted by the following error message "DISK BOOT... en.kioskea.net/faq/sujet-1191-disk-boot-failure-insert-system-disk-and-press-enter
Dual bootHello, If i want to use dual boot system on my pc Windows and linux which one should i install first ?? en.kioskea.net/forum/affich-7571-dual-boot
Dual-Boot XP Vista Safe?Hi, Say I want to dual-boot vista and xp. Does anyone know if vista can still "Call Home" if I only use the Internet when booted in to xp. Thank you, Kafuka en.kioskea.net/forum/affich-36945-dual-boot-xp-vista-safe
Vista 64 Bit System dual boot w/XPHello, I want to put Windows Xp on my Vista 64 bit computer. Should I get XPpro 64bit or 32 bit? (Save driver issues?) I have a ATA drive already installed in the computer with my old XP system from another computer. I presume since the old... en.kioskea.net/forum/affich-27213-vista-64-bit-system-dual-boot-w-xp
Download Vista Boot ProVista Boot Pro is a tool allowing to make live together several Windows systems with the system Windows Vista. VistaBootPro allows so to edit Boot Configuration Dates blind (BCD) of Windows Vista, containing information on the parameters of kickoff of... en.kioskea.net/telecharger/telecharger-126-vista-boot-pro
Download GAG Graphical Boot ManagerGraphical Boot Manager is a program management software. The application is launched when your computer starts up and allows you to choose the operating system you choose to use. The main features: - The possibility of booting from nine different... en.kioskea.net/telecharger/telecharger-1752-gag-graphical-boot-manager
Download GAG Graphical Boot ManagerGraphical Boot Manager is a management programs. The application is launche when your computer starts up and allows you to choose the operational system which you would like to use. The main features : - the possibility to booter from nine... en.kioskea.net/telecharger/telecharger-1699-gag-graphical-boot-manager
Operating systems - Memory management The physical memory on a system falls into two categories: the random access memory: made up of integrated circuits, therefore very fast mass storage: made up of magnetic supports (hard drive, magnetic tapes, etc.), much slower The physical memory is... en.kioskea.net/systemes/memoire.php3
Book disk A system disk, also sometimes called a boot disk, is a disk that will allow you to start a computer when the operating system no longer responds, as the result of a virus for example. This disk contains special information that makes it possible to... en.kioskea.net/repar/boot.php3