Ubuntu :: Make A Backup Of Ext4 Partition Via Clonezilla - Messed Up External Disk
Mar 13, 2010
Tuesday night I wanted to make a backup of my Ubuntu ext4 partition via Clonezilla so I configured that an image had to be made and it would be saved on the NTFS external disk. But it said it needed 23 hours to create a 5gb backup, so I resetted my computer as this took too long. But after this, Ubuntu nor Windows recognized my drive.
I called Seagate and they told me after troubleshooting 30 minutes, that there is no option of fixing the drive and I had to send it to RMA. What could be wrong? Clonezilla works via a bootable ISO on Debian. The disk drive is still spinning. I already rebooted the external drive, but it's not working. In Linux the disk is no longer mounted and cannot be mounted:
brw-rw---- 1 root disk 8, 16 2010-03-12 00:50 /dev/sdb
brw-rw---- 1 root disk 8, 32 2010-03-12 00:50 /dev/sdc
brw-rw---- 1 root disk 8, 48 2010-03-12 00:50 /dev/sdd
brw-rw---- 1 root disk 8, 64 2010-03-12 00:50 /dev/sde
What could have happened? Would the data still be accessible on the internal drive? Did I just loose 1.5TB data that was stored on the external disk?
My ubuntu login window seems to be chrased and seems no way to restore it. I was planning to move ahead with reinstalling it but could any1 tell me how can i copy data to external hard disk. I am in Mannual restore section with promt staying at root@ubuntu :/#
I am a noob at Ubuntu. I currently have 8.04 and I am looking at upgrading to 8.10 and beyond. I want to make a recovery disk with Clonezilla so if something goes wrong with the upgrade I can go right back to where I am now. I have a 16 Gig thumb drive that I want to boot Clonezilla from. Then I want to burn an image to my DVD burner. I am stuck at one point in the process. I am reading the instructions from[URL]..
This part is where I am stuck is step 4.To make your USB flash drive bootable, first change the working dir, e.g. "cd /media/usb/utils/linux", then run "bash makeboot.sh /dev/sdb1" (replace /dev/sdb1 as your USB flash drive device name), and follow the prompts to finish that. My USB drive is named M-S325 so if I enter cd/ media/M-S325/utils/linux in terminal I get the error no such file or directory. I know it is something stupid simple I am doing wrong, but I am stuck. What do I need to do to make my UBD drive bootable with Clonezilla ?
I tried to install ubuntu 11.04 on my external hard drive (WD My Passport, thats all i remember about the name) and all was well, until I tried to reformat it from ext4 to FAT, and no such luck, it isn't even being READ, not in fdisk -l, not by gparted, disk manager, or anything else. Windows is no help at all... I tried that out of desparation.
is there a way of sharing an ext3/ext4 formatted partition on an external USB drive between different users (uids) on different Linux machines without creating a group for this purpose, setting the group ownership of the partition to this group and adding each respective user to the group on every machine?This would mean that I need to have root privileges on every machine... which I may not have in some cases.I'm using the partition to store the code I'm developing on Linux and I would like the option to be safe... if possible.I could use a vfat partition but then I have no control of the rw rights + I cannot develop directly in the dir: I would always have to tar.gz the directory, extract, work, tar.gz, copy to the external drive.
Recently my laptop broke down and wont start up. I'm currently trying to recover my files to my mac with an IDE to USB cable. It recognized my windows partition fine and I was able to get all my files off of that, but the majority of my stuff is on the ext4 partition that I have on it. Does anyone know how to access the ubuntu partition of this hard drive from my mac?
I have nearly 200GB of space free on the HD with my linux main EXT4 partition, and I'm wondering if I can convert a large part of this to a new NTFS partition that I can use for my windows XP paralell install?
Basically, what do I have to do to resize and create the new partition and how do I get windows to recognize it?
I have one computer with windows and one with ubuntu. I have an external drive (FAT32) with files taken from an NTFS (mp3s and such) and I would like to put them and use them on an ext4 ubuntu platform. Can I make a partition of the /home folder NTFS and the system ext4 and function properly? I do have configuration files in the /home folder since Im building a domain controller that utilizes samba on ubuntu: would I be better off using a dual boot with windows/ubuntu and placing the files on the Windows partition? what is my best option?>
I want to ask you if i can backup with clonezilla only /home sda3 directory. And to backup sda1 and Linux Swap with another program as Acronis and then to restore the sda1 and Linux Swap With Acronis on a formated Hdd and restore then /home with Clonezilla. Is this capable?
I did a horrible mistake due to lapse in my concentration. Here is the 80 GB IDE disk geometry:
=> C: Windows XP SP2 15 GB partition => D: NTFS parition - 10 GB => E:F:G:H: NTFS partitions on the Windows Extended partition. => On the same Extended partition, there exists Linux /swap and /root partitions.
What happened was:
a) I wanted to delete the H: parition which was residing adjacent to Linux partition b) By mistake I opened the Explorer and clicked the Mouse on H: partition and left it like that (forgot) c) I opened Add/Remove program list but did nothing, to do few uninstalls after partition deletion. d) Now I opened compmgmt.msc for Disk Management then deleted the H: partition!
Then XP reacted strangely and got almost hung
e) Then I switched OFF and ON the PC. f) Most shocking was GRUB screen vanished (crash console appears) which means that Linux partition got deleted instead of H: partition!!
It's important to share with you that Fedora Core 12 possess the default BOOT flag. I thought that it's nothing big deal, only a case of Boot flag toggle with DOS bootable CD but am shell shocked to find after hitting the fdisk from DOS it says Error reading the disk!!! I felt like collapsed for a while, don't know how I did such a mistake. how to boot into my Windows XP. I can't afford to loose data or bear the expense on Data recovery
Firstly I've never (successfully) upgraded before using update manager -d but I've only tried once. I'm on 10.10 at the moment but I want to make a full disk backup using Acronis and try out 11.04 beta 1 so if I can't boot (like with the 11.04 Alpha 3) I'm ok.
What I want to know is if I upgrade to beta 1 it will install new things and settings, if beta 2 is released and I upgrade to that (after having beta 1 installed) will it overwrite all the settings again? Or will I be able to spend time set beta 1 up nice how I want it (if it works) and just smoothly upgrade gradually to final 11.04 keeping it pretty much exactly how I want it?
Also with the software sources, I understand I need to disable the ones I manually added before updating from 10.10 then to re-enable them, but how do I re-enable them for Natty as they are currently for Maverick? Do I just change the word Maverick to Natty, or is it better to remove and re-add them for natty? And do the authentication keys need updating or are they ok? I don't really know a lot about the keys.
1 more thing (sorry) will an upgrade overwrite any settings I have e.g. etc/fstab, sudoers, things like that? I know when you upgrade it gives you an option for some things e.g. keep or replace, if I keep old settings from maverick does it matter? Or does 11.04 add new lines/things to these files if I choose replace?
Sorry for all the questions, I'm pretty new been using ubuntu as my only OS for couple months now and most of my time has been spent tweaking settings and I don't want to lose them, or do a clean install when 11.04 final is released as I won't ever be able to remember them all.
My primary drive is 250GB and has the root, home and var (I'd read it's good to put var on a separate partition for MythTV which I'm planning on doing) on separate partitions. I have a second 1TB drive that I'll be using to backup the 250GB drive and also host less critical data. I've created two partitions on this drive, one 250GB and the other covering the rest of the drive. I'd like to move the Videos directory out of Home on the 250GB onto the 1TB drive but can't find a definitive way of doing this. Should I just follow this guide for moving the home folder to a new partition? Next question is when performing a backup of the 250GB drive how do I make sure it's going to the 250GB partition on the 1TB drive? Can the different partitions be mounted separately?
I got myself a dell laptop from the local computer store. Its a used machine with Windows Vista Home Basic on it. I want to load Ubuntu Desktop 10.10 though so I can do perl development. BUT I want to keep a copy of the entire harddrive with the dell utility partition and Windows Vista in case I want to go back. I was thinking I could image the drive but I not sure what to use, I don't have Ghost or anything, Someone had told me about Clonezilla. Would that work for me? Is it hard to use? Also I want to burn the data to a DVD or something more storable than a harddisk.
I got a problem booting ubuntu 10.4 RC but i solved it by replacing root partirion uuid in grub boot menu then I disapled totally uuid passing to linux from /etc/default/grub . but something else i noticed why grub choosed insmod=ext2 why not ext4 specially I use now ext4 .I tried by editing the grub boot menu replacing "insmod=ext2" by "insmod=ext4" it booted and the three lines error during booting that i used to see them science ubuntu 9.10 totally disappeared . really I dont understand can anybody explane for me.and if what i did was right ,can anybody tell me how to make grub always and permenantly detect ext4 as ext4 not as ext2.
I used Clonezilla an older version not the latest to backup an entire NTFS Windows XP drive to DVD last year. I have a series of three (3) of these DVD's but now cannot restore the backup image back to the same PC. The problem is that when booting with Clonezilla I don't have an option to restore from a CD or DVD drive since the computer comes with two working CD/DVD drives that are detected by the BIOS when the POST is displayed. I used one of these drives to boot with Clonezilla and the other one containing the backup image Disk 1 of Disk 3. Clonezilla only detects the two hard drives and a USB drive which is removable. Is there a bug in the restore process because it allowed me to backup the entire image of the hard drive onto a DVD last year but this time around there are no CD or DVD drive options available to choose other then the CD drive Clonezilla was used to boot up.
I feel like a moron.I wasn't watching what I was doing while copying an image to a 1tb external yesterday. Clonezilla resized my external and all I can see on it is a 75gb partition with Windows on it and the 8xxgb partition that is unallocated.
I got a new hard drive 2TB for extending the storage. I am working on fedora15 and would like to format the disk as a linux partition and external hard drive. me how to format this disk and partitioning!
I had 5.4 machine. Upgraded to 5.5 today via yum upgrade. All went fine. Rebooted. Wanted to convert root partition to ext4 (I have three partitions: /boot, / and swap). All of them on software RAID 1 (root is /dev/md2). I did the following for converting
yum install e4fsprogs tune2fs -O extents,uninit_bg,dir_index /dev/md2 nano /etc/fstab # I indicated here that my /dev/md2 is of ext4
What im trying to do is install ubuntu on to an external hard drive, partition it and make it work. ive got a problem, as i have 200GB of games and other things already on that drive, before you say "copy it to another drive and then back" i cant, i dont have any other drives apart from my internal which has only got 20 gig left
I would like to put my ubuntu system (the one on my partition) in a usb drive, so that way I can take it everywhere I go. The reason for this is because all of the programs I have and the configuration I currently have in my ubuntu (I should say "macbuntu"). That is:
burg boot loader (I probably don't need this one!) x system plymouth theme || also windows 7 original plymouth theme mac4lin 1.0 aqua GTK theme and emerald theme mac ultimate icon theme mac4lin 1.0 cursor theme (working even with compiz) gnome global menu compiz packagers ppawith all the extra stuff telepathy ppa for empathy, having all the extra stuff working also win2-7-pack_v-9.1 And lots more stuff!
I don't want my personal documents though (text docs, music, videos, pics 'maybe few pics'), just configuration files and programs. Can this even be possible?...
I have a 250 GB external disk, where there was store a hundred and something GB of data. Pictures, music, documents and TV-shows. It was FAT32. In an attemt to make an live USB drive with openSUSE, I did exactly what I shoulden't do: I mistook the external disk for the the USB drive. Now the external disk has a 700 mb linux partition, while 232.2 GB is unpartitioned. TestDisk from CGSecurity is looking to see if there is a lost partition table there, somewhere. Is there anything I can do? There was no formating, so the data is still there (except for those 650 mb that was overwritten). Is there any way to rebuild the old partition?
Output from "fdisk -l":
Disk /dev/sdc: 250.1 GB, 250059350016 bytes 64 heads, 32 sectors/track, 238475 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes
i have debian system in which i have mounted the OS on a ext-3 system . I have got a partition of 60 gb , which is formatted to ext-2 partition . Even if I mount , i cant write anything into it . How can i change that ? How can I make the disk writable?
I'm looking for some help on this issue. I have an image (Windows XP) made with CloneZilla of a 160Gb disk (used space = 11Gb) and I 'need' to restore that image to a smaller disk (120Gb). In order to try everything out I created a virtual machine in VMWare. I've tried about every option available in CloneZilla without succes. The latest thing I tried was using dd to just copy over the partition to a created partition on the smaller disk but when booting I got:
Code:Booting...Error loading operating system.Then I thought installing the image to a disk with the same size, resize the partition with GParted and make a new CloneZilla image, but for some odd reason (typical to Windows) when booting I get a BSOD, impossible to read. The BSOD happens when booting from the disk with the same size, before resizing the partition. This also is a virtual machine.Can anyone point out what I'm missing? Or, if anyone has succesfully done this, how did you go about it?
I used Clonezilla to image a Ubuntu partition of 18GB and restored it to a partition of 30GB. (showing as "sdb1") I understand now that I should have put it onto a partition the same size as the original and then resized that partition with Gparted, but I put it directly onto a larger partition and thought all was well, but now I'm running into disk space warning messages. It still works fine but the OS still seems to think it is still on an 18GB partition and that it is running out of space. The partition "sdb1", is on a large drive I partitioned with Gparted. The various utils I have to look at partitions do not agree:
*Disk Utility reports sdb1 size as 33GB *KDE Partition Manager reports sdb1 size as 30.28GB with 15.59GB used (therefore 14.69GB free) *KDiskFree reports sdb1 size as 18.3GB with 1.8GB free *Gparted reports sdb1 size as 30.28GB with 27.54GB used *Gparted (used after booting from a Mint installation) give same result *PROPERTIES (using live knoppix DVD) shows size of files as 16.0GB (16.5GB on disk)
After booting with Knoppix DVD and trying to copy everything onto another drive (to see how many GB there are) gives "invalid or incomplete multibyte or wide character" error message. how to sort this out, without resizing the partition as I've got a lot of data on the HD now.
Is there any way to make a disk image of an active partition? I have to get a complete backup (partitions, MBR, all data files) of my server without bringing it down to do it. I want to have a backup that, in the event of a system failure of any sort, I can quickly restore onto a new, bare hard disk and have the system back up and running. The windows equivalent of this would be something like Drive Image XML, this is the functionality I am looking for.
we have a Win NT4 system used for an important application used at two places. At one place it has gone bad. I want to create an image from good system and restore it at the second location. Is it possible to do this using "clonwzilla live cd"? Does it harm the good system? Can I save the created image to an USB drive?
I have an Ubuntu server and i've installed drbl-clonezilla to clone and restore pc, I have a 40 gigabyte image to be deployed on other pc's with larger hard drive ex. 160 GB or 240giga, my problem is that when I deploy the image on a larger disk I end up with a disk with a partition of 40 GB and the rest unallocated, how can i restore the the disk and use full disk space, the goal is to automate the process. In clonezilla-drbl there is the possibility to start a "prerun" and "postrun" fonction that could help complete the deployment process.
OS: Debian unstable 32bit, kernel 2.6.32-2, grub 1.98 from late january 2010 (only have working net-access from work now, so I am grabbing information from memory). EXT3 and EXT4 support is compiled into the kernel along with chipset/scsi/sata support (not as modules), and I have tested to boot ext3 with it before proceeding. Prereq: my old disk started to have too much S.M.A.R.T errors, so I bought another one, put in a USB cabinet, added swap and ext4 partition/filesystem to it, and copied over all data from the old system to the new that was mounted at /dest using the command "find ./ -xdev -print0 | cpio -paV0 /dest". Swiched disks, so I now have the ext4 disk sitting at /dev/sda (partitions: sda1 => ext4, sda2 => swap), and booted into rescue-mode from cdrom, using /dev/sda1 as root with a shell on. After doing this, I performed the following commands:
mount --bind /dev /dest/dev chroot /dest
modified the /etc/default/grub to instruct the kernel to boot using ext4, ran grub-install --recheck /dev/sda ran update-grub to modify /boot/grub/grub.cfg (which looks as it should) After doing this, grub finds my partition and mounts it. It however stalls with the message: "warning: unable to open an initial console" and does nothing after this point. I have no ramdisk, but my old kernel booted fine from ext3 (and still does if I copy it to a ext3 partition), and since the ext4 support is compiled into the kernel - should I really need a ramdisk?