View previous topic :: View next topic |
Author |
Message |
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Sun Jun 23, 2013 6:55 am Post subject: x86 minimal flash boot |
|
|
Hello everyone
I'm new to Gentoo and trying to figure this out by google'ing/searching forums on my problem. I recently used Unetbootin to mount the recent install-x86-minimal iso because my notebook does not have a CD drive. When i booted the flash I get a couple of errors.
Code: | *Setting system clock using the hardware clock [UTC] ...
/etc/init.d/hwclock: line 58: /sbin/hwclock: Input/output error
*Failed to set the system clock
*Autoloaded 0 module(s)
*Starting up RAID devices ...
/lib/rcscripts/addons/raid-start.sh: line 11: /sbin/mdadm: Input/output e
*Checking local filesystem ...
/etc/init.d/fsck: line 90: /sbin/fsck: Input/output error
*Filesystem couldn't be fixed
*rc: Aborting
INIT: Entering runlevel: 3
*Checking for firmware to unpack ...
* Unpacking firmware
/etc/init.d/firmware: line 19: /bin/tar: Input/output error
*Starting hwsetup ...
/etc/init.d/hwsetup: line 13: /usr/sbin/hwsetup: Input/output error
*ERROR: hwsetup failed to start |
Anyone know whats going on and how to fix this? _________________ learning the ropes |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Sun Jun 23, 2013 6:22 pm Post subject: |
|
|
thank you m8, i'll give it a go _________________ learning the ropes |
|
Back to top |
|
|
defer- Tux's lil' helper
Joined: 11 Jun 2007 Posts: 140 Location: Finland
|
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Sun Jun 23, 2013 7:57 pm Post subject: |
|
|
kk so i downloaded the system rescue, and so far everything is booted up right. I'm using the startx to get the gui and went back to command line with networking. so far i've got my fdisk partitions fixed. and right now downloading and about to Tar my stage3. i'll let you all know how its going thank you again for the help _________________ learning the ropes |
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Tue Jun 25, 2013 12:30 am Post subject: |
|
|
Ok so I'm at the Configuring the Bootloader and have a few questions.
I went the route of
but i dont understand when its telling me "You should have used uvesafb as the VESA driver." I dont remember doing this step. Nor can i find the "video=uvesafb:mtrr:3,ywrap,1024x768-32@85" that specifies my notebook (eee pc 1000he)
so i skipped the framebuffer part after searching the forums for a good hour and went to emerging grub. All is going great and i modify my grub.conf... buuuut now it doesn't want to let me save my grub.conf. it tells me the following.
(i entered the grub.conf using "nano -w")
error writing /boot/grub/grub.conf: Read-only file system
can someone help me with these please
by the way my grub.conf looks a little like this. if you want to give me some pointers please do
Code: | default 0
timeout 15
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 3.8.13
root (hd0,0)
kernel /boot/kernel-3.8.13-gentoo real_root=/dev/sda3
initrd /boot/initramfs-genkernel-x86-3.8.13-gentoo
title Gentoo Linux 3.8.13
root (hd0,0)
kernel /boot/kernel-3.8.13-gentoo root=/dev/sda3 init=/bin/bb |
_________________ learning the ropes |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 25, 2013 12:52 am Post subject: |
|
|
guessing you are not properly in the chroot
boot the cd/usb and enter the chroot, nominally: Code: | mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot) $PS1" |
then
Code: | nano /boot/grub/grub.conf |
Quote: | default 0
timeout 15 [/code]
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 3.8.13
root (hd0,0)
kernel /boot/kernel-3.8.13-gentoo real_root=/dev/sda3
initrd /boot/initramfs-genkernel-x86-3.8.13-gentoo
title Gentoo Linux 3.8.13
root (hd0,0)
kernel /boot/kernel-3.8.13-gentoo root=/dev/sda3 init=/bin/bb | do any remaining handbook steps, then save and exit gracefully.
Code: | exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo{/boot,/proc,}
reboot |
step by step priorities should be: successful reboot, internet connection, install xorg-server, install desktop _________________ Defund the FCC. |
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Tue Jun 25, 2013 1:17 am Post subject: |
|
|
i just want to say thank you again for the reply, I've cd .. out of the (chroot) sysresccd and remounted and -t aswell as --rbind's .. went into chroot and started the
Code: | nano /boot/grub/grub.conf |
i altered the grub.conf again to the way i would like. when i CTRL+O to WriteOut it tells me there is still an error
[Error writing /boot/grub/grub.conf: Read-only file system]
I even tried to CTRL+X to save that way and still gives me the same error. Is there something else im doing wrong?
edit: ohh forgot i also remounted the /dev/sda's _________________ learning the ropes
Last edited by rarebud11 on Tue Jun 25, 2013 1:29 am; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 25, 2013 2:13 am Post subject: |
|
|
peculiar:
boot the cd/usb
Code: | mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
nano /mnt/gentoo/boot/grub/grub.conf | make changes and ctrl-x
if still not writing: Code: | ls -l /mnt/gentoo/boot/grub/grub.conf
mount
df -h | show what output? _________________ Defund the FCC. |
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Tue Jun 25, 2013 2:50 am Post subject: |
|
|
exited out of chroot redid the mount commands to which they told me they were already mounted and tried the nano command you told me to out of chroot and into chroot still getting the error
Code: | root@sysresccd / % ls -l /mnt/gentoo/boot/grub/grub.conf
-rw-r--r--r 1 root root 627 Jun 24 18:26 /mnt/gentoo/boot/grub/grub.conf |
as for the "mount", im on another computer typing everything out by hand, could you tell me what you're looking for.
and finally (took me a bit to aline )
Code: | root@sysresccd / % df -h
Filesystem size used avail use% mounted on
rootfs 1004m 1.8m 1003m 1% /
udev 10m 0 10m 0% /dev
/dev/sdb1 7.3G 400m 6.9G 6% /livemnt/boot
/dev/loop0 305m 305m 0 100% /livemnt/squashfs
tmpfs 1004m 1.8m 1003m 1% /livemnt/memory
none 1004m 1.8m 1003m 1% /
tmpfs 512m 20k 512m 1% /livemnt/tftpmem
none 512m 20k 512m 1% /tftpboot
tmpfs 1004m 920k 1004m 1% /run
undev 10m 0 10m 0% /dev
shm 1004m 0 1004m 0% /dev/shm
cgroup_root 10m 0 10m 0% /sys/fs/cgroup
tmpfs 1004m 0 1004m 0% /tmp
/dev/sda3 147G 2.7G 136G 2% /mnt/gentoo
/dev/sda1 31m 9.1m 21m 31% /mnt/gentoo/boot |
_________________ learning the ropes |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 25, 2013 3:33 am Post subject: |
|
|
Quote: | exited out of chroot redid the mount commands to which they told me they were already mounted |
reboot the flash for a clean start, then
Code: | mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
nano /mnt/gentoo/boot/grub/grub.conf
make changes and ctrl-x |
if still not writing:
looking for Quote: | /dev/sda on /mnt/gentoo/boot type ext2 (rw) | or Quote: | /dev/sda on /mnt/gentoo/boot type ext2 (ro) |
Code: | ls -l /mnt/gentoo/boot/grub | look at permissions
are you root?
use wgetpaste instead of type outs. Fomats:
wgetpaste /path/file to paste a file
command | wgetpaste to paste command output
built into sysreccd/usb, emerge it in chroot _________________ Defund the FCC. |
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Tue Jun 25, 2013 3:50 am Post subject: |
|
|
rebooted the flash, mounted and went into the nano..
IT SAVES!! you sir are awesome _________________ learning the ropes |
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Tue Jun 25, 2013 4:56 am Post subject: |
|
|
when i reboot and pick to boot into gentoo (not rescue) i get this
Code: | Booting 'gentoo Linux'
root (hd0,0)
Filesystem type is fat, partition type 0xb
kernel /boot/kernel-x86-3.8.13-gentoo real_root=/dev/sda3
Error 15: File not found
Press any key to continue... |
i went here http://www.gentoo.org/doc/en/grub-error-guide.xml to try and solve the error 15, and when i went through everything again i just ended back to the error. I'm not comfortable enough to do my own make menuconfig so i went with genkernel so im thinking its not that but something wrong with my grub.conf _________________ learning the ropes |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 25, 2013 5:48 am Post subject: |
|
|
boot the cd/usb, mount the gentoo partitions Code: | mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
ls /mnt/gentoo/boot | should show a system map file, a kernel file, and an initramfs file. The exact spelling of the kernel file name and the initramfs file name must be used in grub.conf. An initrd must appear in grub.conf for a genkernek kernel unless you modified menuconfig to have hard drive and file system drivers built into the kernel instead of as modules.
Code: | nano /mnt/gentoo/boot/grub/grub.conf | and edit to Quote: | default 0
timeout 15 [/code]
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 3.8.13
root (hd0,0)
kernel /boot/kernel-3.8.13-gentoo real_root=/dev/sda3
initrd /boot/initramfs-genkernel-x86-3.8.13-gentoo | do check spelling matches that in /boot.
genkernel builds lots of modules, the initrd/initramfs probes the hardware and adds needed drivers to the kernel. _________________ Defund the FCC.
Last edited by DONAHUE on Tue Jun 25, 2013 4:45 pm; edited 1 time in total |
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Tue Jun 25, 2013 4:38 pm Post subject: |
|
|
good morning they need to put a donate button under you guys lol, but i did as you said and i took the USB flash out right after reboot and it worked as a charm ... now on to setting up a desktop, thank you for everything. though im sure i'm still going to need a tad more guidance. you're the best! _________________ learning the ropes |
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Wed Jun 26, 2013 5:22 am Post subject: |
|
|
hello hello tomorrow i have off again to work on this project. I want to work on the KDE desktop and here it gives me the guide http://wiki.gentoo.org/wiki/KDE to do so. just a few quick questions
1) Do i use sysresccd to do this?
2) Do i chroot to install this or just mount and install
and
3) if i dont need to use sysresccd do i just hardwire the internet in eth0 and use root to install? _________________ learning the ropes |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jun 26, 2013 5:55 am Post subject: |
|
|
1 no
2 no
3 yes, you should now have a CLI gentoo ready to stand on its own feet and gain more abilities. _________________ Defund the FCC. |
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Wed Jun 26, 2013 1:02 pm Post subject: |
|
|
thank you again, and good morning
so i noticed something weird in the boot process of gentoo
Code: | *sysklogd-> start: sysklogd ...
syslogd: /car/log/news/news.crit: no such file or directory
syslogd: /car/log/news/news.err: no such file or directory
syslogd: /car/log/news/news.notice: no such file or directory
syslogd: /dev/xconsole: no such file or directory
*sysklogd -> start: klogd ...
*starting dcron ...
*bringing up interface eth0
* ERROR: interface eth0 does not exist
* Ensure that you have loaded the correct kernel module for your hardware
*ERROR: net.eth0 failed to start
*ERROR: cannot start netmount as net.eth0 would not start
*starting local |
for the sysklogd i forgot to install logrotate... hopefully that will change the "no such file or directory" part
EDIT:: soo it installing logrotate did not change the no such file or directory so i just made a folder and that fixed the problem, but it doesn't work for /dev/xconsole.
Code: | mkdir /mnt/gentoo/var/log/news |
I looked at my /etc/conf.d/net in chroot and out of chroot i have this in chroot
out of chroot i have
Code: | mac_eth0="00:24:8C:43:D1:30"
Config_eth0="dhcp" |
_________________ learning the ropes |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jun 26, 2013 3:39 pm Post subject: |
|
|
take cd out of drive and reboot. assuming that works:
run and look at the interface names. udev likes to rename them.. if your interfaces are renamed you can prevent renaming by running Code: | touch /etc/udev/rules.d/80-net-name-slot.rules | creating an empty file that udev will notice and respond to by not renaming interfaces. Or you can adapt to the new names by changing the names in /etc/conf.d/net and in the symlinks in directory /etc/init.d. _________________ Defund the FCC. |
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Wed Jun 26, 2013 8:44 pm Post subject: |
|
|
took the flashdrive out and rebooted, logged in and typed ifconfig -a and got this. im trying to connect via internet cable and then worry about wifi later on.
Code: | # ifconfig -a
lo: flags=73<UP, LOOPBACK, RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0. B)
RX errors = dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
as far as my /etc/conf.d/net all is there is this
do i need to fill this out manually by setting IP information for eth0? _________________ learning the ropes |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jun 26, 2013 9:48 pm Post subject: |
|
|
lacking drivers for the interfaces in the kernel so the kernel can't see them. genkernel falls short occasionally
boot the cd/usb, run lspci -k, look for a line that resembles:
Code: | 09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57781 Gigabit Ethernet PCIe (rev 10)
Subsystem: ASRock Incorporation Device 96b1
Kernel driver in use: tg3
Kernel modules: tg3 | identify the make and model of your NIC and its driver
also if wifi on board look for same info for wireless network controller
post results here, Code: | lspci -k | wgetpaste | if you wish _________________ Defund the FCC. |
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Wed Jun 26, 2013 9:59 pm Post subject: |
|
|
Code: | 00:00.0 Host bridge: Intel Corporation Mobile 945GSE Express Memory Controller Hub (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 8340
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GSE Express Integrated Graphics Controller (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 8340
Kernel driver in use: i915
Kernel modules: i915
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 8340
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. Device 831a
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02)
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02)
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 4 (rev 02)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02)
Subsystem: ASUSTeK Computer Inc. Device 830f
Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02)
Subsystem: ASUSTeK Computer Inc. Device 830f
Kernel driver in use: uhci_hcd
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 02)
Subsystem: ASUSTeK Computer Inc. Device 830f
Kernel driver in use: uhci_hcd
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 02)
Subsystem: ASUSTeK Computer Inc. Device 830f
Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. Device 830f
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
Subsystem: ASUSTeK Computer Inc. Device 830f
Kernel modules: intel_rng, iTCO_wdt, leds_ss4200
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device 830f
Kernel driver in use: ata_piix
Kernel modules: pata_acpi, ata_generic
01:00.0 Network controller: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: AzureWave AW-NE771 802.11bgn Wireless Mini PCIe Card [AR9281]
Kernel driver in use: ath9k
Kernel modules: ath9k
03:00.0 Ethernet controller: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
Subsystem: ASUSTeK Computer Inc. Device 8324
Kernel driver in use: ATL1E
Kernel modules: atl1e |
_________________ learning the ropes |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jun 26, 2013 10:24 pm Post subject: |
|
|
boot gentoo, run: Code: | genkernel --menuconfig all | ensure you have the follwing enabled: Quote: | [*] Networking support --->
-*- Wireless --->
--- Wireless
<M> cfg80211 - wireless configuration API
[*] cfg80211 wireless extensions compatibility
<M> Generic IEEE 802.11 Networking Stack (mac80211)
Default rate control algorithm (Minstrel) --->
<M> RF switch subsystem support --->
Device Drivers --->
[*] Network device support --->
[*] Network core driver support
<*> Dummy net driver support
{M} Generic Media Independent Interface device support
[*] Ethernet driver support --->
[*] Atheros devices
<M> Atheros L1E Gigabit Ethernet support
{M} PHY Device support and infrastructure --->
[*] Wireless LAN --->
<M> Atheros Wireless Cards --->
--- Atheros Wireless Cards
[*] Atheros bluetooth coexistence support (NEW)
<M> Atheros 802.11n wireless cards support
[*] Atheros ath9k PCI/PCIe bus support (NEW)
[*] Atheros ath9k rate control (NEW) | when done editing exit until you see Quote: | Do you wish to save your new configuration ? <ESC><ESC>
to continue.
< Yes > < No > | say yes, then allow genkernel to finish, then when back up _________________ Defund the FCC. |
|
Back to top |
|
|
rarebud11 n00b
Joined: 23 Jun 2013 Posts: 24
|
Posted: Thu Jun 27, 2013 1:41 am Post subject: |
|
|
ok i reconfigured the modules and got it going as you stated. i get a dummy0, lo, and wlan0. I've plugged in a cable to try and get internet and im not receiving packets nor sending. how do i activate either the wireless or wired for internet access to continue the setup for kde desktop? _________________ learning the ropes |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Jun 27, 2013 2:19 am Post subject: |
|
|
boot cd, mount gentoo partitions, run Code: | wgetpaste /mnt/gentoo/usr/src/linux/.config | post url returned
continue into the chroot, Code: | emerge pciutils iw wireless-tools wpa_supplicant dhcpcd linux-firmware |
you have wireless router in range? _________________ Defund the FCC. |
|
Back to top |
|
|
|