РЕШЕНО: Установка Gentoo (Cd-minimal + stage3 + portage)

Sabayon, Calculate, Funtoo, Exherbo

Модератор: /dev/random

DrakSoul
Сообщения: 227
Статус: user
ОС: unix

РЕШЕНО: Установка Gentoo

Сообщение DrakSoul »

В силу обстоятельств решил перейти на Gentoo

Для установки использовал
install-amd64-minimal-20110728.iso записаный на CD
+ stage3-amd64-20110728.tar.bz2 и portage-latest.tar.bz2 на usb
+ статьи по Gentoo

Во время первой перезагрузки выскочило

Код: Выделить всё

>> Determining root device...
!! Could not find the root block devicein.
   Please specify another value or: Enter for the same, type "Shell" for a
Shell, or "q" to skip...
   root block device () :: _

Первый блин комом.
Как тепер туда добратся и что делать? Переставлять с нуля?

gentoo # cfdisk /dev/sda

Код: Выделить всё

                              Disk Drive: /dev/sda
                       Size: 320071851520 bytes, 320.0 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 38913

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sda1        Boot        Primary   ext4                              1003.49
    sda2                    Primary   Linux swap / Solaris              3997.49
    sda5                    Logical   ext4                             10001.95
    sda6                    Logical   ext4                             12000.69
    sda7                    Logical   ext4                             20003.89
    sda8                    Logical   ext4                              3997.49
    sda9                    Logical   ext4                             15998.17
    sda10                   Logical   ext4                            253067.19
                            Pri/Log   Free Space                           1.54*

gentoo # fdisk -l

Код: Выделить всё


Disk /dev/sda: 320.1 GB, 320071851520 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625140335 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6337e5a5

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63     1959929      979933+  83  Linux
/dev/sda2         1959930     9767519     3903795   82  Linux swap / Solaris
/dev/sda3         9767520   625137344   307684912+   5  Extended
/dev/sda5         9767583    29302559     9767488+  83  Linux
/dev/sda6        29302623    52741394    11719386   83  Linux
/dev/sda7        52741458    91811474    19535008+  83  Linux
/dev/sda8        91811538    99619064     3903763+  83  Linux
/dev/sda9        99619128   130865489    15623181   83  Linux
/dev/sda10      130865553   625137344   247135896   83  Linux

/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        /boot        ext4        noauto,noatime    1 2
/dev/sda2        none        swap        sw        0 0
/dev/sda5        /        ext4        noatime        0 1
/dev/sda6        /tmp        ext4        noatime        0 1
/dev/sda7        /usr        ext4        noatime        0 1
/dev/sda8        /usr/portage    ext4        noatime        0 1
/dev/sda9        /var        ext4        noatime        0 1
/dev/sda10        /home        ext4        noatime        0 1
/dev/cdrom        /mnt/cdrom    auto        noauto,ro    0 0
/dev/fd0        /mnt/floppy    auto        noauto        0 0

/boot/grub/menu.list

Код: Выделить всё

# 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

title Gentoo Linux 2.6.39-r3
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-2.6.39-gentoo-r3 root=/dev/ram0
real_root=/dev/sda3
initrd /boot/initramfs-genkernel-x86_64-2.6.39-gentoo-r3

# vim:ft=conf:
Твои тени живут и исчезают, познающий в тебе пребывает вовек,
Он был, есть и будет - его час не пробьет никогда ...
-----------------------------------------------------------------
dd if=/"Point of perception" of=/dev/user bs="here and now"
Спасибо сказали:
Аватара пользователя
serzh-z
Бывший модератор
Сообщения: 8259
Статус: Маньяк
ОС: Arch, Fedora, Ubuntu

Re: РЕШЕНО: Установка Gentoo

Сообщение serzh-z »

DrakSoul писал(а):
02.08.2011 16:05
Переставлять с нуля?
Да, и так 12 раз.

real_root - это параметр kernel и должен быть на одной строке с "kernel /boot/kernel-genkernel-x86_64-2.6.39-gentoo-r3 root=/dev/ram0". Более того, /dev/sda3 не существует, а корень - это /dev/sda5
Спасибо сказали: