Hi, I did login to rescue mode and did fdisk /dev/hda I get the following mesg. The number of cylinders for the device is set to 1222 There is nothing wrong with that but this is larger than 1024 and could in certain setup cause problems with 1) softwares that runs at boot time (e.g. old version of lilo) 2) bootup and partition software from other sources (eg DOS...) warning : ignore extra data in partion table 5 Disk /dev/hda: 255 head , 63 sector , 1222 cylinder when I print the existing partions I get device Boot Start End Blocks Id system /dev/hda1 * 1 652 5237158 c windows 95 /dev/hda2 653 1222 4570529 5 extended /dev/hda5 ? 873 873 39 ff BBT I guess my sys is totally screwed up. I'm going to lose all my updates , settings, latest netscape and opera . and whatever I installed and whatever I stored , everything is going to be totally lost................................ All this is for simple "defrag" in windows???????????????????? there should be someway to recover .....how?????? anbu
On Sun, 3 Feb 2002 00:36:18 +0000 (UTC) anbalagan <anbu@sdf.lonestar.org> wrote:
Hi, Thanks for imme. reply. I tried to boot from CD and tried "boot installed system" I get "No Linux root partition found mesg"
I did a complete (spent some hrs) search in google for tha same error mesg. I get only messages posted, no answers ....
Anything that could bring up my old setup could be of great help as I've spent m onths of work in customizing to Tamil language desktop, and settings . Its going to be real pain if I'm going to do that again.
I had already reinstalled 5 times due to MBR corrupt , whenever I install new sw in windows. lately I decided to boot from floppy , and was working fine for the past 3 month s. Now again , for some reason I did a defrag in windows and again I'm lost!!! If someone could give me any suggestions to bring up my system could be of great help.
Boot from the floppy, and choose "Start rescue system", then you should be able to logon without a password. Do an fdisk, to see if your linux partitions are still there. If they are, try mounting them , like mount -t ext2 /dev/hda5 /mnt then cd /mnt and see if your files are still there. If they are, try to see if your /boot files are there. and maybe copy your special setup files to your windows partition as a backup. Or you can make a backup partition maybe.
Let me know how it goes.
-- $|=1;while(1){print pack("h*",'75861647f302d4560275f6272797f3');sleep(1); for(1..16){for(8,32,8,7){print chr($_);}select(undef,undef,undef,.05);}}
** On Sun, 3 Feb 2002 03:35:40 +0000 (UTC) anbalagan <anbu@sdf.lonestar.org>dashed off this message: **I'm going to lose all my updates , settings, latest netscape and opera . **and whatever I installed and whatever I stored , everything is going to **be totally lost................................ **All this is for simple "defrag" in windows???????????????????? ** **there should be someway to recover .....how?????? imediate backups when you make a change you're happy w/ . Another thing is , it helps to take notes or at least write down for yourself where the changes you made are loacted, so you neededn't spend all that time reading everything in the setup to loate teh one or two changes to each part of your sysem setup. I remember someone saying somethign about a program /file system/script something , that would let you see your linux files etc from Windows. So you might be able to save those updated rpms etc. that you downloaded. and maybe also grab the config files.. if you weren't able to rescue the linux partition you'd be able to copy in your config files. OR at least you could look at the default one ( after the reinstall ) and the one you rescued, adn you'd have something to go on as to what you had changed. Still , backing up to removeable media is probably your only way to cutr down on future work when windows hoses your partition again. You'll probably make lots of tweaks and dl lots of new stuff in linux, adn you'll get very good at getting a working system at least semi customised, equally quickly ... It happens to us all. Hopefully w/ decreasing regualarity. <G> -- j afterthought : People sweat so they won't catch fire when making love.
On Sun, 3 Feb 2002 03:35:40 +0000 (UTC) anbalagan <anbu@sdf.lonestar.org> wrote:
Hi, I did login to rescue mode and did fdisk /dev/hda
when I print the existing partions I get device Boot Start End Blocks Id system /dev/hda1 * 1 652 5237158 c windows 95 /dev/hda2 653 1222 4570529 5 extended /dev/hda5 ? 873 873 39 ff BBT .......... All this is for simple "defrag" in windows????????????????????
there should be someway to recover .....how??????
Well I'll bet your data is still there, don't do anything to disturb it yet. The data is still there, but linux can't find it. The thing that is recommended by most experts, is to make a copy of your partition table, just in case this happens. You didn't ? So your next option is to try to guess what your partition table was and recreate it. It looks like you have blocks 653 to 1222. So you probably had a swap. Was the the swap the size of your ram? Was it before your root, or at the end of the disk? You could experiment with setting up what you remember were your root and swap. Is that extended partition originally part of linux? Did you have more than C in windows? If not, your root and swap were probably /dev/hda3 and /devhda4, the trick is to get the start-end blocks right. One trick you might try, is just to remove /dev/hda5 and change the patition type of /dev/hda2 to ext2 ( or whatever your type was). The reboot with rescue and see if you can mount it. JUST DON"T FORMAT ANYTHING. You can play with the partition table all you want, and you won't lose data, as long as you don't format. Stay calm.....try to remember everything...... Good luck..... P.S. Get all MS crap off of your machine.
I managed to remember the partition table. I had / swap and /home My home was in reiserfs fs. Now I've rewritten the partition table. But I dont find reiserfs in known filesystem types (Id) Now I have hope in getting back the system. Could you email me asap., how to set fs id for reiserfs. I do find an id number related to ext2 and swap (82 and 83) but no id for reiserfs. TIA, anbu
On Sun, 3 Feb 2002 03:35:40 +0000 (UTC) anbalagan <anbu@sdf.lonestar.org> wrote:
Hi, I did login to rescue mode and did fdisk /dev/hda
when I print the existing partions I get device Boot Start End Blocks Id system /dev/hda1 * 1 652 5237158 c windows 95 /dev/hda2 653 1222 4570529 5 extended /dev/hda5 ? 873 873 39 ff BBT .......... All this is for simple "defrag" in windows????????????????????
there should be someway to recover .....how??????
Well I'll bet your data is still there, don't do anything to disturb it yet. The data is still there, but linux can't find it.
The thing that is recommended by most experts, is to make a copy of your partition table, just in case this happens. You didn't ?
So your next option is to try to guess what your partition table was and recreate it. It looks like you have blocks 653 to 1222.
So you probably had a swap. Was the the swap the size of your ram? Was it before your root, or at the end of the disk? You could experiment with setting up what you remember were your root and swap.
Is that extended partition originally part of linux? Did you have more than C in windows? If not, your root and swap were probably /dev/hda3 and /devhda4, the trick is to get the start-end blocks right.
One trick you might try, is just to remove /dev/hda5 and change the patition type of /dev/hda2 to ext2 ( or whatever your type was). The reboot with rescue and see if you can mount it.
JUST DON"T FORMAT ANYTHING. You can play with the partition table all you want, and you won't lose data, as long as you don't format.
Stay calm.....try to remember everything...... Good luck.....
P.S. Get all MS crap off of your machine.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
On Sunday 03 February 2002 18.51, anbalagan wrote:
I managed to remember the partition table. I had / swap and /home My home was in reiserfs fs. Now I've rewritten the partition table. But I dont find reiserfs in known filesystem types (Id) Now I have hope in getting back the system. Could you email me asap., how to set fs id for reiserfs. I do find an id number related to ext2 and swap (82 and 83) but no id for reiserfs.
Partition types have nothing to do with file system. partition type 82 is linux swap, and partition type 83 is linux. Use those, regardless of what file system you're using. //Anders
participants (4)
-
anbalagan
-
Anders Johansson
-
jfweber@bellsouth.net
-
zentara