PDA

View Full Version : How to adjust grub loader?


aigle
October 23rd, 2007, 01:56 AM
Recently I started dual booting XP with Ubuntu.

On boot up GRUB gives option to boot into XP or Ubuntu with default boot into Ubuntu. How can I adjust grub loader to boot into XP by default, also how to adjust the time delay before loading the default OS.

Thanks

clambermatic
October 23rd, 2007, 02:08 AM
Hmm.... adjusting bootup "time" in grubLoaders, click & READ this~ http://doxfer.com/Webmin/GRUBBootLoader

ohh.... and scroll down to that page's "Editing Global GRUB Options" for the time-delay you are interested on.


:) Hava Nice Penguin Waddle

----------------------------------------
EDITE: missed para

Mrkvonic
October 23rd, 2007, 05:23 AM
Hello,

You might be interested in this:
http://www.dedoimedo.com/computers/grub.html

Plus, how to edit the asked for:

1. Backup grub, cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
2. Open the file as su or sudo --> gedit/kate/nano/vi /boot/grub/menu.lst
3. You will see two lines:
default Y
timeout X

Usually, it will be default 0 - booting the first listed entry
timeout 8-10 sec

In your menu, you will probably have linux, linux failsafe mode, windows etc.
Locate the entry for Windows, if it's third, then change:

default 0 to default 2

Or if it's seventh, for example, then change:

default 0 to default 6

And adjust timeout to what you need (20 sec = timeout 20).

Save, reboot and watch the magic.

Enjoy,
Mrk

aigle
October 23rd, 2007, 05:26 AM
Thanks Mrk and clambermatic!

I will try and report back later.

aigle
October 23rd, 2007, 08:47 AM
This is what I get. Sorry as I have no idea what to do?

Mrkvonic
October 23rd, 2007, 08:52 AM
Hello,

You need to use one of the text editors.... depending on your distro.

sudo kate /boot/grub/menu.lst
or
sudo gedit /boot/grub/menu.lst
or
sudo nano /boot/grub/menu.lst
or
sudo vi /boot/grub/menu.lst

Vi is universal, kate for KDE, gedit for Gnome, nano for Xcfe ....

Cheers,
Mrk

aigle
October 23rd, 2007, 09:25 AM
Thanks. I did it. Was easy to do. Very nice!

Mrkvonic
October 23rd, 2007, 10:11 AM
Hello,

So you have your Windows booting, time adjusted? Good.

And now, you can call yourself a geek, because you have edited no less than the boot configuration file ...

That's the whole of Linux, simple and beautiful, modular, using files and nice little commands.

Cheers,
Mrk

aigle
October 23rd, 2007, 10:18 AM
Thanks for ur help. Can,t do it without ur help. Please I need ur help in two more thing if u have time.

1- I don,t like the font that appears in my browser( Opera, FF) while surfing in ubuntu( default settings). Windows font is a bit bigger, more nice and good looking. What I should do? Wilbertnl tried to help me but I am not sure whether I should change system font or just browser font?

2- If possible can you have a look on my thread about Antivir on Ubuntu?

http://www.wilderssecurity.com/showthread.php?t=189085

Thanks a lot

wilbertnl
October 23rd, 2007, 11:12 AM
Aigle, Here is some extended information with regards to fonts on linux:

Using Sharp Fonts On A GNOME Desktop (http://www.howtoforge.com/sharp_fonts_gnome_p2)
Configuring fonts in Ubuntu (http://www.warrenguy.com/docs/ubuntu-linux/configuring-fonts.html)
Improved subpixel font rendering for Feisty (http://linuxinside.blogspot.com/2007/05/improved-subpixel-font-rendering-for.html)
Smooth out your fonts in Ubuntu (http://lifehacker.com/software/linux-tip/smooth-out-your-fonts-in-ubuntu-280462.php)
opensuse 10.2 font ugliness (http://joeshaw.org/2007/01/05/448)
Optimal Use of MS TrueType Core Fonts for a KDE Desktop on SuSE (http://en.opensuse.org/Optimal_Use_of_MS_TrueType_Core_Fonts_for_a_KDE_Desktop_on_SuSE)
Liberation fonts (https://www.redhat.com/promo/fonts/)

I know that this seems overwhelming, but it gives you helpful background information for MrkVonic's comprehensive documentation that made him famous.

aigle
October 23rd, 2007, 11:49 AM
Thanks Wilbertnl. This font issue seems a big turn off for mu aesthetic sense.
that sure is a lot of info to read. I will read about font gradually and will see what I can do to make it pleasant.

Mrkvonic
October 23rd, 2007, 03:51 PM
Hello,
wilbert, thanks for the compliments.
But I'm not famous ...
Mrk

aigle
October 24th, 2007, 11:27 AM
This is what I want infact!

The picture I took is not so clear. Actually in linux font word seem a bit smaller in height( not sure if they are actualy so or appear so due to be bold) and crowded. I want to see them a bit taller and less crowded( as they appear in IE7).

That,s all about the font issue ATM.