Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am expecting a toshiba netbook in a few days that will not allow me to make recovery disks even if I use an external dvd-writer; it will only give me the option to create a usb drive, 8GB capacity(which I dont have).
I want to delete the hidden recovery partition and recover another way if I need to.
1) I believe if I just copy the files from the hidden partition and then copy them back on another partition or usb drive, it will not boot(am I right?)
2)I was thinking and I need your advice on this(will it work?):
Use dd to make a direct copy of the hidden recovery partition and save it to an .iso file on an external drive like this:
and then boot to the usb drive or to the newly-created partition.
BTW: Toshiba lets you access the recovery partition by holding 0+pressing the power buttton. I'm guessing this will not work if I delete the hidden partition and then recreate it. Is there some way to fix this?
Well it seems like if you are going to go through the trouble of using dd to make an image and store it, you could just as easily image the partition that holds your OS and keep that for a backup. Then just dd that back to the drive if you ever need to restore the system.
Why make a drive image of a drive image when you can cut out the middle man?
Sure, but here's the problem: when I tried to install linux on another laptop, I resized the partitions with the liveCD and then windows would not boot unless you run chkdsk(stupid). And it does not even go to safe mode. Only option is to use a windows CD(which the netbook does not have) or use the recovery partition to run chkdsk. If I take an image of the actual partition I can not do that and I can not fit one say, 200GB backed up partition on a resized 40GB partition. This time I will try to make resizes through windows, but I need to make a backup first just to be sure nothing will go wrong...
It sounds like you might be using the wrong tool for the job here, or at least, not the best. DD is best for full 1 to 1 drive images, but that doesn't seem like what you want to do.
You might want to look into Partimage, with is more like Norton Ghost in that it will only backup what is used in the partition, not the whole thing. So if you have a 200 GB partition with 5 GB used, Partimage will make a <5 GB (Partimage uses compression so the image will be smaller than actual used space), while DD will give you a 200 GB image.
Partimage will also check partitions for inconsistencies and handle them gracefully, which sounds like it would fix your chkdsk issue.
Not sure if any of that will work. Who knows what windows does. Sometimes it looks for data at a particular spot and if the data isn't there you are done for. Such as copying a recovery partition, deleting it, then trying to use the backup it to restore. Bet you hose your windows installation.
Best bet, make a clone of the whole drive, or the entire windows installation. Bit for bit, so each bit restores to the original location where windows looks for it. Master boot record, mt spaces, swap file, recovery and all.
teckk, you're absolutely right, window$ always find their way to keep you buzy and frustrated....
Here's what I finally did: First of all, I used the Toshiba utility to create a backup on a borrowed 8GB usb drive(although it only needed about 6.4GB). For reasons I do not have the knowledge to understand, simply copying those files to a computer and back to the usb, or creating an iso of those files(tried both), the usb won't boot even if you flag it as bootable. Using DD however and moving the image back and forth seems to get the job done. Now I could freely do changes to the partitions without being afraid...
I could not take the whole disk image first because I simply do not have the space to store such a file and second because my purpose is to simply repair Windows if it breaks down. Re-copying the image would also delete my linux configuration and bring me back to 0. After all, the recovery image gives you the option to delete everything and then recreate the disk in its original state.
Finally, I used Easeus partition manager to resize and create partitions instead of gparted, this way Windows can now boot with no problems and I can move on to installing linux and grub.
Thanks all for your help and I hope this page will help somebody else with the same problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.