removing a portion of the boot?

I just installed openSUSE 11.4, original Ubuntu user and left due to how heavy it became since 8.04. I love openSUSE but the only thing I want to know if I can change is when my computer boots up it goes to a screen with option from opensuse asking if I want to boot into opensuse or a floppy and I was wondering if there is a way to make it just automatically boot straight into opensuse? Thanks for any help.

Edit /boot/grub/menu.lst as root and set the timeout value to 0. It will automatically start the default entry (normally the first openSUSE kernel). Numbering of the entries starts at 0.

So please understand as a Ubuntu user not very familiar with terminal, I have done certina things in terminal like updates and run certin programs but I think I screwed this up here is what it gives me.

devon@linux-ap81:~> su
Password:
linux-ap81:/home/devon # edit/boot/grub/menu.1st
bash: edit/boot/grub/menu.1st: No such file or directory
linux-ap81:/home/devon # edit/boot/grub/menu.lst
bash: edit/boot/grub/menu.lst: No such file or directory
linux-ap81:/home/devon #

Thanks for the help, slowly but surely learning the command line.

Hi;

try the following :


kdesu kwrite

(I presume you are using KDE).

This will ask you for the root password and then start a kwrite session with root privileges.

Open the file /boot/grub/menu.lst

and make the required changes.

Save the file.

I would make a backup copy of the file first!!!

Please only change the timeout value, make no other changes in that file!

HTH

Lenwolf

I am sorry I did not mention but I am using gnome.

On 09/27/2011 07:16 PM, DMGrier wrote:
>
> So please understand as a Ubuntu user not very familiar with terminal, I
> have done certina things in terminal like updates and run certin
> programs but I think I screwed this up here is what it gives me.
>
>
> devon@linux-ap81:~> su
> Password:
> linux-ap81:/home/devon # edit/boot/grub/menu.1st
> bash: edit/boot/grub/menu.1st: No such file or directory
> linux-ap81:/home/devon # edit/boot/grub/menu.lst
> bash: edit/boot/grub/menu.lst: No such file or directory
> linux-ap81:/home/devon #
>
> Thanks for the help, slowly but surely learning the command line.
>
>

maybe you would be more comfortable in the GUI of YaST…open YAST and
go > System (on the left) > Boot Loader (on the right) and a new window
opens up…

when it does a line of text in the list should be highlighted and a
check mark in the left “Def.” (default) column…hopefully the top
line is highlighted and marked default and it does not mention
Floppy, but rather something like “Desktop–openSUSE 11.4–blah blah”

if that is NOT what you see STOP here, do a screen shot and upload
that shot to paste.opensuse.org and post the URL back to here…

if my description is what you see, then:

click on the “Boot Loader Installation” tab and a new view is shown with
two major sections “Type” and “Boot Loader Location”…in the “Type”
section, click on the “Boot Loader Options” button, and the presentation
changes to now have three major sections, with “Boot Menu” section at
the top, and a place to set “Timeout in Seconds”, i don’t know what the
default is (maybe 30 seconds) but mine is set to 4 seconds which gives
me JUST enough time to interrupt the boot cycle if i want or need to add
a boot parameter…

please-try-again recommended you set the timeout to zero, but that is
not for me…you decide and set is as you which…if you set it to zero
that boot screen might just flash up and be gone…

when it is set as you wish then press the “OK” button at the bottom right…

CAUTION: do NOT change anything else in the entire Boot Loader GUI until
you know the how and why of each change…


DD
Caveat
openSUSE®, the “German Automobiles” of operating systems

On 09/27/2011 07:46 PM, DMGrier wrote:
>
> I am sorry I did not mention but I am using gnome.


gnomesu gedit /boot/grub/menu.lst


DD
Caveat
openSUSE®, the “German Automobiles” of operating systems

Well it worked guys, I appreciate it. I left Ubuntu cause Unity drove me up a wall and I installed openSUSE and the one thing I noticed I really like is it seems to use less memory. I am still trying to learn terminal which seems to be a slow process but I don’t mind. If you guys can look at the terminal log I posted and tell me what I did wrong I would appreciate it, just for my knowledge.

There is normally no program called edit. There is an easy to use line editor installed called joe. Or you can install many others, I like nano. BTW vi is also included in default install but it is not real easy to use but is very powerful and worth learning.

Besides not using a proper editor name you have incorrect syntax. In all cases you invoke a command by the command name then a space and any optional parameters.

so using joe as an example and the menu.lst file

joe /boot/grub/menu.lst

this will start the joe editor and load the /boot/grub/menu.lst file

On 09/27/2011 07:16 PM, DMGrier wrote:
>
> devon@linux-ap81:~> su
> Password:
> linux-ap81:/home/devon # edit/boot/grub/menu.1st
> bash: edit/boot/grub/menu.1st: No such file or directory
> linux-ap81:/home/devon # edit/boot/grub/menu.lst
> bash: edit/boot/grub/menu.lst: No such file or directory
> linux-ap81:/home/devon #

you asked for an explanation of what went wrong:

first, do not use “su” instead use “su -” the reason is complicated to
explain quickly, read here:
http://tinyurl.com/ydbwssh
http://tinyurl.com/665h5ek

then edit/boot/grub/menu.1st didn’t work because there is no space

between “edit” and "/boot/grub/menu.lst

because ‘edit’ is the command, and the rest is the location and name of
the file to be edited…so the correct format would have been


edit /boot/grub/menu.lst

however!! if you had been successful the command edit would have
launched the the editor named VIM, which in my opinion is the most
devilish, confusing, horrible editor EVER invented…i never ever use it…

other folks love it…i use mc or kwrite or gedit…

so, in gnome i would have used, in a user terminal (without using “su -”):


gnomesu gedit /boot/grub/menu.lst

or


gnomesu gedit

and, then use the nav available in the gedit menu…

ps: if you don’t believe me about VIM, read my sig’s caveat and:

open a terminal
type and enter edit
then navigate to your Documents folder
open any non-root owned file
view it, but do not save it as you close it
and, then close VIM

(heh)


DD
Caveat
openSUSE®, the “German Automobiles” of operating systems

On 09/27/2011 08:26 PM, gogalthorp wrote:
>
> There is normally no program called edit.

i have one at /usr/bin/edit
i don’t remember installing it…


DD
openSUSE®, the “German Automobiles” of operating systems

edit in a default openSuSE installation is a link to the default editor, usually vim. For most users I would concur with DenverD’s suggestion to use the YaST boot loader editor. Leave the timeout at the default 8seconds at least until comfortable with the settings and using a text editor.

On Tue, 27 Sep 2011 18:46:24 +0000, DenverD wrote:

> On 09/27/2011 08:26 PM, gogalthorp wrote:
>>
>> There is normally no program called edit.
>
> i have one at /usr/bin/edit
> i don’t remember installing it…

On my system, it’s part of vim-base and is a symlink to vim itself.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2011-09-27 20:16, DMGrier wrote:
> I am still trying to learn terminal
> which seems to be a slow process but I don’t mind. If you guys can look
> at the terminal log I posted and tell me what I did wrong I would
> appreciate it, just for my knowledge.

There has to be an space between the command and the parameter.
Edit does exist, it is a symlink to vim. Not the easiest of editors. Better
to try joe or mcedit.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Thanks for everything, I am going to give it a shot and see how it goes.