LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   centos5.2 32bit not boot! (https://www.linuxquestions.org/questions/linux-newbie-8/centos5-2-32bit-not-boot-690968/)

windstory 12-16-2008 09:20 AM

[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?

Hern_28 12-16-2008 09:28 AM

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).

windstory 12-16-2008 09:42 AM

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 (Post 3377424)
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).


Hern_28 12-16-2008 09:50 AM

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.

windstory 12-16-2008 10:54 AM

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 (Post 3377455)
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.


midnilux 12-16-2008 10:55 AM

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.

sycamorex 12-16-2008 10:57 AM

you can use supergrub
http://www.supergrubdisk.org/
which will automatically restore your centos' grub.

windstory 12-16-2008 06:41 PM

sycamorex and midnilux,

Thank you for your kind and replies.

I am dowloading and will study them.

Happy days!

Quote:

Originally Posted by sycamorex (Post 3377510)
you can use supergrub
http://www.supergrubdisk.org/
which will automatically restore your centos' grub.


windstory 12-19-2008 06:57 AM

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?

Agrouf 12-19-2008 07:08 AM

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?

pixellany 12-19-2008 07:14 AM

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.

windstory 12-19-2008 08:43 AM

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

Agrouf 12-19-2008 09:42 AM

Wait a minute... Is your /boot partition a NTFS partition?

windstory 12-19-2008 06:37 PM

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 (Post 3381202)
Wait a minute... Is your /boot partition a NTFS partition?


Agrouf 12-20-2008 06:44 AM

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


All times are GMT -5. The time now is 10:04 AM.