Bug#512679: initramfs-tools: 'more' pager is broken in initramfs shell
Package: initramfs-tools
Version: 0.92o
Severity: normal
Because of a failed boot (bug #489008) after an upgrade to Lenny, I was
dropped into the initramfs shell, which I used to figure out how to specify
my root file system using a label in grub. This was made slightly more difficult
by the absence of a working pager; 'more' is present but behaves like
'cat'. Thus, 'find | more' is almost useless.
Of course there are work-arounds, e.g., 'find | grep ...'.
-- Package-specific info:
-- /proc/cmdline
root=/dev/disk/by-label/\x2fnov08\x2froot ro vga=791 #acpi=off #init=/sbin/bootchartd
-- /proc/filesystems
ext3
fuseblk
vfat
ntfs
-- lsmod
Module Size Used by
ntfs 185856 1
nls_utf8 1760 1
nls_cp437 5568 0
vfat 9152 0
fat 40864 1 vfat
nls_base 6820 5 ntfs,nls_utf8,nls_cp437,vfat,fat
snd_hda_intel 324248 13
snd_pcm_oss 32800 0
snd_mixer_oss 12320 1 snd_pcm_oss
snd_pcm 62596 6 snd_hda_intel,snd_pcm_oss
snd_seq_dummy 2660 0
snd_seq_oss 24992 0
snd_seq_midi 5728 0
snd_rawmidi 18496 1 snd_seq_midi
snd_seq_midi_event 6432 2 snd_seq_oss,snd_seq_midi
snd_seq 41456 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 17800 6 snd_pcm,snd_seq
snd_seq_device 6380 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 45604 27 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 6368 1 snd
snd_page_alloc 7816 2 snd_hda_intel,snd_pcm
ppp_deflate 4224 0
zlib_deflate 17624 1 ppp_deflate
zlib_inflate 14144 1 ppp_deflate
bsd_comp 4864 0
ppp_async 7488 1
crc_ccitt 2080 1 ppp_async
ppp_generic 20028 7 ppp_deflate,bsd_comp,ppp_async
slhc 5408 1 ppp_generic
sierra 9096 1
usbserial 26472 3 sierra
xt_multiport 2816 1
iptable_filter 2624 1
ip_tables 10160 1 iptable_filter
x_tables 13284 2 xt_multiport,ip_tables
i915 25280 2
drm 65256 3 i915
binfmt_misc 7528 1
nfsd 186704 13
lockd 54248 1 nfsd
nfs_acl 2912 1 nfsd
auth_rpcgss 33952 1 nfsd
sunrpc 162144 11 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs 3904 1 nfsd
ppdev 6468 0
lp 8164 0
tun 8292 1
ipv6 235300 24
fuse 42908 3
sata_sil 7176 0
hwmon_vid 2720 0
eeprom 5232 0
i2c_viapro 6836 0
joydev 8480 0
parport_pc 22500 1
serio_raw 4740 0
rng_core 3940 0
i2c_i801 7920 0
hci_usb 12252 0
parport 30988 3 ppdev,lp,parport_pc
pcspkr 2432 0
bluetooth 44900 1 hci_usb
psmouse 32336 0
iTCO_wdt 9508 0
yenta_socket 20620 1
rsrc_nonstatic 9504 1 yenta_socket
i2c_core 19828 3 eeprom,i2c_viapro,i2c_i801
video 16432 0
output 2912 1 video
wmi 6440 0
battery 10180 0
ac 4196 0
button 6096 0
intel_agp 22332 1
agpgart 28776 3 drm,intel_agp
evdev 8000 10
dcdbas 6272 0
ext3 105512 9
jbd 39444 1 ext3
mbcache 7108 1 ext3
sd_mod 22200 12
dm_mirror 15104 0
dm_log 8452 1 dm_mirror
dm_snapshot 14340 0
dm_mod 46184 3 dm_mirror,dm_log,dm_snapshot
usb_storage 76032 10
ide_disk 10496 2
ide_pci_generic 3908 0 [permanent]
usbhid 35904 0
hid 33184 1 usbhid
ff_memless 4392 1 usbhid
piix 6568 0 [permanent]
ide_core 96168 3 ide_disk,ide_pci_generic,piix
ata_generic 4676 0
libata 140384 2 sata_sil,ata_generic
tg3 84708 0
scsi_mod 129356 3 sd_mod,usb_storage,libata
sdhci 13060 0
mmc_core 39932 1 sdhci
ohci1394 24944 0
ssb 33476 0
ieee1394 75800 1 ohci1394
uhci_hcd 18672 0
pcmcia 29548 1 ssb
pcmcia_core 31892 4 yenta_socket,rsrc_nonstatic,ssb,pcmcia
firmware_class 6816 1 pcmcia
dock 8304 1 libata
thermal 15228 0
processor 32576 3 thermal
fan 4164 0
thermal_sys 10856 4 video,thermal,processor,fan
ehci_hcd 28428 0
usbcore 118160 8 sierra,usbserial,hci_usb,usb_storage,usbhid,uhci_hcd,ehci_hcd
-- /etc/kernel-img.conf
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = Yes
do_initrd = yes
relative_links = yes
postinst_hook = /usr/sbin/update-grub
postrm_hook = /usr/sbin/update-grub
# do_symlinks = yes
# relative_links = yes
# do_bootloader = no
# do_bootfloppy = no
# do_initrd = yes
# link_in_boot = no
# postinst_hook = /sbin/update-grub
# postrm_hook = /sbin/update-grub
# :! man kernel-img.conf
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (900, 'testing'), (800, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.9-13 GNU cpio -- a program to manage ar
ii findutils 4.4.0-2 utilities for finding files--find,
ii klibc-utils 1.5.12-2 small utilities built with klibc f
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
ii udev 0.125-7 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.10.2-2 Tiny utilities for small and embed
initramfs-tools suggests no packages.
-- no debconf information
Reply to: