Login as root user.
edit the following file
/boot/grub/mentu.lst
you could see list of all installed OS here as follows:
Note: I have installed Ubuntu and XP in my machine
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 1d034dd4-58c3-4ae9-abc0-c1b5e4591639
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=1d034dd4-58c3-4ae9-abc0-c1b5e4591639 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid ....
kernel ....
title Ubuntu 8.10, memtest86+
uuid ....
kernel ....
title Other operating systems:
root ....
title Microsoft Windows XP Home Edition
root ....
The id start from 0.
i.e.
0 = Ubuntu 8.10, kernel 2.6.27-7-generic
1 = Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
2 = Ubuntu 8.10, memtest86+
3 = Other operating systems:
4 = Microsoft Windows XP Home Edition
The following line is taking care of which OS to boot by default
default 0
this means by default Ubuntu 8.10, kernel 2.6.27-7-generic will be booted
If we want to boot XP as default, change this line to
default 4
save the file. When you boot next time by default XP will be booted.
Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts
Thursday, June 18, 2009
Wednesday, August 20, 2008
How to change default size of terminal [Ubuntu]
You can edit the following file with root access.
/usr/share/vte/termcap/xterm
The following entry is the one we have to change.
:co#80:it#8:li#24:\
To change the number of columns, change the co# number, in this case 80.
To change the number of rows, change the li# number, in this case 24.
So as an example if you want a terminal window of 80x54:
:co#80:it#8:li#54:\
Now the terminal size would be half of the screen.
/usr/share/vte/termcap/xterm
The following entry is the one we have to change.
:co#80:it#8:li#24:\
To change the number of columns, change the co# number, in this case 80.
To change the number of rows, change the li# number, in this case 24.
So as an example if you want a terminal window of 80x54:
:co#80:it#8:li#54:\
Now the terminal size would be half of the screen.
Subscribe to:
Posts (Atom)