LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2008, 09:20 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 489

Rep: Reputation: 36
[RESOLVED] resolved! - centos5.2 32bit not boot!


There is a partiotns of centos 5.2 32bit, but not boot.

I have two oses, ine is vista x64 and centos 5.2 32bit.
Whenever I boot my pc, I open cmos boot selector.

Today I booted vista x64 and received message "missing ntldr, and insert vista cd, and try to recover." So I did.

After finishing my work, I returned centos, I met "system not found".

So I checked with system tools.

At centos livecd,
# chroot /mnt/sysimage
# file not found

So I checked with testdisk of linux systemrescue cd at www.sysresccd.org.
With comamands "quicksearch, deeper search", I can see ntfs/hpfs.

However acronis recovery expert shows completes centos partition at auto, manual modes as attatched screenshot.
-> http://kldp.org/files/hdd_failure.jpg

how can I recover centos and boot this box?

Last edited by windstory; 12-21-2008 at 06:02 AM. Reason: [RESOLVED]
 
Old 12-16-2008, 09:28 AM   #2
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Grub or Lilo

Windows recovery normally deletes grub or lilo from your system. You will need to re-install whichever you had installed (never used Centos so I don't know which one it uses).

Last edited by Hern_28; 12-16-2008 at 09:46 AM.
 
Old 12-16-2008, 09:42 AM   #3
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Hern_28,

Thanks for your reply and suggention.

But I want to recover my box.
There are some datas I didn't backup.

Quote:
Originally Posted by Hern_28 View Post
Windows recovery normally deleted grub or lilo from your system. You will need to re-install whichever you had installed (never used Centos so I don't know which one it uses).
 
Old 12-16-2008, 09:50 AM   #4
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Bootloader.

For more information on which bootloader you are using will have to either look on the Cento's website or google it.

Re-installing the boot-loader does not delete windows or centos, just allows you to boot operating systems.
 
Old 12-16-2008, 10:54 AM   #5
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Dear Hern_28,

I minunderstood your kind and valuable comment.
I will study and try to recover.

Really appreciate.


Quote:
Originally Posted by Hern_28 View Post
For more information on which bootloader you are using will have to either look on the Cento's website or google it.

Re-installing the boot-loader does not delete windows or centos, just allows you to boot operating systems.
 
Old 12-16-2008, 10:55 AM   #6
midnilux
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
I had a similiar problem

I used EasyBCD on vista, it's a tool that let you edit vista's bootloader. Just add an entry for Linux and choose "grub is not installed"

Reboot and when you choose that linux entry it will boot into it.
 
Old 12-16-2008, 10:57 AM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
you can use supergrub
http://www.supergrubdisk.org/
which will automatically restore your centos' grub.
 
Old 12-16-2008, 06:41 PM   #8
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
sycamorex and midnilux,

Thank you for your kind and replies.

I am dowloading and will study them.

Happy days!

Quote:
Originally Posted by sycamorex View Post
you can use supergrub
http://www.supergrubdisk.org/
which will automatically restore your centos' grub.
 
Old 12-19-2008, 06:57 AM   #9
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
How to install bootloader?

I've post this questions two dys ago, and got two recomandations, however I could not find solution at google.

Even super grub disk doesn't work on my hard disk.

If possible, please let me know how to install grub on my troubled hard disk.

--------------my old post at ---------

There is a partiotns of centos 5.2 32bit, but not boot.

I have two oses, ine is vista x64 and centos 5.2 32bit.
Whenever I boot my pc, I open cmos boot selector.

Today I booted vista x64 and received message "missing ntldr, and insert vista cd, and try to recover." So I did.

After finishing my work, I returned centos, I met "system not found".

So I checked with system tools.

At centos livecd,
# chroot /mnt/sysimage
# file not found

So I checked with testdisk of linux systemrescue cd at www.sysresccd.org.
With comamands "quicksearch, deeper search", I can see ntfs/hpfs.

However acronis recovery expert shows completes centos partition at auto, manual modes as attatched screenshot.
-> http://kldp.org/files/hdd_failure.jpg

how can I recover centos and boot this box?
 
Old 12-19-2008, 07:08 AM   #10
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Is it an LVM partition?
You must have a boot partition then?
Do you know which partitions you have and what is where?
Where is grub installed?
Can you access your data (with ls and vi) from systemrescueCD?
Can you post your grub menu.lst file?
 
Old 12-19-2008, 07:14 AM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
windstory;

Please do not start new threads on the same topic as an existing one. I have merged your most recent post into the thread you started on the 16th.
 
Old 12-19-2008, 08:43 AM   #12
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Dear pixellany,

I am sorry for this.

Dear Agrouf,

About your questions,
1) Is it an LVM partition? yes.
2) You must have a boot partition then? yes
3) Do you know which partitions you have and what is where? I cannot remember. I am searching for it.
4) Where is grub installed? /boot
5) Can you access your data (with ls and vi) from systemrescueCD? No
6) Can you post your grub menu.lst file? At this tme, impossible. If I can find out, I will post here. ===> I found, but it's 0 byte.



I have these files:

2008-12-20 12:15 <DIR> .
2008-12-20 12:15 <DIR> ..
2008-12-19 10:35 <DIR> Extra Found Files
2008-12-19 10:35 <DIR> Metafiles
2008-12-20 12:15 0 1.txt
2008-11-12 11:54 65,411 config-2.6.18-92.1.18.el5
2008-06-11 08:14 65,406 config-2.6.18-92.el5
2008-12-13 04:47 <DIR> extlinux
2008-12-13 04:48 <DIR> grub
2008-11-27 06:43 3,204,605 initrd-2.6.18-92.1.18.el5.img
2008-11-27 04:33 3,181,953 initrd-2.6.18-92.el5.img
2008-11-27 04:30 <DIR> lost+found
2008-12-13 04:48 0 memtest86+-1.65
2008-11-18 07:33 116,284 memtest86+-2.10
2007-11-23 08:24 80,032 message
2008-11-12 11:54 91,738 symvers-2.6.18-92.1.18.el5.gz
2008-06-11 08:14 91,734 symvers-2.6.18-92.el5.gz
2008-11-12 11:54 912,912 System.map-2.6.18-92.1.18.el5
2008-06-11 08:14 912,686 System.map-2.6.18-92.el5
2008-11-12 11:54 1,806,900 vmlinuz-2.6.18-92.1.18.el5
2008-06-11 08:14 1,806,388 vmlinuz-2.6.18-92.el5

grub directory
2008-12-20 12:16 0 2.txt
2008-11-27 04:38 63 device.map
2008-11-27 04:38 7,584 e2fs_stage1_
2008-11-27 04:38 7,456 fat_stage1_5
2008-11-27 04:38 6,720 ffs_stage1_5
2008-12-13 04:48 817 grub.conf
2008-12-13 04:48 817 grub.conf-
2008-11-27 04:38 6,720 iso9660_stag
2008-11-27 04:38 8,192 jfs_stage1_5
2008-12-19 10:35 0 menu.lst
2008-11-27 04:38 6,880 minix_stage1
2008-11-27 04:38 9,248 reiserfs_sta
2007-11-23 08:24 5,427 splash.xpm.g
2008-11-27 04:38 512 stage1
2008-11-27 04:38 104,956 stage2
2008-11-27 04:38 7,072 ufs2_stage1_
2008-11-27 04:38 6,272 vstafs_stage
2008-11-27 04:38 8,864 xfs_stage1_5

Last edited by windstory; 12-19-2008 at 09:18 AM.
 
Old 12-19-2008, 09:42 AM   #13
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Wait a minute... Is your /boot partition a NTFS partition?
 
Old 12-19-2008, 06:37 PM   #14
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
No, this disk is for centos.

The above file list is made by vist, however it is from data recovery program - maybe r-studio. And this recovery program recovered 2/3 of lvm partition.

but could not make this disk bootable.

Quote:
Originally Posted by Agrouf View Post
Wait a minute... Is your /boot partition a NTFS partition?

Last edited by windstory; 12-19-2008 at 11:14 PM.
 
Old 12-20-2008, 06:44 AM   #15
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
do you know which device it is?
if you don't know, please post the output of fdisk -l (from centos cd)
 
  


Reply


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
netbackup6 in centos5.2 taiwf Linux - Software 2 08-21-2008 06:12 PM
Oracle 9i on Centos5 mago Linux - Server 1 08-18-2008 09:45 PM
wireless on CentOs5 ufmale Linux - Newbie 1 05-29-2008 10:23 AM
How to install CentOS5 vwtech Linux - Newbie 4 01-24-2008 02:21 PM
XP Clients on CentOS5 melwade Linux - Server 1 08-03-2007 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:03 AM.

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