From: Eugene Ostapets <eostapets@gmail.com>
To: ALT Linux kernel packages development <devel-kernel@lists.altlinux.org>
Subject: Re: [d-kernel] 2.6.14-std26-up-alt2 && NF4
Date: Mon, 12 Dec 2005 08:09:06 +0200
Message-ID: <e12fd2db0512112209p729c144ak@mail.gmail.com> (raw)
In-Reply-To: <20051211191204.GH11694@procyon.home>
11.12.05, Sergey Vlasov<vsu altlinux.ru> написал(а):
> Теперь нужно пересоздать initrd с помощью mkinitrd без подобных
> фокусов:
>
> mkinitrd -fv /boot/initrd-2.6.14-std26-up-alt2.img 2.6.14-std26-up-alt2
>
> (можете ещё прислать вывод этой команды), после чего смотреть, что
> происходит при загрузке с этим initrd.
Ничего, no rootfs... Я бы не начинал экспеременыт, если бы что-то
работало из коробки...
mkinitrd -fv /boot/initrd-2.6.14-std26-up-alt2.img 2.6.14-std26-up-alt2
mkinitrd: Generating module dependencies...
mkinitrd: ...done.
mkinitrd: Using modules:
/lib/modules/2.6.14-std26-up-alt2/kernel/drivers/ide/ide-core.ko
/lib/modules/2.6.14-std26-up-alt2/kernel/drivers/ide/pci/generic.ko
/lib/modules/2.6.14-std26-up-alt2/kernel/drivers/ide/pci/amd74xx.ko
/lib/modules/2.6.14-std26-up-alt2/kernel/drivers/ide/ide-generic.ko
/lib/modules/2.6.14-std26-up-alt2/kernel/drivers/ide/ide-disk.ko
/lib/modules/2.6.14-std26-up-alt2/kernel/drivers/scsi/scsi_mod.ko
/lib/modules/2.6.14-std26-up-alt2/kernel/drivers/scsi/sd_mod.ko
/lib/modules/2.6.14-std26-up-alt2/kernel/drivers/scsi/libata.ko
/lib/modules/2.6.14-std26-up-alt2/kernel/drivers/scsi/sata_nv.ko
/lib/modules/2.6.14-std26-up-alt2/kernel/fs/reiserfs/reiserfs.ko
Contents of linuxrc:
#!/bin/sh
/bin/insmod -f /lib/modules/2.6.14-std26-up-alt2/kernel/drivers/ide/ide-core.ko
/bin/insmod -f /lib/modules/2.6.14-std26-up-alt2/kernel/drivers/ide/pci/generic.ko
/bin/insmod -f /lib/modules/2.6.14-std26-up-alt2/kernel/drivers/ide/pci/amd74xx.ko
/bin/insmod -f /lib/modules/2.6.14-std26-up-alt2/kernel/drivers/ide/ide-generic.ko
/bin/insmod -f /lib/modules/2.6.14-std26-up-alt2/kernel/drivers/ide/ide-disk.ko
/bin/insmod -f /lib/modules/2.6.14-std26-up-alt2/kernel/drivers/scsi/scsi_mod.ko
/bin/insmod -f /lib/modules/2.6.14-std26-up-alt2/kernel/drivers/scsi/sd_mod.ko
/bin/insmod -f /lib/modules/2.6.14-std26-up-alt2/kernel/drivers/scsi/libata.ko
/bin/insmod -f /lib/modules/2.6.14-std26-up-alt2/kernel/drivers/scsi/sata_nv.ko
/bin/insmod -f /lib/modules/2.6.14-std26-up-alt2/kernel/fs/reiserfs/reiserfs.ko
EncodeDev()
{
echo $(( ($2 & 0xff) | ($1 << 8) | (($2 & ~0xff) << 12) ))
}
/bin/mount -t proc proc /proc
read cmdline </proc/cmdline
cmdline=" $cmdline "
if test -z "${cmdline##*[ ]root=*}" ; then
root="${cmdline##*[ ]root=}"
root="${root%%[ ]*}"
if test -z "${root##/dev/*}" ; then
root="${root#/dev/}"
(
read ignored
read ignored
while read major minor size name ignored; do
if test "$name" = "$root" ; then
EncodeDev $major $minor >/proc/sys/kernel/real-root-dev
break
fi
done
) </proc/partitions
fi
fi
/bin/umount /proc
mkinitrd: Inode count: 62
mkinitrd: Image size: 996K
mkinitrd: Created image from tree: /tmp/initrd.CGWTlM7800/tree -->
/tmp/initrd.CGWTlM7800/img
mkinitrd: Created romfs image file
mkinitrd: Installed ramdisk into /boot/initrd-2.6.14-std26-up-alt2.img
mkinitrd: Added bootsplash
"/etc/bootsplash/themes/current/config/bootsplash-1024x768.cfg" to the
/boot/initrd-2.6.14-std26-up-alt2.img
Ramdisk size: 1,6M
--
С уважением,
Евгений Остапец
uin: 23747217
jid: eugene_ostapets@jabber.ru
next prev parent reply other threads:[~2005-12-12 6:09 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-11 13:01 Eugene Ostapets
2005-12-11 13:42 ` Sergey Vlasov
2005-12-11 14:54 ` Eugene Ostapets
2005-12-11 15:43 ` Sergey Vlasov
2005-12-11 18:40 ` Eugene Ostapets
2005-12-11 19:12 ` Sergey Vlasov
2005-12-12 6:09 ` Eugene Ostapets [this message]
2005-12-12 10:11 ` Sergey Vlasov
2005-12-12 10:55 ` Eugene Ostapets
2005-12-12 11:19 ` Sergey Vlasov
2005-12-12 11:46 ` Eugene Ostapets
2005-12-12 12:58 ` Sergey Vlasov
2005-12-12 14:20 ` Sergey Vlasov
2005-12-12 14:30 ` Eugene Ostapets
2005-12-12 15:13 ` Sergey Vlasov
2005-12-12 15:26 ` Dmitry V. Levin
2005-12-12 16:09 ` Sergey Vlasov
2005-12-12 16:14 ` Dmitry V. Levin
2005-12-12 16:28 ` Sergey Vlasov
2005-12-12 16:30 ` Eugene Ostapets
2005-12-12 16:57 ` Anton D. Kachalov
2005-12-12 17:12 ` Sergey Vlasov
2005-12-12 17:25 ` Genix
2005-12-12 18:25 ` Eugene Ostapets
2005-12-12 18:25 ` Eugene Ostapets
2005-12-12 18:29 ` Dmitry V. Levin
2005-12-12 19:18 ` Eugene Ostapets
2005-12-12 19:26 ` [d-kernel] " Konstantin A. Lepikhov
2005-12-12 22:09 ` [d-kernel] " Dmitry V. Levin
2005-12-13 8:15 ` Michael Shigorin
2005-12-12 20:13 ` Pavlov Konstantin
2005-12-12 19:33 ` Michael Shigorin
2005-12-12 15:39 ` Eugene Ostapets
2005-12-13 12:04 ` Sergey Vlasov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e12fd2db0512112209p729c144ak@mail.gmail.com \
--to=eostapets@gmail.com \
--cc=devel-kernel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git