SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am wondering if there is a way to set default boot parameters for SUSE Linux 10.0 in GRUB. So that way I won't have to type out my boot parameters each time I want to boot.
You can set the GRUB parameters using the control panel in SUSE. This will allow you to use a graphical interface whre you can set the default boot option and other options.
EDIT: Actually it is the Control Centre (not panel) and it is the YaST one you want I think, not the KDE one. Confused?
If you learn to edit /boot/grub/menu.lst you can survive in any Linux that uses Grub.
Yast is Suse-only and the majority of other distros has no graphic interface to modify Grub.
To me the magic of Linux is to be able to boot every PC system manually by just a Grub prompt. The manual instructions needed, for any Dos, Windows, Linux, BSD and Solaris, are those to be used in /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sat Dec 10 19:57:41 EST 2005
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd1,0)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hdb1 vga=0x31a selinux=0 resume=/dev/hdb2 splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0 - customKernel
root (hd1,0)
kernel /boot/customLinux root=/dev/hdb1 vga=0x31a selinux=0 resume=/dev/hdb2 splash=silent showopts
initrd /boot/customInitrd
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
chainloader (fd0)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hdb1 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd
Now, let's review some key elements step by step (for one configuration) - I will comment each line
Code:
#This line defines the colors used in the grub menu/splash screen
color white/blue black/light-gray
#This tells Grub to make the FIRST (counting from zero) configuration to be the default selection for unattended booting
default 0
#This tells Grub how long to wait for user intervention before automagically selecting the default boot configuration
timeout 8
#This tells Grub what to say on the screen - extra text, if you will.
gfxmenu (hd1,0)/boot/message
#This tells Grub what the display name of the configuration is, from the user's perspective
title SUSE LINUX 10.0
#This tells Grub where the root partition is for this configuration
root (hd1,0)
#This specifies which kernel to use, tells the kernel where root is, and passes on additional kernel options. This is where you want to specify all of your kernel arguments
kernel /boot/vmlinuz root=/dev/hdb1 vga=0x31a selinux=0 resume=/dev/hdb2 splash=silent showopts
#And, if you use initrd, this is where it is specified
initrd /boot/initrd
If you learn to edit /boot/grub/menu.lst you can survive in any Linux that uses Grub.
Yast is Suse-only and the majority of other distros has no graphic interface to modify Grub.
To me the magic of Linux is to be able to boot every PC system manually by just a Grub prompt. The manual instructions needed, for any Dos, Windows, Linux, BSD and Solaris, are those to be used in /boot/grub/menu.lst
You make a very good point, if I had started with the luxury of a GUI for Grub then having to do it manually in the likes of Ubuntu would have come as quite a shock.
However, the reality is that most people do not want to get their hands dirty with command lines and text editors. They want an operating system that is easy to use and allows them to use their PC. I think SUSE 10 is aimed at a whole new generation of Linux users who can use it and never even open a terminal window.
Most PC users are not going to be constantly installing and uninstalling different distros (unlike me who has tried three in the past week)so they will only ever want to edit their Grub menu once. So if there is an easy way to do it then use that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.