Ubuntu 10.4 Menu Issue
I wish to change the position that Windows 7 Recovery is appearing on the menu. At the moment it appears in position to one and I want it to appear at position two.
The menu shows:
Windows 7 (loader) (on /dev/sda1)
Windows 7 (loader) (on /dev/sda2)
Ubuntu with Linux 2.6.32-24-generic
Ubuntu with Linux 2.6.32-24-generic (recovery mode)
When I switch on I want the system to initially go in to Windows 7 but it goes into the Windows 7 recovery mode.
I have altered the position of Ubuntu by just changing the file number so that it loads later into the grub.cfg
I have looked at your answer section and tried puting the following code into 40_custom but it doesn't work.
menuentry "Windows 7" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set e2c0e27ec0e257f5
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows 7 Recovery" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set e2c0e27ec0e257f5
drivemap -s (hd0) ${root}
chainloader +1
}
It shows the following in grub.cfg:
### BEGIN /etc/grub.
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 7" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set e2c0e27ec0e257f5
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows 7 Recovery" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set e2c0e27ec0e257f5
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.
When the computer is reset the Windows entries are missing from the start menu.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Cruiser for more information if necessary.