- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: kernel painic again
Operating System - Linux
1753877
Members
7596
Online
108809
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2003 07:55 AM
тАО09-01-2003 07:55 AM
kernel painic again
hi , anyone , i met a problem when i want to update the kernel from 2.4.20-9 to 2.4.22, i did as follow
make mrproper
make xconfig
make bzImage
make modules
make modules_install
and then copy some files to /boot such as .config and arch/i386/boot/bzImage and Systerm.map .finally , use mkinitrd to generate the .img file , configure the grub.conf file .
title Red Hat Linux (2.4.22)
root (hd0,0)
kernel /vmlinuz-2.4.22 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-22.img
, at last reboot
but there is stange error
Mounting /proc
Mounting root filesystem
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 212K freed
Kernel panic: No init found. Try passing init= option to kernel
---
i don't know how to fix , is there someone meet the same problem before , and anyone can tell me how i can fix it .
make mrproper
make xconfig
make bzImage
make modules
make modules_install
and then copy some files to /boot such as .config and arch/i386/boot/bzImage and Systerm.map .finally , use mkinitrd to generate the .img file , configure the grub.conf file .
title Red Hat Linux (2.4.22)
root (hd0,0)
kernel /vmlinuz-2.4.22 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-22.img
, at last reboot
but there is stange error
Mounting /proc
Mounting root filesystem
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 212K freed
Kernel panic: No init found. Try passing init= option to kernel
---
i don't know how to fix , is there someone meet the same problem before , and anyone can tell me how i can fix it .
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2003 08:13 AM
тАО09-01-2003 08:13 AM
Re: kernel painic again
what about make dep before make bzImage?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2003 08:18 AM
тАО09-01-2003 08:18 AM
Re: kernel painic again
why your initrd has different version?
if your newer kernel is 2.4.22
then the command to build the newer initrd would be the following:
mkinitrd /boot/initrd-2.4.22.img 2.4.22
if your newer kernel is 2.4.22
then the command to build the newer initrd would be the following:
mkinitrd /boot/initrd-2.4.22.img 2.4.22
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2003 11:48 AM
тАО09-01-2003 11:48 AM
Re: kernel painic again
Hello!
Try to change :
kernel /vmlinuz-2.4.22 ro root=LABEL=/ hdc=ide-scsi
to:
kernel /vmlinuz-2.4.22 ro root=/dev/hda1 hdc=ide-scsi
!the /dev/hda1 should be the partition device
where is the kernel is.
Caesar
Try to change :
kernel /vmlinuz-2.4.22 ro root=LABEL=/ hdc=ide-scsi
to:
kernel /vmlinuz-2.4.22 ro root=/dev/hda1 hdc=ide-scsi
!the /dev/hda1 should be the partition device
where is the kernel is.
Caesar
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP