[WBEL-users] mount: error 6 mounting ext3
Fernando J. Díaz Vilela
fernandodiaz@titsa.com
Mon, 8 Nov 2004 19:01:01 -0000
Hello All penguins:
I'm trying to upgrade kernel from 2.4 to 2.6.22 and when I reboot it with
new kernel break with kernel panic, displaying the next:
...
Mounting root filesystem
Mount: error 6 mounting ext3
Pivotroot: pivot_root (/sysroot, /sysroot/initrd) failed: 2
Umount /initrd/proc failed: 2
Mounted devfs on /dev
Freeing unused kernel memory: 204 freed
Kernel Panic: No init found, try passing init= option to kernel
I read same docs but I don't know what I did wrong, can you help me?
I can reboot with old kernel (see 5.- lilo) to do changes.
*1.- I upgrade gcc, make, binutils, util-linux, module-init-tools,
efs2progs, jfsutils, reiserfsprogs, xfsprogs, pcmcia-cs, quota-tools, PPP,
isdn4k-utils, nfs-utils, procps and oprofile to the last version as say in
Documentation/Changes,
*2.- I configure it with ext3 support (it's file systems part of .config)):
#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y
#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
CONFIG_HFS_FS=m
# CONFIG_HFSPLUS_FS is not set
CONFIG_BEFS_FS=m
# CONFIG_BEFS_DEBUG is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_CRAMFS=m
CONFIG_VXFS_FS=m
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
CONFIG_SYSV_FS=m
CONFIG_UFS_FS=m
*3.- My gcc is version 3.2.3-20
*4.- I launch make clean ; make bzImage ; make modules ; make
modules_install ; make install
*5.- I edit lilo like:
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32
image=/boot/vmlinuz-2.6.8.1.27Oct2004
label=linux
initrd=/boot/initrd-2.6.8.1.27Oct2004.img
read-only
append="root=LABEL=/"
root=/dev/hda2
image=/boot/vmlinuz-2.4.21-4.EL
label=linux-2.4
initrd=/boot/initrd-2.4.21-4.EL.img
read-only
append="root=LABEL=/"
*6.- And it is my /etc/fstab:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
None /dev/pts devpts gid=5,mode=620 0 0
None /proc proc defaults 0 0
None /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660
noauto,owner,kudzu,ro 0 0
none /sys sysfs noauto 0 0
Thanks for your time!
Fernando J. Díaz Vilela
Técnico de Sistemas
Dirección de Informática
Transportes Interurbanos de Tenerife S.A.U.
Polígono Cuevas Blancas, Manzana 4, C/Punta de Anaga, 1
38109 - Santa Cruz de Tenerife - ESPAÑA
Tlf.- 922 479 500 Extensión 152
Fax 922 479 502
e-mail: fernandodiaz@titsa.com