Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
First time install. no luck..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
strokeshao
n00b
n00b


Joined: 10 May 2009
Posts: 10

PostPosted: Sun May 10, 2009 11:59 pm    Post subject: First time install. no luck.. Reply with quote

HI, first and foremost I want to thank you for helping me.

This is my first Gentoo install ever! I've been on Linux like 9 months now, Using Ubuntu and decided to try Gentoo!
:D
Well I was going along using the amd64 install handbook and came to this error while installing grub
Code:
grub-install --no-floppy /dev/sda1
The file /boot/grub/stage1 not read correctly.


I'm pretty sure i screwed it up some where (I'm not that bright)

this is my mtab:
Code:
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw,mode=755 0 0
/dev/disk/by-uuid/3890034b-e5cf-48a7-9a27-f3c91517fec7 / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=755 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
varrun /var/run tmpfs rw,nosuid,mode=755 0 0
varlock /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /lib/modules/2.6.28-11-generic/volatile tmpfs rw,mode=755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0
securityfs /sys/kernel/security securityfs rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0
gvfs-fuse-daemon /home/conde/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user_id=1000,group_id=1000 0 0
/dev/sdb4 /media/disk vfat rw,nosuid,nodev,uid=1000,fmask=0077,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,flush 0 0
/dev/sdb1 /media/External ext3 rw,errors=continue,data=ordered 0 0
/dev/sda1 / ext3 rw,errors=continue,data=ordered 0 0
none /proc proc rw 0 0
udev /dev tmpfs rw,mode=755 0 0
/dev/sda1 /boot ext3 rw,errors=continue,data=ordered 0 0


this is my fstab:
Code:
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1               /boot           ext3            defaults        1 2
#/dev/ROOT      /      ext3      noatime      0 1
#/dev/SWAP      none      swap      sw      0 0
#/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0
#/dev/fd0      /mnt/floppy   auto      noauto      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0


Code:

# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

# Which listing to boot as default. 0 is the first, 1 the second etc.
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.24-r5
#Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.24-gentoo-r5 root=/dev/sda3

title Gentoo Linux 2.6.24-r5 (rescue)
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.24-gentoo-r5 root=/dev/sda3 init=/bin/bb



this is my device.map:
Code:

(hd0)   /dev/sda
(hd1)   /dev/sdb

And this is my fdisk -l /dev/sda:
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7dbbca8a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        5089    40877361   83  Linux
/dev/sda2            5090        9729    37270800    5  Extended
/dev/sda5            9470        9729     2088418+  82  Linux swap / Solaris
/dev/sda6            5090        7691    20900502   83  Linux
/dev/sda7            7692        9469    14281753+  83  Linux


[/code]

sda1 is where im trying to install Gentoo
the other two are Ubuntu 8.10 and Ubutnu 9.04
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 11, 2009 12:26 am    Post subject: Reply with quote

boot the cd,
run:
Code:

mount /mnt/gentoo /dev/sda1
#enter the chroot
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"
emerge --sync
emerge grub
grub
find /boot/grub/grub.conf

the result should be (hd0,0) if it is, run:
Code:
root (hd0,0)
setup (hd0)
quit
exit
reboot

# to hard drive
If the result is (hdx,y) vice (hd0,0), run: (substituting the returned digits for x and y)
Code:
root (hdx,y)
setup (hdx)
quit
exit
reboot

# to hard drive
If the result is no result; verify the /boot/grub directory structure.
Back to top
View user's profile Send private message
strokeshao
n00b
n00b


Joined: 10 May 2009
Posts: 10

PostPosted: Mon May 11, 2009 12:34 am    Post subject: Reply with quote

Actually, I dont know if this matters but i'm chrooting from Ubuntu.
Any way this is my output:

Code:
grub> find /boot/grub/grub.conf

Error 15: File not found

grub>
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 11, 2009 1:24 am    Post subject: Reply with quote

boot ubuntu
Code:
su mkdir /mnt/gentoo
su mount /dev/sda1 /mnt/gentoo
ls -l /mnt/gentoo
ls -l /mnt/gentoo/boot
ls -l /mnt/gentoo/boot/grub


since you were running grub-install I assumed you intended to replace ubuntu grub MBR and menu.lst with gentoo grub MBR and grub.conf?

You can simply add a gentoo listing to the master ubuntu menu.lst.
Back to top
View user's profile Send private message
strokeshao
n00b
n00b


Joined: 10 May 2009
Posts: 10

PostPosted: Mon May 11, 2009 1:38 am    Post subject: Reply with quote

ls -l /mnt/gentoo
Code:
total 169216
drwxr-xr-x   2 root  root       4096 2009-05-10 15:46 bin
drwxr-xr-x  20 root  root       4096 2009-05-10 15:46 boot
drwxr-xr-x  16 root  root       4280 2009-05-10 12:50 dev
drwxr-xr-x  33 root  root       4096 2009-05-10 15:46 etc
drwxr-xr-x   2 root  root       4096 2009-05-10 16:00 grub
drwxr-xr-x   2 root  root       4096 2009-05-06 18:29 home
lrwxrwxrwx   1 root  root          5 2009-05-10 12:44 lib -> lib64
drwxr-xr-x   3 root  root       4096 2009-05-10 15:44 lib32
drwxr-xr-x   8 root  root       4096 2009-05-10 15:46 lib64
drwx------   2 root  root      16384 2009-05-10 12:41 lost+found
drwxr-xr-x   4 root  root       4096 2009-05-06 20:59 mnt
drwxr-xr-x   2 root  root       4096 2009-05-06 18:29 opt
-rw-r--r--   1 conde conde  35879736 2009-05-09 01:24 portage-20090501.tar.bz2
dr-xr-xr-x 176 root  root          0 2009-05-10 02:24 proc
drwx------   2 root  root       4096 2009-05-07 04:02 root
drwxr-xr-x   2 root  root       4096 2009-05-10 15:46 sbin
-rw-r--r--   1 conde conde 137137048 2009-05-09 01:25 stage3-amd64-20090507.tar.bz2
drwxr-xr-x   2 root  root       4096 2009-05-06 18:29 sys
drwxrwxrwt   2 root  root       4096 2009-05-10 16:00 tmp
drwxr-xr-x  14 root  root       4096 2009-05-10 15:44 usr
drwxr-xr-x  12 root  root       4096 2009-05-10 15:33 var

ls -l /mnt/gentoo/boot
Code:
total 169256
drwxr-xr-x  2 root  root       4096 2009-05-10 15:46 bin
drwxr-xr-x  2 root  root       4096 2009-05-10 14:27 boot
drwxr-xr-x 10 root  root      36864 2009-05-06 21:01 dev
drwxr-xr-x 33 root  root       4096 2009-05-10 15:46 etc
drwxr-xr-x  2 root  root       4096 2009-05-10 16:00 grub
drwxr-xr-x  2 root  root       4096 2009-05-06 18:29 home
lrwxrwxrwx  1 root  root          5 2009-05-10 12:44 lib -> lib64
drwxr-xr-x  3 root  root       4096 2009-05-10 15:44 lib32
drwxr-xr-x  8 root  root       4096 2009-05-10 15:46 lib64
drwx------  2 root  root      16384 2009-05-10 12:41 lost+found
drwxr-xr-x  4 root  root       4096 2009-05-06 20:59 mnt
drwxr-xr-x  2 root  root       4096 2009-05-06 18:29 opt
-rw-r--r--  1 conde conde  35879736 2009-05-09 01:24 portage-20090501.tar.bz2
drwxr-xr-x  2 root  root       4096 2009-05-06 18:29 proc
drwx------  2 root  root       4096 2009-05-07 04:02 root
drwxr-xr-x  2 root  root       4096 2009-05-10 15:46 sbin
-rw-r--r--  1 conde conde 137137048 2009-05-09 01:25 stage3-amd64-20090507.tar.bz2
drwxr-xr-x  2 root  root       4096 2009-05-06 18:29 sys
drwxrwxrwt  2 root  root       4096 2009-05-10 16:00 tmp
drwxr-xr-x 14 root  root       4096 2009-05-10 15:44 usr
drwxr-xr-x 12 root  root       4096 2009-05-10 15:33 var

ls -l /mnt/gentoo/boot/grub

Code:
total 368
-rw-r--r-- 1 root root    197 2009-05-10 16:00 default
-rw-r--r-- 1 root root     45 2009-05-10 15:46 device.map
-rw-r--r-- 1 root root   8096 2009-05-10 16:00 e2fs_stage1_5
-rw-r--r-- 1 root root   7844 2009-05-10 16:00 fat_stage1_5
-rw-r--r-- 1 root root   7120 2009-05-10 16:00 ffs_stage1_5
-rw-r--r-- 1 root root   1068 2009-05-10 15:52 grub.conf
-rw-r--r-- 1 root root   7112 2009-05-10 16:00 iso9660_stage1_5
-rw-r--r-- 1 root root   8700 2009-05-10 16:00 jfs_stage1_5
lrwxrwxrwx 1 root root      9 2009-05-10 15:46 menu.lst -> grub.conf
-rw-r--r-- 1 root root   7336 2009-05-10 16:00 minix_stage1_5
-rw-r--r-- 1 root root   9744 2009-05-10 16:00 reiserfs_stage1_5
-rw-r--r-- 1 root root  33856 2009-05-10 15:45 splash.xpm.gz
-rw-r--r-- 1 root root    512 2009-05-10 16:00 stage1
-rw-r--r-- 1 root root 107220 2009-05-10 16:00 stage2
-rw-r--r-- 1 root root 107220 2009-05-10 15:45 stage2_eltorito
-rw-r--r-- 1 root root   7376 2009-05-10 16:00 ufs2_stage1_5
-rw-r--r-- 1 root root   6724 2009-05-10 16:00 vstafs_stage1_5
-rw-r--r-- 1 root root   9540 2009-05-10 16:00 xfs_stage1_5


Also I added Gentoo to Ubuntu's menu.lst and still get "Error: 15 " from GRUB.
This is my menu.lst on Ubuntu.
Code:
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default      0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,0)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,1)
# kernel   /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=3890034b-e5cf-48a7-9a27-f3c91517fec7 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=3890034b-e5cf-48a7-9a27-f3c91517fec7

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title      Ubuntu 9.04, kernel 2.6.28-11-generic
uuid      3890034b-e5cf-48a7-9a27-f3c91517fec7
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=3890034b-e5cf-48a7-9a27-f3c91517fec7 ro quiet splash
initrd      /boot/initrd.img-2.6.28-11-generic
quiet

title      Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid      3890034b-e5cf-48a7-9a27-f3c91517fec7
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=3890034b-e5cf-48a7-9a27-f3c91517fec7 ro  single
initrd      /boot/initrd.img-2.6.28-11-generic

title      Ubuntu 9.04, memtest86+
uuid      3890034b-e5cf-48a7-9a27-f3c91517fec7
kernel      /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title      Ubuntu 8.10, kernel 2.6.27-11-generic (on /dev/sda6)
root      (hd0,5)
kernel      /boot/vmlinuz-2.6.27-11-generic root=UUID=61679452-7b69-4816-b573-5db402e9b4d8 ro quiet splash
initrd      /boot/initrd.img-2.6.27-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title      Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode) (on /dev/sda6)
root      (hd0,5)
kernel      /boot/vmlinuz-2.6.27-11-generic root=UUID=61679452-7b69-4816-b573-5db402e9b4d8 ro single
initrd      /boot/initrd.img-2.6.27-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title      Ubuntu 8.10, memtest86+ (on /dev/sda6)
root      (hd0,5)
kernel      /boot/memtest86+.bin 
savedefault
boot

title Gentoo Linux 2.6.24-r5
root (hd0,0)
kernel /boot/kernel-genkernel-amd64-2.6.24-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3
initrd /boot/initramfs-genkernel-amd64-2.6.24-gentoo-r5


Last edited by strokeshao on Mon May 11, 2009 1:50 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 11, 2009 1:48 am    Post subject: Reply with quote

boot ubuntu
run
Code:
grub
find /boot/grub/grub.conf
tune2fs -l /dev/sda1

post results
Back to top
View user's profile Send private message
strokeshao
n00b
n00b


Joined: 10 May 2009
Posts: 10

PostPosted: Mon May 11, 2009 2:01 am    Post subject: Reply with quote

Still no luck

find /boot/grub/grub.conf :
Code:
grub> find /boot/grub/grub.conf
find /boot/grub/grub.conf

Error 15: File not found

and

tune2fs -l /dev/sda1:

Code:
tune2fs 1.41.4 (27-Jan-2009)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          4bf2bf1d-508c-45b6-bc49-3174b7a9449e
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
Filesystem flags:         signed_directory_hash
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              2555904
Block count:              10219340
Reserved block count:     510967
Free blocks:              9527904
Free inodes:              2354220
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1021
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Filesystem created:       Sun May 10 12:41:23 2009
Last mount time:          Sun May 10 18:46:34 2009
Last write time:          Sun May 10 18:46:34 2009
Mount count:              2
Maximum mount count:      32
Last checked:             Sun May 10 12:41:23 2009
Check interval:           15552000 (6 months)
Next check after:         Fri Nov  6 11:41:23 2009
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:             256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      ad6b1cce-0cbf-4da5-8298-67d5408c058f
Journal backup:           inode blocks
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 11, 2009 2:13 am    Post subject: Reply with quote

Interesting, your ubuntu grub and gentoo grub both are about a year old and both are unable to read ext3fs with an inode size 256 which was a change that is about a year old.
Fixable by updating grub:
boot ubuntu
Code:
mount /mnt/gentoo /dev/sda1
#enter the chroot
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"
rm -rf /grub # comment below
emerge --sync
emerge -av grub # should offer version .97.6 or later, accept that or holler if not offered
grub
root (hd0,0)
setup (hd0)
quit
exit
 



other things

fstab
Quote:
/dev/sda1 /boot ext3 defaults 1 2
should be
Quote:
/dev/sda1 / ext3 defaults 1 2

Quote:
ls -l /mnt/gentoo
says you have a grub directory under /, that should not be there. Fixed above. But the structure under /boot looks good.

reboot
Back to top
View user's profile Send private message
RedSquirrel
Guru
Guru


Joined: 22 Apr 2008
Posts: 336

PostPosted: Mon May 11, 2009 2:47 am    Post subject: Reply with quote

strokeshao:

Judging by your mtab, you have /dev/sda1 mounted on BOTH / and /boot. (/mnt/gentoo and /mnt/gentoo/boot before you entered the chroot) This is incorrect. You don't have a separate /boot partition. You only need to mount /dev/sda1 on /mnt/gentoo.

It seems you have copied the example grub.conf from the Handbook without making adjustments for the kernel image and the partition for /. You have real_root=/dev/sda3 in your grub stanza, but you don't have a /dev/sda3 on your system. (It should be /dev/sda1 if you have installed the whole of Gentoo on /dev/sda1.)

Just looking over your posts again, you have used the grub lines for genkernel in your Ubuntu menu.lst and the non-genkernel lines in Gentoo's grub.conf. Did you use genkernel?

Your /etc/fstab is wrong as well. It should be:

Code:
/dev/sda1 / ext3 defaults 0 1


(Edit: you could use noatime instead of defaults if you like. I do.)
Back to top
View user's profile Send private message
strokeshao
n00b
n00b


Joined: 10 May 2009
Posts: 10

PostPosted: Mon May 11, 2009 3:36 am    Post subject: Reply with quote

Well I have some good news and some bad news.

good news is; DONAHUE's steps did the trick I also fixed mtab, and fstab

bad news is, uhmm... Well not precisely booting. When I start up my computer it goes to the black screen with a blinking cursor on top, it stays like this for bout a minute, then, you can see all the output of the OS booting, not 3 seconds in the screen goes berserk and the output looks very weird, like hashed out and my laptop lights start blinking and doesn't move from there.

Had to reboot and reinstall Ubuntu's grub to the MBR Using a live cd.

Here is mtab and fstab with the recent modifications

Code:
 hq / # cat etc/mtab
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw,mode=755 0 0
/dev/disk/by-uuid/3890034b-e5cf-48a7-9a27-f3c91517fec7 / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=755 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
varrun /var/run tmpfs rw,nosuid,mode=755 0 0
varlock /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /lib/modules/2.6.28-11-generic/volatile tmpfs rw,mode=755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0
securityfs /sys/kernel/security securityfs rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0
gvfs-fuse-daemon /home/conde/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user_id=1000,group_id=1000 0 0
/dev/sdb4 /media/disk vfat rw,nosuid,nodev,uid=1000,fmask=0077,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,flush 0 0
/dev/sdb1 /media/External ext3 rw,errors=continue,data=ordered 0 0
/dev/sda1 / ext3 rw,errors=continue,data=ordered 0 0
none /proc proc rw 0 0
udev /dev tmpfs rw,mode=755 0 0
/dev/sda1 /boot ext3 rw,errors=continue,data=ordered 0 0
/dev/sda1 /boot ext3 rw 0 0
hq / # cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1               /           ext3            defaults        1 2
#/dev/ROOT      /      ext3      noatime      0 1
#/dev/SWAP      none      swap      sw      0 0
#/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0
#/dev/fd0      /mnt/floppy   auto      noauto      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0


P.S. Again thanks a lot guys! :)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 11, 2009 4:17 am    Post subject: Reply with quote

The long delay was because of 2 timeout 30 lines.
The scrambling usually results from splashimage=(hd0,0)/boot/grub/splash.xpm.gz being active with no /boot/grub/splash.xpm.gz file being present. Appears to not be the case for you so unexplained. Failure to load kernel was caused by root=/dev/sda3 on kernel line when root =/dev/sda1.

edit grub.conf to:
Quote:

default 0
timeout 30
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.24-r5
#Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.24-gentoo-r5 root=/dev/sda1

title Gentoo Linux 2.6.24-r5 (rescue)
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.24-gentoo-r5 root=/dev/sda1 init=/bin/bb

title Ubuntu 9.04, kernel 2.6.28-11-generic
root (hd0,6)
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=3890034b-e5cf-48a7-9a27-f3c91517fec7 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=3890034b-e5cf-48a7-9a27-f3c91517fec7 ro single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
root (hd0,6)
kernel /boot/memtest86+.bin
quiet

title Ubuntu 8.10, kernel 2.6.27-11-generic (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=61679452-7b69-4816-b573-5db402e9b4d8 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic


Make these corrections and resetup gentoo grub mbr as before and you should be able to boot gentoo or ubuntu from the gentoo MBR and grub.conf.

in your ubuntu menu.lst add :

Quote:
title Gentoo Linux 2.6.24-r5
#Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.24-gentoo-r5 root=/dev/sda1

title Gentoo Linux 2.6.24-r5 (rescue)
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.24-gentoo-r5 root=/dev/sda1 init=/bin/bb


do your apt get update thing for grub in ubuntu including setting up the MBR and you should be able to boot gentoo form the ubuntu mbr and menu.lst. Until grub is updated and the MBR resetup the ubuntu grub will not be able to read the /dev/sda1 ext3 file system.
Back to top
View user's profile Send private message
strokeshao
n00b
n00b


Joined: 10 May 2009
Posts: 10

PostPosted: Mon May 11, 2009 4:49 am    Post subject: Reply with quote

So! You might want to kill -9 me by now but, again, some good news and some bad news.

Good news: seems that advice worked perfectly!

Baaad news : I get this error while booting:

Code:
[2.851428] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block (2,0)


PS not being lazy also googling this before asking.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 11, 2009 5:01 am    Post subject: Reply with quote

That willl be due to an error in kernel configuration no support for for hard drive controller.. boot the 10.4 ubuntu run
Code:
lspci -nnk
post results if -k option is rejected just lspci will do.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 11, 2009 5:11 am    Post subject: Reply with quote

the hard drive controller configuration should look like this; except you will need to identify your particular controllers from the lspci list and select them as built in (y) <*>
Quote:
Device 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


and good night.
Back to top
View user's profile Send private message
strokeshao
n00b
n00b


Joined: 10 May 2009
Posts: 10

PostPosted: Mon May 11, 2009 5:13 am    Post subject: Reply with quote

Thanks and have good nights sleep.

Code:
$ lspci -nnk
00:00.0 RAM memory [0500]: nVidia Corporation C51 Host Bridge [10de:02f0] (rev a2)
00:00.1 RAM memory [0500]: nVidia Corporation C51 Memory Controller 0 [10de:02fa] (rev a2)
00:00.2 RAM memory [0500]: nVidia Corporation C51 Memory Controller 1 [10de:02fe] (rev a2)
00:00.3 RAM memory [0500]: nVidia Corporation C51 Memory Controller 5 [10de:02f8] (rev a2)
00:00.4 RAM memory [0500]: nVidia Corporation C51 Memory Controller 4 [10de:02f9] (rev a2)
00:00.5 RAM memory [0500]: nVidia Corporation C51 Host Bridge [10de:02ff] (rev a2)
00:00.6 RAM memory [0500]: nVidia Corporation C51 Memory Controller 3 [10de:027f] (rev a2)
00:00.7 RAM memory [0500]: nVidia Corporation C51 Memory Controller 2 [10de:027e] (rev a2)
00:02.0 PCI bridge [0604]: nVidia Corporation C51 PCI Express Bridge [10de:02fc] (rev a1)
   Kernel driver in use: pcieport-driver
   Kernel modules: shpchp
00:03.0 PCI bridge [0604]: nVidia Corporation C51 PCI Express Bridge [10de:02fd] (rev a1)
   Kernel driver in use: pcieport-driver
   Kernel modules: shpchp
00:05.0 VGA compatible controller [0300]: nVidia Corporation C51 [Geforce 6150 Go] [10de:0244] (rev a2)
   Kernel driver in use: nvidia
   Kernel modules: nvidia, nvidiafb
00:09.0 RAM memory [0500]: nVidia Corporation MCP51 Host Bridge [10de:0270] (rev a2)
00:0a.0 ISA bridge [0601]: nVidia Corporation MCP51 LPC Bridge [10de:0260] (rev a3)
00:0a.1 SMBus [0c05]: nVidia Corporation MCP51 SMBus [10de:0264] (rev a3)
   Kernel driver in use: nForce2_smbus
   Kernel modules: i2c-nforce2
00:0a.3 Co-processor [0b40]: nVidia Corporation MCP51 PMU [10de:0271] (rev a3)
00:0b.0 USB Controller [0c03]: nVidia Corporation MCP51 USB Controller [10de:026d] (rev a3)
   Kernel driver in use: ohci_hcd
00:0b.1 USB Controller [0c03]: nVidia Corporation MCP51 USB Controller [10de:026e] (rev a3)
   Kernel driver in use: ehci_hcd
00:0d.0 IDE interface [0101]: nVidia Corporation MCP51 IDE [10de:0265] (rev f1)
   Kernel driver in use: pata_amd
00:0e.0 IDE interface [0101]: nVidia Corporation MCP51 Serial ATA Controller [10de:0266] (rev f1)
   Kernel driver in use: sata_nv
00:10.0 PCI bridge [0604]: nVidia Corporation MCP51 PCI Bridge [10de:026f] (rev a2)
00:10.1 Audio device [0403]: nVidia Corporation MCP51 High Definition Audio [10de:026c] (rev a2)
   Kernel driver in use: HDA Intel
   Kernel modules: snd-hda-intel
00:14.0 Bridge [0680]: nVidia Corporation MCP51 Ethernet Controller [10de:0269] (rev a3)
   Kernel driver in use: forcedeth
   Kernel modules: forcedeth
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
   Kernel driver in use: k8temp
   Kernel modules: k8temp
07:05.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832]
   Kernel driver in use: ohci1394
   Kernel modules: firewire-ohci, ohci1394
07:05.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 19)
   Kernel driver in use: sdhci-pci
   Kernel modules: sdhci-pci
07:05.2 System peripheral [0880]: Ricoh Co Ltd R5C843 MMC Host Controller [1180:0843] (rev 0a)
   Kernel driver in use: ricoh-mmc
   Kernel modules: ricoh_mmc
07:05.3 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 05)
07:05.4 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev ff)
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Mon May 11, 2009 5:23 am    Post subject: Re: First time install. no luck.. Reply with quote

strokeshao wrote:
...
this is my fstab:
Code:
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1               /boot           ext3            defaults        1 2
#/dev/ROOT      /      ext3      noatime      0 1
#/dev/SWAP      none      swap      sw      0 0
#/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0
#/dev/fd0      /mnt/floppy   auto      noauto      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0

I noticed that your fstab is not correct. You should correctly specify and enable all mountpoints you actually use. That is, remove the '#' in front of the 3 lines following /dev/sda1 and replace the text '/dev/ROOT' by something real e.g. /dev/sda2. The same applies to the next 2 lines. Have you done that already? (I have not read the entire post).
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 11, 2009 11:15 am    Post subject: Reply with quote

Helena:

stroke has already repaired his fstab
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 11, 2009 11:38 am    Post subject: Reply with quote

from the lspci output the hard drive controller choices for you should be:
Quote:
Device 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


So you can have network after a successful boot:


Quote:
Device Drivers --->
[*] Network device support --->
--- Network device support
[*] Ethernet (10 or 100Mbit) --->
--- Ethernet (10 or 100Mbit)
<*> Generic Media Independent Interface device support
[*] EISA, VLB, PCI and on board controllers
<*> nForce Ethernet support




And the bad news is that your newly installed kernel and system are horribly out of date. Hopefully the config choices which are current will work anyway. You can update after you can boot.
Back to top
View user's profile Send private message
strokeshao
n00b
n00b


Joined: 10 May 2009
Posts: 10

PostPosted: Mon May 11, 2009 10:07 pm    Post subject: Reply with quote

OK well Still not booting, Im not giving up, lol.

This is my full kernel options:

Code:

    ┌─────────────────────────────────────────────────────────────────────┐ │ 
  │ │        General setup  --->                                          │ │ 
  │ │    [*] Enable loadable module support  --->                         │ │ 
  │ │    -*- Enable the block layer  --->                                 │ │ 
  │ │        Processor type and features  --->                            │ │ 
  │ │        Power management and ACPI options  --->                      │ │ 
  │ │        Bus options (PCI etc.)  --->                                 │ │ 
  │ │        Executable file formats / Emulations  --->                   │ │ 
  │ │    [*] Networking support  --->                                     │ │ 
  │ │        Device Drivers  --->                                         │ │
     ------------------------------------------------------------------------
  │          Generic Driver Options  --->                                 │ │ 
  │ │    <*> Connector - unified userspace <-> kernelspace linker  --->   │ │ 
  │ │    < > Memory Technology Device (MTD) support  --->                 │ │ 
  │ │    < > Parallel port support  --->                                  │ │ 
  │ │    -*- Plug and Play support  --->                                  │ │ 
  │ │    [*] Block devices  --->                                          │ │ 
  │ │    [ ] Misc devices  --->                                           │ │ 
  │ │    < > ATA/ATAPI/MFM/RLL support  --->                              │ │ 
  │ │        SCSI device 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 (Experimental)                  │ │ 
  │ │    < >     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                                         │ │ 
  │ │    < >     AMD/NVidia PATA support                                  │ │ 
  │ │    < >     ARTOP 6210/6260 PATA support       
         < >     ATI PATA support                                         │ │ 
  │ │    < >     CMD640 PCI PATA support (Experimental)                   │ │ 
  │ │    < >     CMD64x PATA support                                      │ │ 
  │ │    < >     CS5510/5520 PATA support                                 │ │ 
  │ │    < >     CS5530 PATA support                                      │ │ 
  │ │    < >     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 (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 NS87410 PATA support                            │ │ 
  │ │    < >     Nat Semi NS87415 PATA support       
         < >     OPTI621/6215 PATA support (Very Experimental)            │ │ 
  │ │    < >     OPTI FireStar PATA support (Very Experimental)           │ │ 
  │ │    < >     PCMCIA PATA support                                      │ │ 
  │ │    < >     Older Promise PATA controller support                    │ │ 
  │ │    < >     RADISYS 82600 PATA support (Experimental)                │ │ 
  │ │    < >     PC Tech RZ1000 PATA support                              │ │ 
  │ │    < >     SC1200 PATA support                                      │ │ 
  │ │    < >     SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support           │ │ 
  │ │    < >     Promise PATA 2027x support                               │ │ 
  │ │    < >     CMD / Silicon Image 680 PATA support                     │ │ 
  │ │    < >     SiS PATA support                                         │ │ 
  │ │    <*>     VIA PATA support                                         │ │ 
  │ │    < >     Winbond SL82C105 PATA support                            │ │ 
  │ │    < >     Intel SCH PATA support                                   │ │ 
     ------------------------------------------------------------------------
  │ │    [*] Multiple devices driver support (RAID and LVM)  --->         │ │ 
  │ │    [ ] Fusion MPT device support  --->                              │ │ 
  │ │        IEEE 1394 (FireWire) support  --->                           │ │ 
  │ │    < > I2O device support  --->                                     │ │ 
  │ │    [*] Macintosh device drivers  --->                               │ │ 
  │ │    [*] Network device support  --->                                 │ │
     ------------------------------------------------------------------------
             Network device support                                       │ │ 
  │ │    < >   Intermediate Functional Block support                      │ │ 
  │ │    < >   Dummy net driver support                                   │ │ 
  │ │    < >   Bonding driver support                                     │ │ 
  │ │    < >   MAC-VLAN support (EXPERIMENTAL)                            │ │ 
  │ │    < >   EQL (serial line load balancing) support                   │ │ 
  │ │    < >   Universal TUN/TAP device driver support                    │ │ 
  │ │    < >   Virtual ethernet pair device                               │ │ 
  │ │    < >   General Instruments Surfboard 1000                         │ │ 
  │ │    < >   ARCnet support  --->                                       │ │ 
  │ │    <*>   PHY Device support and infrastructure  --->                │ │ 
  │ │    [*]   Ethernet (10 or 100Mbit)  --->                             │ │
     ------------------------------------------------------------------------
         --- Ethernet (10 or 100Mbit)                                     │ │ 
  │ │    <*>   Generic Media Independent Interface device support         │ │ 
  │ │    < >   Sun Happy Meal 10/100baseT support                         │ │ 
  │ │    < >   Sun GEM support                                            │ │ 
  │ │    < >   Sun Cassini support                                        │ │ 
  │ │    [ ]   3COM cards                                                 │ │ 
  │ │    [ ]   "Tulip" family network device support  --->                │ │ 
  │ │    < >   HP 10/100VG PCLAN (ISA, EISA, PCI) support                 │ │ 
  │ │    [*]   EISA, VLB, PCI and on board controllers                    │ │ 
  │ │    < >     AMD PCnet32 PCI support                                  │ │ 
  │ │    < >     AMD 8111 (new PCI lance) support                         │ │ 
  │ │    < >     Adaptec Starfire/DuraLAN support                         │ │ 
  │ │    < >   Broadcom 440x/47xx ethernet support                        │ │ 
  │ │    <*>   nForce Ethernet support                                    │ │ 
  │ │    [ ]     Use Rx Polling (NAPI) (EXPERIMENTAL)                     │ │ 
  │ │    < >   EtherExpressPro/100 support (eepro100, original Becker driv│ │ 
  │ │    < >   Intel(R) PRO/100+ support                                  │ │ 
  │ │    < >   Myson MTD-8xx PCI Ethernet support                         │ │ 
  │ │    < >   National Semiconductor DP8381x series PCI Ethernet support │ │ 
  │ │    < >   PCI NE2000 and clones support (see help)                   │ │ 
  │ │    < >   RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPE│ │ 
  │ │    < >   RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter suppor│ │ 
  │ │    < >   RDC R6040 Fast Ethernet Adapter support (EXPERIMENTAL)     │ │ 
  │ │    < >   SiS 900/7016 PCI Fast Ethernet Adapter support 
         < >   SMC EtherPower II                                          │ │ 
  │ │    < >   Sundance Alta support                                      │ │ 
  │ │    < >   TI ThunderLAN support                                      │ │ 
  │ │    < >   VIA Rhine support                                          │ │ 
  │ │    < >   Silan SC92031 PCI Fast Ethernet Adapter driver (EXPERIMENTA│ │ 
  │ │    < >   Atheros L2 Fast Ethernet support                           │ │ 
  │ └------------------------------------------------------------------------
  │ │    [ ]   Ethernet (1000 Mbit)  --->                                 │ │ 
  │ │    [ ]   Ethernet (10000 Mbit)  --->                                │ │ 
  │ │    [ ]   Token Ring driver support  --->                            │ │ 
  │ │          Wireless LAN  --->                                         │ │ 
  │ │          USB Network Adapters  --->                                 │ │ 
  │ │    [ ]   PCMCIA network device support  --->                        │ │ 
  │ │    [ ]   Wan interfaces support  --->                               │ │ 
  │ │    [ ]   FDDI driver support                                        │ │ 
  │ │    [ ]   HIPPI driver support (EXPERIMENTAL)                        │ │ 
  │ │    < >   PPP (point-to-point protocol) support                      │ │ 
  │ │    < >   SLIP (serial line) support                                 │ │ 
  │ │    [ ]   Fibre Channel driver support   
  │      <*>   Network console logging support (EXPERIMENTAL)             │ │ 
  │ │    [ ]     Dynamic reconfiguration of logging targets (EXPERIMENTAL)│ │ 
  │ │    [ ]   Netpoll traffic trapping                                   │ │ 
  │ └------------------------------------------------------------------------
  │ │    [ ] ISDN support  --->                                           │ │ 
  │ │    < > Telephony support  --->                                      │ │ 
  │ │        Input device support  --->                                   │ │ 
  │ │        Character devices  --->                                      │ │ 
  │ │    <*> I2C support  --->                                            │ │ 
  │ │    [ ] SPI support  --->                                            │ │ 
  │ │    [ ] GPIO Support  --->                                           │ │ 
  │ │    < > Dallas's 1-wire support  --->
  │ │    -*- Power supply class support  --->                             │ │ 
  │ │    < > Hardware Monitoring support  --->                            │ │ 
  │ │    -*- Generic Thermal sysfs driver  --->                           │ │ 
  │ │    [*] Watchdog Timer Support  --->                                 │ │ 
  │ │        Sonics Silicon Backplane  --->                               │ │ 
  │ │        Multifunction device drivers  --->                           │ │ 
  │ │    [ ] Voltage and Current Regulator Support  --->                  │ │ 
  │ │        Multimedia devices  --->                                     │ │ 
  │ │        Graphics support  --->                                       │ │ 
  │ │    <*> Sound card support  --->                                     │ │ 
  │ │    [*] HID Devices  --->                                            │ │ 
  │ │    [*] USB support  --->                                            │ │ 
  │ │    < > Ultra Wideband devices (EXPERIMENTAL)  --->                  │ │ 
  │ │    < > MMC/SD/SDIO card support  --->                               │ │ 
  │ │    < > Sony MemoryStick card support (EXPERIMENTAL)  --->           │ │ 
  │ │    -*- LED Support  --->                                            │ │ 
  │ │    [ ] Accessibility support  --->                                  │ │ 
  │ │    < > InfiniBand support  --->                                     │ │ 
  │ │    [*] EDAC - error detection and reporting (EXPERIMENTAL)  --->    │ │ 
  │ │    <*> Real Time Clock  --->                                        │ │ 
  │ │    [*] DMA Engine support  --->                                     │ │ 
  │ │    < > Userspace I/O drivers  --->                                  │ │ 
  │ │    [ ] Staging drivers  --->
     ------------------------------------------------------------------------
  │      < > RAID Transport Class                                         │ │ 
  │ │    -*- SCSI device support                                          │ │ 
  │ │    < > SCSI target support                                          │ │ 
  │ │    [ ] legacy /proc/scsi/ support                                   │ │ 
  │ │        *** SCSI support type (disk, tape, CD-ROM) ***               │ │ 
  │ │    <*> SCSI disk support                                            │ │ 
  │ │    < > SCSI tape support                                            │ │ 
  │ │    < > SCSI OnStream SC-x0 tape support                             │ │ 
  │ │    <*> SCSI CDROM support                                           │ │ 
  │ │    [*]   Enable vendor-specific extensions (for SCSI CDROM)         │ │ 
  │ │    < > SCSI generic support                                         │ │ 
  │ │    < > SCSI media changer support                                   │ │ 
  │ │        *** Some SCSI devices (e.g. CD jukebox) support multiple LUNs│ │ 
  │ │    [ ] Probe all LUNs on each SCSI device                           │ │ 
  │ │    [ ] Verbose SCSI error reporting (kernel size +=12K)             │ │ 
  │ │    [ ] SCSI logging facility                                        │ │ 
  │ │    [ ] Asynchronous SCSI scanning                                   │ │ 
  │ │        SCSI Transports  --->                                        │ │ 
  │ │    [ ] SCSI low-level drivers  --->                                 │ │ 
  │ │    [ ] PCMCIA SCSI adapter support  --->                            │ │ 
  │ │    < > SCSI Device Handlers  --->                                   │ │ 
     -------------------------------------------------------------------  │ │                                           
  │ │        Firmware Drivers  --->                                       │ │ 
  │ │        File systems  --->                                           │ │ 
  │ │        Kernel hacking  --->                                         │ │ 
  │ │        Security options  --->                                       │ │ 
  │ │    -*- Cryptographic API  --->                                      │ │ 
  │ │    [*] Virtualization  --->                                         │ │ 
  │ │        Library routines  --->                                       │ │ 
  │ │    ---                                                              │ │ 
  │ │        Load an Alternate Configuration File                         │ │ 
  │ │        Save an Alternate Configuration File                         │ │ 
  │ │                                                                     │ │ 
  │ │

also the error message while booting is :

Code:

Root-NFS:no server available giving up
VFS: unable to mount root fs via NFS, trying floppy
VFS: Cannot open root dev "sda1"or unknown -block (2,0)
Please Append a correct "root=" boot option; here are the available partitions:
0b00 1048575 sr0 driver:sr
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block (2,0)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 11, 2009 10:22 pm    Post subject: Reply with quote

you didn't show this part;

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

You did recompile the kernel with the new config?? :-)

To verify the new kernel was copied to /boot

boot the cd, run:
Code:
su mkdir /mnt/gentoo
su mount /dev/sda1 /mnt/gentoo
ls -l /mnt/gentoo/boot



should contain something like
-rw-r--r-- 1 root root 3714880 May 11 13:23 kernel-2.6.24-gentoo-r5 <--> the key items

if not present with current date run:
Code:
cp /mnt/gentoo/usr/src/linux/arch/x86_64/boot/bzimage /mnt/gentoo/boot/kernel-2.6.24-gentoo-r5
Back to top
View user's profile Send private message
strokeshao
n00b
n00b


Joined: 10 May 2009
Posts: 10

PostPosted: Tue May 12, 2009 1:49 am    Post subject: Reply with quote

Code:
│ ┌─────────────────────────────────────────────────────────────────────┐ │ 
  │ │    < > RAID Transport Class                                         │ │ 
  │ │    -*- SCSI device support                                          │ │ 
  │ │    < > SCSI target support                                          │ │ 
  │ │    [ ] legacy /proc/scsi/ support                                   │ │ 
  │ │        *** SCSI support type (disk, tape, CD-ROM) ***               │ │ 
  │ │    <*> SCSI disk support                                            │ │ 
  │ │    < > SCSI tape support                                            │ │ 
  │ │    < > SCSI OnStream SC-x0 tape support                             │ │ 
  │ │    <*> SCSI CDROM support                                           │ │ 
  │ │    [*]   Enable vendor-specific extensions (for SCSI CDROM)         │ │ 
  │ │    < > SCSI generic support                                         │ │ 
  │ │    < > SCSI media changer support                                   │ │ 
  │ │        *** Some SCSI devices (e.g. CD jukebox) support multiple LUNs│ │ 
  │ │    [ ] Probe all LUNs on each SCSI device                           │ │ 
  │ │    [ ] Verbose SCSI error reporting (kernel size +=12K)             │ │ 
  │ │    [ ] SCSI logging facility                                        │ │ 
  │ │    [ ] Asynchronous SCSI scanning                                   │ │ 
  │ │        SCSI Transports  --->                                        │ │ 
  │ │    [ ] SCSI low-level drivers  --->                                 │ │ 
  │ │    [ ] PCMCIA SCSI adapter support  --->                            │ │ 
  │ │    < > SCSI Device Handlers  --->


and the other output sees to be correct:
Code:

 # ls -l /boot
total 3480
lrwxrwxrwx 1 root root       1 2009-05-10 12:44 boot -> .
-rw-r--r-- 1 root root 3556864 2009-05-10 14:27 kernel-2.6.24-gentoo-r5
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue May 12, 2009 4:46 am    Post subject: Reply with quote

2009-05-10 14:27 says the kernel in /boot was compiled and installed before I posted the suggested configuration changes. Since I am writing this on a motherboard that uses the same chipset and configuration as you now have; I have to leap to the conclusion that the new kernel has not been recopied to /boot after being recompiled with the revised configuration. So a quick total rerun:
Code:

boot the cd, then run:
mount /mnt/gentoo /dev/sda1
#enter the chroot
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"
cd /usr/src/linux
make menuconfig #check that the changes are present
make && make modules_install
cp arch/x86_64/boot/bzImage  /boot/kernel-2.6.24-gentoo-r5  #x86_64 for 64 bit should be replaced by x86 if the install is 32 bit
exit
reboot


to hard drive -- fingers crossed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum