Results 1 to 6 of 6
i need some help in commands.
1.
i want to edit the menu.lst of /boot/grub/ to tell that i need to install the 2rd of the 3 OS i have. ...
- 06-02-2009 #1
command help required in emergency
i need some help in commands.
1.
i want to edit the menu.lst of /boot/grub/ to tell that i need to install the 2rd of the 3 OS i have. and how do i set the Debian 5.0 default grub that i loads to a xmp file that i have.
2.
want to install, find and remove a .deb file.
3.
my /etc/resolv.conf gets rewritten every time i reboot. what to do.There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.


- 06-02-2009 #2Linux User
- Join Date
- Feb 2006
- Posts
- 484
For 2 and 3
2.
from command line you can use aptitude or apt-get. Aptitude more sophisticated, it registers all the packages and if a package which have installed for dependency resolving purpose and getting unneeded the aptitude removes it automatically.
You can even use synaptic a graphical package manager.
and read "man aptitude"
3.
Ithink the problem isn't a problem.
If you are using dhcp ,the dhclient rewrite /etc/resolv.conf on every network setup with the actual informations which have got from the dhcp server.
- 06-04-2009 #3
no i have a static ip.
There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.


- 06-04-2009 #4
install? do you actually mean to boot? Open /boot/grub/menu.lst and change 'default' to your second OS starting from 0. For eg: If the entries in your menu.lst are as,
and you want to boot CentOS by default instead of Debian, change Default to 2.Code:1. Debian 2. Debian single user mode 3. CentOS 4. Windows
xmp? or xpm the splash image? Add splashimage entry as follows, assuming your splash image in in /boot/grub and Debian is in first partition of your harddiskCode:default 2
as suggested above. 'man aptitude' and/or 'man dpkg'Code:splashimage (hd0,0)/boot/grub/splash.xpm.gz
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
- 06-04-2009 #5
the grub is given by debian. now i nhave 3 OS.
debian, windows and rhel 5.3. so i can't change this order but i need to defaultly boot to rhgel 5.3.There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.


- 06-04-2009 #6
Thats what I have tried to explain. Boot into Debian, open /boot/grub/menu.lst for editing and edit as above. See which entry is RHEL and change the vaule of 'default' accordingly (starting with 0).
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076


Reply With Quote

