newguy43 Posted March 12, 2008 Report Share Posted March 12, 2008 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. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 12, 2008 Report Share Posted March 12, 2008 (edited) 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 March 12, 2008 by scarecrow Quote Link to comment Share on other sites More sharing options...
newguy43 Posted March 12, 2008 Author Report Share Posted March 12, 2008 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! Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 12, 2008 Report Share Posted March 12, 2008 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. Quote Link to comment Share on other sites More sharing options...
newguy43 Posted March 12, 2008 Author Report Share Posted March 12, 2008 I can read the file but I can't write to it. Quote Link to comment Share on other sites More sharing options...
newguy43 Posted March 13, 2008 Author Report Share Posted March 13, 2008 Please ignore the reply about not being able to write to the "hosts" file as I now have the capability. I don't recall being asked to name my computer at install; would it be the username? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.