Boot order troubles
Hello. I installed openSUSE on my pc yesterday alongside windows but am struggling to change it so windows xp is the default.
I tried editing /boot/grub/menu.lst but it would not let me into the file. It said Permission Denied. It also did this when I went in as root. Please help! |
Click terminal
Type "su", supply the root password then type Code:
kwrite /boot/grub/menu.lst |
Permission Denied means that you don't have permissions for what you are trying to do. A normal user is restricted from system files for obvious security reasons.
As mentioned above, you have to su to root to have permission to access system files. He told you how, but I thought it would help to know why as well. Also, the instructions above assume you are running KDE, but if you're running Gnome you won't have Kwrite installed. In that case the command, after su to root, would be Code:
gedit /boot/grub/menu.lst |
You may also use YaST and then click on "system" in the left panel then click on "Boot Loader" in the right panel. Now click the up or down arrows to the right side of panel and high light the one you want to open as default and then click on button near bottom right "Set as default". Click "Finish" and it should be changed the next time you boot.
|
do you have set the writable flag of file
`ls -l /boot/grub/menu.lst` `chmod 644 /boot/grub/menu.lst` |
menu.lst is meant to be configurable by the root user.
Never have to do anything to edit it once in root. |
Hi,
Quote:
I prefer from the cli as root; Code:
vi /boot/grub/menu.lst |
Quote:
|
Not to be critical of anyone but I think my explanation above is best for a newbie using Suse. I will agree that it does not help him down the road with any other grub boot distros but it gives him gui interface to make his adjustments and the YaST in the later Suse distros works.
|
Thanks for your help. I managed to fix the boot order using the kwrite command.
|
Thanks for letting us know that you solved your problem and how. As you can see there are usually two or many ways to accomplish a task in linux that will work. Some ways work easier than others for certain people.
|
From a root terminal invoking "kwrite" in KDE or "gedit" in Gnome desktop is pretty universal nowadays. One can use it almost in any Linux that has such desktop. Xfce also has its own graphic editor fired up in the same way.
I am in Solaris now and "gedit" works as expected in its Gnome environment. I fire up "vi" only when no graphic editor is available. |
Hi,
Quote:
|
My point exactly, this is supposedly a "newbie" and I was trying to make the easiest way. A newbie coming from the other "os" may find it easier if everything is graphical.
|
Hi,
Quote:
|
All times are GMT -5. The time now is 07:25 PM. |