-   Linux - Server (
-   -   Booting problem (

monojeffrey 01-23-2013 08:40 PM

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

chrism01 01-23-2013 10:28 PM

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.

monojeffrey 01-24-2013 04:01 AM

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

chrism01 01-24-2013 05:22 AM

In that 2nd screen ie cli, try

fdisk -l
that's a lowercase L param.
We can check to see what you've got.

monojeffrey 01-24-2013 11:00 PM

fdisk output
1 Attachment(s)
hi chris
i have attached the fdisk -l output as you mentioned

chrism01 01-24-2013 11:55 PM

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 & Admin guides.

Good Luck :)

monojeffrey 01-25-2013 09:33 PM

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

monojeffrey 01-25-2013 11:44 PM

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

yancek 01-26-2013 10:31 AM

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?

monojeffrey 01-26-2013 07:43 PM

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.

yancek 01-27-2013 12:13 PM

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.

monojeffrey 01-28-2013 04:03 AM

lost+found directory contents
1 Attachment(s)
have attached the snapshot of lost+found dir

yancek 01-28-2013 09:19 AM

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 07:15 PM.