Booting problem
1 Attachment(s)
am running Red hat 5
having some problem with booting attached snapshot is there any option called Last known good configuration (like in windows) to resume normal booting of the server -- thanks for the help |
Looks like the kernel or related file is missing.
You could use the install media and select Rescue mode to edit /boot/grub/grub.conf on the disk and use another kernel. Usually it defaults to 3 kernels being configured there. https://www.centos.org/docs/5/html/I...mode-boot.html |
No root partition
2 Attachment(s)
i went to the link and referred found to be good one (learned how to edit grub)
but the problem is there is no root partition i attached the snap shots of the rescue mode -- thanks for the help |
In that 2nd screen ie cli, try
Code:
fdisk -l We can check to see what you've got. |
fdisk output
1 Attachment(s)
hi chris
i have attached the fdisk -l output as you mentioned |
Well, as you can see, that says you've got a formatted 16GB disk with Linux and an unformatted 10GB disk.
Does that sound right to you? You'll notice that /dev/sda1 has a '*' in the 'Boot' column, so that's your boot partition, so you should try to mount that under /mnt/sysimage and you should find the grub file as above. I'll just point out that those are pretty small disks for a modern distro. You'll need to be careful what (ie how much) SW you install. FYI RHEL 5 Install http://www.linuxtopia.org/online_boo...ide/index.html & Admin http://www.linuxtopia.org/online_boo...ion/index.html guides. Good Luck :) |
practicing Linux
hi chris,
its just a VM workstation environment am just developing an environment for practicing Linux(would be installing only one application with oracle database) i have been with linux environment for the past three months only(novice) so , i would read the links wat u have mentioned thank u so much for your patience and clearing my silly mistakes |
couldn't found the root partition files
1 Attachment(s)
i could not find the boot partition files(grub.conf) etc
i created a directory called moon and used this command mount -t ext3 /dev/sda1 /moon (since sda1 contains the boot partition ) when i navigated to /moon i found the files which is attached to the snapshot |
The image in your last post shows the kernel (vmlinuz...) which is shown as a hidden file (prefixed by a dot (.) and is a different verson than the kernel from your initial post?? No other boot files show. What's in the lost+found directory?
|
contents of lost+found directory
1 Attachment(s)
i mounted the /dev/sda1 contents to moon
the snapshot attached shows the contents inside unable to find grub and other files related to the boot partitions. |
Mount sda1 again and run this: ls -la /moon/lost+found/
I don't think it's going to show much, anything useful that is. |
lost+found directory contents
1 Attachment(s)
have attached the snapshot of lost+found dir
|
Doesn't look like there is much hope here. Your kernel was changed for some unknown reason and you don't have any boot files on sda1.
|
All times are GMT -5. The time now is 11:20 PM. |