General :: How To Copy Hd To Smaller Ssd
May 22, 2011
I ordered a new laptop which has a conventional hd with the pre-intalled os on it. I would like to make an image of all the software that is installed on this conventional hd and move it to an ssd which I will use to replace the hd. Problem is that the conventional hd is 320GB and the ssd is only 240GB. All solutions I've found require the target partition to be at least as large as the source.Is there any way of doing this using linux?
View 8 Replies
ADVERTISEMENT
May 4, 2011
I got a new hard disk for my laptop and I want to move my Gentoo installation from old HDD to new.
Most simple guides recommend use of dd to copy the whole partition byte by byte.
I'm moving to the new drive because I don't have enough space on the old drive, so I don't want to simply clone the partition. Instead I need the destination partition to be bigger. Would dd work well in that case?
Assuming that I use same partition types on the new drive, would I be able to use simple cp with appropriate settings?
View 1 Replies
View Related
Jan 22, 2011
I am using 10.04 LTS Lucid, and I notice the free space of root is getting smaller and smaller.
Five months ago, there was about 3.9GB free space of root, but now it is only 1.6GB. I always run sudo apt-get autoremove and sudo apt-get autoclean every time the update is finished, and also use Bleachbit to clean the system, but both are useless.
I never faced such problem with older versions of Ubuntu, is there any measure to fix it?
View 6 Replies
View Related
Jan 23, 2011
I am using 10.04 LTS Lucid, and I notice the free space of root is getting smaller and smaller. Five months ago, there was about 3.9GB free space of root, but now it is only 1.6GB. I always run sudo apt-get autoremove and sudo apt-get autoclean every time the update is finished, and also use Bleachbit to clean the system, but both are useless.
I never faced such problem with older versions of Ubuntu, is there any measure to fix it?
1. There is not any .deb in the /var/cache/apt/archives.
2. The total content of /var/log is only 167.6 MB, that won't be a problem.
View 5 Replies
View Related
May 24, 2010
In a few hours I'll have a new 500GB Sony laptop, filled with the usual Sony rubbish which I'll promptly be replacing with Ubuntu or Crunchbang or something. However, first I want to make a full clone of the drive (including recovery partitions), should I wish to return it to Sony or sell it on in its factory state.
The problem is that the only backup drives I have are less than 500GB - the biggest I have is 250GB or so! So I need to backup and compress on-the-fly.
What's the best way to do this? Presumably dd piped into gzip would do the trick, or does anyone have any other suggestions to accomplish this?
View 3 Replies
View Related
Jun 14, 2010
How can I delete Directories which are smaller than, say, 1000 KB?
I already have a file list from the command:
But I don't know how to proceed.
Update:
The output of:
Is something like:
View 2 Replies
View Related
May 31, 2011
How I need to modify SPEC file to create two RPM packages instead of one big?
View 12 Replies
View Related
Feb 28, 2011
I have a zenity message box in a script
zenity --info --text='done' > /dev/null 2>&1
I need to pop up a message, e.g.: "file is smaller then 30 KBytes!" when a file is smaller then 30 KBytes. How could i write an "if then else" script to pop up a zenity message, when e.g.: "FILE" is smaller then 30 KByte?
View 3 Replies
View Related
Sep 16, 2010
One thing that I didnt like about gnome is the huge gtk+ interface and controls. Everything is so large.
Is it by design? Or I can make the overall interface smaller by some tweaking? If so then how? This question arose while I was using eclipse in fedora gnome.
View 1 Replies
View Related
Jul 10, 2010
I need to clone a 160GB hard drive with Linux Mint 9 (not more than 10GB used) to a 30GB SSD that is partitioned carefully (aligned to cylinder boundaries) and is currently running Ubuntu (which I wish to overwrite with Linux Mint 9). The SSD has a /boot partition, / and swap. The source (160 GB) does not have a separate boot partition. Can anyone help me fill in the steps below? /dev/sdc will be the source (160GB) and /dev/sda is the target (with partitions 1,2 and swap on 5).
make a copy of /etc/fstab from the target drive before proceeding. Ready the target partitions. Can I reuse the existing destination partitions on the SSD? Ready the filesystems on each of the target partitions. /boot is ext2, / is ext4 and swap is already set up too. As I said, all contain data (Ubuntu) that I wish to overwrite. So what steps are needed here? Do I need to erase anything (files, etc.) before the copy/clone? next, use dd to copy MBR (right?) And exclude partition table:
Code:
dd if=/dev/sdc1 of=/dev/sda1 count=1 bs=446
Mount the source and destination drives:
Code:
mount -t ext4 /dev/sdc1 /mnt/source
mount -t ext2 /dev/sda1 /mnt/boot_target
mount -t ext4 /dev/sda2 /mnt/root_target
I suppose I can leave the swap partition on the target untouched. Copy the files from the source partition to the destination
Code:
cp -a /mnt/source/boot /mnt/boot_target
cp -a /mnt/source/ /mnt/root_target
then I assume I go to /mnt/root_target and delete the /boot directory, right? Change /etc/fstab to reflect the new partitions. I mount by label. Will my partition labels be intact after this? Do I have to make any changes to GRUB? Anything else?
View 14 Replies
View Related
Aug 18, 2011
I'm looking for a way to compress a large file (~10GB) into several files that wont exceed 150MB each.
Any thoughts?
View 2 Replies
View Related
Sep 1, 2011
Tool like Media File Segmenter for Linux
I know that one can use ffmpeg to extract a smallfile.avi from a largfile.avi. But What I am looking for is an tool/command to split a large file into several files of a given size.
View 1 Replies
View Related
May 28, 2010
I've decided that I want to use another, smaller, hard drive for my OS and I'd like to clone /dev/sda onto /dev/sdc. I want it to be an exact clone except my partition for my "/home" will be smaller (since there's not room for it). I was gonna try with dd but I'm not sure if I should build the partition table and use dd-command on one partition at the time? Will this then include GRUB boot loader and will it be working properly?
Do I have to clone the disk completely for it to boot properly? I'm not sure how or where GRUB places itself on disks as you install it. Can I perhaps copy the partitions one by one and then install GRUB from CD afterwards? Should I leave some unallocated space somewhere in between the partitions as I build and clone them?
View 4 Replies
View Related
Apr 7, 2011
1. How sum of system time and user time can be greater than real time ?
2. Even though my program is not waiting for any I/O the real time is smaller than system time as shown
root@chaitu:/home/chaitu/Desktop/Chk# time ./new
real0m0.001s
user0m0.000s
sys0m0.004s
View 4 Replies
View Related
Apr 14, 2010
I have a Logitech ambidextrous trackball, with a left and right mouse button. The trackball device also has two smaller left and right buttons. I'd like to know how those two smaller buttons are addressed. Ultimately, I'd like to assign certain keystrokes to them, to make work faster. For example, ALT+<right arrow> moves a browser back one page. how to name these keys, or whether/how I should address this USB mouse. FWIW, I'm actually using it through the PS/2 mouse adapter, since that doesn't take a USB slot.
View 1 Replies
View Related
Feb 8, 2010
And we are unable to restore the setting because the button to click on to do so is outside of the viewable screen! Also we have lost the start bar/dock at the bottom of the screen and cannot figure out how to get it back.
View 1 Replies
View Related
May 19, 2011
I recently installed Linux Mint Julia 10 on my netbook and it is great.no issues from USB install.My question is what is a smaller distro I can use for netbook...and will it install as easy as Mint 10.I only use netbook for emails and web searches for information..I have no harware issues ..except for my lack of knowledge of Linux.
View 14 Replies
View Related
Mar 1, 2011
How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).
More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.
View 1 Replies
View Related
Mar 1, 2010
I want to set my editor's font as Monaco-11, but it has no anti-aliasing effect. And when I set it to Monaco-12, anti-aliasing effect works. How can I make it also work for Monaco-11? I'm using Ubuntu 9.10
View 1 Replies
View Related
Sep 14, 2010
I cannot reduce the size of all icons, context menu items etc.For example, I need to do some minor programming for the university. And this is how Eclipse Aptana RadRails look on a netbook: [URL] UI takes up to 70% of screen space, and the IDE is barely usable now. On Windows it looks like [URL] I tried some gnome themes but they all are of the same size. Is there any way how I can reduce the size at least for the whole system (nautilus etc)? If there is a way how I can apply 'nanoized' theming for desired applications only.
View 4 Replies
View Related
Jan 26, 2011
this might be a silly question, it might not. I need to send upload some documents (scans) I have onto a website, and there is a limit to how large the pdf can be. (7MB) The file I have - and I can upload only one - is about 10 MB. Is there any command with which I can make this pdf smaller without compromising the resolution too much
View 5 Replies
View Related
Mar 16, 2010
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
View 3 Replies
View Related
Jul 5, 2011
I have an ISO of a game I own that shows up as 5gb. When I mount the ISO like this:
mount -t iso9660 -loop game.iso /mnt/loop
and go to /mnt/loop and execute
du -hs
it returns 2.5gb. Examination of all the files and directories in /mnt/loop does indeed add up to 2.5gb. So my question is what happened to the rest of it? Does the 5gb ISO contain a bunch of empty space? Should I try to burn it to a DVD and see what happens or should I burn it to a dual layer disc? I don't want to waste a dual layer disc if I don't have to.
View 13 Replies
View Related
Apr 26, 2011
Just installed Gnome3 and wondered if anyone knows how to make the sidebar smaller. It's huge at the moment
View 9 Replies
View Related
Jul 19, 2011
What are the benefits of a smaller specialized kernel? I know it will have a smaller memory footprint but will it actually affect performance in user-space at all?
View 3 Replies
View Related
Dec 5, 2010
I like openSUSE 11.3 very much. When I move the mouse pointer to the upper left corner of the screen, my active window is immediately replaced by 4, smaller windows (I think that at the beginning I had a cube). I'm afraid this gobbles up a lot of memory and henceforth slows down my computer. Is it possible to have only one window "active" at the time? If I want, say a terminal screen, I can always activate it via the "Computer" button?
View 6 Replies
View Related
Feb 24, 2010
I feel really stupid posting this, but I can't find what I am looking for. I feel like I have a decent understanding what is going on, but I am missing something very elementary. I have several mpc clientpro machines that are all in one's with 17" monitors built in. I can't get any resolution to fill the screen. I have been playing around with settings in xrandr, to no avail.
In windows xp it is usually ran at 1024x768 resolution which is supported. However there will be about 2 1/2 inches of blank space on the right side of the scree. and then another 2 1/2 inches of blank space on the bottom followed by about 2" of what seems to be a mirror of the top 2". I can change to several different resolutions all taking up different sizes of the screen, but nothing will fill it.
I understand I can't just do anything I like, like it would be unreasonable to expect the card to output 1920x1080. But can't I get it to at least fit the screen? Whether it was 1024x768 or 1152x864 or 800x600.
I have been searching and searching, and I think I am just simply misunderstanding a key term that is not allowing me to find more information on this. Something like panning, overscan, etc.
View 5 Replies
View Related
Apr 25, 2010
I've noticed this issue for a long time now, and it's always bothered me. Whenever I have to open a file within a program or upload something to a website, etc., the window that pops up is always HUGE. The reason is due to the list of file types at the bottom. Instead of cutting off with an ellipsis at some point, every single applicable file type is listed. I can't resize these windows, either, so they always take up my entire screen. Is there any way to fix this so that these kinds of windows are a more reasonable size?
View 2 Replies
View Related
Jun 3, 2010
I have my Mythbuntu 9.10 environment installed on an old 160GB PATA disk and have just purchased a new 64GB SSD that I want to transfer my installation to.In the past I've just used ddrescue to clone disks, however in this case the source disk is larger than the destination disk so it won't work. I only have a few GB of actual data on the 160GB disk, so the 64GB SSD is definitely going to be enough for me.
I guess I need someway of either cloning so that only the actual data and not the partition is brought across, or possible shrinking the partition(s) first on the source drive and then using the same ddrescue method I've used in the past.Just looking for some assistance on what method is the best/most reliable?
View 8 Replies
View Related
May 1, 2011
I just upgraded from Ubuntu 10.10 to 11.04. I am still adapting to it but. Can I make this dock smaller? It is TOO big. I can't fit more than a few icons there. Also, I am a little lost. Where is the menu? I can't find system settings. How do I edit launchers on Dock? What command do I have to use in order to restart the panels? (on 10.10 I was just killing the gnome panel and it restarts by itself)
View 7 Replies
View Related