LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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: 85
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 Thumbnails
Click image for larger version

Name:	booting.JPG
Views:	43
Size:	21.2 KB
ID:	11692  
 
Old 01-23-2013, 10:28 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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: 85

Original Poster
Blog Entries: 1

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 Thumbnails
Click image for larger version

Name:	no root part.JPG
Views:	29
Size:	40.0 KB
ID:	11695   Click image for larger version

Name:	no root.JPG
Views:	33
Size:	42.8 KB
ID:	11696  

Last edited by monojeffrey; 01-24-2013 at 04:03 AM. Reason: attaching snapshots
 
Old 01-24-2013, 05:22 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
fdisk output

hi chris
i have attached the fdisk -l output as you mentioned
Attached Thumbnails
Click image for larger version

Name:	fdisk.JPG
Views:	24
Size:	47.1 KB
ID:	11700  
 
Old 01-24-2013, 11:55 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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: 85

Original Poster
Blog Entries: 1

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: 85

Original Poster
Blog Entries: 1

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 Thumbnails
Click image for larger version

Name:	boot problem.JPG
Views:	28
Size:	15.1 KB
ID:	11706  
 
Old 01-26-2013, 10:31 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
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: 85

Original Poster
Blog Entries: 1

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 Thumbnails
Click image for larger version

Name:	boot partition contents.JPG
Views:	18
Size:	34.4 KB
ID:	11711  
 
Old 01-27-2013, 12:13 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
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: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
lost+found directory contents

have attached the snapshot of lost+found dir
Attached Thumbnails
Click image for larger version

Name:	contents.JPG
Views:	17
Size:	54.0 KB
ID:	11719  
 
Old 01-28-2013, 09:19 AM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:51 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration