You are not logged in.
I've installed Arch Linux base on one of my PC's (a Pentium 3 450MHZ) via FTP installation. When I reboot the pc I get a bootscreen with 2 Arch Linux versions (Arch Linux and Arch Linux Fallback).
When I take Arch Linux Fallback everything works fine..... but when I try to boot Arch Linux I get an error:
Kinit: Cannot open root device hda3(3.3)
Kinit: init not found!
Kernel panic - not syncing. Attempted to kill init!
When have I done wrong!!!!? I've tried to reinstall Arch Linux but that doesn't change anything.....
please help me...
yours,
bernhard
Life is what you make of it.....
Offline
boot with archlinux fallback
log as root, then try to make :
mkinitcpio -g /boot/kernel26.img
then try to boot with the standard boot entry
Offline
thanks. now it works. btw. does Arch Linux have desktop enviorment similar to windows? if so, how do I load it?
Life is what you make of it.....
Offline
thanks. now it works. btw. does Arch Linux have desktop enviorment similar to windows? if so, how do I load it?
You can try one of the following:
· kde ( http://www.kde.org/ )
· gnome ( http://www.gnome.org/ )
· xfce ( http://www.xfce.org/ )
to install them with, arch, first install the X server
pacman -S xorg
then install the desktop
pacman -S kde
or
pacman -S gnome
or
pacman -S xfce
Offline
when I do any of them I get the following error:
error: could not open sync database: extra
have you used --refresh yet?
when I try #pacman -S --refresh xorg I get a lot of errors:
error: cannot connect to {mirror}
gethostbyname: Resource temporarily unavaileble
After al the "cannot connect" errors the error:
failed to synchronise extra
error: could not open sync database: extra
have you used --refresh yet?
Life is what you make of it.....
Offline
Do a pacman -Sy or better a pacman -Syu first
Haven't been here in a while. Still rocking Arch.
Offline
Do a pacman -Sy or better a pacman -Syu first
I get accactly the same error when I use that command... Could it be that there is something wrong in my hostfile? (the one where I configurate the ip addresse etc)
Life is what you make of it.....
Offline
Try pinging google to see if your internet connection is good.
#ping www.google.com
Offline
I get this in result:
ping: Unknown host www.google.com
Life is what you make of it.....
Offline
well then your network is not set up correctly ....
put your rc.conf in arch pastebin please post link
Mr Green
Offline
well then your network is not set up correctly ....
put your rc.conf in arch pastebin please post link
what do you meen? :oops: I'm completely new to Linux....
Life is what you make of it.....
Offline
sorry your file rc.conf is in /etc directory you need to set it up to get network running at boot
might to time to look at Arch Docs ;-)
Mr Green
Offline
sorry your file rc.conf is in /etc directory you need to set it up to get network running at boot
might to time to look at Arch Docs ;-)
I'm logged in as root but I get an "access denied" message...
Life is what you make of it.....
Offline
I think you should read manual and see where you went wrong
Do not know what Linux knowledge you have but as a first distro Arch is not always a good idea
Of course there is Larch or Archie the live versions you could try [to get hang of it!]
Search forum for them
can you ....
cd /etc
more rc.conf
Mr Green
Offline
@mr green: Arch Linux was suggested to me by someone who uses it allready. According to him it's a good OS to start with. My linux knowledge is 0.0 al best.....
cd /etc
more rc.conf
I can do that.... A screen is loaded with the rc.conf settings. When I scroll down to "networking" I see the following:
HOSTNAME: server
lo="192.168.2.4"
eth0="eth0 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFASES=(lo eth0)
gateway="default gw 192.168.2.1"
ROUTES=(!gateway)
I know that my modem/router uses a dhcp and that the address for the dhcp is 192.168.2.1 and that the ip address of the pc is 192.168.2.4.
What does the broadcast thing mean?
Is there anything I should change in the rc.conf? And if so, how?[/code]
Life is what you make of it.....
Offline
Your rc.conf is not good
In your case, the networking section should look like that (if you use DHCP):
#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="server"
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
# gateway="default gw 192.168.2.1"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)
Offline
gateway="default gw 192.168.2.1"
ROUTES=(gateway)
as opposed to :
# gateway="default gw 192.168.2.1"
ROUTES=(!gateway)
Offline
gateway="default gw 192.168.2.1"
ROUTES=(gateway)as opposed to :
# gateway="default gw 192.168.2.1"
ROUTES=(!gateway)
That will not solve the problem,because in his rc.conf, the loopback interface (lo) is misconfigured, theeth1 has the sameIP as the gateway (another problem)and also has you show it, the gateway is not activated. But his router is also a dhcp server, so if there is no server running, he can use dhcp
Offline
okay. that's what my rc.conf should look like. Now, how can I change it as I get an error when I try to open /etc/rc.conf
-bash: /etc/rc.conf: Access denied
Life is what you make of it.....
Offline
okay. that's what my rc.conf should look like. Now, how can I change it as I get an error when I try to open /etc/rc.conf
-bash: /etc/rc.conf: Access denied
Make sure you are root. Check the output of "ls -l /etc/ | grep rc.conf" to make sure the file has read/write permissions for root.
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB
Offline
-rw-r--r-- 1 root root 1734 2006-11-16 14:10 rc.conf
should look like that ....
Mr Green
Offline
Make sure you are root. Check the output of "ls -l /etc/ | grep rc.conf" to make sure the file has read/write permissions for root.
output:
-rw-r--r-- 1 root root 2772 nov 30 03:30 /etc/rc.conf
Life is what you make of it.....
Offline
output:
-rw-r--r-- 1 root root 2772 nov 30 03:30 /etc/rc.conf
And you are definitely root?
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB
Offline
well. if root@server meens that I'm logged as root then I am
Life is what you make of it.....
Offline
well. if root@server meens that I'm logged as root then I am
A simple "yes" would suffice.
Does "cat /etc/rc.conf" still yield access denied? What editor are you using to try and open the file?
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB
Offline