- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Netserver LC 2000 / RedHat 7.2 Cannot Mount Root ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
03-01-2002 01:15 PM
03-01-2002 01:15 PM
Netserver LC 2000 / RedHat 7.2 Cannot Mount Root FS
The system was running RedHat 6.2 and after building 2.4.18 kernel for it and rebooting I got a kernel panic (mount error 6 - No init found).
Thinking this a foul-up in the os, rather than spending hours searching we went with a re-install with RedHat 7.2.
5 minutes later...same error.
Has anyone had this problem before?
Any help appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 01:34 PM
03-01-2002 01:34 PM
Re: Netserver LC 2000 / RedHat 7.2 Cannot Mount Root FS
What I'm wondering is if any hardware changes were made to the machine (i.e. cards removed, shuffled, disk devices moved, etc).
Something as simple as exchanging two scsi cards in a system or adding a drive to your scsi bus can render a machine unbootable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 01:41 PM
03-01-2002 01:41 PM
Re: Netserver LC 2000 / RedHat 7.2 Cannot Mount Root FS
As far as the hardware is concerned, nothing was changed.
It appears that we cannot use a 2.4 kernel on that particular server. There must be a way though, I just cant locate one on the internet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 02:27 PM
03-01-2002 02:27 PM
Re: Netserver LC 2000 / RedHat 7.2 Cannot Mount Root FS
See if it discovered and mounted the root partition correctly. If not, umount and remount the correct root fs under /mnt
If it didn't mount correctly, thats bad. You can reboot at this point and try hitting Ctrl-x at the lilo spash screen and booting like:
LILO: linux root=/dev/sda3
(substitue the correct device for your root volume)
If that boots, check the /etc/lilo.conf and see if it's correct. Reinstall.
Failing that, you could try a kernel rebuild and a new initrd image. There was a command to poke in a new device number directly into the kernel if you moved devices, but I can't recall what it was.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2002 12:44 PM
03-02-2002 12:44 PM
Re: Netserver LC 2000 / RedHat 7.2 Cannot Mount Root FS
After moving to kernel 2.4.x, did you rebuild the initrd file ?
People would suggest you to use mkinitrd, but this is my preferred method to do that :
Let's say the current initrd filename is /boot/initrd-2.4.7-3.img (this is just an example).
cp /boot/initrd-2.4.7-3.img /tmp/initrd.gz
gunzip /tmp/initrd.gz
mount -oloop /tmp/initrd /mnt
cd /mnt
grep insmod /mnt/linuxrc
grep modprobe /mnt/linuxrc
-> you have the list of modules used during the boot steps
Then, go to /lib/modules/2.4.18/... to copy the appropriate modules into /mnt/lib. For example :
cp -p /lib/modules/2.4.18/kernel/fs/ext3/ext3.o /mnt/lib
cp -p /lib/modules/2.4.18/kernel/fs/jbd/jbd.o /mnt/lib
After that :
cd /boot
umount /mnt
gzip /tmp/initrd
cp /tmp/initrd.gz /boot/initrd-2.4.18.img
Edit your /etc/lilo.conf to reflect the changes.
Launch "lilo" to refresh boot zones.
If you want an advise : when you build another kernel, it is strongly recommended to keep your old kernel in place, just in case. For example, if I had the following /etc/lilo.conf :
prompt
timeout=100
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
image=/boot/vmlinuz-2.4.7-3
label=linux
initrd=/boot/initrd-2.4.7-3.img
read-only
root=/dev/hda5
After the changes above, my /etc/lilo.conf would look like this :
prompt
timeout=100
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
image=/boot/vmlinuz-2.4.18
label=linux
initrd=/boot/initrd-2.4.18.img
read-only
root=/dev/hda5
image=/boot/vmlinuz-2.4.7-3
label=old
initrd=/boot/initrd-2.4.7-3.img
read-only
root=/dev/hda5
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 08:15 AM
03-04-2002 08:15 AM
Re: Netserver LC 2000 / RedHat 7.2 Cannot Mount Root FS
It seems that booting in 'rescue' mode from the CD, the scsi modules are loaded like so:
sym53c8xx then megaraid
Whereas when booting the system on it's own, the modules are loaded in reverse.
I will remove megaraid from the load process and report my findings. The megaraid can always be loaded after the boot process since this is not the OS partition.
BTW: RedHat 7.2 uses the Grub boot loader rather than Lilo (although lilo is an option during install).
-Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:11 AM
03-04-2002 10:11 AM
Re: Netserver LC 2000 / RedHat 7.2 Cannot Mount Root FS
On RedHat 7.2 (or, I am assuming any 2.4 distro) the scsi modules appear to load in the wrong order for this machine.
The 2.4 kernel will load megaraid before your sym53c8xx driver resulting in some sort of conflict (does the megaraid use a sym chipset?). It seems the system will then look to the partition on your array instead of the fixed disk in the system.
I removed the megaraid entry from my modules.conf and built a new initrd image. Reboot and poof, there it was. Maybe using --with=megaraid with mkinitrd will cause this module to load -after- the sym module.
Something to think about if you have an identical system or know of someone having this problem.
Thanks for the suggestions!
-Paul Slinski