| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 80212 | 2007-06-15 02:38:00 | Grub boot default | kjaada (253) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 559378 | 2007-06-15 02:38:00 | I have 3 linux os's and want to change the default. Which of my OS's do I change the grub.conf in as set out below by Jen a while ago. Or do the boot/grub folders in each Os contain the same .config so it does not matter. Re: Change Default Boot In Grub? You just need to edit the configuration file for GRUB. Open up a konsole (terminal window) and enter in: kdesu kedit /etc/grub.conf Put in your root password at the prompt. Look for the line that says default=0 The 0 indicates the first section starting with the line title is the default OS (or kernel) you wish to boot. The second section starting with the line title is selected by using a 1, the third section starting with title is selected by using a 2. So if WinXP is listed in the second section you need to change default=0 to default=1. Save your changes and close the window. When you next reboot you will see the default has changed to XP. Let us know how you get on. Jen is offline Report Post Reply With Quote Multi-Quote This Message Quick reply to this message |
kjaada (253) | ||
| 559379 | 2007-06-15 05:57:00 | Which is the primary distro? Have you looked at the various grub.conf/menu.lst files for each of the distros? If so what do they have on them? |
Myth (110) | ||
| 559380 | 2007-06-15 06:15:00 | I haven't ever had more than one Linux on a computer. Nor have I ever wanted to. :horrified Why ask here? Where's your sense of adventure? Try changing one. Then reboot. :cool: But I must confess that I'm a bit worried about what's happening here. If grub.conf is in /etc/ it is accessible only after the selected Linux version has been started. So how does grub know what to put in the menu of available OSs before it has actually loaded one? :( ;) I suppose the /etc/grub.conf might be a soft link, rather than the actual file, so editing that is actually editing grub.conf in the /boot directory which is usually accessible to the first level boot in its own partition. If this is the case, changing grub.conf in one Linux will do it for all. I hope that's it. :thumbs: |
Graham L (2) | ||
| 559381 | 2007-06-15 06:18:00 | Problem solved.The above instructions must have been for an old version of Grub. The version I have can be edited before boot.No need to look at .config etc |
kjaada (253) | ||
| 559382 | 2007-06-15 06:24:00 | I think that has always been there in grub. But there's always been a way to edit it from the running system too. Linux is a Unix, and in a multiuser Unix system booting is an infrequent occurrence. There's always been a need to make changes which will take effect on the next restart. | Graham L (2) | ||
| 559383 | 2007-06-15 08:25:00 | Grub has always been editable before bootup/kernel initialisation (well for as long as I've been using it anyway) | Myth (110) | ||
| 559384 | 2007-06-15 09:51:00 | Problem solved.The above instructions must have been for an old version of Grub. The version I have can be edited before boot.No need to look at .config etcAs mentioned, there are many different ways to skin the same cat ... |
Jen (38) | ||
| 559385 | 2007-06-15 10:52:00 | changing grub.conf in one Linux will do it for all. The file to edit in all distributions I have dealt with is /boot/grub/menu.lst. This has to be edited in the last distribution you installed since the portion of GRUB in the MBR will point to the /boot/grub folder on that system. |
johnd (85) | ||
| 559386 | 2007-06-15 22:08:00 | As mentioned, there are many different ways to skin the same cat ... Poor cat and it has only one skin too Jen ( and 9 lives) :D |
beama (111) | ||
| 1 | |||||