Ok Glad that worked for you :) On Fri, 2006-12-01 at 14:57 +0100, Herman Gerritsen wrote: > On 12/1/06, KJ Tsanaktsidis <[EMAIL PROTECTED]> wrote: > > I did something similar recently lol. I hope this works for you... > > Firstly, DO NOT DO ANYTHING TO THIS DISK UNTILL YOU MAKE A BACKUP > > it would be a VERY good idea if you could borrow an iPod of a friend > > or something. Otherwise, you could probably do something over a > > network. > > Do something like this on a livecd > > dd if=/dev/hda of=/mnt/ipod/a_file > > or use a network share for of if you have to. > > Oh and btw i hope your disk is pretty small... > > Now... > > First, you'll need BartPE, which is basically a windows liveCD. You'll > > need an existing windows instalation handy somewhere though. > > http://www.nu2.nu/pebuilder/ > > Boot BartPE, then run this from a floppy or something... > > http://www.softpedia.com/progDownload/TestDisk-Download-20124.html > > It should help you recreate your partition table > > Hope that works > > KJ > > > > On 12/1/06, Herman Gerritsen <[EMAIL PROTECTED]> wrote: > > > Hi there, > > > > > > I have made a stupid mistake and hope not all is lost... > > > > > > I had installed a working lfs-6.2 with lots of blfs programs installed... > > > But I had to install Win XP pro aswell, I wanted a dual boot. > > > But windows kept hanging just after boot up from cd. > > > I figured it was something with the way linux partions the disk. > > > > > > So I accidentily gave the following command from LFS... : > > > > > > dd if=/dev/zero of=/dev/hda bs=512 count=1 > > > > > > And Yes the bootup from the windows cd worked... > > > But I discovered all partions were gone so I broke off the > > > installation of Win XP. > > > > > > My partition table was something like this: > > > > > > /dev/hda1 /boot (16 MB) > > > /dev/hda2 (supposed to become windows) (6GB) > > > /dev/hda3 Swap (512 MB) > > > /dev/hda4 (extended) > > > /dev/hda5 / (4GB) > > > /dev/hda6 /home (256MB) > > > /dev/hda7 / (of second installation 4GB) > > > /dev/hda8 /usr/src (also second installation 8GB) > > > /dev/hda9 /storage (3GB) > > > > > > It was all on my laptop. So i dont have some way to interface my disk > > > to mij desktop computer. > > > I do not have a external usb disk as well. > > > So I wonder if it is possible te retrieve some parts of the disk onto > > > other parts of the disk. > > > > > > I would like to restore /dev/hda9 and /dev/hda5 > > > If someone knows how to do this, preferrebly with the LFS-live cd. I > > > would love to know > > > > > > Thanks already > > > Herman Gerritsen > > > -- > > > http://linuxfromscratch.org/mailman/listinfo/blfs-support > > > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > > > Unsubscribe: See the above information page > > > > > > > > > -- > > http://www.dussault.ws/David/Idiot.swf > > -- > > http://linuxfromscratch.org/mailman/listinfo/blfs-support > > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > > Unsubscribe: See the above information page > > > > Thanks already, > > I have tried writing my 30 GB disk to my desktop computer using "dd" > But my network is only 10 mbit, so that was gonna take some 8 hours... > And I didn't really know what to do with the big file actually. > > But any way I found some other interresting programs: > > gpart (guess partition dont mess it up with Gparted which is a > partition program) > It can be found (http://www.stud.uni-hannover.de/user/76201/gpart/) > but it doesn't seem to guess my extended partions correctly :( So that > didn't work for me > > testdisk can be found (http://freshmeat.net/projects/testdisk/) > This program is not flawless aswell (and like me...) but it does > detect the extended partions correctly. I could choose some of the > partitions for recovery, as long as they don't overlap each other. > (the next partition seems to start at the same cilinder the previous > one ended) > So it worked for me. Right now I am backing up my files and i am > almost ready to start over :) > This testdisk seems the same test disk you mentioned, but from > freshmeat you can get one that works easily from the LFS-livecd > So i could do without the windows livecd > > Thanks for your help, hopefully this may help you in the future some > time... although it would be better to have backups.. > > Herman Gerritsen > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
