Auto Booting into SuSE - PLZ READ =]

So i have just made the switch to SuSE 11.1 from Windows Media Center Edition, and I LOVE IT.

It will take some time to get used to it because I’ve been a windows user all my life. But i am willing to learn.

My issue:

My computer has a default recovery partition that was shipped with the computer by HP, I would like to leave that intact however, when i start the computer i get the annoying “choose OS” screen. On it i see my defaulted SuSE install along with a Linux “Failsafe” and of course, my old recovery partition.

Is there a way to set the boot loader to automatically boot into linux without going to the choose the OS screen? I just don’t want to have to see the Grub interface everytime the computer starts =]

I don’t need this screen because I can push F10 at any time when my computer first starts to access the old HP recovery system.

I LOVE LINUX!

thanks in advance

I should imagine making a backup


sudo cp /boot/grub/menu.lst /boot/grub/menu.bak

Then editing /boot/grub/menu.lst with your favourite editor eg

in Gnome


gnomesu gedit /boot/grub/menu.lst

in KDE


kdesu kwrite /boot/grub/menu.lst

And changing timeout to 1 would do it. That gives you a chance to get to failsafe if you need it.

P.S. Try searching. It works wonders. :wink:

Just set the timeout before it boots the default entry in the GRUB configuration. You could set 0 timeout, but perhaps it would be better to have 1 or 2 second timeout so that you have a chance to choose failsafe in emergency; it won’t slow you down much.

THANKS GUYS! U ROCK!

loving all of this =];);):wink:

md04cm wrote:
> So i have just made the switch to SuSE 11.1 from Windows Media Center
> Edition, and I LOVE IT.
>
> It will take some time to get used to it because I’ve been a windows
> user all my life. But i am willing to learn.
>
> My issue:
>
> My computer has a default recovery partition that was shipped with the
> computer by HP, I would like to leave that intact however, when i start
> the computer i get the annoying “choose OS” screen. On it i see my
> defaulted SuSE install along with a Linux “Failsafe” and of course, my
> old recovery partition.
>
> Is there a way to set the boot loader to automatically boot into linux
> without going to the choose the OS screen? I just don’t want to have to
> see the Grub interface everytime the computer starts =]
>
> I don’t need this screen because I can push F10 at any time when my
> computer first starts to access the old HP recovery system.

You really do want to have that screen come up - what if you mess up something
as most noobs do and you need to get at the failsafe kernel, or your graphics
driver won’t load and you need to get at the command-line boot to fix it?

What you can do is get rid of the Windows entry in the boot screen. In addition,
you can cut the time it takes.

First of all, you need to make a backup of the GRUB menu (just in case), then
modify it.


sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_save
sudo kate /boot/grub/menu.lst

A note - if this is the first time you have used “sudo”, you will get a lecture
on the responsible use of the command. As sudo instructs the system to do the
next operation as root, aka the super user, a typo when using this command can
destroy your system! You have been warned.

Once the file is opened in the editor, find the “timeout” line. The number after
it is the number of seconds to delay before the default selection is started.
You could make this zero and GRUB would not pause, but I recommend against this
for the reasons noted above. If it is 1, it can be difficult to interrupt to
select other than the default boot option. Putting 2 here should be a good option.

To remove the Windows option, delete the entire paragraph that contains that
entry. It is probably the 3rd such paragraph, will start with a comment line and
end with a “chainloader +1” statement.

Larry