Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Windows Vista died after CHKDSK helpfully found errors, fixed errors, and, in the process, killed Vista. I can't boot into Windows, registry is now corrupt. It is an HP Pavillion laptop, and I have the recovery disk.
I cannot simply repair windows with this recovery disk, the only options are to use a restore point (oops, restored to last restore point, now no more restore points), or to use factory reset.
I am assuming factory reset will wipe everything, including partition table, getting rid of Ubuntu. I do everything on Ubuntu, I only booted into windows for Half Life 2. How can I back up Ubuntu so that once Windows has been restored I can simply reload Ubuntu as it is now?
I have installed a lot of software that I don't want to have to go through again.
If the restore disk does in fact wipe the partition table and reformat it, you have a serious (though not insurmountable) problem. I am not sure this is what will happen; I would expect the restore disk to use the partition it found, but I could easily be wrong.
In any case, the easiest route for you to take is to copy (not image, just copy) the entire contents of the Linux partition off to another HD, using a Linux Live CD. Then go through the reinstall process for Vista.
When the reinstall is complete, check the partition table to see if your Linux distro survived. If it did, then from the Linux Live CD, reinstall grub. If it didn't, then defragment the Windows drive to make sure all the Windows stuff is packed at the front of the partition and use the Linux Live CD to repartition the drive.
Format that partition using a Linux FS (probably ext3), then just copy your Linux system onto the partition. When you have finished this, reinstall grub and you are done.
look here
but if vista allready killed itself are you sure you want to reinstall it??????
I'm trying my hardest to get Half Life 2 - Episode One running under Crossover, but having sound issues. Vista is my backup. It is soooo tempting to just nuke it though. Free up the 40 gigs.
look here
but if vista allready killed itself are you sure you want to reinstall it??????
Ok, I am finally getting around to restoring Vista I am trying to use your suggestion and tar the root directory. I'm using:
Code:
tar -pcvf /media/disk/backup.tar .
running from / obviously.
It works, but it descends into /home which is on a separate partition. I just want the / partition backed up, that way it's only 3.5Gb.
I tried using --exclude=/home/ but that doesn't seem to work. Man page is unhelpful. Suggestions?
You don't want to backup the /media or /mnt directories either. Also not the /proc, /dev or /sys directories. It would be pointless backing up /tmp. Also, clear your browser cache. That will contain thousands of worthless files. Your ~/.beagle/ directory might contain 70,000 index files that could be regenerated. Backing up so many files would take a long time.
Try to exclude them by adding the arguments "--exclude=media --exclude=mnt --exclude=proc --exclude=dev --exclude=sys" --exclude=tmp".
Another option is to start in the root directory and add each directory you want to backup in the the arguments.
Code:
cd /
tar cpvf /media/disk/backup.tar /bin /usr /var /srv /boot /root
tar cpvf /media/disk/homebackup.tar /home
Besides this backup you might want to save the output of: "sudo /sbin/fdisk -l", the /etc/fstab and /etc/grub/menu.lst files. They are small and you could even print them out if you wanted. They supply the info you could use to reconstruct the partition system you had before.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.