Code: Select all
mount /dev/sda3 /mnt/gentoo #use your device names if different from sda1, sda3
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
passwdthen# useradd -m -G users john
# passwd john
New password: (Enter john's password)
Re-enter password: (Re-enter john's password)
Code: Select all
nano /etc/passwd # check user name(s) in list
exit
reboot# wgetpaste /etc/fstab
Your paste can be seen here: http://dpaste.com/189602/
I do not know what does it help. I've got usb and dhcp setting is not possible stillDONAHUE wrote:gentoo dousb dodhcp or rescue64 dousb dodhcp at boot prompt may work
Code: Select all
$ modprobe ath5k Code: Select all
$ modprobe atl2How does it help? I'm not sure this is the main problem...
Code: Select all
...
Attempting to mount device: /dev/sda3
File /sbin/init found on device /dev/sda3
Checking /sbin/init can be executed by the kernel...
/sbin/init on the root filesystem is an ELF32 binary
The current running kernel architecture is i686
Executing /sbin/init from the root filesystem...
INIT: version 2.87 booting
INIT: Entering runlevel: 3
# And now it comes without mounting other partitions:
This is (none).unknown_domain (Linux i686 2.6.32-11-std152-i386) # time here #
(none) login: _
# logging is still not possible of course
Code: Select all
mount /dev/sda3 /mnt/gentoo/
mount /dev/sda1 /mnt/gentoo/boot
mount /dev/sda5 /mnt/gentoo/binpartition
ls /mnt/gentoo/binpartition #verify you have files there, if you don't skip the next 3 lines
rm -rf /mnt/gentoo/bin #1
mkdir /mnt/gentoo/bin #2
cp -rf /mnt/gentoo/binpartition /mnt/gentoo/bin #3
nano /etc/fstab # and comment out #/dev/sda5 /bin ext3 noatime 0 1
rebootDevice Drivers --->
< > ATA/ATAPI/MFM/RLL support --->
SCSI device support --->
*** SCSI support type (disk, tape, CD-ROM) ***
<*> SCSI disk support
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
<*> SCSI CDROM support
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
--- Serial ATA (prod) and Parallel ATA (experimental) drivers
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
<*> AHCI SATA support
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support
< > ServerWorks Frodo / Apple K2 SATA support
< > Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Marvell SATA support (HIGHLY EXPERIMENTAL)
< > NVIDIA SATA support
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA TX2/TX4 support
< > Promise SATA SX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
< > Initio 162x SATA support
< > ACPI firmware driver for PATA
< > ALi PATA support (Experimental)
< > AMD/NVidia PATA support
< > ARTOP 6210/6260 PATA support
<*> ATI PATA support
< > CMD640 PCI PATA support (Very Experimental)
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support (Experimental)
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > Generic ATA support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support (Experimental)
< > HPT 372N/302N PATA support (Very Experimental)
< > HPT 343/363 PATA support
< > IT8211/2 PATA support
< > IT8213 PATA support (Experimental)
< > JMicron PATA support
< > Compaq Triflex PATA support
< > Marvell PATA support via legacy mode
< > Intel PATA MPIIX support
< > Intel PATA old PIIX support
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support (Experimental)
< > Nat Semi NS87415 PATA support (Experimental)
< > OPTI621/6215 PATA support (Very Experimental)
< > OPTI FireStar PATA support (Very Experimental)
< > Older Promise PATA controller support (Experimental)
< > RADISYS 82600 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
< > SC1200 PATA support (Very Experimental)
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > Promise PATA 2027x support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support (Experimental)
< > VIA PATA support
< > Winbond SL82C105 PATA support
< > Intel SCH PATA support
I don't remember - sleep too few.DONAHUE wrote:Gentoo partitions and /etc/fstab have to be created by the human who is installing them. Possibly a 4:00 in the morning decision?
No. I used partitions like this on other linux distributions - where installing was automated, so I never had to dare and this way never suspected this mistake.DONAHUE wrote: Possibly you researched partition layouts before starting and got bad or even malicious advice?
It's in cue. I'm going to solve it a bit later, because I'm searching an other answer on the internet:DONAHUE wrote: I would suspect that an initrd/initramfs could be used to make the separate /bin partition successful.
This is the answer. The auto install distro used an initrd/initramfs to do mounting and module selection before passing control to real_root.No. I used partitions like this on other linux distributions - where installing was automated, so I never had to dare and this way never suspected this mistake.
Code: Select all
emerge wpa_supplicant wireless-tools dhcpcdmake the symlinkmodules_eth1=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=15
config_eth1=( "dhcp" )
dhcpcd_eth1="-t 1" # Timeout after 10 seconds
Code: Select all
ln -s /etc/init.d/net.lo /etc/init.d/net.eth1Code: Select all
rc-update add net.eth1 defaultin /etc/wpa_supplicant/wpa_supplicant.confctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
Code: Select all
rebootCode: Select all
wpa_guiThanks. Do you know a complete list and discription of kernel boot options. I didn't found any yet.DONAHUE wrote:This is the answer. The auto install distro used an initrd/initramfs to do mounting and module selection before passing control to real_root.No. I used partitions like this on other linux distributions - where installing was automated, so I never had to dare and this way never suspected this mistake.
Not yet. I think it is not necessary if I find docs - have to search at first.DONAHUE wrote:Have you started another thread for the wireless network question under Networking & Security?
I'm going to do it now and want to share the results here. I haven't got X win sys yet. Processing...DONAHUE wrote:The handbook Chapter 1 Section 8.b and The handbook Chapter 4 Section 4 provide the rudiments of the gentoo way of network wireless (which does work). I'll give you a shortcut
For purposes of example I will pretend I know your wireless interface is named eth1. Obviously you will substitute the actual name if you choose to use the suggestions below. I will give a full list of steps even though I know you have done some or all of them. I also assume dhcp will be used. If your script is run automatically at boot I suggest disabling that feature before trying:
To /etc/conf.d/net add:Code: Select all
emerge wpa_supplicant wireless-tools dhcpcdmake the symlinkmodules_eth1=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=15
config_eth1=( "dhcp" )
dhcpcd_eth1="-t 1" # Timeout after 10 secondsadd to default run level (although this seems redundant if dbus and hal have been emerged and dbus and hald are in the default runlevel):Code: Select all
ln -s /etc/init.d/net.lo /etc/init.d/net.eth1PutCode: Select all
rc-update add net.eth1 defaultin /etc/wpa_supplicant/wpa_supplicant.confctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1When rebooted, run:Code: Select all
rebootthis should produce a dialog box that will scan for and allow you to connect to wireless access points. Click the scan button to start. Double click the desired access point when scan finds it and configure and connect and save. save will add the selected network settings to wpa_supplicant.conf.Code: Select all
wpa_gui