LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-23-2013, 08:40 PM   #1
monojeffrey
Member
 
Registered: May 2012
Posts: 64
Blog Entries: 1

Rep: Reputation: Disabled
Booting problem


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
Attached Images
File Type: jpg booting.JPG (21.2 KB, 28 views)
 
Old 01-23-2013, 10:28 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,225

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
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

Last edited by colucix; 01-24-2013 at 04:11 AM. Reason: Removed (deleted) spam addressing part.
 
Old 01-24-2013, 04:01 AM   #3
monojeffrey
Member
 
Registered: May 2012
Posts: 64
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
No root partition

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
Attached Images
File Type: jpg no root part.JPG (40.0 KB, 16 views)
File Type: jpg no root.JPG (42.8 KB, 19 views)

Last edited by monojeffrey; 01-24-2013 at 04:03 AM. Reason: attaching snapshots
 
Old 01-24-2013, 05:22 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,225

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
In that 2nd screen ie cli, try
Code:
fdisk -l
that's a lowercase L param.
We can check to see what you've got.
 
Old 01-24-2013, 11:00 PM   #5
monojeffrey
Member
 
Registered: May 2012
Posts: 64
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
fdisk output

hi chris
i have attached the fdisk -l output as you mentioned
Attached Images
File Type: jpg fdisk.JPG (47.1 KB, 16 views)
 
Old 01-24-2013, 11:55 PM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,225

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
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
 
1 members found this post helpful.
Old 01-25-2013, 09:33 PM   #7
monojeffrey
Member
 
Registered: May 2012
Posts: 64
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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
 
Old 01-25-2013, 11:44 PM   #8
monojeffrey
Member
 
Registered: May 2012
Posts: 64
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
couldn't found the root partition files

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
Attached Images
File Type: jpg boot problem.JPG (15.1 KB, 13 views)
 
Old 01-26-2013, 10:31 AM   #9
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,464

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
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?
 
Old 01-26-2013, 07:43 PM   #10
monojeffrey
Member
 
Registered: May 2012
Posts: 64
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
contents of lost+found directory

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.
Attached Images
File Type: jpg boot partition contents.JPG (34.4 KB, 11 views)
 
Old 01-27-2013, 12:13 PM   #11
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,464

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
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.
 
Old 01-28-2013, 04:03 AM   #12
monojeffrey
Member
 
Registered: May 2012
Posts: 64
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
lost+found directory contents

have attached the snapshot of lost+found dir
Attached Images
File Type: jpg contents.JPG (54.0 KB, 8 views)
 
Old 01-28-2013, 09:19 AM   #13
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,464

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
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.
 
  


Reply

Tags
red hat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem booting generic kernel and another problem with fluxbox - libpng warning Switch7 Slackware 17 11-14-2009 03:36 AM
problem booting from cd simmi Slackware 5 01-06-2006 04:34 PM
problem booting meelder Fedora 22 11-21-2004 09:44 PM
RH 7.3 booting problem recon1988 Red Hat 18 02-25-2004 06:52 PM
Problem Booting (LILO problem) moger Linux - General 21 01-13-2004 07:37 PM


All times are GMT -5. The time now is 12:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration