Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-20-2003, 06:17 PM   #1
LQ Newbie
Registered: Oct 2003
Distribution: Redhat 9
Posts: 3

Rep: Reputation: 0
Unhappy dual boot (rh9 winXP) host problem

I have RH9 and WinXP set up on my computer. Every so often, when I boot to linux, my host name will get set to my computer's name that I set up when I first installed windows. This screws up sendmail and who knows what else. How do I fix this so that my host doesn't change from localhost.localdomain, or how can I make linux accept my computer's name?

Old 11-20-2003, 07:32 PM   #2
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You will need to edit the /etc/sysconfig/network file by adding your hostname to the hostname line.
And you will need to edit the /etc/hosts file by appending your hostname to the loopback ( line.
Code:       localhost.localdomain   localhost hostname

Last edited by Mathieu; 11-21-2003 at 06:37 PM.
Old 11-21-2003, 08:58 AM   #3
LQ Newbie
Registered: Oct 2003
Distribution: Redhat 9
Posts: 3

Original Poster
Rep: Reputation: 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dual boot problem: winxp and rh9 both one one hard drive dinow Red Hat 6 07-26-2005 06:00 AM
vmware Slack (Host)/WinXP - dual-boot issues gearsmithy Linux - Software 0 01-28-2004 10:42 AM
RH9 and WinXP, dual boot Ulaire Smiley Linux - Newbie 3 09-27-2003 09:09 AM
WinXP/RH9 - Dual Boot? Ulaire Smiley Linux - Newbie 5 09-26-2003 01:08 PM
WinXP/RH9 Dual Boot Shademeister Linux - Newbie 7 08-08-2003 06:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration