I was changing my HD with a (Windows Program for Partitions), now I can't start the server, CentOS.
I remember this:
/etc/grub.conf &
default=1
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
#hiddenmenu
How can I recover the system?
Can I to map the HD?
Here using Disk Utility of DVDLive
-------------------------------------------------------------------------------------
| System Reserved | Windows | Extended W95 Ext d(LBA)(0x0f) |
| NTFS | NTFS | /dev/sdb3 |
| Bootable | |-------------------------------------------------|
| /dev/sdb1 | /dev/sdb2 | (fat32) | Linux (0x83) | Linux LVM (0x8e) |
| | | /dev/sdb4 | /dev/sdb5 | /dev/sdb6 |
-------------------------------------------------------------------------------------
I get access to grub.conf
with:
$ su
# mkdir /mnt/drv
# mount -t ext4 /dev/sdb5 /mnt/drv
# gedit /mnt/drv/grub/grub.conf
using parted
(The Start, End and Size are no exact)
# parted /dev/sdb
Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs boot
2 xxxMB yy.yGB zz.zGB primary ntfs
3 xxxMB yy.yGB zz.zGB extended
4 xxxMB yy.yGB zz.zGB logical fat32
5 xxxMB yy.yGB zz.zGB logical ext4
6 xxxMB yy.yGB zz.zGB logical lvm
The logical lvm
Now, I'm confused to edit grub.conf
file.
And I'm suspecting that some partition (3, 4, 5, 6) must be Primary, but I don't know what it should be.