shams Posted January 26, 2007 Report Share Posted January 26, 2007 (edited) hi, i have to hard disk one for windows other for linux, grub was installed in the /dev/hdb linux hard disk that boot the windows partitions as well, i attached another third hard drive to copy some data from linux partitions to it, but this procedure corrupt the linx hard disk boot sect, and after that cannot boot to linux ,i installed the mandrake to windows partition and tried to copy the mbr from backup to the /dev/hdb, it was done, but doesn't worked and the situation got more worse, now the system cannot open linux partitions, any free linux partitions recovery tool please? all my important data is in my linux partitions. Edited January 26, 2007 by shams Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 26, 2007 Report Share Posted January 26, 2007 I would say you've gotten confused and made things worse with the boot loader. You need to use a live CD, like Mandriva One, or even Knoppix. Boot them, and then mount your partitions from /dev/hdb. Find the /etc/fstab file and see what mount points were assigned. Chances are you chose the wrong partition for booting, and it's gotten you like this. Quote Link to comment Share on other sites More sharing options...
shams Posted January 26, 2007 Author Report Share Posted January 26, 2007 madriva only can recognize the /dev/hda1 and /dev/hdb2 when i mount with: mount /dev/hdb2 /mnt/hdb2 with ls i can see the directories in hdb2 but when want to open with: cd /etc the ouput is : bash: cd: etc: Not a directory these was two primary partitions and there is extended partion with 5 more logical partitions with want to mount get the error: [root@localhost mnt]# mount /dev/hdb6 hdb6 mount: special device /dev/hdb6 does not exist Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted January 27, 2007 Report Share Posted January 27, 2007 Do you have an appropriate mount point? "mount /dev/hdb5 /mnt/hdb6" Is hdb6 one of your former mount points? The extended partition number does not get mounted; only the logical partitions are mounted. Quote Link to comment Share on other sites More sharing options...
shams Posted January 27, 2007 Author Report Share Posted January 27, 2007 Do you have an appropriate mount point? "mount /dev/hdb5 /mnt/hdb6" Is hdb6 one of your former mount points? The extended partition number does not get mounted; only the logical partitions are mounted. yes /mnt/hdb6 exitst, and /dev/hdb6 was one of my linux partitions conataining all my important data, i run the tesdisk tool and it shows the only the /dev/hdb1 is present and other partition is deleted, * is for bootable partion and D for deleted: sk /dev/hdb - 80 GB / 74 GiB - CHS 155061 16 63 Partition Start End Size in sectors * Linux 0 1 1 2039 15 63 2056257 [/boot] D Linux 2040 0 1 24384 15 63 22523760 D Linux 24384 7 1 50808 15 63 26635959 [/] D Linux 50808 13 1 71129 15 63 20483757 [/home] D Linux 71129 2 1 91449 15 63 20483442 D Linux 91449 7 1 111769 15 63 20483127 D Linux 111769 12 1 132089 15 63 20482812 Structure: Ok. Use Up/Down Arrow keys to select partition. Use Left/Right Arrow keys to CHANGE partition characteristics: *=Primary bootable P=Primary L=Logical E=Extended D=Deleted Keys A: add partition, L: load backup, T: change type, P: list files, Enter: to continue EXT3 Large file Sparse superblock, 1052 MB / 1004 MiB Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.