ok job done. I post the way I did it.
Changing boot order on Debian
if you already have windows running on your computer and during Debian's installation you have chosen grub to boot, you're likely to get the following order to boot:
-debian
-windows
Your might be interested on changing this order, and make windows first boot, and also expand the time it takes to boot. By default is 5sec.
Make this steps:
1-Cd / boot/grub
dir
default fat_stage1_5 menu.lstitle Debian GNU/Linux, kernel 2.6.26-1-amd64
root (hd1,1)
kernel /boot/vmlinuz-2.6.26-1-amd64 root=/dev/sdb2 ro quiet
initrd /boot/initrd.img-2.6.26-1-amd64
title Debian GNU/Linux, kernel 2.6.26-1-amd64 (single-user mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.26-1-amd64 root=/dev/sdb2 ro single
initrd /boot/initrd.img-2.6.26-1-amd64
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root t~ stage1
device.map jfs_stage1_5 minix_stage1_5 stage2
e2fs_stage1_5 menu.lst reiserfs_stage1_5 xfs_stage1_5
2- make a copy of menu.lst to your home directory or mkdir whaterver you want
cp /boot/grub/menu.lst /home/your own directory
3- edit file
4-gedit /boot/grub/menu.lst
or
vi menu.lst
5-set a timeout in SECs
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5 ( default )
change it for 10 secs
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
6- You will find at the bottom by default the boot order:
title Debian GNU/Linux, kernel 2.6.26-1-amd64
root (hd1,1)
kernel /boot/vmlinuz-2.6.26-1-amd64 root=/dev/sdb2 ro quiet
initrd /boot/initrd.img-2.6.26-1-amd64
title Debian GNU/Linux, kernel 2.6.26-1-amd64 (single-user mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.26-1-amd64 root=/dev/sdb2 ro single
initrd /boot/initrd.img-2.6.26-1-amd64
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
7-put the last windows'portion first
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
title Debian GNU/Linux, kernel 2.6.26-1-amd64
root (hd1,1)
kernel /boot/vmlinuz-2.6.26-1-amd64 root=/dev/sdb2 ro quiet
initrd /boot/initrd.img-2.6.26-1-amd64
title Debian GNU/Linux, kernel 2.6.26-1-amd64 (single-user mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.26-1-amd64 root=/dev/sdb2 ro single
initrd /boot/initrd.img-2.6.26-1-amd64
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
8-save or replace your “menu.lst” file on /boot/grub
9-reboot and see changes
I hope this works for everybody
pc caf