- This topic has 4 replies, 2 voices, and was last updated Jan 23-11:15 am by Leentje.
-
AuthorPosts
-
January 23, 2018 at 10:26 am #5711Member
Leentje
Good day, goeie middag,
I cannot open grub/menu.lst by using the Terminal, but I found this film on internet: antiX 13-edit boot loader.I can open the list by controle center>system> (bewerk)/change config systems
I’d like to change the boot sequence (opstartvolgorde) in Grub from antiX (linux) first to Windows first.
Windows is on sda/dev 1, Linux on sda5.In the screen Linux is 1st now, Windows 2nd.
What do I have to change/do?
timeout 10
color cyan/blue white/blue
foreground ffffff
background 0639a1gfxmenu /boot/grub/message
root=(hd0,1)
title antiX at sda5, kernel 3.5.0-antix.2-486-smp
kernel /boot/vmlinuz-3.5.0-antix.2-486-smp root=/dev/sda5 nomce quiet nosplash nouveau.modeset=0 vga=791
initrd /boot/initrd.img-3.5.0-antix.2-486-smp
boottitle Microsoft Windows XP Home Edition at sda1
rootnoverify (hd0,0)
chainloader +1### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will 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=1ce7e668-eff2-416c-87d1-c598607595c6 ro
# kopt_2_6=root=UUID=1ce7e668-eff2-416c-87d1-c598607595c6 ro nosplash quiet## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)## 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=## 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=(single-user) single
# altoptions=(init-3) 3## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all## 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## ## End Default Options ##
title Debian GNU/Linux, kernel 3.5.0-antix.2-486-smp
root (hd0,4)
kernel /boot/vmlinuz-3.5.0-antix.2-486-smp root=UUID=1ce7e668-eff2-416c-87d1-c598607595c6 ro
initrd /boot/initrd.img-3.5.0-antix.2-486-smptitle Debian GNU/Linux, kernel 3.5.0-antix.2-486-smp (init-3)
root (hd0,4)
kernel /boot/vmlinuz-3.5.0-antix.2-486-smp root=UUID=1ce7e668-eff2-416c-87d1-c598607595c6 ro 3
initrd /boot/initrd.img-3.5.0-antix.2-486-smptitle Debian GNU/Linux, kernel memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin### END DEBIAN AUTOMAGIC KERNELS LIST
January 23, 2018 at 10:39 am #5712Forum Admin
anticapitalista
::How about just puting the Windows section above the antiX one
timeout 10
color cyan/blue white/blue
foreground ffffff
background 0639a1gfxmenu /boot/grub/message
root=(hd0,1)
title Microsoft Windows XP Home Edition at sda1
rootnoverify (hd0,0)
chainloader +1title antiX at sda5, kernel 3.5.0-antix.2-486-smp
kernel /boot/vmlinuz-3.5.0-antix.2-486-smp root=/dev/sda5 nomce quiet nosplash nouveau.modeset=0 vga=791
initrd /boot/initrd.img-3.5.0-antix.2-486-smp
bootPhilosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
January 23, 2018 at 10:47 am #5713MemberLeentje
::Can I do this?
menuentry ‘Windows 7′ {
set root='(hd0,msdos2)’
chainloader +1
}http://technologytales.com/2010/11/21/manually-adding-an-entry-for-windows-7-to-an-ubuntu-grub2-menu/
https://askubuntu.com/questions/564496/trying-to-dual-boot-ubuntu-14-10-with-windows-10-last-one-not-detectedJanuary 23, 2018 at 10:54 am #5714Forum Admin
anticapitalista
::If you are using an old version of antiX (12) then you have to use legacy-grub code in your initial post not code used for grub2
BTW Make sure you keep a copy of the original menu.lst just in case …
- This reply was modified 5 years, 3 months ago by anticapitalista.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
January 23, 2018 at 11:15 am #5716MemberLeentje
::@anticapitalista: I missed Your first post. And it worked. The problem is solved. Thank you.
-
AuthorPosts
- You must be logged in to reply to this topic.