Debian :: Trying To Restore / Move Windows 7 Installation Partition

Jan 18, 2016

I had an older PC on which I had two SATA drives and an IDE one and on the latter I had Windows 7 installed (I kept it on that drive since I'm not using Windows 7 that often, I'm primarily using Debian as my daily go-to OS), but since then I got a new PC which has no connectivity for IDE, so I had to decommision the drive, and before I did that, I backed up the Windows 7 partition (and the second partition which I used mostly for storing sofware and stuff that I wouldn't want to get wiped after a fresh Windows install) using dd.

Not reading up on this on the internet, doing so with the intention to restore the partition image on the same spot on the disk, but since the SSD is larger than the IDE drive, I made the partitions on it bigger, so there's no chance the Windows 7 partition to be on the same spot on the disk. I tried booting into Windows 7 from GRUB after it successfully detected the Win7 install on the second partition on the SSD, but it just leaves me with a blank screen with a blinking white cursor, so I'm guessing it's not going to fly again. So my question to you: is it possible to ressurect the Windows 7 installation, avoiding having to reinstall Windows? (which would severly complicate things, having to backup and wipe the Debian install I have on the first partition...)

So far I've tried this to fix the Windows 7 install by pointing at the right disk "coordinates": [URL] ...., but I can't seem to get it to work, all I get is some error in regards to not being able to detect the disk's geometry (I think it was the number heads I couldn't figure out to input in the command line), so I couldn't fix it.

View 2 Replies


ADVERTISEMENT

General :: Restore Windows Partition Table After Tried To Install Debian?

Jan 16, 2011

Do i have any chances to restore my windows partition table after tried to install debian and i used the entire disk instead of the free space i had alocated for this

after i figured out what i did i stoped the installation but was to late ... i answered yes at write partition table changes on disk question

i tried win7 automate recovery tool from dvd and manual install of mbr with no successful result

View 3 Replies View Related

Ubuntu Installation :: Move Wubi 10.04 Install To Another Windows Partition

Dec 9, 2010

I have a Wubi install of 10.04 in my C: partition. I had given it 20GB of space but over the months my C: has become almost full, so I need to move the Wubi install to another partition (say E. I looked around for instructions on how to do it, but I could only find instructions for grub-legacy (that ask you to modify C:/ubuntu/disks/boot/grub/menu.lst) and not grub2 (which doesn't have menu.lst) used by 10.04.

how to move a 10.04 Wubi install to another partition in Windows is appreciated. Kindly note that I'm not trying to remove Wubi and convert it to an actual installation, but rather simply move it to a different location in Windows.

View 8 Replies View Related

General :: Error Code Oxd0000017 - Restore Windows Partition Without Installation Disc?

May 14, 2010

I know i get the error code because i dont have my windows partition. But i seriously need my vista back. I tried using VMware player but it didn't work. Is there anyway i can restore my windows partition without the installation disc? The restore disc does not work as it needs a windows partition.

View 7 Replies View Related

Debian Installation :: Wiped Windows Partition With Swap And LVM Partition

Jan 17, 2015

I am having issues with Grub 2 after installing Debian 7.8.0.The computer is a HP Pavilion 500-307nb. I made the original harddrive /dev/sdb and inserted a Samsung Evo 840 as /dev/sda. From the original hard drive (/dev/sdb), I wiped the windows partition, but left all other partitions unchanged (in case I would ever want to recover the desktop to its original state). I replaced the wiped windows partition with a swap partition and an LVM partition.These are my hard drive partitions:

/dev/sda (Samsung Evo 840)

Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB primary bios_grub
2 3146kB 944MB 941MB ext4 boot
3 944MB 94.4GB 93.4GB host lvm
4 94.4GB 1000GB 906GB guests lvm

[code]....

The partition /dev/sda3 has 2 logical volumes with filesystem ext4 that I mount to / and /home.The partition /dev/sda2 is mounted to /boot..When I install like this, Debian installs fine, however Grub2 is not installed correctly.Debian installs grub-pc which seems not able to boot the gpt partition. So I boot the Debian CD in rescue mode and execute:

mount /dev/sda2 /boot
aptitude purge grub-pc
aptitude -y install grub-efi

After rebooting, I come in the grub rescue shell, which says: error: no such device: 986f2176--4a4b-4222-83b9-8636a034b3c7.

When I then enter in the grub rescue shell:
set boot=(hd0,gpt2)
set prefix=(hd0,gpt2)/grub
insmod normal
normal

Grub and Debian start up correctly.why can Grub not start up automatically correctly? Where does the UUID 986f2176--4a4b-4222-83b9-8636a034b3c7 come from? I have reinstalled Grub several times, I have reinstall Debian several times, I have even wiped all partitions from /dev/sda and recreated a new gpt table with parted and manually set the partitions in parted. Still on each reinstallation, Grub fails because it cannot find exactly the same UUID. Since this UUID is always the same, it must be stored somewhere, but it cannot be the partitions, I have wiped them and the partition table several times.

I did though a firmware update of the Samsung Evo 840 before reinstallation, could this be a cause?Also the problem is not in grub.cfg. Grub starts correctly if I enter the commands above in the grub rescue screen and the UUID value does not appear there.

View 5 Replies View Related

General :: Restore Windows XP Partition With One Button Using Clonezilla?

Mar 14, 2011

restore of Win XP partition - he wants to be able to "press the button" and restore the whole partition with XP using Clonezilla. Is it possible - to do this restore without Clonezilla CD? And he's planning to have 3 partitions on his HDD:Windows XP system partition partition for backing up system partition partition for personal data

View 1 Replies View Related

Ubuntu :: System Restore (in Windows)to Go Back And Then Reinstall 1 Partition Of Net Book Remix?

Feb 12, 2010

Allot of Crazy things happened lately. A few problems happened and I fixed them. In the end I have 3 partitions of ubuntu net book remix and 1 for windows 7. I never reinstalled windows so could I do a system restore (in windows)to go back and then reinstall 1 partition of ubuntu net book remix.

View 4 Replies View Related

Debian :: Move Files From Old Partition?

Aug 21, 2010

Had a bit of a partition nightmare during an install, involving my home directory.

My partitioning looks like this and my install is still completing:

sda1=/boot
sda2=/
sda3=swap
sda4=/home

My old home partition and data is located in a partition that I preserved, called /homebak and is on sdb.

Once my install is complete, what is the best way to move the data from /sdb1 (homebak) to my newly created /home?

For the record, I tried to copy the partition during set-up, but something wasn't happy.

I've got my important files backed-up, but would prefer not to lose about 5 gigs of music and video.

View 8 Replies View Related

Debian Configuration :: /tmp Move To A Different Partition

Jun 13, 2011

I got a mistake during my installation on my server. I put the "/tmp" folder to the 2nd disk without thinking. My 2nd disk has only this folder and partition. How can I move the "/tmp" folder to my first disk in a different partition safely? It would be great if I won't destroy the server.

I would like to do the following:

1. move "/tmp" to disk 1 (sda). I will resize the "/home" partition(reduce) and put the "/tmp" there.

2. I will put "/backup" on the disk.

View 1 Replies View Related

Ubuntu :: Make An Image Of Windows Partition To Save Time And Effort When Wanting To Restore?

Aug 6, 2010

Am quite new to Ubuntu (10.04) and have recently reinstalled XP. I want to make an image of my windows partition to save time and effort when wanting to restore this. I read the Ubuntu documentation on Drive Imaging [URL]..community/DriveImaging and am wondering if I've done things ok?

I've booted using the Live CD. Windows is on sda1 and is a 50GB partition. I have a hidden ntfs partition on the same hard drive at sda9 of 10GB. The first time I tried this I got an error regarding my output file saying "Not a directory". I'm assuming that was because I hadn't mounted sda9. It also reported an error saying permission denied on sda1. I then mounted sda9

Code:
sudo mount /dev/sda9 /mnt

I then changed to root as I thought not being in that was why I was getting the permissions error.

Code:
sudo -s
I've then done the following;
Code:
dd if=/dev/sda1 bs=1024 | gzip > /mnt/sda1.bin.gz

The terminal window is just showing a flashing cursor in the bottom left corner under the above command line input. Is the fact that my mount partition being smaller than my windows partition going to cause a problem or will gzip solve that? My Windows install occupies about 7.5GB of the 50GB partion.

I'm not sure if dd is just taking a long time to complete the task???

View 9 Replies View Related

Ubuntu :: Fstab Configuration - Cannot Move To Trash - Only Permanently Delete Files From The Windows Partition

Jan 16, 2011

I edited fstab so that my Windows disk partition will be automatically mounted when I log on. However, when I delete a file from said partition, I am told that the item(s) cannot be moved to trash - I can only permanently delete files from the Windows partition. Here is how I configured in fstab: Code: /dev/sda1 /media/Vista ntfs nls=iso8859-1,umask=000 0 0 I suspect I mis-configured the options. Can anyone see an issue?

View 1 Replies View Related

Debian Installation :: Removing Windows From First Partition

Jan 1, 2011

My hard drive is partitioned fairly simply, with two primary partitions, one for Windows and one for Debian Squeeze.How can I remove sda1 and make it so that Debian takes up the whole disk on one large partition without reinstalling?I have downloaded and burnt the gparted live cd, but I daren't go any further without some hand holding.

View 11 Replies View Related

Ubuntu Installation :: Resizing Windows Partition - Install Files On A Non Windows NTFS Partition

Jul 22, 2010

Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have

Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)

I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.

View 6 Replies View Related

Debian Configuration :: How To Restore My Debian's Grub After Installing Windows 7

Sep 5, 2010

I have installed Windows 7 on my laptop . Now, it directly boot from Windows 7 . I think the MBR overwrote my grub . I have found two methods by google , but still does work .
1: boot from debian install CD, Alt +F2 switch to the console. "grub " "root (hd0,0)" "setup (hd0,0)".
2:boot from CD, mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt ; chroot /mnt ; grub-install /dev/sda.

View 7 Replies View Related

Ubuntu Installation :: To Move From 1st To 3rd Partition?

Oct 25, 2010

I have Ubuntu installed on my 1st HD partition and working pretty much the way I like. I need to convert this to a dual-boot system with Windows. Windows really wants to be on the first partition on the first drive, so I think I need to move Ubuntu to the 3rd partition, behind the swap partition.I could do a complete reinstall but that would take forever. Is it reasonable to just copy the present /dev/sd0a partition to /dev/sd0c, install Windows, then run the Ubuntu CD to reinstall GRUB?

I guess I could just use dd for this but it's been so long that I've forgotten the correct method for moving a whole filesystem.

View 4 Replies View Related

Installation :: Move Win Partition In To A Logical?

May 22, 2011

Can somebody help ma move my win partition in to a logical?
it will not boot after updating ubuntu.

Ok, here is the new log from the boot info script code...

View 2 Replies View Related

Ubuntu Installation :: Partition Table Gone / Restore It?

Feb 23, 2010

I have searched and didnt find a situation like mine so i thought id ask. i have a dual boot setup on my hp pavillion windows vista /dev/sda1 and backtrack linux 3,while trying to install backtrack 4 (which is ubuntu based) i deleted the former partitons for bt3. im not quite sure what i clicked but using the ubiquity installer it deleted my partition table so now my entire drive is listed as unallocated space. i have some very important files on my windows partition other wise i would just format and start over. how can i restore the partition table and boot to windows to atleast grab the important stuff. the drive hasnt been formatted so the info is still there i just cant get to it anyone have any ideas?

View 5 Replies View Related

Debian Installation :: Systemd - Automount Windows Partition / USB Devices In Jessie

May 11, 2015

There seems to be no documentation on how to automount partitions and USB devices under systemd in Jessie. (Overall, systemd entirely lacks any useful documentation or GUI configuration tools -- all very cryptic and hidden.)

I created custom files to enable automounting. I put them in /etc/systemd/system -- this may not be the right place, but it works.

Kernel note:
This does not work under the old Wheezy kernel linux-image-3.2.0-4.

To automount my Windows partition so I can access its files, I created:
/etc/systemd/system/media-windows.mount

The name of the file must match the mount point -- in this case, /media/windows

My file notes the device and file type, plus an fmask option so all the Windows files don't seem to be executable:

[Unit]
Description = windows mount to /media/windows
[Mount]
What=/dev/sda1
Where=/media/windows
Type=ntfs-3g
Options=fmask=111
[Install]
WantedBy=multi-user.target

The file ownership must be root.root. Apparently it doesn't need to be executable.

After creating, enable with:

sudo systemctl enable media-windows.mount

and it will mount on the next boot.

I read elsewhere that the before running the enable command you should run a start command:

sudo systemctl start media-windows.mount

but that didn't work for me.

View 2 Replies View Related

Ubuntu Installation :: Testdisk Can't Restore The Partition - Just Deleted

Aug 8, 2010

I tried to install Ubuntu next to XP. After restart - no XP and no Ubuntu. Something wrong with loader I guess, I see command line prompt (of the loader I guess).

So I restarted from liveCD. But no "Repair Install" option like in XP CD. So, I deleted partition to install again on top of old, then learned a loader possibly could be fixed.

So, the problem is: testdisk cannot restore partition I deleted. I didn't write on disk anything. May be swap space after couple reloads from liveCD corrupted it?

It complains "The harddisk (...) seems to small!", it sees some other partitions and doesn't see what Gparted and Disk Utility.

Let me know the best approach to get back XP running (having Ubuntu would be good too).

Here below are the screen captures for details.

Quich Search results. Can't recover what's found. Why 4 partitions are found? Notice, "The harddisk seems too small !" Could this be a problem? HDD is not Maxtor anymore

The gap is there but no deleted partition shown

Essentially same thing... going for deeper search

Deep Search hasn't recover anything new. And shows same results as Quick Search (2nd testdisc image )Hit "continue"...

Now the partitions shown as deleted because of overlapping. The partition to be recovered is still not in the list.

Anyway, my final goal is to get WinXP back and if possible, install Ubuntu. It's nice that installer still sees the XP. Too bad the loader doesn't. how to get it done.

Unlike during installation of XP, ubuntu doesn't offer to utilize the deleted partition. Is it going to stay empty/unallocated? Forget the empty space, will I get XP running if I continue and install?

View 9 Replies View Related

Ubuntu Installation :: Can't Restore GRUB2; Can't Mount Partition?

Apr 29, 2011

I get the error - 'You must specify the filesystem type'.I used the syntax on the GRUB2 page:mount /dev/sdb3 /mnt but it returns the above error.Is there additional parameters to the code???

View 1 Replies View Related

Ubuntu Installation :: Move /home To A Separate Partition?

Jan 11, 2010

I want to move my home directory to a separate partition so I can install the new versions of Ubuntu without losing my data. And while I'm at it, what other important directories should I move to separate partitions? And how do I do it? I'm guessing that the /boot directory should also be moved to its own partition too, yes? Because it has the GRUB in it, and if I removed Ubuntu to make way for a newer version of Ubuntu, I'll just get an error because the computer can't find the GRUB that doesn't exist anymore, right? And also, if I move those important yet-to-be-listed directories to their own separate partitions, how large should those partitions be?

I don't want to miss out on the upcoming Lucid Lynx (If it will work in the first place, of course ) By the way, I have an Ubuntu-Windows XP dual-boot system. I'll attach a screenshot of my partition table from GPartEd. You can see that I have about 300 GB. The largest partition is Ubuntu.

View 8 Replies View Related

Ubuntu Installation :: Create Resize Move LVM Partition ?

Sep 2, 2010

As mentioned here I am planning on installing with encryption. This involves using LVM in the partition scheme.

I am following this guide here which uses Mandriva to do the installation. [url]

However, I notice that GParted doesn't seem to have any support for LVM, which is going to be a pain in the rear if I subsequently try to add Ubuntu to the Mandriva boot setup.

The problem I have with DiskDrake (Mandrivas partition editor) is that it only seems to be able to put partitions at the beginning of the drive and it doesn't seem to be able to move partitions. e.g. if I want to create a new partition at the end for swap and leave some unallocated space in the middle for my future Ubuntu installation I am stuck. GParted allows me to create at the end or effectively move it by resizing the beginning and end of the partition.

DiskDrake allows me to create and edit LVM partitions.

Is there perhaps another partition editor that does both? Or maybe a development version of one that does it? Or some option I am missing?

View 2 Replies View Related

Fedora Installation :: Clone Partition And Restore It To Logical Volume?

Nov 17, 2009

I'd like to clone a partition, and then restore it to a logical volume. I have all three operating systems at my disposal (Mac, Windows, Linux Live CD) What is the best way to achieve this. The partition I am trying to resize is only 200MB, so I can store it on usb if need be.

View 9 Replies View Related

General :: Is There 'restore Point' (Debian / Ubuntu) Like Windows?

Jul 14, 2010

I'm working directly in an Ubuntu Virtual Machine (VM). Some updates (like kernel) were available at the update manager.If I weren't using a VM, I wouldn't update it since it's a risk to break something. Since it's a VM, you can create a Snapshot or export an appliance and restore if something goes wrong.Suppose I'm not using a VM with a Debian/Ubuntu installation. Is there a install-restore approach that doesn't depend in a VM configuration to restore your system exactly before an upgrade (Like a "Restore Point" in Windows), being easy to restore like a VM appliance?

View 8 Replies View Related

Fedora Installation :: Setup Dual Bood Data Partition And Move /home?

Feb 21, 2009

I have just spent dome time using gparted to sort out my partitions. I have a vista partition, a fedora one and a big chunk of unallocated space I wish to use as my data drive.

I want to move my ~ folder to the new partition and have windows/vista access the folder and write to the Documents, Downloads folders etc.

What is the best format to use?

Also I plan to start backing up my partitions to a server, for instance using g4l to save a linux image (maby a windose one too). Is there any benifit in keeping all the hidden files (ones starting with period '.') i.e moving the whole ~ folder or would I be best off leaving the ~ dir and moving the folders I know i use such as ~/Downloads, ~/Documents etc?

And how should i preform the move of all these files? 'mv'? do i need to add any special options?

View 3 Replies View Related

Ubuntu Installation :: Can't Remove And Restore Windows

Jul 1, 2010

I have been dealing with this all day! I cannot remove Ubuntu and recover the free space for Windows. When I remove Ubuntu, I can't access Windows.

I have three partitions, one being the main Windows partition and two with no names being the ubuntu partitions.

View 3 Replies View Related

Ubuntu Installation :: Restore Grub2 After Windows Reinstall?

Jan 19, 2010

My friend recently re-installed WinXP on his laptop, but I'm having trouble getting Grub2 working. I followed a guide online, but when I booted it back up again, I got a Grub prompt instead of a boot menu.

View 4 Replies View Related

Ubuntu Installation :: Restore Grub After Using Fixmbr In Windows?

Sep 1, 2010

I need to use the fixmbr command to fix my windows installation. I'd like to restore grub to its former state after doing so. I have searched how to do this and since my configuration differs slightly, I'd rather get more specific instructions. Right now this is what menu.lst looks like:

Code:
titleUbuntu 8.04.1, kernel 2.6.24-21-generic
root(hd0,2)
kernel/boot/vmlinuz-2.6.24-21-generic root=UUID=0c5d1c9c-70bb-4f61-a0ad-7dc5e59d9713 ro quiet splash

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Remove GRUB, Restore Windows Bootloader?

Jan 15, 2010

Basically, I used a USB stick to run ubuntu 9.10 live, then tried to install to an external 500gb HDD connected with a Sharkoon Drivelink USB adaptor. The installation went fine, but I get a GRUB error 21 when booting a lot of the time. I figure this is due to the way in which the drive is connected. I am a complete noob, and I want to just ove GRUB completely and restore my Vista bootloader. Unfortunately, I do not have an installation disk as my laptop didn't come with one, and none of the others I have other PC's are the same version (home premium 32-bit).If you know of a way to fix the GRUB issue/sso I can use the external drive I would love to hear them too, but the main aim of this thread is to help me remove GRUB and restore the windows bootloader. If any more information is needed, just ask and I will provide it.HP Touchsmart TX2-1010Windows Vista Home Premium 32-bitExternal HDD:Seagate Barracuda 7200.11 SATAII (with jumper set for 150mbps)

View 2 Replies View Related

Software :: Convert Primary Partition To Logical (ie Move It Inside The Extended Partition)?

Nov 29, 2010

Around 2008 i seem to remember PartEd on the command-line was able to rescue deleted partitions and gave a choice of whether to recover the partition as a Primary or Logical Partition. I have tried testdisk but didn't really grok what i was doing. I successfully moved a "Windows Recovery" partition to the end of my hard-drive, immediately after the drive's Extended Partition.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved