Ubuntu :: Using DD To Clone Vista HD And Recovery Partition?
Aug 14, 2010
I'm using dd to clone a Windows Vista hard drive and recovery partition with zero luck. I duplicated the partitions with gparted then used dd to copy each partition and then the master boot record. Nothing............. no boot.
Two days ago I repartitioned my laptop HD and added the latest Ubuntu (2.6.35-25-generic) to the existing Vista and existing Ubuntu (2.6.32-28-generic via upgrades from 9.14(?)). Prior to this install it was using Grub with menu.lst from the old/upgrade Ubuntu. After the install the boot menu labels the partition with Vista as the Windows Recovery partition and the recovery partition item is no longer present.
At first I wondered how I could get Vista to boot. I found that SuperGrub cd would boot it OK. Then, it dawned on me that the boot menu item was not the recovery partition, but instead the Vista OS partition mislabelled . Vista loads just fine from it. The recovery partition is no longer listed as it was with Grub/menu.lst. SuperGrub will not boot the recovery partition, showing an error "missing BOOTMGR".
I've two laptops, my main one is Dell inspiron 1545 and for experimental purposes, I use Acer Aspire 5315. I used to be a Redhat linux user from 2001 to 2003 on and off, but lost touch with linux for the past few years. I grew frustrated with windows after my Vista recovery partition in Acer Aspire got corrupted and when I took the laptop for servicing, the service person installed a pirated copy of XP. The laptop constantly overheated and I always received all kinds of warnings from microsoft about using pirated version. I finally decided to buy a new laptop and hence bought Dell inspiron 1545. Too bad I didn't realize I could have switched to linux.
I was suspicious about Windows 7 in my new dell right from the day one and thought of checking linux options available. I was surprised to know the the most popular linux distro now was no longer Redhat or Suse but a relatively newcomer Ubuntu. I installed Ubuntu 9.10 on a 40GB extended partition and was extremely satisfied with the ease of installation. The hardware detector told me I need to install "Broadcom STA" for my wireless card to work. I installed ATI driver from AMD website and it worked like a charm. Like any linux user, I couldn't resist the temptation to distro hop, so decided to use my old Acer laptop as testbed. The first distro I tried was KDE version of Fedora 12. The splash screen was very impressive and more graphical than Ubuntu's, however the boot time was painfully slow and I ran into a dependency hell while trying to upgrade using Kpackagekit.
I tried Linux mint KDE next and it was impressive, but I was still not completely satisfied. I then tried Opensuse 11.2 KDE and I immediately fell in love with the beautiful look and feel. I was so impressed that I went ahead and replaced the ubuntu in my dell with Opensuse 11.2. However, it was not smoothsailing when it came to hardware detection. After a lot of trials and tribulations, I managed to download Broadcom STA drivers and managed to get my wifi working. I realized that Radeon HD was installed as default and tried to turn on compositing. KDE got stuck and even after cold reboot, didn't recover. I had to re-install the OS and this time I tried to install ATI proprietary driver. But running the driver install script threw up lot of errors and I lost my mouse cursor. I had to re-install the OS again, generate RPM for the ATI driver and install it along with Kernel source, headers, gcc, make, etc... Finally I was able to activate compositing.
I then installed Xen and when I booted to Xen kernel, my mouse cursor again dissapeared, most likely due to non-compatibility of ATI driver. I had to uninstall Xen. I then tried to upgrade the kernel to 2.6.31-15 and again my mouse cursor dissapeared. I had to re-install the entire OS again. I'm so frightened of Kernel updates now. I never had such problems with Ubuntu kernel updates, maybe ATI is more pro-active in releasing new versions of drivers when it comes to Ubuntu.
In-spite of all my hardships, I'm so much in love with Opensuse and KDE. I love it so much that it now runs on both my Dell and Acer. I've removed all the other distros from my Acer. It has been quite a long time since I tried any other distro and I don't even have the faintest desire to distro-hop. Infact, for the past few days I'm so worried about the news of Novell takeover. I really don't want Opensuse to die. It will be a big loss for Linux users.
I'm having an issue installing Ubuntu with Windows 7 Home Premium 64-bit through Wubi. The Wubi installation works great and Ubuntu seems to install after the first reboot after selecting Ubuntu from Windows' boot menu, however whenever I select Ubuntu from Windows' boot menu after Ubuntu installs and it reboots for the second time, it loads the GRUB bootloader, however Ubuntu isn't listed at all.
Windows 7 is listed twice and Windows Vista is listed (seems it picks up the recovery partition for Windows 7 as Vista) and when I select the first Windows 7 from the GRUB bootloader, it just goes back to Windows' boot menu with Windows 7 and Ubuntu as the selections. If I select the second Windows 7 from the GRUB bootloader, it'll boot Windows 7 like normally. It looks like Ubuntu is nowhere to be found. Because of that, I just ended up uninstalling it.
I have a Lenovo thinkpad T400 with Vista x64 that I want to dual-boot with fedora 10. The T400's original config has 3 primary partions:
1) Vista boot partition (some weird partition that it only uses to boot... this is my first time using Vista so I don't know the details, but I think it has to be there and it has to be a separate partition from the "data" partition)
2) Vista data partition
3) Lenovo Rescue and Recovery partition (a separate bootable partition that is used for recovery, backups, ...)
My first attempt was to shrink the recovery partition and add a new extended partition that has the two standard fedora logical volumes and an extra NTFS to be shared between the OS's (I usually use FAT32 for this one, but NTFS support seems to be pretty solid now).
Everything was fine, but I couldn't boot into the rescue partition. According to this site:
You *have* to have a linux boot partition be your primary partition. Other people have told me the same thing and that site has an explanation, but I don't get it =)
So, it seems that I need 5 primaries (3 original vista/lenovo primaries, 1 linux primaray to put the boot stuff into, and 1 extended for everything else) to make this work (which is not possible). Can anyone think of something else I could do (other than getting rid of Vista and the Lenovo stuff and giving them both the finger?) I'm thinking maybe I could make an extended partition and move one or more of the Vista/Lenovo partitions in there, but I'm not sure if they could boot.
The problem is, on a machine, you can only have 4 primary partitions. sda1 and sda2 are my Vista and Recovery partitions respectively, which eliminates two of my primary partitions already. I myself have never used logical partitions, and was wondering if any of the partitions the Beginner's Guide recommends (/, swap, /var, and /home) could be made logical, and if I even need a swap partition.
I am trying to recover my compaq vista after a BSOD error. I have Ubuntu running and can see both my main hard drive and the factory image. I am trying to create a recovery disc that will allow me to boot back into windows.
I installed Ubuntu 10.04 32 bit on an Acer Aspire 7520 laptop running Vista.Thereafter, Vista could only be run via the "Windows Recovery Environment" grub menu option, which is on /dev/sda2. However, within Vista than the wireless network is not functioning any more. It has given lot of headaches to find a way out. Unsuccessful, so far.
Is there any software to clone Linux partition? No matter they are paid or free software, I'll need them. The problem is that if I clone a linux partition to a bigger or smaller partition size, it will crash.
Firstlyi want to specify that i read many threads and guides before posting this, tried to follow some advice and solutions but nothing worked (but I am a beginner user, and maybe i did something wrong!)My laptop is a Lenovo SL410 (i bought it in China) which came with pre-installed Windows Vista.I had many trouble with resizing the partition in order to make room for Ubuntu but i finally managed. I successfully installed Ubuntu 10.04 and everything works fine.My problem is that Grub shows"Windows Recovery Environment (loader) (on /dev/sda1)" instead of normal Windows Vista (which is on /dev/sda2)If i choose Windows Recovery Env. i can load Vista but is not stable, keeps crashing, or giving me warning about low memory
I have a laptop which was originally running Windows Vista, I attempted to install Windows XP on via USB since the laptop couldn't boot the install disk (this has turned out to be a bad disk drive. This fell flat on its back and wouldn't even finish the install (although not before formating the Vista install in to oblivion). Although I was extremely careful to leave the Vista recovery intact. So I managed to get Ubuntu 8.10 (XFCE if that makes any difference) installed over USB. I was wondering, Could I use the GRUB louder to boot into the recovery drive? Laptop is a Toshiba Equium L350D
Im dual booting vista and ubuntu 10.10 when i start up i get the option to boot linux OR i can boot window recovery (loader) which works or i can choose windows xp which doesnt even work and im not sure why its there since i dont have xo installed and i never have on this pc. it doesnt say anything about vista anywhere.
My question is...is this a problem? it seems to work fine but i dont want to have problems later on.
I am new to knoppix. I actually have never used it. I was under the impression that I could change or recover my password on Windows Vista. I only have one user and it is the administrator. I am not exactly sure why it is no longer working. It is on a laptop and I have let others use it at times. don't know if someone may have changed when it was open at work or something. Every time I boot up and my user account comes up. I put in my password and it looks like it will log on but then comes back and says wrong password. I did see a way to do it with Windows 2000, and XP. Will that also work with Vista?
So I decided to try Ubuntu from a live USB drive 10.04 LTS on my Toshiba laptop as the windows Vista SP2 was running really slow. I liked it and clicked on the install icon. From there I set it for duel boot and off it went. The install worked great. I then downloaded the startup manager and changed the start up to be default of windows loader. Now when it boots into windows it goes to the windows recovery thing and won't start windows.
I have 3 hard drives and have Ubuntu installed on one (sdb), had windows vista installed in the other (sda) and use the other (sdc) as a back up/extra space. I just deleted the windows vista partition and formatted the hard drive (ext4) and now just use Ubuntu, however, in the grub boot, vista and recovery is still showing up. How can I clean the grub up and delete these entries. I've searched all over the place, googled like crazy and all I can find is how to get rid of grub or reinstall the MBR of vista (etc). One more thing, how can I permanently mount the new empty hard drive in Ubuntu so that I have access to it all the time w/out having to mount it.
I tried installing Ubuntu 10.04 LTS on my girlfriend's lenovo using a live disc. First we tried it out to show her the wireless would work fine (her previous lenovo was not ubuntu friendly at all). She's interested in keeping her windows 7 partition along with the lenovo recovery partition, so I tried doing a dual boot install. I manually moved the cursors setting the disk space on each partition, and we allowed Ubuntu to do the rest. Much to my dismay, the installation failed.
I've done some reading over the internet, and I think in our case it would be best to use a Wubi installation. We're interested in using 10.04, so where can we find a wubi installer of Ubuntu 10.04?
Also, any ideas why the installation might have failed? The iso was downloaded off the ubuntu main site, and we burned it using infrarecorder.
is it possible to use a Windows-based recovery partition on a dual-boot computer to overwrite the Ubuntu partition and remove the GRUB loader? For instance, if you booted up your computer, accessed the hidden recovery partition and used it to reset the computer to it's factory default settings, would that effectively remove the Ubuntu partition and the GRUB loader? Would a completely new installation of Windows overwrite/uninstall Ubuntu and GRUB automatically?
My set up is a dual boot between windows 7 and ubuntu 10.04. This laptop used to have vista on it. See image below for my partition set up. pretty obvious where ubuntu should be.I accidentally selected the wrong entry in grub and booted into an acer windows recovery partition. despite exiting as soon as it loaded, the long story short is that it has goodbyed linux.On booting i now just get a grub rescue prompt.I have eventually managed to boot into a liveUSB (cd drive is botched too )As you can see from the screenpic, testdisk shows linux is still there but there are quite a few entries from the upgrades.So, if i can restore the partition around this linux partition will grub come back with it and will all be merry?
I havent mounted any volumes on the drive yet, but i think i need to back up my data before messing with the partition table. is it cool to mount them to pull some data off?general advice for how to proceed would be great.Im not too hung up on keeping the linux install itself. whats gunna be easier? install into that 16gb space and then re add windows to grub, or try and recover this partition?
I have a bunch of computers with the same configuration, so I would like to install Ubuntu only to one master computer and later on just copy the partition layout and the filesystem unto other computers. Previously I was able to simply copy the partition layout (via the sfdisk utility), the filesystem (a simple "cp -a") and install Grub (via script). Now I had to use the parted utility to partition the 2TB drive and Grub2 is the default boot loader.
My questions are now: 1. How do I copy the partition layout from /dev/sda (master) to /dev/sdb (clone)? 2. How do I batch install install Grub2 to the other disk (e.g. /dev/sdb) ?
In Grub 0.97 it used to be something like that: Code: # GRUB the disk grub --no-floppy --batch <<EOF_GRUB root ($GRUB,0) setup ($GRUB) quit EOF_GRUB .....
In Grub 2 I tried with: Code: grub-install --force --root-directory=/mnt/sdb1/ /dev/sdb Only to get this error: .....
The Grub2 syntax is way different compared to Grub0.97. Yes, I do could use the Grub2-suggested option but since the partition layouts on both partitions are equal, I see little point in setting the BIOS Boot Partition option, since the master computer works without it and I don't remember any error message during the install.
I have a very specific issue that I am having trouble resolving. I have an old laptop and a new laptop with a smaller HDD. I want to copy the windows partition from the new lappy to the old bigger HDD so I have room for Ubuntu. All of my files are on a Maverick install on the old lappy. How can I get all my files and windows to the old HDD and into the new laptop. I am a little stuck on this one because of my limited options.
I am trying to clone a HDD which has Windows Vista installed. There are two patitions in in: 9.3GB EISA Configuration 65GB NTFS (the C: drive as windows calls it) I am going to clone the entire hard disk with clonezilla, I am not sure what the EISA partition is and if it can be cloned(then restored) using clonezilla. I did google it, its probably some kind of a recovery partition of some sort.
i want clone my linux partition for create a backup. i want use dd command but i have some question.my linux partition is 30GB and linux only used 10GB of it if i use dd command for create a image i must have 30GB free space? can i use dd command in X window or i must first exit from linux and use live cd? in fedora i use dd command for create a backup when linux is running but after restore some command like su not work!!!
i use some tools like partimage for make a backup but it show me an error about block 0!!
I decided to clone my OS partition to another hard drive using dd (without any special options). I created the target partition before cloning (25GB) but it shows up as 21GB (source/original partition's size) in df, as well as ext2 instead of ext4.
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.
This is my first post on Ubuntu, ive been testing/and dual booted then reverted back to windows this past year, and now have gone back to school for computer networking...so im SUPER interested,So - i want to install Ubuntu on my little Toshiba netbook that i drag everywhere with me, but im afraid to screw with it's partitions. I dont want to spend $$$ to get a larger than 8GB flash drive to create a recovery from the HDD partition that is installed on their, and they dont come with the backup/recovery disks, so i want to either leave that partition alone (in case i need to switch it back to windows down the road to sell it), or whatever.
I know i could just download windows to my PC, transfer the files to a flash drive, and put it on that way, but the recovery comes complete with drivers, etc which makes it a smoother and faster process. Oh, i cant make the recovery of windows b/c i need 7.xx GB of space, and my biggest flash drive is an 8GB which doesnt quite make it.SOOOOO - IF i install Ubuntu, will that recovery partition DEFINITELY be left alone? Or is there an easy way someone could suggest copying that partition without a 16GB drive? OR is there any way to use an external hard drive to copy that recovery partition on to?
I have only installed ubuntu once, maybe twice, but didnt care about partitions and wiped everything as requested by the install. (i reverted back because i couldnt navigate quickly installing and updating programs, but now have a windows laptop and want to be forced to learn linux on my netbook).any help is MUCH appreciated! I have an Ubuntu scratch that im dying to itch, but dont want to lose my windows recovery
I was copying a bunch of files between hard drives. For some reason I have permissions issues, but I was able to copy the data using cp in the terminal (I know I can sort out permissions, but that's something for another thread).So, I start copying files just fine, but cp doesn't have any sort of progress indication. So, I started up another two terminal windows, cd'd to the source and destination folders, and ls -l'd each to compare the folders.
At this point, I realised that I'd forgot to add -r to the cp command, so cancelled it. I decided it'd be better to start again and add -r in, and repeat the command. So, I went to the folder, went up a level, then rm -r'd the folder I was just in. It wasn't until I'd gone through with the command that I realised I was actually in the source folderSo, putting aside all the obvious things like 'You dope, you shouldn't have been messing around with rm -r, let alone sudo' and 'With great power comes great responsibility' and 'This never would have happened if you'd just sorted out your missions and usedNautilus', is there any way I can recover the data? I know it's possible in ext2, but not in ext3, but it's on an NTFS partition. Is it possible to recover files from this