geninitrd nie wie co to 0ede
Mateusz Korniak
mateusz at ant.gliwice.pl
Mon Apr 16 10:45:54 CEST 2012
On Sunday 15 of April 2012, Arkadiusz Miśkiewicz wrote:
> On Sunday 15 of April 2012, Mateusz Korniak wrote:
> > On Wednesday 11 of April 2012, Lukasz Glebicki wrote:
> > Chyba wpadłem na ten sam problem, swieże Th, rootfs na
> >
> > ACTIVE '/dev/vg_single_disk/root' [4.87 GiB] inherit
> >
> > ten na banalnym PV:
> > PV /dev/hdb5 VG vg_single_disk lvm2 [4.88 GiB / 4.00 MiB free]
> > Total: 1 [4.88 GiB] / in use: 1 [4.88 GiB] / in no VG: 0 [0 ]
> >
> > Bo probie startu:
> > http://dug.im/97327
> > mounting fe00 on /newroot failed :(
> >
> > kernel-3.3.1-2.i686
> >
> > Jakieś pomysły jak to objeść ?
>
> Odpowiedzialny za parsowanie jest kod w initrd_gen_initramfs_switchroot().
> Przydał by się wynik z "cat /proc/partitions" z geninitrd tuż przed
> wykonaniem tej funkcji.
To przy generacji mam [1], po starcie [2]:
Roznic nie widzę, (md6 nie jest potrzebne do rootfs).
Roznica jest natomiast w linku urządzenia rootfs
podaczas generacji initrd jest:
/dev/vg_single_disk/root -> ../dm-0
a po probie startu:
/dev/vg_single_disk/root -> /dev/mapper/vg_single_disk-root
I u mnie się robi initramfs [3].
Mam ustawione w lilo:
root=/dev/vg_single_disk/root
[1]
cat /proc/partitions
major minor #blocks name
3 0 78150744 hda
3 1 216846 hda1
3 2 20482875 hda2
3 3 72292 hda3
3 4 1 hda4
3 5 136521 hda5
3 6 9775521 hda6
3 7 46941898 hda7
3 8 522081 hda8
3 64 78150744 hdb
3 65 128488 hdb1
3 66 64260 hdb2
3 67 10241437 hdb3
3 68 1 hdb4
3 69 5116671 hdb5
3 70 9775521 hdb6
3 71 9775521 hdb7
3 72 9775521 hdb8
3 73 33270583 hdb9
254 0 5107712 dm-0
9 6 9775360 md6
[2]:
http://dug.im/3f52a
[3]
geninitrd: # $Revision: 12530 $ $Date:: 2012-03-30 14:41:13 +0000 #$
(geninitrd)
geninitrd: Using _lib: lib
geninitrd: Using initrd_dir: /usr/lib/initrd
geninitrd: find_tool: found /usr/lib/initrd/busybox
geninitrd: # $Revision: 12458 $ $Date:: 2012-01-05 19:43:32 +0000 #$ (mod-ide)
geninitrd: # $Revision: 12444 $ $Date:: 2011-12-07 19:32:09 +0000 #$ (mod-
luks)
geninitrd: find_tool: did not find any of: /usr/lib/initrd/cryptsetup
/sbin/cryptsetup-initrd
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
multipath)
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
dmraid)
geninitrd: find_tool: did not find any of: /usr/lib/initrd/dmraid
/sbin/dmraid-initrd
geninitrd: # $Revision: 12504 $ $Date:: 2012-03-19 19:34:11 +0000 #$ (mod-lvm)
geninitrd: find_tool: found /usr/lib/initrd/lvm
geninitrd: # $Revision: 12377 $ $Date:: 2011-10-15 13:49:57 +0000 #$ (mod-md)
geninitrd: find_tool: found /usr/lib/initrd/mdassemble
geninitrd: find_tool: found /sbin/mdadm
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
blkid)
geninitrd: find_tool: found /usr/lib/initrd/blkid
geninitrd: # $Revision: 12502 $ $Date:: 2012-03-18 19:25:59 +0000 #$ (mod-
udev)
geninitrd: find_tool: did not find any of: /usr/lib/initrd/udevd /sbin/initrd-
udevd
geninitrd: find_tool: did not find any of: /usr/lib/initrd/udevadm
/sbin/initrd-udevadm
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
tuxonice)
geninitrd: # $Revision: 12500 $ $Date:: 2012-03-18 16:32:24 +0000 #$ (mod-
suspend)
geninitrd: find_tool: did not find any of: /usr/lib/initrd/resume
/usr/lib/suspend/resume /usr/sbin/resume
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
fbsplash)
geninitrd: find_tool: did not find any of: /usr/sbin/splash_geninitramfs
/usr/bin/splash_geninitramfs
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
condecor)
geninitrd: find_tool: did not find any of: /usr/sbin/splash_geninitramfs
/usr/bin/splash_geninitramfs
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
bootsplash)
geninitrd: find_tool: did not find any of: /bin/splash.bin
geninitrd: # $Revision: 12327 $ $Date:: 2011-08-19 19:40:53 +0000 #$ (mod-
uvesafb)
geninitrd: find_tool: did not find any of: /usr/lib/initrd/v86d /sbin/v86d
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-nfs)
geninitrd: # $Revision: 12415 $ $Date:: 2011-11-27 14:03:41 +0000 #$ (mod-
sata)
geninitrd: # $Revision: 12458 $ $Date:: 2012-01-05 19:43:32 +0000 #$ (mod-
scsi)
geninitrd: # $Revision: 12512 $ $Date:: 2012-03-24 18:27:54 +0000 #$ (mod-
usbkbd)
geninitrd: ERROR: ./initrd-3.3.1-2.gz already exists.
[root w laptop-hp /boot]# geninitrd -v ./initrd-3.3.1-2.gz 3.3.1-2 -v -f
geninitrd: # $Revision: 12530 $ $Date:: 2012-03-30 14:41:13 +0000 #$
(geninitrd)
geninitrd: Using _lib: lib
geninitrd: Using initrd_dir: /usr/lib/initrd
geninitrd: find_tool: found /usr/lib/initrd/busybox
geninitrd: # $Revision: 12458 $ $Date:: 2012-01-05 19:43:32 +0000 #$ (mod-ide)
geninitrd: # $Revision: 12444 $ $Date:: 2011-12-07 19:32:09 +0000 #$ (mod-
luks)
geninitrd: find_tool: did not find any of: /usr/lib/initrd/cryptsetup
/sbin/cryptsetup-initrd
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
multipath)
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
dmraid)
geninitrd: find_tool: did not find any of: /usr/lib/initrd/dmraid
/sbin/dmraid-initrd
geninitrd: # $Revision: 12504 $ $Date:: 2012-03-19 19:34:11 +0000 #$ (mod-lvm)
geninitrd: find_tool: found /usr/lib/initrd/lvm
geninitrd: # $Revision: 12377 $ $Date:: 2011-10-15 13:49:57 +0000 #$ (mod-md)
geninitrd: find_tool: found /usr/lib/initrd/mdassemble
geninitrd: find_tool: found /sbin/mdadm
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
blkid)
geninitrd: find_tool: found /usr/lib/initrd/blkid
geninitrd: # $Revision: 12502 $ $Date:: 2012-03-18 19:25:59 +0000 #$ (mod-
udev)
geninitrd: find_tool: did not find any of: /usr/lib/initrd/udevd /sbin/initrd-
udevd
geninitrd: find_tool: did not find any of: /usr/lib/initrd/udevadm
/sbin/initrd-udevadm
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
tuxonice)
geninitrd: # $Revision: 12500 $ $Date:: 2012-03-18 16:32:24 +0000 #$ (mod-
suspend)
geninitrd: find_tool: did not find any of: /usr/lib/initrd/resume
/usr/lib/suspend/resume /usr/sbin/resume
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
fbsplash)
geninitrd: find_tool: did not find any of: /usr/sbin/splash_geninitramfs
/usr/bin/splash_geninitramfs
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
condecor)
geninitrd: find_tool: did not find any of: /usr/sbin/splash_geninitramfs
/usr/bin/splash_geninitramfs
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-
bootsplash)
geninitrd: find_tool: did not find any of: /bin/splash.bin
geninitrd: # $Revision: 12327 $ $Date:: 2011-08-19 19:40:53 +0000 #$ (mod-
uvesafb)
geninitrd: find_tool: did not find any of: /usr/lib/initrd/v86d /sbin/v86d
geninitrd: # $Revision: 12169 $ $Date:: 2011-02-19 13:59:40 +0000 #$ (mod-nfs)
geninitrd: # $Revision: 12415 $ $Date:: 2011-11-27 14:03:41 +0000 #$ (mod-
sata)
geninitrd: # $Revision: 12458 $ $Date:: 2012-01-05 19:43:32 +0000 #$ (mod-
scsi)
geninitrd: # $Revision: 12512 $ $Date:: 2012-03-24 18:27:54 +0000 #$ (mod-
usbkbd)
geninitrd: Using modprobe -c to get modules config
geninitrd: Finding USB keyboard modules
geninitrd: Found USB Keyboard: LITEON Technology USB Multimedia Keyboard
geninitrd: Finding SATA modules (class=0x0106)
geninitrd: Using /dev/vg_single_disk/root as device for rootfs
geninitrd: Finding modules for device path /dev/vg_single_disk/root
geninitrd: LVM: /dev/vg_single_disk/root is LVM node
geninitrd: LVM VG for /dev/vg_single_disk/root: vg_single_disk
geninitrd: LVM PV for vg_single_disk: /dev/hdb5
geninitrd: Finding modules for device path /dev/hdb5
geninitrd: Finding IDE modules using ide_hostadapter
geninitrd: Finding IDE modules using PCI ID database
geninitrd: LVM v2 enabled
geninitrd: Building initrd...
geninitrd: + cp /usr/lib/initrd/busybox /root/tmp/initrd.i1Lrvw/bin/busybox
geninitrd: Loading module [usb-common]
geninitrd: Loading module [usbcore]
geninitrd: Loading module [ehci-hcd]
geninitrd: Loading module [mmc_core]
geninitrd: Loading module [pcmcia_core]
geninitrd: Loading module [pcmcia]
geninitrd: Loading module [ssb]
geninitrd: Loading module [ohci-hcd]
geninitrd: Loading module [hid]
geninitrd: Loading module [usbhid]
geninitrd: Loading module [ide-core]
geninitrd: Loading module [atiixp]
geninitrd: Loading module [ide-gd_mod]
geninitrd: Loading module [dm-mod]
geninitrd: Loading module [crc16]
geninitrd: Loading module [mbcache]
geninitrd: Loading module [jbd2]
geninitrd: Loading module [ext4]
geninitrd: Adding BLKID support to initrd
geninitrd: + cp /usr/lib/initrd/blkid /root/tmp/initrd.i1Lrvw/bin/blkid
geninitrd: Adding LVM support to initrd
geninitrd: + cp /usr/lib/initrd/lvm /root/tmp/initrd.i1Lrvw/bin/lvm.static
geninitrd: Adding rootfs finding based on kernel cmdline root= option support.
geninitrd: + mkdir -p /root/tmp/initrd.i1Lrvw/dev/vg_single_disk
geninitrd: + cp /dev/vg_single_disk/root
/root/tmp/initrd.i1Lrvw/dev/vg_single_disk/root
geninitrd: image size: 4096 KiB (/root/tmp/initrd.i1Lrvw)
geninitrd: Creating initramfs image /root/tmp/initrd.img-ibuw5M
geninitrd: finding compressor: lzo gzip xz lzma bzip2 (via yes)
geninitrd: Compressing ./initrd-3.3.1-2.gz with gzip
--
Mateusz Korniak
"(...) mam brata - poważny, domator, liczykrupa, hipokryta, pobożniś,
krótko mówiąc - podpora społeczeństwa."
Nikos Kazantzakis - "Grek Zorba"
More information about the pld-devel-pl
mailing list