Jump to content

Mandriva 2008 boot stalls at "Setting hostname..."


newguy43
 Share

Recommended Posts

Hi, I'm pretty much a newbie although I have had some success installing Mandriva 2008 in a single-disk dual-boot with WIN ME on an HP Omnibook6000 laptop. However, I recently purchased an HP Pavilion dv9723 laptop which came with:

 

1. AMD Turion 64x2 mobile processor running @ 2.0 GHz

2. 2.00Gb RAM

3. Two (2) 120Gb drives

4. NVIDIA 256Mb GeForce 7150M video

5. VISTA Home Premium 32.

 

I replaced the VISTA drive with an eqivalent clean drive on which I installed XP Home. I installed Mandriva 2008 w/64 bit support on the second drive for a dual boot system. I encountered no issues with the Mandriva installation but when I try to boot Linux from the hard drive, the boot stalls on "setting hostname localhost: ". I also installed the Mandriva Linux to a clean single-disk config but got the same result. I can find no boot option or info that seems to apply to this problem and would greatly appreciate any help or new ideas.

Link to comment
Share on other sites

Boot from a live CD (virtually any Linux liveCD) and mount your Mandriva root partition. Find the file /etc/hosts

(Or you can do the same from XP using either the ex2fs read/write driver, or Total Commander and the ex2fs/reiserfs read-only addon).

What's in there?

And, for the record, you do NOT need the x86_64 Mandriva version to install with 64-bit CPU's. Unless you have more than 4 GÎ’ of RAM the 32-bit version should work equally well and with less trouble to set up.

Oh, and welcome here!

Edited by scarecrow
Link to comment
Share on other sites

Thanks!

Using Total Commander I found 5 files:

 

/etc/hosts

127.0.0.1 localhost

 

/etc/hosts.allow

#

# hosts.allow This file describes the names of the hosts which are

# allowed to use the local INET services, as decided

 

# by the '/usr/sbin/tcpd' server.

#

 

/etc/hosts.deny

#

# hosts.deny This file describes the names of the hosts which are

# *not* allowed to use the local INET services, as decided

# by the '/usr/sbin/tcpd' server.

#

# The portmap line is redundant, but it is left to remind you that

 

# the new secure portmap uses hosts.deny and hosts.allow. In particular

# you should know that NFS uses portmap!

 

/etc/hosts.mdkgiorig

127.0.0.1 localhost

 

/etc/hosts.rpmnew

127.0.0.1 localhost

 

As it now stands, I can access these files on a read only basis.

I hope this helps!

Link to comment
Share on other sites

If your box is named "linuxbox" then add to /etc/hosts a line like

127.0.0.1 linuxbox

(replace "linuxbox" with the actual name you gave to your computer while installing)

and reboot.

Actually you can do a lot better than that, but this is a simple start, as well as a sure shot.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...